@charset "UTF-8";
/*index.html*/
/*COLOR*/
:root {
    --light-green: #d5edeb;
    --green: #63dbd0;
    --brown: #403632;
    --light-grey: #eee;
    --white: #fff;
    --brack: #000;
    ---navy: #04314b;
}

/*COMMON*/
body{
    line-height: 1.7;
    color: var(--brack);
}
a {
    text-decoration: none; 
}
p {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 550;
}
.fadein{
    opacity: 0;
}
.container{
    overflow: auto;
    scroll-snap-type: y mandatory;
    height: 100vh;
}

/*LOADING*/
#loading{
    width: 100vw;
    height: 100vh;
    background-color: var(--light-grey);
    position: fixed;
    z-index: 9999;
    display: grid;
    place-items: center; 
}
#loading-screen{
    background-color: var(---navy);
    position: fixed;
    inset: 0;
    z-index: 9998;
    translate: 0 100vh; 
}
#loading img{
    align-items: flex-start;
}

/*SLIDE MENU*/
.btn-menu{
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: 1px solid var(---navy);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    transition: .4s;
}
.btn-menu svg{
    fill: var(---navy);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}
/*閉じるボタン*/
#menu-close{
    border: 1px solid var(--white);
}
#menu-close svg{
    fill: var(--white);
}
/*スライドメニューパネル*/
#menu-panel{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: 300px;
    height: 100vh;
    background-color: var(---navy);
    box-shadow: 0 0 2rem var(--white);
    font-family: "M PLUS 1p", sans-serif;
    translate: 100vw;
}
.menu-list {
    list-style: none;
}
.menu-list li{
    padding-left: 40px;
    margin: 1.5rem 0;
    opacity: 0;
}
.menu-list a{
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
}

/*HOME*/
.start {
    scroll-snap-align: start;
    height: 100vh;
    position: relative; 
    z-index: 0; 
    overflow: hidden;
}
/*背景画像*/
#bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../images/1.jpeg);
    background-size: cover;
    background-position: center;
    animation: change-image 15s infinite;
    filter: blur(10px);
    z-index: -1;
}
@keyframes change-image {
    0%, 100% { background-image: url(../images/1.jpeg); }
    25% { background-image: url(../images/2.jpeg); }
    50% { background-image: url(../images/3.jpeg); }
    75% { background-image: url(../images/4.jpeg); }
}
/*タイトル*/
#page-title {
    position: sticky;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.title-inner {
    text-align: center;
    font-family: "WDXL Lubrifont JP N", sans-serif;
    color: var(--white);
    font-size: max(12rem, 3rem);
    padding-bottom: 10px;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/*PROFILE*/
.profile-background {
    background-color: var(---navy);
    height: 15px;
}
#profile {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: 250px auto;
}
.profile-img {
    width: 50%;
}
.profile-img img {
    max-width: 650px;
    object-fit: cover;
}
.profile-article {
    width: 42%;
}
.profile-article h2 {
    font-family: "WDXL Lubrifont JP N", sans-serif;
    font-size: 55px;
}
.profile-article p {
    font-size: 30px;
}

/*ACTIVITY*/
.activity{
    height: auto;
    display: block;
}
.activity-head {
    background-color: var(---navy);
    height: 15px;
}

/*タイトル*/
.activity-header {
    font-family: "WDXL Lubrifont JP N", sans-serif;
    font-size: 70px;
    text-align: center;
    margin: 30px auto 60px;
}
/*メイン*/
.activity-main {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto 100px;
    padding: 30px;
    flex-wrap: wrap;
    border: 1px solid var(---navy);
    border-radius: 17px;
}

.activity-img {
    flex: 1 1 45%;
    max-width: 450px;
    object-fit: cover;
    border-radius: 8px;
}
.activity-main > div {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.activity-name {
    font-family: "WDXL Lubrifont JP N", sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.activity-article {
    font-size: 1.4rem;
    line-height: 1.7;
}
.activity-article a {
    font-size: 1.8rem;
}
.activity-article a:hover {
    color: var(--green);
}

/*FOOTER*/
.end{
    scroll-snap-align: end;
}
footer{
    background: var(---navy);
    text-align: center;
    height: auto;
    padding: 26px 0;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    list-style: none;
}
footer li {
    text-decoration: none;
    margin: 0 20px;
}
footer li::before {
    display: inline-block;
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 16px;
    margin: 0 10px 3px 0;
}
footer a {
    color: var(--white);
}
footer a:hover {
    color: var(--light-grey);
}
footer p{
    color: var(--white);
    font-size: 1rem;
}

/*activity.html*/
/*Blog CONTENTS*/
.container2{
    height: auto;
}
.blog-head{
    background-color: var(---navy);
    height: 13px;
}
#blog-title{
    font-family: "WDXL Lubrifont JP N", sans-serif;
    font-size: 100px;
    text-align: center;
    max-width: 1000px;
    margin: 20px auto 100px; 
}
.blog {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffffee; /*半透明白背景 */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.blog iframe {
    flex: 1 1 40%;
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.blog-contents {
    flex: 1 1 55%;
    padding: 10px;
}
.blog-contents h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brack);
}
.blog-contents p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--brack);
}
.blog-img {
    flex: 1 1 45%;
    max-width: 470px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/*スマートフォン用のスタイル (768px以下)*/
@media screen and (max-width: 768px) {
    /*ローディング*/
    #loading img {
        width: 100%;
    }

    /* メインタイトル */
    .title-inner {
        font-size: 3.5rem; /* スマートフォン向けにタイトルサイズを調整 */
        line-height: 1.3;
    }

    /* プロフィールセクション */
    #profile {
        flex-direction: column;   /* 画像とテキストを縦並びに変更 */
        align-items: center;      /* 中央揃えに */
        margin: 100px auto;        /* 上下の余白を調整 */
        padding: 0 20px;          /* 左右に余白を追加 */
    }

    .profile-img,
    .profile-article {
        width: 100%;              /* 横幅を画面いっぱいに */
        text-align: center;       /* テキストを中央揃えに */
    }
    
    .profile-img img {
        width: 80%;               /* 画像が大きくなりすぎないように調整 */
        height: auto;
    }

    .profile-article h2 {
        font-size: 2.5rem;        /* 見出しのサイズを調整 */
        margin-top: 20px;
    }

    .profile-article p {
        font-size: 1.2rem;        /* 文章のサイズを調整 */
        text-align: left;         /* 箇条書き部分は読みやすいように左揃えに */
        margin: 20px 0 0 30px; 
    }

    /* 活動紹介セクション */
    .activity-header {
        font-size: 2.8rem;         /* 見出しのサイズを調整 */
        margin: 60px auto;
    }

    .activity-main {
        flex-direction: column;    /* コンテンツを縦並びに変更 */
        margin: 0 20px 50px;     /* 余白を調整 */
        padding: 20px;
    }
    
    /* 2つ目の活動紹介(テキストが先に来る方)のレイアウトを調整 */
    .activity-main:has(div + img) {
        flex-direction: column-reverse; /* 画像が上に表示されるように順序を反転 */
    }

    .activity-img {
        max-width: 300px;           
        max-height: 200px;
        margin:10px auto 20px;
        object-fit: cover;
    }

    .activity-name {
        font-size: 1.8rem;
    }

    .activity-article {
        font-size: 1.1rem;
    }

    /* フッター */
    footer ul {
        margin-bottom: 1.5rem;
    }

    footer li {
        margin: 0 15px;
    }
}