* {
    color: #0f0f0f;
    font-family: MyYuGothicM, YuGothic, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.5;
    transition: 0.8s;
}
body.no-scroll {
    overflow: hidden; /* スクロールを無効にする */
}
/* //coler
$mainBlue: #0073E6;
$subYellow: #F0E68C;

$anchorBlue: #0074e0; */

.ta-c {
    text-align: center;
}
.c-w {
    color: #fff;
}
.c-b {
    color: #0073E6;
}
.fw-b {
    font-weight: bold;
}
.c-r {
    color: #C0392B;
}
.back_yellow {
    background-color: #FAF7F1;
}
.inner {
    width: 1032px;
    margin: 0 auto;
    padding-right: 16px;
    padding-left: 16px;
}
.min_inner {
    width: 832px;
    margin: 0 auto;
    padding-right: 16px;
    padding-left: 16px;
}
.content_wrapper {
    padding-top: 80px;
    padding-bottom: 80px;
}
.mt-60 {
    margin-top: 60px;
}
.mt-48 {
    margin-top: 48px;
}
.mt-36 {
    margin-top: 35px;
}
.mt-24 {
    margin-top: 24px;
}
.mt-12 {
    margin-top: 12px;
}
.left_h2 {
    font-weight: bold;
    color: #0073E6;
    font-size: 28px;
}
.center_h2 {
    font-weight: bold;
    color: #0073E6;
    font-size: 28px;
    text-align: center;
}
a {
    text-decoration: none;
}
a:hover {
    color: #0073E6;
}
img {
    display: block;
}

.contact_wrapper {
    background-color: #fff;
    border-radius: 12px;
    padding: 48px;
}
form {
    font-size: 18px;
}
input, select {
    width: 400px;
    padding: 8px;
    margin: 10px 10px 30px 0px;
    font-size: 18px;
    letter-spacing: 1px;
    box-sizing: border-box;

    background-color: #FAF7F1;
    border: 1px solid #AFA86F;
    border-radius: 8px;
}
textarea {
    margin: 10px 10px 24px 0px;
    font-size: 18px;
    padding: 8px;
    width: 100%;
    letter-spacing: 1px;

    background-color: #FAF7F1;
    border: 1px solid #AFA86F;
    border-radius: 8px;
    box-sizing: border-box;
}
input[type="submit"] {
    /* color: #fff; */
    background-color: #fff;
    border: 1px solid #666;
    text-align: center;
    /* border: none; */
    border-radius: 0;
    cursor: pointer;
}
input[type="submit"]:hover {
    opacity: 0.8;
}
.required {
    color: #d63637;
    font-size: 18px;
}




header {
    background-color: #fff;
    width: 100%;
    display: flex;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    position: relative;
    z-index: 1;
}
.fixed_header {
    position: fixed;
    top: -128px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: top 0.3s ease-in-out;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.fixed_header.visible {
    top: 0;
}
.fixed_header.hidden {
    top: -105px;
}
.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_h1 {
    width: 200px;
}
.header_ul {
    display: flex;
    align-items: center;
}
.header_li {
    margin-left: 20px;
}
.header_anchor {
    padding: 24px 0;
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.header_anchor::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0073E6;
    transition: width 0.3s ease-in-out;
}
.header_anchor:hover::after {
    width: 100%;
}
.contact_anchor {
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff;
    background-color: #0073E6;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #0073E6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}
.fixed_header .contact_anchor {
    padding: 4px 20px;
}
.contact_anchor::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}
.contact_anchor:hover {
    background-color: #fff;
    color: #0073E6;
    border: 2px solid #0073E6;
}
.contact_anchor:hover::after {
    transform: translateX(8px);
    border-left: 6px solid #0073E6;
}


main {
    animation: fadeIn 0.4s ease-in-out forwards;
    opacity: 0;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}




footer {
    background: #333;
}
.footer_head {
    font-size: 24px;
    padding: 8px 0;
    border-bottom: 1px solid #d7d7d7;
    text-decoration: none;
}
.footer_ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer_li {
    display: inline-block;
}
.footer_anchor {
    color: #fff;
    display: block;
    font-size: 16px;
}
.copyright {
    color: #777;
    border-top: 1px solid #d7d7d7;
    font-size: 14px;
    padding: 24px 0;
    text-align: center;
}



/* sp_display */
@media (max-width: 599px) {
    .inner {
        width: 100%;
        padding: 0 8px;
    }

    header {
        z-index: 100000;
    }
    .header_inner {
        padding: 15px 20px; /* 内側の余白を調整 */
    }

    .header_h1 {
        width: 150px; /* ロゴサイズを小さく */
    }

    .header_nav {
        /* ハンバーガーメニューがクリックされるまで非表示 */
        position: fixed;
        top: 0;
        right: -100%; /* 初期位置は画面外 */
        width: 80%; /* メニューの幅 */
        max-width: 300px; /* 最大幅を設定 */
        height: 100%;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.2);
        transition: right 0.3s ease-in-out;
        z-index: 999; /* ハンバーガーメニューより手前 */
        display: flex;
        flex-direction: column; /* 縦並び */
        padding-top: 80px; /* ロゴと被らないように調整 */
        z-index: 999;
    }

    .header_nav.is-open {
        right: 0; /* メニュー表示時 */
    }

    .header_ul {
        flex-direction: column; /* 縦並びにする */
        width: 100%;
    }

    .header_li {
        margin: 0; /* 左右マージンをリセット */
        width: 100%;
        border-bottom: 1px solid #eee; /* 区切り線 */
    }

    .header_li:first-child {
        border-top: 1px solid #eee; /* 最初の項目の上にも区切り線 */
    }

    .header_anchor {
        padding: 15px 20px; /* パディングを調整 */
        text-align: left; /* 左寄せ */
        width: 100%;
        font-size: 16px; /* フォントサイズ調整 */
    }

    /* ホバーエフェクトはモバイルでは不要な場合が多いですが、残すなら調整 */
    .header_anchor::after {
        display: none; /* モバイルでは下線アニメーションを非表示 */
    }

    .contact_anchor {
        /* width: calc(100% - 40px);  ← この行を削除またはコメントアウト */
        max-width: 200px; /* PC版のボタンの幅に合わせて調整、例: 250px */
        margin: 20px auto; /* 中央寄せと上下マージン */
        font-size: 16px; /* フォントサイズ調整 */
        padding: 12px 20px; /* パディング調整 */
        /* display: block; はそのままか、flexboxコンテナ内でjustify-content: centerを使えば不要 */
    }

    .header_inner {
        padding: 15px 20px;
        /* align-items: center; */ /* ロゴとハンバーガーメニューの縦位置を揃える */
    }

    /* ハンバーガーメニューアイコン */
    .hamburger_menu {
        display: block; /* デスクトップでは非表示、モバイルで表示 */
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1000; /* ナビゲーションより手前 */
    }

    .hamburger_menu span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #0073E6; /* メインカラー */
        position: absolute;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .hamburger_menu span:nth-child(1) {
        top: 0;
    }

    .hamburger_menu span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger_menu span:nth-child(3) {
        bottom: 0;
    }

    /* ハンバーガーメニューがアクティブになった時のスタイル */
    .hamburger_menu.is-active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger_menu.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger_menu.is-active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    /* 固定ヘッダーの調整 */
    .fixed_header {
        top: -80px; /* モバイルでのヘッダー高さに合わせて調整 */
    }
    .fixed_header.visible {
        top: 0;
    }
    .fixed_header.hidden {
        top: -80px; /* モバイルでのヘッダー高さに合わせて調整 */
    }
    .fixed_header .header_inner {
        padding: 10px 20px; /* 固定ヘッダー時のパディング調整 */
    }
    .fixed_header .header_h1 {
        width: 120px; /* 固定ヘッダー時のロゴサイズ調整 */
    }


    .min_inner {
        width: 100%; /* 画面幅いっぱいに広げる */
        padding-left: 20px; /* 左右に余白を設定 */
        padding-right: 20px;
    }

    .content_wrapper {
        padding-top: 40px; /* 上下のパディングを小さくする */
        padding-bottom: 40px;
    }

    .contact_wrapper {
        padding: 30px 20px; /* パディングを調整 */
    }

    .left_h2 {
        font-size: 24px; /* タイトルのフォントサイズを調整 */
        text-align: center; /* 中央寄せにする */
    }

    .contact_wrapper p.mt-36 { /* フォームの説明テキスト */
        font-size: 15px; /* フォントサイズを調整 */
        margin-top: 24px; /* マージンを調整 */
        text-align: center; /* 中央寄せにする */
    }

    form {
        font-size: 15px; /* フォーム内のテキスト全体を調整 */
    }

    input, select {
        width: 100%; /* 幅を100%にする */
        padding: 10px; /* パディングを増やす */
        margin: 8px 0px 20px 0px; /* マージンを調整 */
        font-size: 16px; /* フォントサイズを調整 */
    }

    textarea {
        width: 100%; /* 幅を100%にする */
        padding: 10px; /* パディングを増やす */
        margin: 8px 0px 20px 0px; /* マージンを調整 */
        font-size: 16px; /* フォントサイズを調整 */
    }

    input[type="submit"] {
        width: 100%; /* ボタンも幅100%に */
        max-width: 280px; /* ボタンの最大幅を設定し、大きすぎる画面でも見やすく */
        display: block; /* 中央寄せのためにブロック要素に */
        margin: 30px auto 0; /* 中央寄せと上マージン */
        font-size: 18px; /* フォントサイズを調整 */
        padding: 15px 20px; /* パディングを調整 */
    }

    .required {
        font-size: 16px; /* 必須マークのフォントサイズを調整 */
    }
}

/* デスクトップ表示ではハンバーガーメニューを非表示にする */
@media screen and (min-width: 600px) {
    .hamburger_menu {
        display: none;
    }
}