@charset "UTF-8";
:root{
    --navy:#0b4773;
    --mint:#b6eadf;
    --mint-light:#eefbf8;
    --teal:#2fb8a7;
    --orange:#ff8a2b;
    --blue: #08a0ff;
    --text:#244052;
    --card:#fff;
}
*{
    box-sizing:border-box;
}
body{
    margin:0;
    font-family:"Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;
    color:var(--text);
    background:#f6fffd;
    line-height:1.8;
}
.site-header{
    height:64px;
    padding:0 42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    position:sticky;
    top:0;
    z-index:10;
}
.logo{
    color:var(--navy);
    text-decoration:none;
    line-height:1.1;
}
.logo strong{
    display:block;
    font-size:20px;
}
.logo span{
    font-size:10px;
}
nav{
    display:flex;
    align-items:center;
    gap:30px;
}
nav a{
    font-size:14px;
    font-weight:700;
    color:var(--navy);
    text-decoration:none;
}
.menu-toggle{
    display:none;
}
.btn{
    display:inline-block;
    padding:14px 34px;
    border-radius:8px;
    background:var(--orange);
    color:#fff!important;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 5px 0 rgba(0,0,0,.08);
}
.btn:hover{
    background:#0b4773;
}
.btn.small{
    padding:9px 20px;
}
.preview{
    font-size:14px;
    border:solid 1px var(--text);
    padding:12px 24px;
}
.hero{
    min-height:385px;
    background:linear-gradient(135deg,#aee8df,#bdf0e6);
    position:relative;
    overflow:hidden;
}
.hero:before,.hero:after{
    content:"";
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,.14);
}
.hero:before{
    width:680px;
    height:680px;
    left:110px;
    top:40px;
}
.hero:after{
    width:380px;
    height:380px;
    right:-80px;
    top:-40px;
}
.hero-inner{
    position:relative;
    z-index:1;
    text-align:center;
    max-width:1200px;
    margin:auto;
    padding:40px 20px 120px 20px;
    background:url("assets/hero.png") center bottom/contain no-repeat;
    min-height:480px;
}
.eyebrow{
    color:var(--teal);
    font-weight:700;
    margin:0;
}
h1{
    margin:0;
    color:var(--navy);
    font-size:72px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:.03em;
}
h2{
    margin:0;
    color:var(--teal);
    font-size:46px;
    line-height:1.2;
    text-align:center;
    font-weight:900;
}
.section{
    padding:60px 20px;
}
.intro{
    max-width:980px;
    margin:auto;
    text-align:center;
}
.intro>p{
    font-size:14px;
    margin:0 auto 15px;
    max-width:720px;
}
.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:42px;
    margin-top:45px;
}
.features img{
    width:100%;
    border-radius:8px;
}
.features h3{
    color:var(--teal);
    font-size:18px;
    margin:15px 0 0;
}
.features p{
    font-size:14px;
    margin:0;
}
.pale{
    background:#eaf8f5;
}
.lead{
    text-align:center;
    font-size:14px;
    font-weight:700;
    margin:12px 0 28px;
}
.program-grid{
    max-width:940px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
.card,.profile,.seminar-box{
    background:var(--card);
    border-radius:10px;
}
.card{
    padding:20px 24px;
}
.card span{
    background:var(--blue);
    color:white;
    border-radius:999px;
    padding:5px 14px;
    font-size:11px;
    font-weight:800;
}
.card h3{
    margin:8px 0 0;
    font-size:18px;
}
.card p{
    margin:5px 0 0;
    font-size:14px;
}
.card .date{
    font-size:12px;
    color:#666;
}
.recommend{
    background:var(--teal);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;
    padding:52px 20px;
}
.recommend h2{
    text-align:left;
    color:#fff;
    font-size:25px;
}
.recommend li{
    font-weight:700;
    margin:8px 0;
}
.recommend img{
    max-width:340px;
}
.instructors{
    background:#f2fffc;
}
.instructor-grid{
    max-width:940px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.profile{
    min-height:90px;
    display:grid;
    grid-template-columns:130px 1fr;
    overflow:hidden;
}
.profile img,.photo{
    width:140px;
    height:auto;
    object-fit:cover;
    background:#c9c9c9;
}
.profile div:last-child{
    padding:22px;
}
.profile h3{
    margin:0 0 8px;
    font-size:16px;
}
.profile p{
    margin:0 0 6px;
    font-size:14px;
    line-height:1.55;
}
.seminar-box{
    max-width:940px;
    margin:0 auto;
    padding:20px;
    display:grid;
    grid-template-columns:170px 1fr;
    gap:25px;
}
.seminar-box img{
    width:170px;
}
.seminar-flyer{
    cursor:zoom-in;
    transition:transform .2s ease,box-shadow .2s ease;
}
.seminar-flyer:hover,
.seminar-flyer:focus-visible{
    /*transform:scale(1.03);
    box-shadow:0 8px 20px rgba(11,71,115,.2);
    outline:3px solid var(--orange);
    outline-offset:3px;*/
    opacity:0.8;
}
.flyer-modal{
    width:min(92vw,720px);
    max-height:92vh;
    padding:0;
    border:0;
    border-radius:10px;
    background:transparent;
    overflow:visible;
}
.flyer-modal::backdrop{
    background:rgba(0,24,42,.78);
    backdrop-filter:blur(3px);
}
.flyer-modal img{
    display:block;
    width:auto;
    max-width:100%;
    max-height:92vh;
    margin:auto;
    border-radius:8px;
}
.flyer-modal-close{
    position:absolute;
    top:-16px;
    right:-16px;
    z-index:1;
    width:42px;
    height:42px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#fff;
    color:var(--navy);
    font-size:30px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 3px 12px rgba(0,0,0,.25);
}
.seminar-box table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}
.seminar-box th{
    width:90px;
    background:var(--teal);
    color:#fff;
    padding:9px;
    text-align:center;
}
.seminar-box td{
    background:#f3fbfa;
    border-bottom:2px solid #fff;
    padding:9px;
}
.apply{
    /*max-width:760px;*/
    margin:24px auto 0;
    border-radius:10px;
    padding:18px;
    display:grid;
    /*grid-template-columns:360px 1fr;*/
    gap:28px;
    align-items:center;
    justify-content: center;
}
.btn.wide{
    text-align:center;
    border-radius:28px;
}
.apply p{
    margin:0;
    /*color:var(--teal);*/
    font-weight:700;
    text-align: center;
}
.guide{
    text-align:center;
}
footer{
    background:#123f67;
    color:#fff;
    text-align:center;
    font-size:14px;
    font-weight:700;
    padding:35px 20px;
}
.credit {
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  .credit p {
    margin: 0;
    font-weight: 400;
  }
@media(max-width:780px){
    p{
        font-size:12px;
   }
    .site-header{
        height:64px;
        padding:10px 20px;
        align-items:center;
        position:sticky;
    }
    .recommend,.apply{
        flex-direction:column;
        display:flex;
    }
    .logo{
        max-width:calc(100% - 58px);
    }
    .logo strong{
        font-size:16px;
    }
    .logo span{
        display:block;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .menu-toggle{
        width:44px;
        height:44px;
        padding:10px;
        border:0;
        border-radius:6px;
        background:transparent;
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:5px;
        cursor:pointer;
    }
    .menu-toggle span{
        width:24px;
        height:2px;
        display:block;
        background:var(--navy);
        border-radius:2px;
        transition:transform .25s ease,opacity .2s ease;
    }
    .menu-open .menu-toggle span:nth-child(1){
        transform:translateY(7px) rotate(45deg);
    }
    .menu-open .menu-toggle span:nth-child(2){
        opacity:0;
    }
    .menu-open .menu-toggle span:nth-child(3){
        transform:translateY(-7px) rotate(-45deg);
    }
    nav{
        position:absolute;
        top:100%;
        right:0;
        left:0;
        padding:8px 20px 20px;
        background:#fff;
        box-shadow:0 10px 18px rgba(11,71,115,.12);
        display:flex;
        flex-direction:column;
        gap:0;
        align-items:stretch;
        visibility:hidden;
        opacity:0;
        transform:translateY(-8px);
        pointer-events:none;
        transition:opacity .2s ease,transform .2s ease,visibility .2s;
    }
    .menu-open nav{
        visibility:visible;
        opacity:1;
        transform:translateY(0);
        pointer-events:auto;
    }
    nav a{
        padding:12px 4px;
        border-bottom:1px solid #e5f1ef;
        text-align:center;
    }
    nav .btn.small{
        margin-top:10px;
        border-bottom:0;
    }
    .hero-inner{
        background-position:center bottom;
        padding-top:20px;
        min-height: 380px;
    }
    .eyebrow{
        margin-top:20px;
    }
    h1{
        font-size:46px;
    }
    .features,.program-grid,.instructor-grid{
        grid-template-columns:1fr;
    }
    .recommend{
        gap:20px;
        align-items:center;
    }
    .recommend h2{
        text-align:center;
    }
    .recommend img{
        margin:0 auto;
    }
    .seminar-box{
        grid-template-columns:1fr;
    }
    .seminar-box img{
        width:100%;
        max-width:230px;
        margin: 0 auto;
    }
    .apply{
        gap:14px;
    }
    .profile{
        grid-template-columns:130px 1fr;
    }
    .profile img,.photo{
        height:auto;
        object-fit:cover;
    }
    .profile img{
        min-width:120px;
        height:auto;
        object-fit:contain;
        align-self:start;
    }
    .credit{
        flex-direction: column;
    }
}
