@charset "UTF-8";

:root {
    /* Brand colors */
    --color-navy:         #0A1128;
    --color-navy-mid:     #32394F;
    --color-orange:       #EB5C01;
    --color-orange-mid:   #f9d3be;
    --color-orange-hover: #d94f00;
    --color-white:        #ffffff;
    --color-off-white:    #F4F5F7;
    --color-black:        #000000;
    --color-off-black:    #333333;
    --color-yellow:       #ffe200;
    --color-gray-100:     #F4F5F7;
    --color-gray-300:     #D9D9D9;
    --color-gray-500:     #ACACAC;

    /* Typography */
    --font-jp: 'Yu Gothic', 'YuGothic', '游ゴシック', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-en: 'Poppins', sans-serif;

    /* Spacing */
    --space-xs:   8px;
    --space-sm:   16px;
    --space-md:   24px;
    --space-lg:   40px;
    --space-xl:   64px;
    --space-2xl:  96px;

    /* Layout */
    --container-max:    1000px;
    --container-narrow: 760px;
    --section-py:       var(--space-2xl);

    /* Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;

    /* Transition */
    --transition-base: 0.2s ease;
    --transition-slow: 0.35s ease;

    /* Shadow */
    --shadow-card: 0 4px 24px rgba(0 0 0 / 0.10);
    --shadow-hover: 0 8px 40px rgba(0 0 0 / 0.16);
}


/* ==========================================================================
    1. Base (基本設定)
   ========================================================================== */
html {
    box-sizing: border-box;
    font-size: 100%;
    }

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-jp);
    font-size: clamp(14px, 0.95vw, 16px);
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: var(--color-off-black);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* ==========================================================================
    2. Layout (共通レイアウト)
   ========================================================================== */
.container {
    width: min(90%, var(--container-max));
    margin-inline: auto;
}

.container-sm {
    width: min(90%, 500px);
    margin-inline: auto;
}

.container-md {
    width: min(90%, 800px);
    margin-inline: auto;
}

.container-lg {
    width: min(90%, 1000px);
    margin-inline: auto;
}

section{
    position: relative;
}

.section {
    padding: 50px 0;
}
@media screen and (min-width: 1024px) {
    .section {
        padding: 80px 0;
    }
}

/* ==========================================================================
    3. Typography (文字装飾・フォント)
   ========================================================================== */
.font-poppins { font-family: var(--font-en);font-weight: bold; }
.text-bold       { font-weight: bold; }
.text-normal{font-weight: normal;}
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center     { text-align: center; }
@media screen and (min-width: 768px) {
    .text-center_pc{ text-align: center; }
}
.text_underline{
    text-decoration:underline;
}

/* フォントサイズ */
.text-2xs { font-size: 10px; }
.text-xs  { font-size: clamp(11px, 0.8vw, 13px); }
.text-sm  { font-size: clamp(13px, 0.9vw, 15px); }
.text-md  { font-size: clamp(14px, 1vw, 16px); }
.text-lg  { font-size: clamp(16px, 1.15vw, 18px); }
.text-xl  { font-size: clamp(18px, 1.35vw, 22px); }
.text-2xl { font-size: clamp(22px, 1.8vw, 28px); }
.text-3xl { font-size: clamp(26px, 2.2vw, 32px); }
.text-4xl { font-size: clamp(30px, 2.8vw, 40px); }
.text-5xl { font-size: clamp(36px, 3.6vw, 48px); }

/* 文字の塊で改行させる */
.keep-words { display: inline-block; }

.text-shadow{text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);}

/* ==========================================================================
    4. Colors (色指定)
   ========================================================================== */
.color-blk { color: var(--color-off-black);}
.color-wht { color: var(--color-white); }
.color-org { color: var(--color-orange); }
.color-gry { color: var(--color-gray-500);}

.bg-wht { background-color: var(--color-white); }
.bg-nvy { background-color: var(--color-navy);}
.bg-org { background-color: var(--color-orange); }
.bg-blk { background-color: var(--color-off-black); }
.bg-gry { background-color: var(--color-off-white); }

.marker-yel { background: linear-gradient(transparent 60%,var(--color-yellow) 60%); }
.marker-org { background: linear-gradient(transparent 60%,var(--color-orange) 60%); }

.shadow{box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, .35);}

/* ==========================================================================
    5. Utility (便利ツール)
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.d-block { display: block; }
.d-none  { display: none; }

/* 表示・非表示切り替え */
.only-sp { display: block; }
@media (min-width: 768px) { .only-sp { display: none; } }
.only-pc { display: none; }
@media (min-width: 768px) { .only-pc { display: block; } }

/* ==========================================================================
   6. Components (共通パーツ)
   ========================================================================== */
/* YouTube埋め込み */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}
@media screen and (min-width: 1024px) {
    .video-container { max-width: 900px; }
}

.video-container iframe {
    width: 100%;
    height: 100%;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, .35);
}

/* 画像(16:9) */
.img-16-9 {
    width: 100%; /* 親要素の幅いっぱいに広がる */
    aspect-ratio: 16 / 9; /* 比率を16:9に固定 */
    overflow: hidden; /* はみ出た部分を隠す */
}
.img-16-9 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ったまま枠いっぱいに広げる（重要！） */
    object-position: center; /* 中央を基準にトリミング */
    display: block;
}

/* セクション見出しセット */
.ttl { margin-bottom: 30px; text-align: center;}
@media screen and (min-width: 768px) { .ttl { margin-bottom: 50px; } }
.ttl .font-poppins{
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.ttl .font-poppins::before,
.ttl .font-poppins::after{
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-orange);
    max-width: 30px;
}
.ttl h2 {
    font-weight: 700;
    text-align: center;
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.4;
    letter-spacing: 0.04em;
}
.ttl hr { border: solid 1px var(--color-orange); width: 30px; margin: 30px auto; }
@media screen and (min-width: 1024px) { .ttl hr { margin: 40px auto; } }
@media screen and (min-width: 768px) { .ttl .lead { text-align: center; } }

/* 斜め装飾パーツ */
.is-slant-top {
    position: relative;
    isolation: isolate;
}
.is-slant-top::before {
    content: "";
    position: absolute;
    top: -49px;
    left: 0;
    width: 100%;
    height: 50px; 
    background-color: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: -1;
    transition: all 0.3s ease; /* 念のため滑らかに */
}
@media screen and (min-width: 1024px) {
    .is-slant-top::before {
        top: -79px;
        height: 80px;
    }
}

/* ネイビーのセクション */
section.bg-nvy{
    color: var(--color-off-white);
}

/* 逆三角 */
.triangle{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--color-orange);
}

/* スクロール時にフェード表示 */
.fade{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.fade.is-show{
  opacity: 1;
  transform: translateY(0);
}

/* ラベル */
.label{
    display: inline-block;
    background-color: var(--color-orange-mid);
    color: var(--color-orange);
    border: solid var(--color-orange) 1px;
    line-height: 1;
    padding: 6px 10px;
    margin-top: 5px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
    CTAボタン
   ========================================================================== */
.cta-area .btn-area {
    margin-top: 30px;
}

.cta-area .btn-area ul li:not(:first-child){
    margin-top: 30px;
}
@media screen and (min-width: 768px){
    .cta-area .btn-area ul li:not(:first-child){
        margin-top: 0px;
    }
}

.cta-area .btn-area .cta-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 70px;
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}
@media screen and (min-width: 600px){
    .cta-area .btn-area .cta-btn{
        max-width: 400px;
        height: 80px;
    }
}
@media screen and (min-width: 1024px){
    .cta-area .btn-area .cta-btn{
        max-width: 500px;
    }
}

.cta-area .cta-btn.btn01{
    background: var(--color-orange);
    color: var(--color-white);
    border: solid var(--color-orange) 1px;
}

.cta-area .cta-btn.btn02{
    background: var(--color-white);
    color: var(--color-orange);
    border: solid var(--color-orange) 1px;
}


.cta-area .btn-area .cta-btn:hover{
    background: var(--color-orange-hover);
    transform: translateY(-2px);
}

/* .cta-area .btn-area .cta-btn::after{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../img/icon-arrow-right.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-150%, -50%);
}
@media screen and (min-width: 600px){
    .cta-area .btn-area .cta-btn::after{
        transform: translate(-240%, -50%);
    }
}
@media screen and (min-width: 1024px){
    .cta-area .btn-area .cta-btn::after{
        transform: translate(-500%, -50%);
    }
}
@media screen and (min-width: 1366px){
    .cta-area .btn-area .cta-btn::after{
        transform: translate(-350%, -50%);
    }
} */

.cta-area .btn-area .cta-tel-btn{
    margin: 15px auto;
    width: 240px;
}
@media screen and (min-width: 768px){
    .cta-area .btn-area .cta-tel-btn{
        width: 300px;
    }
}

.cta-area .btn-area .cta-tel-btn img{
    width: 160px;
    margin: 0 auto 8px;
}
@media screen and (min-width: 768px){
    .cta-area .btn-area .cta-tel-btn img{
        width: 240px;
    }
}



/* ==========================================================================
    ローディング
   ========================================================================== */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

/* フェードアウト状態 */
.loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* ----------------------------------------------------------
   中央コンテンツ
   ---------------------------------------------------------- */
.loading__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
/* ----------------------------------------------------------
   ロゴ画像
   ---------------------------------------------------------- */
.loading__inner svg {
    width: clamp(140px, 40vw, 200px);
    height: auto;
  /* ロゴがSVGでwhiteバージョンがない場合は下記で白抜きに */
  /* filter: brightness(0) invert(1); */
}
/* ----------------------------------------------------------
   スピナー
   ---------------------------------------------------------- */
.loading__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--color-orange);
    border-radius: 50%;
    animation: loading-spin 0.8s linear infinite;
}
@keyframes loading-spin {
    to { transform: rotate(360deg); }
}
/* ----------------------------------------------------------
   アニメーション軽減
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .loading {
        transition: none;
    }
    .loading__spinner {
        animation: none;
        border-top-color: var(--color-orange);
    }
}


/* ----------------------------------------------------------
    スリックのボタン
   ---------------------------------------------------------- */
.slick-dots{
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slick-dots li{
    width: auto;
    height: auto;
    margin: 0;
}

.slick-dots li button{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255,255,255,.35);
    font-size: 0;
    padding: 0;
}

.slick-dots li.slick-active button{
    background-color: var(--color-orange);
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before{
    display: none;
}


