@charset "utf-8";

/* ------------------------
Base style
------------------------ */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Noto Sans JP", "serif", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------
Header
------------------------ */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
}

.header-logo{
    margin-left: 30px;
}

.header-logo > a{
    position: left;
    display: block;
}

.header-navlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-navitem > a {
    padding: 10px 15px;
    color: #f1e6e6;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s;
}

.header-navitem > a:hover {
    border-bottom: 2px solid #f1e6e6;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    z-index: 11;
}

/* ------------------------
Hero
------------------------ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero > strong {
    opacity: 0;
    transition: all 1s ease;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 20%; /* 左端からの余白 */
    transform: translateY(-50%);
    font-size: 35px;
    font-style: italic;
    color: #210F37;
    font-weight: bold;
    text-align: left;
    padding: 0 10px;
    white-space: nowrap;
}

.hero > strong.active {
    opacity: 1;
    transform: translateY(-50%);
}

.hero > video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* ------------------------
Sections: About, Content, News, Message
------------------------ */
.section-1,
.section-2,
.section-3,
.section-4 {
    width: 100%;
    padding: 80px 20px;
    background-color: rgb(250, 249, 252);
    box-sizing: border-box;
}

.section-About,
.section-News {
    font-size: 8vw;
    color: rgba(1, 2, 29, 0.39);
    font-weight: bold;
    margin: 30px 0;
    text-align: left;
}
.section-Content,
.section-Message {
    font-size: 8vw;
    color: rgba(1, 2, 29, 0.39);
    font-weight: bold;
    margin: 30px 0;
    text-align: right;
}

/* ------------------------
About Section
------------------------ */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.about-headling {
    font-size: 32px;
    margin-bottom: 30px;
    color: rgba(1, 2, 29, 0.39);
    font-weight: bold;
}

.about-explanation {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(1, 2, 29, 0.39);
    font-weight: 500;
}

/* ------------------------
Content Section
------------------------ */
.grid-col-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
    padding: 30px 0;
    list-style: none;
}

.content-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    padding: 20px 0;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s;
}

.content-headline {
    font-size: 24px;
    font-weight: bold;
    color: rgba(1, 2, 29, 0.7);
    margin-bottom: 15px;
}

.content-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.content-description {
    margin-top: 15px;
    font-size: 16px;
    color: rgba(1, 2, 29, 0.6);
    max-width: 500px;
    line-height: 1.6;
}

.content-item:hover {
    background-color: #ddd;
}

/* ------------------------
News Section
------------------------ */
.grid-col-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
}

.news-article {
    padding: 0 15px;
    box-sizing: border-box;
}

.news-articlelink {
    display: block;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s;
}

.news-articlelink:hover {
    background-color: #ddd;
}

.news-label {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #999;
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
}

.news-info {
    padding: 10px 0;
}

.news-headline {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.news-discription {
    font-size: 16px;
    margin: 0;
}

/* ------------------------
Message Section
------------------------ */
.message-headling {
    font-size: 28px;
    color: rgba(1, 2, 29, 0.39);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.message-explanation {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(1, 2, 29, 0.39);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* ------------------------
Footer
------------------------ */
.footer {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    color: #fff;
}

.footer-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-list li a:hover {
    text-decoration: underline;
}

.footer-sitecreate {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}

/* ------------------------
Media Queries
------------------------ */
@media screen and (max-width: 768px) {
.menu-toggle {
  display: block; /* スマホでは表示 */
}

.header-nav {
    display: none; /* デフォルトでは非表示 */
    width: 100%;
}

.header-nav.active {
    display: block; /* トグル時に表示 */
}

.header-navlist {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
}

.header-navitem > a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.about-headling{
    font-size: 18px;
}
    
.about-explanation{
    font-size: 14px;
    line-height: 1.8;
}

.content-headline{
    font-size: 18px;
}

.content-description{
    font-size: 14px;
    line-height: 1.8;
}

.message-headling {
    font-size: 18px;
}

.message-explanation {
    font-size: 14px;
    line-height: 1.8;
}

.section-About,
.section-Content,
.section-News,
.section-Message {
    font-size: 10vw;
}

.hero > strong {
    font-size: 4vw;
    left: 10%;
    transform: translate(-30%, -50%);
}
}