@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #334e38;
    font-family: serif;
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.85;
    word-wrap: break-word;
    letter-spacing: 0.2em;
}

body.appear {
    background: #f0f2eb;
}

img {
    border-style: none;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

#container {
    width: 80%;
    margin: 0 auto;
    opacity: 0;
}

@media screen and (max-width:900px) {
    #container {
        width: 92%;
    }
}

body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/*========= ヘッダー H1 & ロゴリンク ===============*/
.header-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}
.header-link:hover { text-decoration: none; }

h1 {
    color: #1e3222;
    font-size: 2.5rem;
    background-color: #f0f2eb;
    position: relative;
    padding: 20px 20px 20px 110px;
    margin-top: 20px;
    border-radius: 6px 6px 0 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

h1:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 90px;
    height: 75px;
    background-image: url(/logo/logogreen.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* メニュー展開時の処理 */
body.is-menu-open {
    overflow: hidden;
}
body.is-menu-open h1 {
    opacity: 0;
    visibility: hidden;
}

/*========= ローディング & 画面遷移 ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #334e38;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}
#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    letter-spacing: 0.3em;
}
#slider {
    width: 100%;
    height: 70vh;
    margin-bottom: 40px;
}
.vegas-overlay { 
    background: none !important; 
    opacity: 0 !important; 
}
.splashbg1, .splashbg2 { 
    display: none; 
}
body.appear .splashbg1, body.appear .splashbg2 { 
    display: block; 
}
body.appear .splashbg1 {
    animation: PageAnime 0.5s ease-in-out forwards;
    content: ""; 
    position: fixed; 
    z-index: 999;
    width: 100%; 
    height: 100vh; 
    top: 0; 
    left: 50%;
    transform: scaleX(1); 
    background-color: #334e38;
}
@keyframes PageAnime { 
    0% { 
        transform-origin: left; 
        transform: scaleX(1);
    } 
    50% { 
        transform-origin: right; 
    } 
    100% { 
        transform-origin: right; 
        transform: scaleX(0);
    }
}
body.appear .splashbg2 {
    animation: PageAnime2 1.2s ease-in-out forwards;
    content: ""; 
    position: fixed; 
    z-index: 999;
    width: 100%; 
    height: 100vh; 
    top: 0; 
    right: 50%;
    transform: scaleX(1); 
    background-color: #334e38;
}
@keyframes PageAnime2 { 
    0% { 
        transform-origin: right; 
        transform: scaleX(1); 
    } 
    50% { 
        transform-origin: left; 
    } 
    100% { 
        transform-origin: left; 
        transform: scaleX(0); 
    } 
}

/*========= ナビゲーション ===============*/
nav {
    background: #1e3222;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
nav ul { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
}
nav ul ul { 
    display: block; 
}
nav ul li { 
    position: relative; 
    z-index: 10; 
}
nav ul li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 20px 30px;
    transition: all .3s;
    font-size: 0.95rem;
    font-weight: bold;
}
nav ul li li a { 
    padding: 12px 25px; 
}
nav ul li a:hover { 
    color: #fff; 
    background: #334e38; 
    text-decoration: underline; 
}
nav ul li.has-child::before {
    content: ''; 
    position: absolute; 
    left: 12px; 
    top: 28px;
    width: 6px; 
    height: 6px; 
    border-top: 2px solid #ffffff; 
    border-right: 2px solid #ffffff;
    transform: rotate(135deg);
}
nav ul ul li.has-child::before {
    content: ''; 
    position: absolute; 
    left: 12px; 
    top: 20px;
    width: 6px; 
    height: 6px; 
    border-top: 2px solid #fff; 
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
nav li.has-child ul {
    position: absolute; 
    left: 0; 
    top: 65px; 
    z-index: 20;
    background: #1e3222; 
    width: 240px; 
    visibility: hidden; 
    opacity: 0;
    transition: all .3s; 
    text-align: left;
}
nav li.has-child:hover>ul, nav li.has-child ul li:hover>ul { 
    visibility: visible; 
    opacity: 1; 
}
nav li.has-child ul li a { 
    color: #fff; 
    border-bottom: solid 1px rgba(255, 255, 255, 0.2); 
}
nav li.has-child ul li:last-child>a { 
    border-bottom: none; 
}
nav li.has-child ul li a:hover { 
    background: #334e38; 
}
nav li.has-child ul ul { 
    top: 0; left: 240px; 
}

/* クレジット表示用スタイル */
.img-credit, .img-permission {
    display: block; 
    font-size: 0.75rem;
    color: #595959;
    line-height: 1.4; 
    margin-top: 4px; 
    letter-spacing: 0.05em;
}
.img-permission { 
    color: #702020; 
}

/*========= メインコンテンツ設定 ===============*/
main { 
    background: #fff; 
    padding: 40px; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); 
}
.main-intro { 
    margin-bottom: 60px; 
    border-bottom: 1px dashed #595959; 
    padding-bottom: 40px; 
}
section { 
    padding: 60px 0; 
    border-bottom: 1px solid #595959; 
}
section:last-of-type { 
    border-bottom: none; 
}
main h2 { 
    color: #1e3222; 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
}
main h3 {
    color: #111; 
    font-size: 1.8rem; 
    margin-bottom: 20px;
    display: inline-block; 
    border-bottom: 3px solid #1e3222; 
    padding-bottom: 5px;
}

/*========= タイムライン（ブログ形式） ===============*/
.blog-lead { 
    margin-bottom: 40px; 
}
.timeline { 
    position: relative; 
    padding-left: 40px; 
    margin-top: 30px; 
}
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0px;
    width: 2px; background-color: #595959;
}
.timeline-item { 
    position: relative; 
    margin-bottom: 50px; 
}
.timeline-number {
    position: absolute; 
    left: -40px; 
    top: 0; 
    width: 32px; 
    height: 32px;
    border-radius: 50%; 
    background-color: #1e3222; 
    color: white;
    text-align: center; 
    line-height: 32px; 
    font-weight: bold; 
    font-size: 0.9rem; 
    z-index: 1;
}
.timeline-content {
    background: #fafafa; 
    padding: 25px; 
    border-radius: 6px;
    border: 1px solid #767676;
}
.timeline-content h4 { 
    font-size: 1.2rem; 
    color: #111; 
    margin-bottom: 20px; 
}
.timeline-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
}
.timeline-flex .image-box { 
    width: 40%; 
    border-radius: 4px; 
    overflow: hidden; 
}
.timeline-flex .text-box { 
    width: 57%; 
}
.timeline-goal {
    position: absolute; 
    left: -40px; 
    top: -50px; 
    width: 70px; 
    height: 35px;
    border-radius: 10px; 
    background-color: #1e3222; 
    color: white;
    text-align: center; 
    line-height: 32px; 
    font-weight: bold; 
    font-size: 0.9rem; 
    z-index: 1;
}
.alert-box {
    background-color: #fdf3f2;
    border-left: 4px solid #d9534f;
    padding: 20px; 
    margin-bottom: 30px; 
    border-radius: 0 4px 4px 0;
}
.btn {
    display: inline-block; 
    text-align: center; 
    text-decoration: none;
    font-weight: bold; 
    font-size: 0.9rem; 
    padding: 12px 28px;
    border-radius: 25px; 
    transition: transform 0.2s, background-color 0.3s, color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    letter-spacing: 0.1em;
}
.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
}
.button-single { 
    margin-top: 15px; 
}
.btn-accent { 
    background-color: #1e3222; 
    color: #ffffff; 
    border: none; 
}
.btn-accent:hover { 
    background-color: #334e38; 
    color: #ffffff; 
}

/*========= コースマップ ===============*/
.map-lead { 
    text-align: center; 
}
.map-wrapper { 
    max-width: 800px; 
    margin: 20px auto 0; 
    border: 1px solid #ccc; 
    text-align: center; 
}
.map-wrapper iframe { 
    max-width: 100%; 
    display: block; 
    margin: 0 auto; 
}

/*========= スクロールリンク & ページトップ ===============*/
.scroll-top {
    position: fixed; 
    right: 20px; 
    bottom: 10px; 
    z-index: 99; 
    opacity: 0;
    visibility: hidden; 
    transition: opacity .5s, visibility .5s;
    writing-mode: vertical-rl; 
    white-space: nowrap; 
    animation: arrowmove 1s ease-in-out infinite;
}
@keyframes arrowmove { 
    0% { 
        bottom: 20px; 
    } 
    50% { 
        bottom: 25px; 
    } 
    100% { 
        bottom: 20px; 
    } 
}
.scroll-top.scroll-view { 
    opacity: 1; 
    visibility: visible; 
}
.scroll-top a { 
    text-decoration: none; 
    color: #333; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    display: block; 
    position: relative; 
    padding-right: 15px; 
}
.js-scroll a::after, .js-pagetop a::after { 
    content: ""; 
    position: absolute; 
    top: 0; 
    right: 5px; 
    width: 1px; 
    height: 50px; 
    background: #333; 
}
.js-scroll a::before { 
    content: ""; 
    position: absolute; 
    top: 30px; 
    right: -1px; 
    width: 1px; 
    height: 20px; 
    background: #333; 
    transform: skewX(-31deg); 
}
.js-pagetop a::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    right: -1px; 
    width: 1px; 
    height: 20px; 
    background: #333; 
    transform: skewX(31deg); 
}

/*========= フッター ===============*/
#footer {
    border-top: 1px solid #ddd; 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center;
    justify-content: space-between; 
    padding: 40px 0; 
    margin-top: 40px; 
    color: #232e26;
}
.footer-brand { 
    width: 35%; 
}
.footer-brand a { 
    text-decoration: none; 
    color: inherit; 
    transition: opacity 0.3s; 
}
.footer-brand a:hover { 
    opacity: 0.8; 
}
#footer dl dt { 
    font-size: 0.9rem; 
    color: #232e26; 
}
#footer dl dd { 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: #232e26; 
}
#footer .footer-list { 
    width: 60%; 
    text-align: right; 
}
#footer ul { 
    list-style-type: none; 
}
#footer ul li { 
    display: inline-block; 
    padding: 0 12px; 
    font-size: 1rem; 
}
#footer ul li a { 
    position: relative; 
    text-decoration: none; 
    color: #232e26; 
}
#footer ul li a::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 100%; 
    height: 1px;
    background: #232e26; 
    transition: all .3s; 
    transform: scale(0, 1); 
    transform-origin: center top;
}
#footer ul li a:hover::after { 
    transform: scale(1, 1); 
}
#footer small { 
    text-align: center; 
    margin-top: 30px; 
    display: block; 
    width: 100%; 
    font-size: 0.75rem; 
    color: #232e26; 
}

@media screen and (max-width:900px) {
    .footer-brand, #footer .footer-list { 
        width: 100%; 
        text-align: center; 
        margin-bottom: 20px; 
    }
}

/*==================================================
【レスポンシブ・メディアクエリ（768px以下）】
==================================================*/
@media screen and (max-width: 768px) {
    #container { 
        width: 100%; 
        padding: 0 10px; 
    }
    body { 
        font-size: 0.9rem; 
        letter-spacing: 0.1em; 
    }
    main { 
        padding: 15px 10px; 
    }
    h1 { 
        font-size: 1.8rem; 
        padding: 15px 15px 15px 80px; 
        margin-top: 10px; 
    }
    h1:before { 
        width: 65px; 
        height: 55px; 
    }
    #slider { 
        height: auto; 
        width: 100%; 
        aspect-ratio: 16/9; 
        margin-bottom: 20px; 
    }

    nav {
        position: -webkit-sticky; 
        position: sticky; 
        top: 0; 
        z-index: 9999;
        background: #1e3222; 
        padding: 0; 
        margin: 0 -10px 20px -10px; 
        border-radius: 0;
    }

    .menu-trigger {
        display: block; 
        position: relative; 
        width: 50px; 
        height: 44px;
        cursor: pointer; 
        margin-left: auto; 
        z-index: 9999;
    }
    .menu-trigger span {
        display: inline-block; 
        transition: all .4s ease; 
        position: absolute;
        left: 13px; 
        width: 24px; 
        height: 2px; 
        background-color: #fff;
    }
    /* 閉状態（三本線） */
    .menu-trigger span:nth-of-type(1) { 
        top: 13px; 
        transform: rotate(0); 
    }
    .menu-trigger span:nth-of-type(2) { 
        top: 21px; 
        opacity: 1; 
    }
    .menu-trigger span:nth-of-type(3) { 
        top: 29px; 
        transform: rotate(0); 
    }
    /* 開状態（✕） */
    .menu-trigger.active span:nth-of-type(1) { 
        top: 21px; 
        transform: rotate(-45deg); 
    }
    .menu-trigger.active span:nth-of-type(2) { 
        opacity: 0; 
    }
    .menu-trigger.active span:nth-of-type(3) { 
        top: 21px; 
        transform: rotate(45deg); 
    }

    nav ul#page-link {
        display: none;
    }
    nav ul#page-link.is-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: #1e3222;
        padding: 0;
        margin: 0;
        text-align: left;
        z-index: 9998;
        overflow-y: auto;
    }

    nav ul#page-link > li {
        width: 100%;
    }
    nav ul li a {
        display: flex;
        align-items: center;
        min-height: 50px;
        padding: 10px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    nav li.has-child ul {
        display: block !important; 
        visibility: visible !important; 
        opacity: 1 !important;
        position: static !important; 
        width: 100% !important; 
        background: #152419; 
        box-shadow: none;
    }
    nav li.has-child ul li a { 
        padding-left: 40px !important; 
    }
    nav li.has-child ul ul li a { 
        padding-left: 60px !important; 
    }
    nav ul li.has-child::before, nav ul ul li.has-child::before { 
        display: none !important; 
    }

    .timeline { 
        padding-left: 0; 
    }
    .timeline::before, .timeline-number, .timeline-goal { 
        display: none; 
    }
    .timeline-content {
        padding: 15px 12px; 
        width: 100%; 
    }
    .timeline-flex { 
        flex-direction: column; 
    }
    .timeline-flex .image-box { 
        width: 100%; 
        margin-bottom: 12px; 
    }
    .timeline-flex .text-box { 
        width: 100%; 
    }
    #HOME { 
        margin-bottom: 0px; 
        padding-bottom: 10px; 
    }
    #HOME h2 { 
        margin-bottom: 0; 
    }
    #ABOUT, #BLOG { 
        padding: 10px 0; 
    }
    #ABOUT h3, #BLOG h3 { 
        margin-bottom: 0; 
        border: none; 
        padding-bottom: 0; 
    }
    .table-wrap { 
        width: 100%; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        margin-bottom: 20px; 
        border: 1px solid #ccc; 
    }
    .table-wrap table { 
        min-width: 500px; 
        width: 100%; 
    }
}