@media (min-width: 981px){
    .pc-only { display: block;  }
    .sp-only{ display: none !important; }
}
@media (max-width: 768px) {
    .pc-only { display: none;  }
    .sp-only{ display: block; }
}
.text-en{
    font-family: var(--font-f-en);
}

ul{
    list-style: none;
    padding:0;
    margin:0;
}
.contents{
    width: 960px;
    margin: 0 auto;
}



/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif; }

.site-header{
    width: 100%;
}

.header-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 0;
    display: flex;                 /* header全体flex */
    align-items: center;
    justify-content: space-between; /* 左右寄せ */
    gap: 16px;
}

/* ===== Left ===== */
.header-left{
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.header-logo,
.header-catch{
    text-decoration: none;
    color: #111;
    font-weight: 700;
    white-space: nowrap;
}

.header-logo{ font-size: 18px; }
.header-catch{ font-size: 18px; }

/* ===== Right ===== */
.header-right{
    margin-left: auto; /* 右はマージンoutで押し出し */
    display: flex;
    align-items: center;
    position: relative;
}

/* PCナビ：カプセル */
.global-nav{
    background: #fff;
    border-radius: 999px;
    padding: 10px 30px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.global-nav-list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 26px;
    align-items: center;
}

.gnav-link{
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 15px;
}

.gnav-link:hover{ opacity: .7; }

/* ===== Hamburger ===== */
.hamburger{
    display: none; /* PCは非表示 */
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.hamburger-line{
    display: block;
    width: 26px;
    height: 2px;
    background: #111;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.hamburger-line:nth-child(1){ top: 14px; }
.hamburger-line:nth-child(2){ top: 21px; }
.hamburger-line:nth-child(3){ top: 28px; }

/* overlay（視覚効果用。外側クリック閉じはJSが処理してる） */
.nav-overlay{
    display: none;
}

/* ===== SP ===== */
@media (max-width: 980px){
    .header-inner{
        padding: 14px 12px;
    }
    .header-left{ gap: 14px; }

    #js-header .hamburger{
        display: inline-flex;
        align-items: center;
        justify-content: center;

        position: fixed !important;
        top: 12px !important;
        right: 12px !important;

        width: 44px;
        height: 44px;

        z-index: 9999;
    }

    /* SP：ナビを右から出すdrawer */
    .global-nav{
        position: fixed;
        top: 0;
        right: -86%;
        width: min(360px, 86%);
        height: 100vh;
        padding: 92px 18px 18px;
        border-radius: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,.18);
        transition: right .28s ease;
        z-index: 1001;
    }

    .global-nav-list{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gnav-link{
        font-size: 16px;
        padding: 10px 6px;
        display: inline-block;
        width: 100%;
    }

    /* overlay 表示 */
    .nav-overlay{
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        display: none;
        z-index: 1000;
    }

    /* open state：あなたのJSが #js-header に is-open を付ける */
    #js-header.is-open .global-nav{
        right: 0;
    }
    #js-header.is-open .nav-overlay{
        display: block;
    }

    /* クリックで×になる（is-open時） */
    #js-header.is-open .hamburger-line:nth-child(1){
        top: 21px;
        transform: translateX(-50%) rotate(45deg);
    }
    #js-header.is-open .hamburger-line:nth-child(2){
        opacity: 0;
    }
    #js-header.is-open .hamburger-line:nth-child(3){
        top: 21px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* 子メニュー（既存JS用：.gnav-item.has-sub の開閉） */
    .gnav-sub{
        margin: 0;
        padding: 0 0 0 14px;
        list-style: none;
        display: none;
    }
    .gnav-item.has-sub.is-open > .gnav-sub{
        display: block;
    }
}



dl.table-default{
    display: flex;
    flex-wrap:wrap;
    width:100%;
    margin:0 0 2em;
    border-bottom:solid 1px #fff;
}
dl.table-default > dt{
    background: #F3F3EE;
    display:inline-flex;
    align-items: center;
    width:26%;
    text-align: center;
    font-weight: 600;
    border-left:1px solid #fff;
    border-top:1px solid #fff;
    border-right:1px solid #fff;
}

dl.table-default dt,
dl.table-default dd,
dl.table-default p,
dl.table-default li{
    font-size: var(--d-font-size-min-0);
}
dl.table-default > dt.required:after{
    margin: 0 0 0 auto;
    content:'必須';
    background: #9100FF;;
    color:white;
    padding: .2em .5em;
    font-size: var(--d-font-size-min-4);
    border-radius: 10px;
}

dl.table-default > dd{
    width:74%;
    text-align: center;
    background:none;
    font-size: var(--d-font-size-min-0);
    line-height: 2;
    border-top:1px solid #fff;
    border-right:1px solid #fff;
}

dl.table-default > dt,
dl.table-default > dd{
    padding:1em;
}
dl.table-default > dd.flex p{
    display:flex;
    justify-content: left;
    align-items: center;
}
dl.table-default > dd.flex span{
    margin: 0 1em 0 0;
}

dl.table-default > dd input,
dl.table-default > dd select,
dl.table-default > dd textarea{
    padding: .5em;
    font-size: var(--d-font-size);
    border: solid 1px var(--d-color-thin-2);
    border-radius: 5px;
}

dl.table-default dl.inner{
    display:flex;
    flex-wrap:wrap;
    justify-content: left;
    width: 100%;
    padding:0;
    margin:0;
}
dl.table-default dl.inner dt{
    width: 45%;
    text-align: left;
}
dl.table-default dl.inner dd{
    width: 30%;
}
dl.table-default ul{
    width:100%;
    margin:0 auto;
}
dl.table-default li{
    text-align: left;
}
dl.table-default .text-contents{
    text-align: left;
}
dl.table-default .text-contents .sub-title{
    font-weight: 600;
}
dl.table-default .text-contents .sub-title:not(:first-of-type) {
    margin:2em 0 0 0;
}

.contact-form input[type=submit]{
    cursor: pointer;
    display:block;
    width: 300px;
    background: #9100FF;
    color: white;
    padding: 1em 10px 1em 10px;
    margin: 0 auto 2.5em auto;
    border:none;
    border-radius: 5px;
    font-size: var(--d-font-size-0);
}

/* SPでは非表示 */
@media (max-width: 980px) {
    .pc-side-fix {
        display: none;
    }
    dl.table-default > dt{
        width: 100%;
    }
    dl.table-default > dd{
        width:100%;
    }
}



.footer {
    background: #303030;; /* GLAY系パープル1色 */
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo span {
    font-size: var(--d-font-size-min-1);
    font-weight: normal;
    opacity: 0.8;
}

.footer-description {
    font-size: var(--d-font-size-min-3);
    line-height: 1.8;
}

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-line {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 40px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-sns {
    margin-bottom: 15px;
}

.footer-sns a {
    margin: 0 10px;
    font-size: 14px;
}
.footer-sns img{
    width: 10%;
    height: 24px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px;
    font-size: 13px;
    opacity: 0.8;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.7;
}
.footer-col h3{
    font-weight: normal;
}
.footer-col ul,
.footer-col dt{
    padding: 0 0 0 1em;
}
.footer-col dt{
    font-size: var(--d-font-size-min-1);
}
.footer-col dd{
    padding: 0 0 0 2em;
}
.footer-col ul li,
.footer-col dd{
    font-size: var(--d-font-size-min-1);
    margin-bottom: .25em;
}

/* 右固定ボタン */
.fixed-side-btn{
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 50px;             /* ボタンの太さ */
    height: 180px;           /* ボタンの高さ（お好みで） */
    background: #d9a6ff;      /* 薄紫 */
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* 右側が丸く、左側は直線（画像っぽく） */
    border-radius: 28px 0 0 28px;
    /* ほんのり影（不要なら削除OK） */
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    /* クリックしやすく */
    -webkit-tap-highlight-color: transparent;
}


/* 縦書きテキスト */
.fixed-side-btn__text{
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: var(--d-font-size-min-0);       /* 文字サイズ */
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
}

/* hover（PC） */
.fixed-side-btn:hover{
    filter: brightness(0.97);
    text-decoration: none;
}

/* スマホで少し小さくしたい場合 */
@media (max-width: 480px){
    .fixed-side-btn{
        width: 72px;
        height: 320px;
        border-radius: 24px 0 0 24px;
    }
    .fixed-side-btn__text{
        font-size: 24px;
    }
    .fixed-side-btn::before{
        left: -30px;
        width: 40px;
        height: 78px;
        bottom: 48px;
    }
}


/* ================================
   PC：右上ナビを固定追随
================================ */
@media (min-width: 981px){
    .global-nav{
        position: fixed;
        top: 18px;
        right: 16px;
        z-index: 2000;
    }
}