@charset "UTF-8";

/* ==========================================================================
   1. Base (基本設定)
   ========================================================================== */
body {
    font-family: "Noto Sans JP","Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    -webkit-font-smoothing: antialiased;
    background-color: #F4F5F7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

/* ==========================================================================
   2. Layout (共通レイアウト)
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
@media screen and (min-width: 1024px) {
    .container {
        width: 100%; /* 最大幅に達するまでは100%でOK */
    }
}

.container-sm {
    max-width: 500px;
}

.container-md {
    max-width: 800px;
}

.container-lg {
    max-width: 1000px;
}

section:not(#mv) {
    padding: 50px 0;
}
@media screen and (min-width: 1024px) {
    section:not(#mv) {
        padding: 80px 0;
    }

}

/* ==========================================================================
   3. Typography (文字装飾・フォント)
   ========================================================================== */
.font-montserrat { font-family: "Montserrat", sans-serif; }
.text-bold       { font-weight: bold; }
.text-center     { text-align: center; }
@media screen and (min-width: 768px) {
    .text-center_pc     { text-align: center; }
}

/* * レスポンシブ・タイポグラフィ
 * スマホ版を基本とし、PC版(1024px~)を都度上書き
 */
.text-xsmall { font-size: 10px; }
@media screen and (min-width: 1024px) { .text-xsmall { font-size: 12px; } }

.text-small { font-size: 12px; }
@media screen and (min-width: 1024px) { .text-small { font-size: 14px; } }

p, .text-normal { font-size: 14px; }
@media screen and (min-width: 1024px) { p, .text-normal { font-size: 16px; } }

h2, .text-big { font-size: 20px; }
@media screen and (min-width: 1024px) { h2, .text-big { font-size: 24px; } }

.text-large { font-size: 24px; }
@media screen and (min-width: 1024px) { .text-large { font-size: 32px; } }

.text-huge { font-size: 32px; }
@media screen and (min-width: 1024px) { .text-huge { font-size: 40px; } }

/* 文字の塊で改行させる */
.keep-words { display: inline-block; }

/* ==========================================================================
   4. Colors (色指定)
   ========================================================================== */
.color-org { color: #EB5C01; }
.color-wht { color: #fff; }

.bg-org { background-color: #EB5C01; }
.bg-blk { background-color: #333; }
.bg-gry { background-color: #F4F5F7; }
.bg-wht { background-color: #fff; }

.marker-yel { background: linear-gradient(transparent 50%,#ffe200 100%); }

.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; }

/* 表示・非表示切り替え */
.hide_pc { display: block; }
@media screen and (min-width: 768px) { .hide_pc { display: none; } }

.hide_sp { display: none; }
@media screen and (min-width: 768px) { .hide_sp { 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; }
@media screen and (min-width: 1024px) { .ttl { margin-bottom: 50px; } }

.ttl img { max-width: 400px; margin: 0 auto 10px; }
@media screen and (min-width: 1024px) { .ttl img { max-width: 640px; margin: 0 auto 30px;}}

.ttl h2 { font-weight: bold; text-align: center; font-size: 18px; }
@media screen and (min-width: 1024px) { .ttl h2 { font-size: 28px; } }

.ttl hr { border: solid 1px #EB5C01; 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;
}
/* @media screen and (min-width: 1024px) {
    .is-slant-top { margin-top: 100px; }
} */

.is-slant-top::before {
    content: "";
    position: absolute;
    top: -29px;
    left: 0;
    width: 100%;
    height: 30px; 
    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;
    }
}