@charset "UTF-8";

/* CSS Document */

body {
    width: 100%;
}

body.animations-disabled #loading-video-container {
    display: none;
    /* アニメーション無効ならローダーは最初から非表示 */
}

body.animations-disabled #main-content {
    display: block;
    /* アニメーション無効ならメインコンテンツは最初から表示 */
}

/* ★ アニメーション無効時、フェードイン要素などを即時表示させるスタイル（必要に応じて調整） */
body.animations-disabled .fadein,
body.animations-disabled .fadein-right,
body.animations-disabled .fadein-left,
body.animations-disabled .fadein-up,
body.animations-disabled .fadein-up-workflow,
body.animations-disabled .fadein-up-workflow-8th,
body.animations-disabled .mainImg,
body.animations-disabled .video-player,
body.animations-disabled .flow-summary .summary-step,
body.animations-disabled .flow-summary .summary-link {
    opacity: 1;
    transform: none;
    filter: none;
    /* 必要であれば visibility: visible; なども追加 */
}

/*
LOADING
================================================ */
/* ----- ↓↓ 追加 ↓↓ ----- */

/* Loading背景画面設定　*/

#loading-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* 背景色 */
    z-index: 9999;
    /* 最前面に表示 */
    display: flex;
    flex-direction: column;
    /* 縦方向に要素を並べる */
    justify-content: center;
    /* 垂直方向中央揃え */
    align-items: center;
    /* 水平方向中央揃え */
    transition: opacity 0.3s ease-out;
    /* コンテナのフェードアウト用トランジション */
    opacity: 1;
    /* 初期状態は表示 */
}

#loading-video-container.hidden {
    opacity: 0;
    pointer-events: none;
    /* クリックなどを無効化 */
}

#loading-video {
    display: block;
    width: 88px;
    /* 動画の幅 (例) */
    height: auto;
    /* 高さは自動調整 */
    margin-right: 16px;
    margin-bottom: 15px;
    /* 動画と%表示の間隔 */
    opacity: 1;
    /* 初期状態 */
    /* ★★★ 動画自体の opacity トランジションを短く（または削除）★★★ */
    transition: opacity 0.05s linear;
    /* 非常に短いトランジション */
}

div#loading-percentage {
    color: var(--mainColor);
}

#loading-percentage {
    font-size: 19px;
    /* 文字サイズ */
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    opacity: 1 !important;
    display: block !important;
}

#main-content {
    display: none;
    /* 最初は非表示 */
    padding: 20px;
}

/*
LOADING END
================================================ */

/* header start --------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    /* height: 100px;  本番用ロゴ用 */
    height: 59px;
    padding-top: 20px;
    font-family: var(--noto);
    font-weight: bold;
    border-bottom: #eaeaea 1px solid;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.1);
    background-color: var(--bgColorHead);
}

header h1 {
    width: 380px;
    height: auto;
    /* margin-top: 0px; 本番用*/
    margin-left: 50px;
}

header h1 a img {
    width: 114px;
    object-fit: contain;
}

/* topページ以外のロゴ */
header .site-logo {
    width: 350px;
    height: auto;
    margin-top: 19px;
    /* margin-top: 45px;  本番用 */
    margin-left: 50px;
}

header .site-logo a img {
    width: 114px;
    margin-bottom: 27px;
    object-fit: contain;
}

/* topページ以外のロゴ end　 */


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ----- PC Navigation ----- */
nav {
    /* text-align: right; */
    position: absolute;
    right: 0%;
}

.nav-pc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-right: 80px;
    /* padding-top: 23px; 本番用*/
    padding-top: 0px;
}

.nav-pc>li {
    margin: 0;
    /* li間のマージンは必要に応じて別途設定 */
}

.nav-parent-menu {
    position: relative;
    /* 子メニュー配置の基準 */
}

.nav-pc>li>a {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--subColor);
    line-height: 1.1;
    position: relative;
    /* 下線::after用 */
    padding-bottom: 5px;
    /* 下線用スペース */
    transition: color 0.6s ease;
    /* 色変化アニメーション */
}

.sub-menu {
    list-style: none;
    padding: 0;
    /* デフォルトpadding解除 */
    margin: 0;
    /* デフォルトmargin解除 */
    background-color: var(--bgColorHead);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
    position: absolute;
    top: 103%;
    left: 2%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s linear 0.3s, transform 0.3s ease;
    /* 非表示時 */
}

.sub-menu li {
    margin: 0;
    border-top: 1px solid #eee;
    /* 区切り線 */
}

.sub-menu li:first-child {
    border-top: none;
}

.sub-menu a {
    display: inline-block;
    margin-top: 23px;
    padding-left: 17px;
    line-height: 1.5;
    color: var(--subColor);
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
}

/* ----- PC Navigation Interaction ----- */
.nav-parent-menu:hover>.sub-menu,
.nav-parent-menu:focus-within>.sub-menu {
    padding: 10px 7px 5px 0;
    background-color: rgba(243, 230, 219, 0.85);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease 0.1s, visibility 0.1s linear 0.1s, transform 0.3s ease 0.1s;
    /* 表示時 */
}

/* ----- PC Navigation Hover/Focus Styles ----- */
.nav-pc>li>a:hover,
.sub-menu a:hover,
.nav-pc>li>a:focus,
.sub-menu a:focus {
    color: var(--subColor);
    opacity: 0.8;
    /* ホバー/フォーカス時の文字色 */
    /* background-color は個別指定がなければ不要 */
}

/* ----- PC Navigation Underline Animation ----- */
.nav-pc>li>a::after,
.sub-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--textColor, #333);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.nav-pc>li>a:hover::after,
.sub-menu a:hover::after,
.nav-pc>li>a:focus::after,
.sub-menu a:focus::after {
    transform: scaleX(1);
}

/* ----- PC Navigation First Item Exceptions ----- */
.nav-pc>li:first-child>a:hover::after,
.nav-pc>li:first-child>a:focus::after {
    transform: scaleX(0);
    /* Disable underline */

}

/* ----- PC Navigation Accessibility Outline ----- */
.nav-pc a:focus,
.sub-menu a:focus {
    opacity: 0.4;
}

.sub-menu a:focus {
    outline-offset: -2px;
}

.nav-pc>li:first-child>a:hover,
.nav-pc>li:first-child>a:focus {
    color: var(--textColor);
    /* Disable color change */
    opacity: 1;
    /* Disable opacity change */
}

/* ----- Mobile Navigation ----- */
/* スライドメニューパネル ---------------------------------------------*/
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    /* ★ 基準位置は画面右端 */
    z-index: 1000;
    /* ★ ボタン(#menu-open:1001)よりは低く、一般コンテンツより高く */
    padding: 8rem 2rem 2rem;
    /* ユーザー設定を維持 */
    width: max(32vw, 20rem);
    /* ユーザー設定を維持 */
    height: 100vh;
    background-color: var(--bgColorHead);
    box-shadow: 0 0 0.75rem var(--textColor);

    /* ★ 初期状態: transformで画面右外へ移動させ、非表示に */
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    /* フェード効果も加える */

    /* ★ transition: transform, opacity, visibility を指定 */
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0.4s;
    /* visibilityは隠れる時に遅延させる */
}

/* ★ 表示状態: .is-open クラスが付いた時 */
#menu-panel.is-open {
    transform: translateX(0);
    /* 元の位置（画面内）に戻す */
    visibility: visible;
    /* 表示する */
    opacity: 1;
    /* 不透明にする */
    /* 表示される時は visibility の遅延をなくす */
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0s;
}

/* ----- 以下、.menu-list や .menu-list a のスタイルは変更なし ----- */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    opacity: 0;
}

.menu-list a {
    color: var(--textColor);
    text-decoration: none;
    font-size: var(--f4);
    justify-content: left;
}

/* ----- .btn-menu, #menu-close のスタイルも確認 ----- */
/* ボタンがパネルより手前に来るように z-index を確認 */
.btn-menu {
    position: fixed;
    display: none;
    top: 1.7%;
    right: 13px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--mainColor);
    z-index: 999;
    opacity: 0.6;
}

nav.nav-mobile {
    width: 50px;
    height: 50px;
    margin-right: 33px;
}

.btn-menu svg {
    width: 30px;
    height: 30px;
    margin-top: 7px;
}

/* レスポンシブ対応ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1366px) {

    header h1 {
        margin-left: 7px;
    }

    header h1 a img {
        width: 133px;
        height: auto;
    }
	
	header .site-logo {
    margin-left: 19px;
}

    header .nav-pc {
        display: none;
    }

    header .nav-mobile {
        display: block;
    }

    .btn-menu {
        display: inline-block;
    }
}

/* ===============================================
   Mobile Slide Menu Styles
   =============================================== */

/* メニューリスト全体のベース */
.menu-list {
    list-style: none;
    /* デフォルトのリストマーカーを非表示 */
    padding: 0;
    margin: 0;
    /* メニュー全体の背景色 (必要に応じて変更) */
    /* 必要であればメニューパネル全体のスタイルを追加 */
}

/* メニュー項目内のリンク (a) */
.menu-list li a {
    display: block;
    /* クリック領域を広げる */
    padding: 16px 20px;
    /* 上下の余白、左右の余白 */
    text-decoration: none;
    /* 下線を削除 */
    transition: background-color 0.2s ease;
    /* ホバー/フォーカス時の背景色変化を滑らかに */
}

/* ホバーまたはフォーカス時 (キーボード操作など) のスタイル */
.menu-list li a:hover,
.menu-list li a:focus {
    outline: none;
    /* フォーカス時のデフォルトアウトラインを消す (別途スタイル指定推奨) */
}

/* --- Submenu Specific Styles --- */

/* 開閉アイコン (Font Awesome) のスタイル */
.mobile-parent-menu-toggle .fa-caret-down {
    padding-left: 10px;
    /* right: 20px; */
    font-size: 14px;
    /* color: #888; */
    transition: transform 0.3s ease;
}

/* --- Submenu Open/Close Animation --- */

/* サブメニュー (ul.mobile-sub-menu) の初期状態 (非表示) */
.has-submenu>.mobile-sub-menu {
    list-style: none;
    /* 子メニューのリストマーカーも消す */
    padding: 0;
    margin: 0;
    /* 子メニューの背景色 (少しインデントが分かりやすいように) */
    overflow: hidden;
    /* アニメーションのため、はみ出した内容を隠す */
    max-height: 0;
    /* 高さを0にして非表示状態に */
    opacity: 0;
    /* 透明にする */
    visibility: hidden;
    /* アクセシビリティのためにも非表示を明確に */
    transition: max-height 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67),
        /* 高さのアニメーション */
        opacity 0.3s ease,
        /* 透明度のアニメーション */
        visibility 0.4s ease;
    /* 表示状態の切り替え */
}

/* 親 li に .submenu-open クラスが付いた時のサブメニュー (表示状態) */
.has-submenu.submenu-open>.mobile-sub-menu {
    max-height: 500px;
    /* 表示されるときの最大の高さ (コンテンツに合わせて調整) */
    opacity: 1;
    /* 不透明にする */
    visibility: visible;
    /* 表示状態にする */
    /* transition の設定は初期状態で定義されているため、ここでは不要 */
}

.mobile-sub-menu li a {
    padding-left: 40px;
    font-size: 1.1em;
    border: none;
}

.mobile-sub-menu li a:focus {
    background-color: #eee;
    /* ホバー/フォーカス時の背景色 (任意) */
}

/* header end
----------------------------------------------------------------*/


/* パンくずリスト
----------------------------------------------------------------*/
/* 例: パンくずリストの基本的なスタイリング */
/* 最初は要素を非表示にする */
.breadcrumb-wrapper {
  opacity: 0; /* 透明にする */
  visibility: hidden; /* 要素を完全に隠す（レイアウトスペースは残る場合がある） */

  /* アニメーションの設定 */
  animation-name: fadeInElement; /* 下で定義するアニメーション名を指定 */
  animation-duration: 0.5s; /* フェードインにかかる時間（表示されるアニメーションの時間） */
  animation-delay: 1.5s;    /* アニメーション開始までの遅延時間（ここで5秒を指定） */
  animation-fill-mode: forwards; /* アニメーション終了後、最後の状態（表示状態）を維持 */
  animation-timing-function: ease-in; /* ゆっくり始まるアニメーション */
}

/* 表示アニメーションの定義 */
@keyframes fadeInElement {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible; /* 要素を表示状態にする */
  }
}

.rank-math-breadcrumb {
    position: absolute;
    top: 92px;
    left: 0.5%;
    font-size: 0.7em;
    color: var(--gray);
    opacity: 0.8;
    z-index: 102;
}

/* Rank Math 5.x系で<p>タグが使われる場合のマージンリセット */
.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb a {
    color: var(--gray);
}

.rank-math-breadcrumb span.separator {
    /* 区切り文字 */
    margin: 0 0.5em;
    /* 左右の余白 */
}

/* --- スマートフォン向けスタイル (768px以下) --- */
@media screen and (max-width: 768px) {
.rank-math-breadcrumb {
    top: 59px;
}
}

/* その他、サイトのデザインに合わせて調整 */
/* パンくずリスト end ------------------------------------------------- */



/* main-visual start ------------------------------------------------- */
.main-visual {
    width: 100vw;
    /* ビューポート幅全体 */
    height: 780px;
    /* PCでの高さ */
    overflow: hidden;
    /* はみ出し防止 */
}

.main-visual .top-img {
    width: 100%;
    height: 100%;
    position: relative;
    /* テキスト配置の基準 */
}

.main-visual .top-img .main-img {
    width: 100%;
    height: 100%;
    /* text-align: right; ← img要素には通常不要 */
}

.main-visual .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像のアスペクト比を保ちつつ全体をカバー */
    display: block;
    /* 余白防止 */
}

.main-text {
    position: absolute;
    top: 25%;
    left: 8%;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--notom);
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0;
}

.sub-main-text {
    position: absolute;
    bottom: 16%;
    left: 17%;
    display: inline-block;
    font-size: 1.4375rem;
    /* PCでの文字サイズ */
    text-align: center;
    line-height: 1.4;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* 文字の視認性向上 */
    /* fadeinクラス用の初期状態は別途設定 */
    opacity: 0;
    /* JSアニメーション用初期状態 */
}

p.sub-main-text:hover {
    filter: brightness(130%);
}


.sub-main-text span {
    border-bottom: 1px solid;
}

.main-visual .inquiry {
    /* HTMLのクラス inquiry に対応 */
    position: fixed;
    right: 0%;
    top: 68%;
    z-index: 999;
    width: 70px;
    /* HTMLには fadein-right クラスもあるため、アニメーション用のCSSが別途必要 */
    opacity: 0;
    /* JSアニメーション用初期状態 */

}

.main-visual .inquiry a img {
    width: 100%;
    border-radius: 1.875rem 0 0 1.875rem;
    /* 30px / 16 */
    opacity: 0.9;
    transition: opacity 0.3s ease;
    /* ホバー効果を滑らかに */
}

.inquiry.fadein-right a:hover {
    opacity: 0.8;
}

/* --- アニメーション有効化クラス --- */
/* JSで is-active が付与されたら表示 */
.main-img.is-active,
.main-text.is-active,
.sub-main-text.is-active,
.inquiry.is-active {
    opacity: 1;
    /* 必要に応じて transform もここでリセット */
    /* transition は各要素の初期状態側で設定推奨 */
}


/* --- タブレット向けスタイル (1366px以下) --- */
@media screen and (max-width: 1366px) {
    .main-visual {
        height: 650px;
        /* 少し高さを抑える */
    }

    .main-visual img {
        object-position: 96% 50%;
    }

    .main-text {
        font-size: 3.8rem;
        /* 文字サイズを少し小さく */
        left: 6%;
    }

    .sub-main-text {
        font-size: 1.3rem;
        /* 文字サイズを少し小さく */
        left: 10%;
        bottom: 12%;
    }

    .inquiry {
        display: none;
        /* タブレットでは固定ボタンを非表示にする（例） */
    }
}


/* --- スマートフォン向けスタイル (768px以下) --- */
@media screen and (max-width: 768px) {
    .main-visual {
        height: 80vh;
        /* 高さをさらに抑える */
    }

    .main-visual .main-text {
        display: block;
        width: 86%;
        padding: 9px;
        font-size: clamp(2rem, 8.4vw, 6.5rem);
        left: 50%;
        transform: translateX(-50%) !important;
        top: 30%;
        /* width: 90%; */
        text-align: center;
        line-height: 1.5;
        background-color: rgba(0, 0, 0, 0.39);
    }

    .main-visual span {
        display: inline-block;
        margin-left: 7%;
    }

    .sub-main-text {
        display: inline-block;
        font-size: 0.9rem;
        left: 3%;
        bottom: 10%;
        /* width: 90%; */
        text-align: left;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 10px 30px 10px 4px;
        /* box-sizing: border-box; */
        border-radius: 5px;
        white-space: nowrap;
    }

    .sub-main-text p {
        border-bottom: 1px solid #fff;
    }
}

/* pad header end ----------------------------------- */

/* main-visual end ------------------------------------------ */

/* 弊社の自分史づくりについて ------------------------------------------------------- */
.company-profile-section {
    width: 100vw;
    height: 600px;
}

.company-profile-section .company-profile-img {
    width: 100%;
    height: 100%;
    align-items: center;
    background-image: url(https://aoba-support-next-stage.jp/wp-content/uploads/2025/05/our-bg-3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -26px;
}

.company-profile-section .company-profile-img .about {
    width: 41%;
    margin: 0 auto;
    padding-top: 120px;
}

img.provide-help-top {
    width: 250px;
}

.company-profile-section .company-profile-img .about .company-profile-heading {
    text-align: center;
}

.company-profile-section .company-profile-img .about .company-profile-text {
    margin-top: 30px;
    color: var(--textColor);
    font-size: 1.25rem;
    /* 20px / 16 */
    font-weight: var(--bold);
    letter-spacing: 0.14375rem;
    /* 2.3px / 16 */
    line-height: 1.75;
    text-align: justify;
}

p.company-profile-text-space {
    margin-top: 25px;
}

@media screen and (max-width: 1366px) {
    .company-profile-section {
        height: auto;
        padding: 0 0 60px;
    }

    .company-profile-section .company-profile-img {
        background-position: center center;
        padding: 30px 35px;
        /* box-sizing: border-box; */
        background-size: cover;
    }

    .company-profile-section .company-profile-img .about {
        width: 77%;
        /* padding-left: 5%; */
        margin-bottom: 0;
        padding-top: 30px;
    }


    img.provide-help-top {
        width: 200px;
        /* 画像サイズ調整 */
    }

    .company-profile-section .company-profile-img .about .company-profile-text {
        font-size: 1.1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.1rem;
    }
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 768px) {
    .company-profile-section {
        height: auto;
        padding: 17px 0 0;
    }

    .company-profile-section .company-profile-img {
        padding: 80px 40px 20px;
    }

    .company-profile-section .company-profile-img .about {
        width: 87%;
        margin: 0 auto;
        padding-left: 0;
        /* text-align: left; */
    }

    img.provide-help-top {
        width: 180px;
        /* 画像サイズ調整 */
        margin: 0 auto;
        /* 中央寄せ */
    }

    .company-profile-section .company-profile-img .about .company-profile-text {
        font-size: 1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.08rem;
        text-align: left;
        /* スマホでは左寄せに */
    }
}

/* company-profile-section 私たちについて end -------------------------------------------------------- */


/* 業務内容 (.second-section) start ------------------------------ */
.second-section {
    width: 100%;
    margin-top: 140px;
    text-align: center;
}

/* .heading-second は変更なし */
.heading-second {
    /* 「業務内容」見出し H2 */
    padding-bottom: 75px;
    font-size: 3.125rem;
    letter-spacing: 0.25rem;
    color: var(--subColor);
}

.second-section ul {
    /* 3つの項目を囲む ul */
    width: 100%;
    margin: 50px auto 120px;
    display: flex;
    justify-content: center;
    /* 中央寄せ */
    /* gap: 30px; */
    /* Flexアイテム間の隙間を設定する場合はこちらを推奨 */
}

.second-section ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 29vw;
    margin: 0 60px 31px;
    padding: 96px 20px 22px;
    position: relative;
    background-color: var(--white);
    border-radius: 1.875rem;
    list-style-type: none;
}

/* videoやimgのサイズ調整 (必要なら) */
.second-section ul li video,
.second-section ul li img {
    /* video内のimgも含む */
    width: 80%;
    /* スマホでの画像/動画幅 */
    max-width: 400px;
    /* 最大幅制限 */
    /* clamp() はここでは不要かも */
}



/* li 内の p (現在は video 内のフォールバックと説明文の両方に適用) */
/* 注意: 説明文だけスタイルを変えたい場合は .second-section ul li > p などで指定 */
.second-section ul li p {
    margin: 25px 20px 5px;
    text-align: left;
    font-size: 1.0625rem;
    /* 17px / 16 */
    font-weight: var(--bold);
    letter-spacing: 0.10625rem;
    /* 1.7px / 16 */
    line-height: 1.8;
}

/* .speech-bubble は変更なし */
.speech-bubble {
    /* 各項目のタイトル h3 */
    position: absolute;
    top: -9%;
    /* 位置は要調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 250px;
    height: 100px;
    /* display: flex; align/justify は h3 には不要かも */
    /* テキストを中央揃えにするには以下を検討 */
    display: flex;
    /* Flexboxで中央揃えする場合 */
    justify-content: center;
    /* 水平中央 */
    align-items: center;
    /* 垂直中央 */
    text-align: center;
    /*念のため*/
    padding: 10px;
    /* 内側余白 */
    box-sizing: border-box;
    /* paddingを含めて高さ/幅を計算 */
    color: var(--white);
    font-size: 1.5rem;
	line-height: 1.4;
    letter-spacing: 1.5px;
    border: 1px solid #c8c8c8;
    border-radius: 3.125rem;
    background-image: linear-gradient(to bottom, #31765d 3%, #12372a 97%);
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
}

/* ----- サービス詳細ボタン ----- */

/* ボタンを配置するエリア（中央寄せなど） */
.service-button-area {
    text-align: center;
    margin-top: auto;
}

/* ボタン本体のスタイル */
.service-button {
    display: inline-block;
    /* ボタン要素の特性 */
    margin-top: 10px;
    padding: 10px 30px;
    /* ボタンの内側の余白（上下左右） */
    font-size: 0.95rem;
    /* 文字サイズ (15px / 16 = 0.9375) */
    font-weight: bold;
    color: #ffffff;
    /* 文字色（白） */
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    /* 角を丸くする（値が大きいほど丸い） */
    border: none;
    /* 枠線は無しに */

    /* --- ご指定の背景グラデーション --- */
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);

    /* --- 見た目の調整 --- */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    /* ボタンに影をつける */
    transition: transform 0.1s ease, filter 0.2s ease;
    /* アニメーション効果 */
    cursor: pointer;
    /* カーソルを指マークに */
}

/* ホバー時・フォーカス時のスタイル */
.service-button:hover,
.service-button:focus {
    color: #ffffff;
    /* 文字色は変えない */
    text-decoration: none;
    filter: brightness(110%);
    /* 少し明るくする */
    /* transform: translateY(-1px); */
    /* 少し上に動かす（任意） */
}

/* クリック（アクティブ）時のスタイル */
.service-button:active {
    transform: scale(0.98);
    /* 少し小さくする */
    filter: brightness(100%);
    /* 明るさを元に戻す */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    /* 影を減らす */
}

/* --- 業務内容 (.second-section) レスポンシブ対応 --- */


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 1366px) {
    .second-section {
        margin-top: 80px;
        /* 上の間隔を調整 */
    }

    .heading-second {
        font-size: 2.5rem;
        /* 見出しサイズ調整 */
        padding-bottom: 40px;
    }

    .second-section ul {
        width: 100%;
        /* コンテナ幅 */
        margin: 30px auto 60px;
        /* 上下マージン調整 */
    }

    .second-section ul li {
        width: 30%;
        /* 幅を100%にして1列表示 */
        margin: 0 50px 80px;
        /* 左右auto、下に十分な間隔 */
        padding: 80px 15px 20px;
        /* 上パディング調整 */
    }

    /* videoやimgのサイズ調整 (必要なら) */
    .second-section ul li video,
    .second-section ul li img {
        /* video内のimgも含む */
        width: 80%;
        /* スマホでの画像/動画幅 */
        max-width: 300px;
        /* 最大幅制限 */
        /* clamp() はここでは不要かも */
    }

    .speech-bubble {
        width: 190px;
        height: 70px;
        font-size: 1.2rem;
        top: -37px;
        letter-spacing: 1.9px;
    }

    .second-section ul li p {
        font-size: 0.95rem;
        /* 文字サイズ調整 */
        margin: 20px 10px 15px;
        /* マージン調整 */
        line-height: 1.7;
    }

.service-button {
    width: 217px;
    padding: 7px 7px;
    font-size: 0.8rem;
}
}

@media screen and (max-width: 768px) {
    .second-section {
        margin-top: 50px;
    }

    .second-section ul {
        display: block;
        margin-bottom: 77px;
    }

.second-section ul li {
    width: 80%;
    margin: 0 auto 77px;
}

    .second-section ul li:last-child {
        margin-bottom: 0;
    }
}

/* さらに小さいスマホ (例: 480px以下) */
@media screen and (max-width: 480px) {
    .heading-second {
        font-size: 2rem;
        /* 見出しをさらに小さく */
    }

    .second-section ul li {
        padding: 60px 10px 15px;
        /* パディング調整 */
        margin-bottom: 60px;
        /* 間隔調整 */
    }

    .speech-bubble {
        width: 160px;
        height: 60px;
        font-size: 1.1rem;
        top: -28px;
    }

    .second-section ul li p {
        font-size: 0.9rem;
        /* 文字サイズ調整 */
    }
}

/* .second-section 業務内容 end ------------------------------------------------*/

/* 私たちについて ------------------------------------------------------- */
.our-section {
    width: 100vw;
    height: 600px;
}

.our-section .our-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-image: url(https://aoba-support-next-stage.jp/wp-content/uploads/2025/04/our-bg-2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right -87px;
}

.our-section .pc-gear-img.fadein {
    width: 50%;
    padding-top: 51px;
    padding-left: 13%;
}

.our-section .our-img .about {
    width: 50%;
    padding-left: 17%;
    margin-bottom: 50px;
}

img.provide-help-top {
    width: 250px;
}

.our-section .our-img .about .our-heading {
    text-align: center;
}

.our-section .our-img .about .our-heading h2 {
    margin-bottom: 40px;
    font-size: 3.125rem;
    letter-spacing: 0.25rem;
    color: var(--subColor);
}

.our-section .our-img .about .our-text {
    margin-top: 30px;
    color: var(--textColor);
    font-size: 1.25rem;
    /* 20px / 16 */
    font-weight: var(--bold);
    letter-spacing: 0.14375rem;
    /* 2.3px / 16 */
    line-height: 1.75;
    text-align: justify;
}

p.our-text-space {
    margin-top: 25px;
}

@media screen and (max-width: 1366px) {
    .our-section {
        height: auto;
        padding: 0 0 60px;
    }

    .our-section .our-img {
        background-position: center center;
        padding: 30px 35px;
        box-sizing: border-box;
    }

    .our-section .our-img .about {
        padding-left: 5%;
        /* 左パディング調整 */
        margin-bottom: 0;
        /* 下マージン削除 */
    }

    .our-section .pc-gear-img.fadein {
        width: 45%;
        margin-top: 70px;
        padding-left: 5%;
        text-align: center;
    }

    img.provide-help-top {
        width: 200px;
        /* 画像サイズ調整 */
    }

    .our-section .our-img .about .our-heading h2 {
        font-size: 2.8rem;
        /* 見出しサイズ調整 */
        margin-bottom: 30px;
    }

    .our-section .our-img .about .our-text {
        font-size: 1.1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.1rem;
    }
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 768px) {
    .our-section {
        height: auto;
        padding: 17px 0 0;
    }

    .our-section .our-img {
        display: block;
        /* height: auto; */
        /* text-align: center; */
        /* background-image: none; */
        background-position: 6% -20%;
        padding: 80px 40px 20px;
        background-size: auto;
    }

    .our-section .our-img .about {
        width: 87%;
        margin: 0 auto;
        padding-left: 0;
        /* text-align: left; */
    }

    .our-section .pc-gear-img.fadein {
        width: 100%;
        padding-left: 0;
        margin-top: 0;
        padding-top: 11px;
    }

    img.provide-help-top {
        width: 180px;
        /* 画像サイズ調整 */
        margin: 0 auto;
        /* 中央寄せ */
    }

    .our-section .our-img .about .our-heading h2 {
        font-size: 1.9rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .our-section .our-img .about .our-text {
        font-size: 1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.08rem;
        text-align: left;
        /* スマホでは左寄せに */
    }
}

/* our-section 私たちについて end -------------------------------------------------------- */


/* お客様の声 start -------------------------------------------------------------- */
.customer-summary {
    width: 75%;
    margin: 80px auto 180px;
    text-align: center;
}

.heading-second-customer {
    padding-bottom: 70px;
    font-size: 3.125rem;
    letter-spacing: 0.25rem;
    color: var(--subColor);
}

.customer-summary ul {
    width: 100%;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}

.customer-summary ul li {
    width: 26%;
    margin: 0 auto;
    padding: 41px 25px 22px;
    position: relative;
    background-color: var(--white);
    border-radius: 1.875rem;
    letter-spacing: 0.12625rem;
    list-style-type: none;
}

.customer-summary h4 {
    padding: 10px 0 25px;
}

.customer-summary h3 {
    display: inline;
    border-bottom: 1px solid var(--textColor);
}

.customer-summary ul li img {
    width: clamp(150px, 25vw, 435px);
}

.customer-summary ul li blockquote {
    margin: 0 20px 5px;
    text-align: justify;
    font-size: 1.0625rem;
    font-weight: var(--bold);
    letter-spacing: 0.10625rem;
    line-height: 1.8;
}

.speech-bubble-customer {
    position: absolute;
    top: -18%;
    left: -14%;
    z-index: 2;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 3.125rem;
    box-shadow: 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.customer-summary ul li .speech-bubble-customer img {
    width: 107%;
}

p.read-more-link {
    padding: 8px 0 0;
    color: var(--subColor);
    font-size: 0.9rem;
    text-align: right;
}

.common-button-area a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 35px;
    color: var(--white);
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #feb12c;
    border-radius: 30px;
    transition: background-color 0.6s ease, color 0.6s ease;
    box-shadow: 2px 1px 0px rgba(0, 0, 0, 0.2);
}

.common-button-area a:hover {
    opacity: 0.9;
}

/* --- お客様の声 (.customer-summary) レスポンシブ対応 --- */

/* タブレットサイズ (例: 1366px以下) */
@media screen and (max-width: 1366px) {
    .customer-summary {
        width: 95%;
        margin: 60px auto 56px;
    }

    .heading-second-customer {
        font-size: 2.8rem;
        /* 見出しサイズ調整 */
        padding-bottom: 50px;
    }

    .customer-summary ul {
        /* 必要であれば justify-content を space-around に変更 */
        /* justify-content: space-around; */
    }

    .customer-summary ul li {
        width: 30%;
        padding: 35px 17px 20px;
    }

    .speech-bubble-customer {
        width: 80px;
        height: auto;
        top: -15%;
        left: -10%;
        box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    }

    .customer-summary ul li blockquote {
        font-size: 1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.08rem;
    }

    .customer-summary h4 {
        padding: 8px 0 20px;
        /* 名前下のパディング調整 */
        font-size: 1rem;
        /* 名前フォントサイズ */
    }

    .customer-summary h3 {
        font-size: 0.9rem;
        border-bottom: none;
    }

    p.read-more-link {
        font-size: 0.85rem;
        /* 続きを読むリンクサイズ */
    }

    .common-button-area a {
        padding: 8px 30px;
        /* ボタンパディング */
        font-size: 0.95rem;
        /* ボタンフォントサイズ */
    }
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 768px) {
    .customer-summary {
        width: 90%;
        /* 幅を維持 */
        margin: 55px auto 0;
        /* 上下マージン調整 */
    }

    .heading-second-customer {
        font-size: 2rem;
        /* 見出しサイズ調整 */
        padding-bottom: 40px;
    }

    .customer-summary ul {
        display: block;
        /* 縦積みに変更 */
        width: 100%;
        margin: 40px auto;
    }

    .customer-summary ul li {
        width: 77%;
        margin: 0 auto 80px auto;
        padding: 60px 23px 25px;
        box-sizing: border-box;
    }

    .customer-summary ul li:last-child {
        margin-bottom: 0;
        /* 最後の要素の下マージン削除 */
    }

    .speech-bubble-customer {
        width: 80px;
        /* アイコンサイズ調整 */
        height: 80px;
        top: -40px;
        /* 位置調整 (上に移動) */
        left: 50%;
        /* 中央寄せ */
        transform: translateX(-50%);
        /* 中央寄せ */
    }

    .customer-summary ul li .speech-bubble-customer img {
        width: 100%;
        /* 親要素に合わせる */
    }

    .customer-summary h3 {
        display: block;
        /* ブロック要素にして改行 */
        text-align: center;
        /* 中央揃え */
        margin-top: 15px;
        /* アイコンとの間にスペース */
        border-bottom: none;
        /* 下線削除 */
        font-size: 1rem;
    }

    .customer-summary h4 {
        padding: 5px 0 15px;
        /* パディング調整 */
        text-align: center;
        /* 中央揃え */
        font-size: 0.9rem;
    }

    .customer-summary ul li blockquote {
        margin: 0 0 15px 0;
        /* マージン調整 */
        text-align: left;
        /* 左寄せに戻す */
        font-size: 0.95rem;
        /* テキストサイズ調整 */
        line-height: 1.7;
    }

    p.read-more-link {
        padding: 5px 0 0;
        font-size: 0.8rem;
        /* 続きを読むリンクサイズ */
    }

    .common-button-area {
        margin-top: 40px;
        /* ボタン上のマージン */
    }

    .common-button-area a {
        padding: 10px 30px;
        /* ボタンパディング */
        font-size: 1rem;
        /* ボタンフォントサイズ */
    }
}

/* .fourth-visual お客様の声 end ------------------------------------------------*/


/* ご相談について start ------------------------------------------------ */
.consultation-top-visual {
    width: 100vw;
    height: 600px;
}

.consultation-top-visual .consultation-top-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-image: url(https://aoba-support-next-stage.jp/wp-content/uploads/2025/04/our-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left -77px;

}

.consultation-img-top {
    width: 50%;
    margin-top: 100px;
    padding-left: 25%;
}

.consultation-tap-top {
    width: 185px;
}

.consultation-top-visual .consultation-top-img .about {
    width: 50%;
    padding-right: 17%;
    margin-bottom: 50px;
}

.consultation-top-visual .consultation-top-img .about .consultation-top-heading {
    text-align: center;
}

.consultation-top-visual .consultation-top-img .about .consultation-top-heading h2 {
    padding-bottom: 15px;
    font-size: 3.125rem;
    letter-spacing: 0.25rem;
    color: var(--subColor);
}

.consultation-top-visual .consultation-top-img .about .consultation-top-text {
    margin-top: 30px;
    margin-bottom: 35px;
    color: var(--textColor);
    font-size: 1.25rem;
    /* 20px / 16 */
    font-weight: var(--bold);
    letter-spacing: 0.14375rem;
    /* 2.3px / 16 */
    line-height: 1.75;
    text-align: justify;
}

/* ボタンの基本スタイル */
.consultation-btn-top-2 {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 15px 30px;
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    /* 16px / 16 */
    font-weight: bold;
    box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.1);
    transition: filter 0.6s ease, transform 0.1s ease;
}

/* ホバー時のスタイル */
.consultation-btn-top-2:hover {
    filter: brightness(110%) !important;
}

/* クリック(アクティブ)時のスタイル */
.consultation-btn-top-2:active {
    transform: scale(0.98);
}

@media screen and (max-width: 1366px) {
    .consultation-top-visual {
        height: auto;
        padding: 60px 0 0;
    }

    .consultation-top-visual .consultation-top-img {
        /* 必要であれば背景画像の位置調整 */
        /* background-position: center center; */
        padding: 0 5%;
        /* 左右に少し余白 */
        box-sizing: border-box;
        align-items: center;
        /* 中央揃えを維持 */
    }

    .consultation-img-top {
        width: 40%;
        /* 画像エリアの幅調整 */
        padding-left: 5%;
        /* 左パディング調整 */
        margin-top: 0;
        /* 上マージン削除 */
        text-align: center;
        /* 画像中央寄せ */
    }

    .consultation-tap-top {
        width: 150px;
        /* 画像サイズ調整 */
    }

    .consultation-top-visual .consultation-top-img .about {
        width: 60%;
        /* height: auto; */
        margin-bottom: 0;
        padding: 41px 5% 41px 0;
    }

    .consultation-top-visual .consultation-top-img .about .consultation-top-heading h2 {
        font-size: 2.8rem;
        /* 見出しサイズ調整 */
        padding-bottom: 10px;
    }

    .consultation-top-visual .consultation-top-img .about .consultation-top-text {
        font-size: 1.1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.1rem;
        margin-bottom: 25px;
        /* ボタンとの間隔 */
    }

    .consultation-btn-top-2 {
        padding: 12px 25px;
        /* ボタンパディング */
        font-size: 0.95rem;
        /* ボタンフォントサイズ */
    }
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 768px) {
    .consultation-top-heading {
        padding-top: 140px;
    }

    .consultation-top-visual {
        height: auto;
        padding: 0;
    }

    .consultation-top-visual .consultation-top-img {
        /* display: block; */
        flex-direction: column-reverse;
        height: auto;
        text-align: center;
        /* background-image: none; */
        background-position: 70% 60%;
        padding: 0 15px;
        background-size: auto;
    }

    .consultation-img-top {
        width: 100%;
        /* 幅を100%に */
        padding-left: 0;
        /* 左パディング削除 */
        margin-top: 0;
        margin-bottom: 0;
        /* 下にマージン追加 */
        text-align: center;
        /* 中央寄せ */
    }

    .consultation-tap-top {
        width: 120px;
        /* 画像サイズ調整 */
    }


    .consultation-top-visual .consultation-top-img .about {
        width: 88%;
        /* padding-right: 0; */
        /* padding-top: 0; */
        padding: 0;
        margin-bottom: 0;
        text-align: center;
    }

    .consultation-top-visual .consultation-top-img .about .consultation-top-heading h2 {
        font-size: 2rem;
        padding-bottom: 10px;
        letter-spacing: 1.4px;
    }

    .consultation-top-visual .consultation-top-img .about .consultation-top-text {
        font-size: 1rem;
        /* テキストサイズ調整 */
        letter-spacing: 0.08rem;
        text-align: left;
        /* 説明文は左寄せに戻す */
        margin-bottom: 30px;
        /* ボタンとの間隔 */
    }

    .consultation-btn-top-2 {
        padding: 10px 20px;
        /* ボタンパディング */
        font-size: 0.9rem;
        /* ボタンフォントサイズ */
    }

    /* ご相談の流れリンクの調整 */
    a.consultation-process-top {
        display: block;
        /* ブロック要素にして改行 */
        margin-top: 15px;
        /* 上にスペース */
        font-size: 0.9rem;
    }
}

/* consultation-top-visual ご相談について end -------------------------------------------------------- */


/* ご相談の流れ start ------------------------------------------------ */
.flow-summary {
    padding: 40px 20px;
    margin: 120px auto 150px;
    max-width: 900px;
    background-color: var(--white);
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
}

/* 概要セクションタイトル */
.summary-title {
    font-size: 3.125rem;
    color: var(--subColor);
    margin-bottom: 25px;
}

/* ステップリスト */
.summary-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    /* PCでは横並び */
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    /* ステップ間の矢印用 */
    max-width: 700px;
    /* リスト自体の最大幅 */
}

/* 各ステップ */
.summary-step {
    flex: 1;
    /* 横並び時に均等幅 */
    margin: 0 10px;
    /* ステップ間の左右マージン */
    text-align: center;
    position: relative;
    /* 矢印用 */
    padding-top: 85px;
    /* アイコンと文字のスペース */
    /* フェードイン初期状態 (JS連携) */
    opacity: 0;
    transform: translateY(20px);
    /* 少し下から表示 */
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* transition-delay はJSで設定 */
}

img.step-icon-img {
    width: 65px;
}

/* JSで is-active が付与されたら */
.summary-step.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* ステップ間の矢印 (横向き - PC用) */
/* Font Awesomeを使用 */
.summary-list li:not(:last-child)::after {
    content: '\f061';
    /* Font Awesome Right Arrow (fas fa-arrow-right) */
    font-family: "Font Awesome 5 Free";
    /* Font Awesome 5 Free または Brands */
    font-weight: 900;
    /* Solidスタイル */
    position: absolute;
    top: 30px;
    /* アイコンの高さの中央あたり */
    right: -30px;
    /* 次のステップとの中間あたり (調整) */
    font-size: 1.5rem;
    /* 矢印の大きさ */
    color: var(--subColor);
    /* 矢印の色 */
    transform: translateY(-50%);
    opacity: 0.7;
}

/* ステップアイコン */
.step-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--bgColorSection);
    /* アイコン背景色 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ステップテキストコンテナ */
.step-text {
    /* 特に指定不要な場合が多い */
}

/* ステップ番号 ("STEP 1"など) */
.step-text h4 {
    display: inline-block;
    font-size: 0.875rem;
    /* 14px */
    color: var(--subColor);
    margin: 0 0 8px 0;
    font-weight: normal;
    border-bottom: solid 1px var(--textColor);
}

/* ステップ説明 ("お問い合わせ..."など) */
.step-text p {
    padding-top: 5px;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--textColor);
    margin: 0;
    line-height: 1.4;
}

/* 詳細ページへのリンク */
.summary-link {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.summary-link.fadein.is-active {
    opacity: 1;
    transform: translateY(0);
}

.summary-link a {
    display: inline-block;
    padding: 10px 25px;
    color: var(--white);
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #feb12c;
    border-radius: 30px;
    transition: background-color 0.6s ease, color 0.6s ease;
    box-shadow: 2px 1px 0px rgba(0, 0, 0, 0.2);
}

.summary-link a:hover {
    opacity: 0.9;
}

i.fas.fa-arrow-circle-right.summary-button-icon {
    padding-right: 7px;
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 1366px) {

    section.flow-summary {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .flow-summary {
        margin: 0 auto 150px;
        padding: 69px 0;
    }

    .summary-list {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 中央揃え */
    }

    .summary-step {
        flex: none;
        width: 90%;
        /* 幅を調整 */
        max-width: 400px;
        margin: 0 auto 70px auto;
        /* 下マージンで間隔を確保 */
        padding-top: 0;
        padding-left: 80px;
        /* アイコン用のスペース */
        text-align: left;
        /* テキストを左揃え */
    }

    .summary-list li:last-child {
        margin-bottom: 0;
        /* 最後の要素の下マージン削除 */
    }

    .step-icon {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        /* 縦方向中央揃え */
    }

    /* スマホでは縦矢印 */
    .summary-list li:not(:last-child)::after {
        content: '\f063';
        /* Font Awesome Down Arrow (fas fa-arrow-down) */
        top: auto;
        /* top指定解除 */
        bottom: -40px;
        /* 下に配置 */
        left: 30px;
        /* アイコンの中心あたり */
        right: auto;
        /* right指定解除 */
        transform: translateX(-50%);
        /* 横方向中央揃え */
    }

    .summary-title {
        font-size: 2rem;
        letter-spacing: 1.9px;
    }

    .step-text p {
        font-size: 1rem;
        /* 16px */
    }

    .summary-link {
        margin-top: 40px;
    }
}

/* summary end -------------------------------------------------------- */

/* flow-summary ご相談の流れ end ------------------------------------------------------- */


/* お知らせ start ---------------------------------------------------------------- */
.post {
    width: 100vw;
    height: fit-content;
    padding: 40px 0 80px;
    display: flex;
}

.post .postContent {
    margin-bottom: 100px;
}

.post .post-left {
    width: 15%;
    height: auto;
}

.post .post-bg {
    width: 85%;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    display: flex;
    align-items: center;
}

.post .post-bg .post-heading {
    width: 30%;
    text-align: center;
}

.post h2 {
    margin-bottom: 22px;
    font-size: 2rem;
    letter-spacing: 0.1875rem;
    line-height: 0.8;
    color: var(--subColor);
}

span.heading2-span-post {
    font-size: 1.1rem;
}

/* お知らせリストのコンテナ (任意で追加した場合) */
.post .post-bg .post-list-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 100px;
}

/* 各お知らせ行のスタイル */
.post .post-bg .latest-post {
    /* ★ ul から div に変更 */
    /* width: 800px; /* コンテナに移した場合、ここは不要かも */
    margin-top: 60px;
    /* 最初の行だけ適用したい場合は :first-child セレクタを使う */
    margin-bottom: 25px;
    padding-bottom: 2px;
    /* list-style-type: none; ← divなので不要 */
    display: flex;
    /* ← 維持 (日付、タイトル、アイコンを横並び) */
    align-items: center;
    /* ← アイテムの垂直位置を中央揃え（任意） */
    border-bottom: var(--gray) dotted;
}

/* 最初の .latest-post だけ margin-top を適用しない場合 */
/* .post .post-bg .post-list-container .latest-post:first-child { margin-top: 0; } */


/* 日付部分のスタイル */
.post .post-bg .latest-post .post-date {
    /* ★ li から span に変更 */
    width: 200px;
    /* 幅指定がflexで有効か確認 */
    padding-left: 20px;
    flex-shrink: 0;
    /* 縮まないように */
}

/* タイトル部分のスタイル */
.post .post-bg .latest-post .post-title {
    /* ★ li から span に変更 */
    /* width: 600px; ← 固定幅よりflex-growが良い場合が多い */
    flex-grow: 1;
    /* 残りのスペースを埋める */
    margin-left: 20px;
    /* 日付との間にスペース */
    text-align: left;
    /* 左寄せ */
}

/* アイコン部分のスタイル */
.post .post-bg .latest-post .post-icon {
    /* ★ li から span に変更 */
    /* width: 15%; ← 固定%よりは内容に合わせる方が良いかも */
    width: auto;
    /* 幅は内容(SVG)に合わせる */
    flex-shrink: 0;
    /* 縮まないように */
    /* margin-top: 8px; ← align-items: center; を使えば不要かも */
    text-align: center;
    line-height: 1;
    /* SVGの縦位置調整用 */
}

.post .latest-post a {
    color: var(--textColor);
}

@media screen and (max-width: 1366px) {


    /* pad third-visual end ------------------------------ */

    .post {
        display: block;
        padding-bottom: 77px;
    }

    .post .post-bg .post-list-container {
        padding-right: 0;
    }

    .post .post-left {
        display: none;
    }

    .post .post-bg {
        width: 100%;
        height: 90%;
        display: block;
        background-position: 0% 0%;
        background-size: cover;
        text-align: center;
    }

    .post .post-bg .post-heading {
        width: 100%;
        margin-bottom: 56px;
        padding-top: 50px;
        text-align: center;
    }

    .post .post-bg .latest-post {
        width: 70%;
        margin: 30px auto;
        padding-bottom: 22px;
        justify-content: space-between;
        font-size: clamp(0.75rem, 2vw, var(--f3));
        /* clamp(12px / 16, 2vw, var(--f3)) */
    }


    .post .post-bg .latest-post .post-date {
        width: auto;
        padding: 0 20px;
    }

    .post .post-bg .latest-post .post-title {
        width: auto;
        display: block;
        text-align: left;
    }

    .post .post-bg .latest-post .post-icon {
        width: auto;
        padding-left: 15px;
    }
}


/* スマホサイズ (例: 768px以下) */
@media screen and (max-width: 768px) {
    .post .post-bg .post-list-container {
        width: 100%;
        /* 必要ならスタイルを追加 */
        max-width: 600px;
        /* 例えば、全体の幅をここで制御する場合 */
        margin-left: auto;
        /* Flexアイテム内で右寄せする場合など */
        margin-right: auto;
    }

    .post .post-bg .post-heading {
        padding-top: 20px;
    }

    .post .post-bg .latest-post {
        width: 88%;
        height: 41px;
    }

    .post .post-bg .latest-post .post-title {
        margin-left: 0;
    }
}

/* pad post end ----------------------------------- */


/* post お知らせ end -------------------------------------------------------- */

/* post お知らせ end -------------------------------------------------------- */

/* footer start ------------------------------------------------------------- */
footer {
    width: 100vw;
    height: auto;
    padding: 5px 0 0;
    background-color: #e9e5d5;
    text-align: center;
}

footer .footer-block {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer img {
    width: 190px;
}

footer p {
    padding-top: 4px;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    footer .footer-block {
        display: flex;
        padding-top: 5px;
        /* justify-content: space-around; */
        /* align-items: center; */
        font-size: 0.9rem;
    }

    .footer-block {
        flex-direction: column;
    }
}


/* ----- ページトップへ戻るボタン ----- */
.page-top-btn {
    position: fixed;
    bottom: 15px;
    right: 85px;
    z-index: 990;
    width: 55px;
    height: 55px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.6s ease, visibility 0s linear 0.6s, transform 0.6s ease;
}

.page-top-btn img {
    display: block;
    margin-left: 2.5%;
    width: 50px;
    height: 70px;
}

/* 表示状態 (JSで is-visible クラスが付与されたら) */
.page-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* 元の位置に戻る */
    transition: opacity 0.6s ease, visibility 0s linear 0s, transform 0.6s ease;
    /* 現れる時のアニメーション */
}

/* ホバー＆フォーカス状態 */
.page-top-btn:hover,
.page-top-btn:focus {
    filter: brightness(110%);
    /* 少し明るく */
    outline: none;
    /* デフォルトのアウトラインを消す場合 */
}

/* 必要ならカスタムフォーカススタイルを追加 */
/* .page-top-btn:focus { ... } */

/* クリック（アクティブ）状態 */
.page-top-btn:active {
    transform: scale(0.96);
    /* 少し小さく */
    filter: brightness(100%);
}

/* visually-hidden クラス (もし未定義なら) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* パッド用 ---------------------------------------------------*/
@media screen and (max-width: 1366px) {

    /* pad post end ----------------------------------- */
    footer .footer-block .footer-block-left {
        width: 100vw;
        padding-top: 70px;
    }

    footer .footer-block-left .phone-number {
        font-size: 1.5625rem;
        /* 25px / 16 */
    }

    footer .footer-block-left .phone-number .phone-icon {
        width: 1.5625rem;
        /* 25px / 16 */
        height: 1.5625rem;
        /* 25px / 16 */
    }

    footer .footer-block-left .phone-number span {
        padding-left: 10px;
        color: var(--whiteGray);
    }

    footer .footer-block .footer-block-right {
        width: 0;
        display: none;
    }

    footer .footer-block-left h2 img {
        width: 200px;
        margin-left: 0;
    }

    footer .copyright-mobile {
        margin-top: 27px;
        display: block;
        font-size: var(--f7);
        /* 変数参照なので修正不要 */
        letter-spacing: 1px;
    }

    /* pad footer end ------------------------------------ */
    /* スマホ用のページトップボタン ----------------------------------------- */
    /* レスポンシブ対応--------------------------------------------------- */
    a#page-top-btn {
        right: 13px;
    }
}

/* パッド用 end ---------------------------------------------------*/



/* footer end --------------------------------------------------------- */


/* 23.12.18　追加　元田 single.php(投稿中身)用 ------------------------------------------------------------- */
.single main {
    min-height: 450px;
    margin-bottom: 120px;
    font-weight: 500;
}

.single .container {
    max-width: 1150px;
    margin: 0 auto;
}

.single .flexContainer {
    display: flex;
}

.single header {
    margin-bottom: 60px;
}

.single .postDate {
    justify-content: space-between;
    margin-bottom: 30px;
}

.single .postDate p {
    font-size: 0.9375rem;
    /* 15px / 16 */
}

.single .postContent .postTitle {
    padding-bottom: 20px;
    border-bottom: 2px dotted #979797;
    margin-bottom: 50px;
}

.single .prevNext {
    justify-content: space-between;
    border-bottom: 1px dotted #979797;
    align-items: center;
}

.single .prevNext .next,
.single .prevNext .prev {
    width: 50%;
}

.single .prevNext .prev {
    text-align: right;
}

.single .prevNext .prev a,
.single .prevNext .next a {
    display: block;
    padding: 1em;
    position: relative;
}

.single .prevNext .next a::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    /* 13px / 16 */
    font-family: "FontAwesome";
    content: "<< ";
}

.single .prevNext .prev a::after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    /* 13px / 16 */
    font-family: "FontAwesome";
    content: " >>";
}

/* .wp-block-columns {
    gap: 40px;
} */

@media (max-width: 1366px) {
    .single .container {
        margin: 0 32px 120px;
    }
}

@media (max-width: 768px) {
    .single .prevNext {
        flex-direction: column;
    }

    .single .prevNext .next,
    .single .prevNext .prev {
        width: 100%;
    }
}