* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}
img {
    display: block;
    width: 100%;
}
video {
    display: block;
    width: 100%;
    filter: drop-shadow(0px 0px #000);
}
ul {
    list-style-type: none;
}
a {
    color: inherit;
    text-decoration: none;
}
/* ============================================================
    PC / SP 出し分けユーティリティ（BP: 768px）
   ============================================================ */
.pc-only { display: block; }
.sp-only { display: none; }

@media screen and (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
}
/* utility */
.l-inner {
    width: min(85%, 1440px);
    margin: 0 auto;
}
.c-text__linear {
    background: linear-gradient(90deg, #1342a3 0%, #142982 52%, #1e3377 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.open-sans {
    font-family: "Open Sans", sans-serif;
}
.noto-sans__jp {
    font-family: "Noto Sans JP", sans-serif;
}
.roboto {
    font-family: "Roboto", sans-serif;
}
@media screen and (max-width: 768px) {
    .line-height__sp {
        line-height: 2;
    }
}
/* breadcrumb */
.c-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-breadcrumb__item {
    font-size: 16px;
    color: #959595;
    font-weight: 500;
}
.c-breadcrumb__item:not(:last-child)::after {
    content: ">";
    margin-left: 8px;
    color: #959595;
}
.c-breadcrumb__item--current {

}
@media screen and (max-width: 768px) {
    .c-breadcrumb__item {
        font-size: 12px;
    }
}
/* header */
header {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 100;
}
.l-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.l-header__img {
    width: 50%;
}
.l-header__img img{
    width: 30%;
    margin: 0 auto 0 0;
}
.l-header__nav {
    background: #fff;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    padding: 10px 40px;
}
.l-header__nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.l-header__nav ul li {
    color: #000;
    font-weight: 600;
    transition: all 0.3s;
}
.l-header__nav ul li:hover {
    color: #1342a3;
}
.l-header__nav ul li a {
    font-weight: 700;
}
@media screen and (max-width: 1440px) {
    .l-header__nav {
        padding: 10px 20px;
    }
}
@media screen and (max-width: 1280px) {
    .l-header__img {
        width: 40%;
    }
    .l-header__img img {
        width: 50%;
    }
    .l-header__nav {
        width: 60%;
    }
}
@media screen and (max-width: 1024px) {
    .l-header__img {
        width: 30%;
    }
    .l-header__img img {
        width: 60%;
    }
    .l-header__nav {
        width: 70%;
        padding: 10px 15px;
    }
    .l-header__nav ul {
        gap: 30px;
    }
}
/* ============================================================
    ボタン（共通コンポーネント）
    ・c-header__button は「配置」のみ、見た目は c-button が持つ
    ・数値は全て仮置き。確定値のご指定後に差し替え
   ============================================================ */
.c-button {
    display: inline-flex;
    align-items: center;
    gap: 40px;                 /* 仮：テキストと円の間隔 */
    padding: 13px 10px 13px 24px;
    border-radius: 50px;
    background: linear-gradient(90deg, #1e3378 0%, #1e3378 50%, #3b64b9 100%);
    color: #fff;
    font-weight: 400;          /* 仮 */
    line-height: 1;
}
/* ---- 水色カラバリ ---- */
.c-button--cyan {
    background: linear-gradient(90deg, #1e50e2 0%, #29b6f6 100%); /* 仮：色コード未確定 */
}
/* ---- 円（2枚構造） ----
    span 本体 = 灰色の円（常時フルサイズ・動かない）
    ::before  = 白丸（常時表示・ホバーで span と同径まで拡大）
    span が常に最大サイズを占有するため、ホバー時にボタン幅が変わらない */
.c-button__circle {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;               /* 仮：ホバー時（＝最大時）の直径 */
    height: 30px;              /* 仮 */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}
.c-button__circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #fff;
    transform: scale(0.2);    /* 仮：通常時の白丸＝直径10px相当 */
    transition: transform 0.3s ease;
}
/* ---- 矢印（Phosphor / 字形は ::before に注入されるため上書き禁止） ---- */
.c-button__icon {
    z-index: 1;
    position: relative;        /* ::before の円より前面へ */
    font-size: 16px;           /* 仮 */
    color: #1e3378;            /* 仮 */
    opacity: 0;
    transition: opacity 0.2s ease;
}
/* ---- ホバー / キーボードフォーカス ---- */
@media (hover: hover) {
    .c-button:hover .c-button__circle::before {
        transform: scale(1);
    }
    .c-button:hover .c-button__icon {
        opacity: 1;
        transition-delay: 0.15s;  /* 仮：円が広がってから矢印を出す */
    }
}
.c-button:focus-visible .c-button__circle::before {
    transform: scale(1);
}
.c-button:focus-visible .c-button__icon {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .c-button__circle::before,
    .c-button__icon { transition: none; }
}
@media screen and (max-width: 1024px) {
    .c-button {
        padding: 10px 7px 10px 21px;
        gap: 20px;
    }
}
@media screen and (max-width: 768px) {
    .c-button {
        gap: 10px;
    }
}
/* fv */
.hero {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を保ったまま領域を埋める */
    transform: translate(-50%, -50%);
    z-index: 1;
}
/* 文字の視認性を確保するための半透明オーバーレイ */
.hero__overlay {
    position: absolute;
    /* inset: 0;
    z-index: 2; */
}
.hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 800px;
    padding: 0 20px;
}
.hero__content .hero__content--title {
    margin-top: 150px;
    font-size: 100px;
    font-weight: bold;
}
.hero__content .hero__content--text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    margin: 50px 0 0;
}
@media screen and (max-width: 768px) {
    .hero__content .hero__content--title {
        font-size: 45px;
        margin-top: 90px;
    }
    .hero__content .hero__content--text {
        font-size: 16px;
        letter-spacing: 2px;
        margin-top: 25px;
        line-height: 2;
    }
}
/* scroll */
.c-scroll {
    position: relative;
    display: grid;
    place-items: center;
    width: 200px;              /* 仮：リングの表示直径 */
    height: 200px;             /* 仮：同上（正方形素材のため width と同値） */
    margin: 100px 0 80px;     /* 仮：上＝本文との間隔／下＝FV下端までの余白 */
}
.c-scroll__inner {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;   /* 仮：下降のトランジション */
}
.c-scroll__ring {
    position: absolute;
    inset: 0;
    animation: c-scroll-rotate 20s linear infinite;  /* 仮：1回転20秒・時計回り */
}
.c-scroll__arrow {
    position: relative;        /* リングより前面へ */
    z-index: 1;
    width: 22px;               /* 仮：素材比 89:262 のため高さは約65pxになる */
}
@keyframes c-scroll-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@media (hover: hover) {
    .c-scroll:hover .c-scroll__inner {
        transform: translateY(8px);   /* 仮：ホバー時の下降量 */
    }
}
.c-scroll:focus-visible .c-scroll__inner {
    transform: translateY(8px);       /* 仮：ホバーと同値 */
}
@media (prefers-reduced-motion: reduce) {
    .c-scroll__ring  { animation: none; }
    .c-scroll__inner { transition: none; }
}
@media screen and (max-width: 768px) {
    .c-scroll {
        width: 140px;
        height: 140px;
        margin: 100px 0 30px;
    }
}
/* build */
.l-build {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.c-build__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -70%);
    z-index: 1;
}
.c-build__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8); /* 数値を上げるほど白く濃く */
    pointer-events: none; /* オーバーレイがクリックを邪魔しないように */
}
.c-build__wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* height: 1000px; */
}
.c-build__title {
    margin-top: 110px;
    line-height: 1;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}
.c-build__text {
    font-size: 21px;
    text-align: center;
    font-weight: 500;
    margin: 50px 0 0;
    padding: 0 0 150px;
    line-height: 2;
}
@media screen and (max-width: 768px) {
    .l-build {
        padding: 30px 0 0px;
    }
    .l-build__wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .c-build__video {
        top: 70%;
    }
    .c-build__title {
        font-size: 21px;
        line-height: 2;
        margin-top: 20px;
    }
    .c-build__text {
        font-size: 15px;
        margin-top: 20px;
        line-height: 2;
        padding-bottom: 30px;
    }
}
/* globe */
.l-globe {
    padding-bottom: 40px;
}
.l-globe__wrapper {
    display: flex;
    gap: 60px;
}
.l-globe__inner {
    flex: 1.1;
}
.c-globe__title--en {
    font-size: 24px;
    font-weight: 700;
}
.c-globe__title--ja {
    font-size: 32px;
    font-weight: 700;
    margin-top: 30px;
}
.c-globe__text {
    font-size: 21px;
    margin-top: 60px;
    line-height: 2;
    font-weight: 500;
}
.l-globe__video--wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}
.l-globe__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 116%;
    object-fit: cover;
    transform: translate(-47%, -51%);
    z-index: 1;
}
.c-globe__overlay {
    position: absolute;
    /* inset: 0;
    z-index: 2; */
}
.c-globe__wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* height: 1000px; */
}
@media screen and (max-width: 1280px) {
    .l-globe__wrapper {
        gap: 30px;
    }
}
@media screen and (max-width: 768px) {
    .l-globe {
        padding: 30px 0 40px;
    }
    .l-globe__wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .c-globe__title--en {
        font-size: 16px;
    }
    .c-globe__title--ja {
        font-size: 21px;
        line-height: 2;
        margin-top: 20px;
    }
    .c-globe__text {
        font-size: 16px;
        margin-top: 20px;
        line-height: 2;
    }
}
/* service */
.l-service {
    content: "";
    display: block;
    background-image: url('../images/utility-back.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    padding: 100px 0;
}
.l-service__wrapper {
    display: grid;
    gap: 100px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.l-service__inner {
}
.c-service__title--en {
    font-size: 24px;
    font-weight: 700;
}
.c-service__text {
    font-size: 21px;
    margin-top: 40px;
    line-height: 2;
    font-weight: 500;
}
.c-service__img {
}
@media screen and (max-width: 1280px) {
    .l-service__wrapper {
        gap: 30px;
    }
}
@media screen and (max-width: 768px) {
    .l-service {
        padding: 30px 0 50px;
    }
    .l-service__wrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
    .c-service__title--en {
        font-size: 16px;
    }
    .c-service__text {
        font-size: 16px;
        margin-top: 20px;
    }
}
/* footer */
.l-footer {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding-top: 70px;
}
footer {
    background: linear-gradient(90deg, #1e3378 0%, #1e3378 20%, #1342a3 100%);
}
.l-footer__nav {
    margin-bottom: 40px;
}
.l-footer__nav ul{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}
.l-footer__nav ul li {
    font-weight: 300;
    color: #fff;
}
.l-footer__nav ul li a {
    position: relative;
    display: inline-block;
}
.l-footer__nav ul li a::after {
    background-color: #fff; /* 下線の色 */
    bottom: -4px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    height: 1px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .3s; /* 変形をアニメーション化 */
    width: 100%; /* 要素の幅 */
}
.l-footer__nav ul li a:hover::after {
    transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}
.c-footer__title {
    color: #fff;
    font-size: 21px;
    letter-spacing: 5px;
    text-align: center;
}
.l-footer__wrapper {
    margin-top: 60px;
    padding-bottom: 60px;
    display: flex;
    gap: 50px;
    border-bottom: 1px solid #fff;
}
.l-footer__wrapper nav {
    flex: 1;
}
.l-footer__wrapper nav ul li {
    display: inline-block;
    color: #fff;
    font-weight: 300;
}
.l-footer__wrapper nav ul li:not(:last-child) {
    margin-bottom: 30px;
}
.l-footer__wrapper nav ul li a {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.copyright {
    text-align: center;
    font-weight:300;
    color: #fff;
    padding: 30px 0 40px;
}
@media screen and (max-width: 768px) {
    footer {
        background: #1e3378;
    }
    .l-footer {
        padding: 0;
        width: 100%;
    }
    .l-footer__sp {
        width: 85%;
        margin: 0 auto;
    }
    .copyright {
        font-weight: 400;
        padding: 15px 0;
        font-size: 14px;
    }
}

/* ============================================================
    SP ヘッダー
   ============================================================ */
@media screen and (max-width: 768px) {
    header {
        top: 0;
    }
    .l-header {
        position: relative;
    }
    /* ハンバーガーを右端まで到達させるため l-inner の余白をSP時のみ解除 */
    .l-header.l-inner {
        width: 100%;
        margin: 0;
        padding: 0 0 0 30px;      /* 仮：ロゴ左の余白。数値ご指定あれば差し替え */
    }
    .l-header__img {
        width: auto;
    }
    .l-header__img img {
        width: 110px;
        margin: 0;
    }

    /* ---- お問い合わせボタン（SP） ---- */
    .c-header__button--sp .c-button {
        padding: 5px 5px 5px 15px;
        font-size: 16px;
    }
    .c-header__button--sp .c-button__circle {
        /* 仮置き：SP時の直径が異なる場合はここで上書き */
    }

    /* ---- ハンバーガーボタン ---- */
    .c-hamburger {
        position: relative;
        width: 60px;
        height: 50px;
        background: #1e3377;
        border: none;
        padding: 0;
        cursor: pointer;
        appearance: none;
        flex-shrink: 0;
        z-index: 3;
    }
    .c-hamburger__line {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 1px;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.2s ease;
    }
    /* 隙間10px = 中心間距離8px（隙間10px + 線の太さ1px） */
    .c-hamburger__line:nth-child(1) { transform: translate(-50%, calc(-50% - 8px)); }
    .c-hamburger__line:nth-child(2) { transform: translate(-50%, -50%); }
    .c-hamburger__line:nth-child(3) { transform: translate(-50%, calc(-50% + 8px)); }
    /* ---- 開いた状態（× に変形） ---- */
    .c-hamburger.is-active .c-hamburger__line:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .c-hamburger.is-active .c-hamburger__line:nth-child(2) {
        opacity: 0;
    }
    .c-hamburger.is-active .c-hamburger__line:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* ---- 背面を暗くするオーバーレイ ---- */
    .c-drawer__overlay {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.5);   /* 仮：濃度要確認 */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .c-drawer__overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* ---- ドロワー（右からスライド） ---- */
    .l-drawer {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2;
        width: 70%;                        /* 仮：幅要確認 */
        height: 100dvh;
        padding: 80px 24px 40px;           /* 仮：上余白＝ヘッダー高さ50px＋α */
        background: #1e3377;
        overflow-y: auto;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }
    .l-drawer.is-open {
        transform: translateX(0);
        visibility: visible;
    }
    .l-drawer__item {
        color: #fff;
        font-size: 16px;
        font-weight: 600;                  /* 仮：太さ要確認 */
    }
    .l-drawer__item:not(:last-child) {
        margin-bottom: 30px;               /* 仮：項目間隔要確認 */
    }
    .l-drawer__item a {
        display: block;
    }

    /* 展開中の背面スクロール固定 */
    body.is-drawer-open {
        overflow: hidden;
    }
}

/* アニメーション抑制設定への配慮 */
@media (prefers-reduced-motion: reduce) {
    .c-hamburger__line,
    .l-drawer,
    .c-drawer__overlay { transition: none; }
}

/* ============================================================
    SP フッターアコーディオン
    ※ 数値（サイズ・余白・線幅）は全て仮置き。確定値のご指定後に差し替え
   ============================================================ */
@media screen and (max-width: 768px) {
    /* 見出し「DYMグループ関連サイト」はSPで左寄せ（要確認） */
    .c-footer__title {
        font-size: 16px;
        text-align: left;
        letter-spacing: 1px;
    }

    .l-footer__accordion {
        margin-top: 40px;
    }
    /* copyright 上の短い区切り線（擬似要素で実装＝要素追加なし） */
    .l-footer__accordion::after {
        content: "";
        display: block;
        width: 60%;
        height: 1px;                 
        margin: 40px auto 0;         
        background: #fff;
    }

    /* ---- 見出し行（トリガー） ---- */
    .c-accordion__item {
        border-top: 1px solid #fff;  
    }
    .c-accordion__item:last-child {
        /* border-bottom: 1px solid #fff; */
    }
    .c-accordion__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        /* 7.5% = l-footer__sp（width:85%センタリング）の左右余白と同値 */
        padding: 15px 7.5%;
        background: transparent;
        border: none;
        appearance: none;
        cursor: pointer;
        text-align: left;
    }
    /* 開いている間のみトリガー直下に全幅の区切り線を表示
       （border ではなく inset shadow ＝ 高さが変わらずJSの高さ計測に影響しない） */
    .c-accordion__trigger.is-active {
        box-shadow: inset 0 -1px 0 #fff;
    }
    .c-accordion__label {
        color: #fff;
        font-size: 16px;             
        font-weight: 400;            
    }

    /* ---- ＋ / − アイコン ---- */
    .c-accordion__icon {
        position: relative;
        display: block;
        width: 16px;                 
        height: 16px;                
        flex-shrink: 0;
    }
    .c-accordion__icon::before,
    .c-accordion__icon::after {
        content: "";
        position: absolute;
        background: #fff;
    }
    /* 横線：常時表示 */
    .c-accordion__icon::before {
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;                 
        transform: translateY(-50%);
    }
    /* 縦線：開くと 90deg 回転して横線に重なり「−」になる */
    .c-accordion__icon::after {
        top: 0;
        left: 50%;
        width: 2px;                  
        height: 100%;
        transform: translateX(-50%) rotate(0deg);
        transition: transform 0.3s ease;
    }
    .c-accordion__trigger.is-active .c-accordion__icon::after {
        transform: translateX(-50%) rotate(90deg);
    }

    /* ---- 開閉パネル ---- */
    .c-accordion__panel {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    .c-accordion__inner {
        padding: 0px 0px 28px;       
    }

    /* パネル内カテゴリ見出し（リンクなし） */
    .c-accordion__heading {
        margin: 30px 0;
        color: #fff;
        font-size: 16px;             
        font-weight: 400;            
    }
    .c-accordion__arrow {
        margin-left: 8px;            
    }

    /* パネル内リンク一覧 */
    .c-accordion__list-item {
        color: #fff;
        font-size: 15px;
        font-weight: 400;
        line-height: 15px;
    }
    .c-accordion__list-item:not(:last-child) {
        margin-bottom: 20px;         
    }
    .c-accordion__list-item a {
        display: inline;
        text-decoration: underline;
        text-decoration-color: #fff;
        text-decoration-thickness: 1px;
        text-underline-offset: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-accordion__panel,
    .c-accordion__icon::after { transition: none; }
}