/** -----------------------------------------------
全ページ共通のCSS
------------------------------------------------ **/
:root {
    --gray: #f5f5f5;
    --blue: #2589d0;
    --pink: #e4006e;
    --purple: #6a3cae;
    --orange: #ff8811;
    --green: #009fa8;
    --white: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
p {
    word-break: break-all;
}
img {
    width: 100%;
    height: auto;
}
/** フォント **/
.Merriweather {
    font-family: "Merriweather", serif;
}
.Roboto {
    font-family: "Roboto", sans-serif;
}
.Zen {
    font-family: "Zen Maru Gothic", serif;
}

/** コンテンツ幅 **/
.w90 {
    width: 90%;
    max-width: 95%;
    margin: 0 auto;
}
.w960 {
    width: 960px;
    max-width: 95%;
    margin: 0 auto;
}
.w1100 {
    width: 1100px;
    max-width: 95%;
    margin: 0 auto;
}

/** リスト **/
ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/** 文字色 **/
.text-white {
    color: #ffffff !important;
}
.text-black {
    color: #333333 !important;
}
.text-green {
    color: #009fa8 !important;
}
.text-blue {
    color: #2589d0 !important;
}
.text-orange {
    color: #ff8811 !important;
}
.text-pink {
    color: #e4006e !important;
}
.text-purple {
    color: #6a3cae !important;
}
.text-gray {
    color: #636363 !important;
}

/** 見出し **/
h1,
.h1 {
    font-size: 48px;
}
h2,
.h2 {
    font-size: 32px;
}
h3,
.h3 {
    font-size: 24px;
}
h4,
.h4 {
    font-size: 18px;
}
h5,
.h5 {
    font-size: 16px;
}
h6,
.h6 {
    font-size: 14px;
}
/*ボタン*/
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin: 2em auto;
    padding: 0.9em 2em;
    overflow: hidden;
    border: 1px solid #2589d0;
    border-radius: 50px;
    background-color: #fff;
    color: #2589d0;
    font-size: 1em;
    box-sizing: border-box;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

.btn::before {
    position: absolute;
    z-index: -1;
    transform: rotate(-30deg);
    width: 100%;
    height: 0;
    border-radius: 25px;
    background-color: #2589d0;
    content: "";
    transition: height 0.3s ease;
}

.btn:hover::before {
    height: 350%;
}

.btn::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    content: "";
}

.btn:hover::after {
    border-color: #fff;
}

/** copyright **/
p.copy {
    text-align: center;
}

/** -----------------------------------------------
header
------------------------------------------------ **/
header {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

.top-logo {
    max-width: 100px;
    margin-right: 3em;
}

.menu-container {
    background-color: #ffffff;
    padding: 12px 24px 12px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-items {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    position: relative;
    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    color: #666666;
}

.menu-item::after {
    content: "";
    position: absolute;
    bottom: -0.5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #3b82f6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.inquiry-btn {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    color: white;
    margin-left: 3em;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.inquiry-btn img {
    width: 20px;
    height: 20px;
    margin-right: 0.5em;
    fill: currentColor;
}

.inquiry-btn:hover {
    transform: translateY(3px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ハンバーガーメニューのアクティブ状態 */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
@media (max-width: 838px) {
    .heading-section {
        margin-top: 77px;
    }
    .hamburger {
        display: flex;
    }

    .menu-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .menu-items.active {
        right: 0;
    }

    .menu-item {
        font-size: 18px;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
    }

    .menu-item::after {
        display: none;
    }

    .inquiry-btn {
        margin-left: 0;
        margin-top: 20px;
        padding: 15px 30px;
        font-size: 16px;
        width: 350px;
        max-width: 70%;
        justify-content: center;
    }

    .menu-container {
        padding: 15px 20px;
    }

    .top-logo {
        max-width: 80px;
        margin-right: 0;
    }
}
@media (max-width: 480px) {
    .menu-items {
        width: 100%;
        right: -100%;
    }

    .menu-items.active {
        right: 0;
    }

    .menu-container {
        padding: 10px 15px;
    }

    .top-logo {
        max-width: 70px;
    }

    .inquiry-btn {
        margin-left: 0;
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .inquiry-btn img {
        width: 16px;
        height: 16px;
    }
}
/** -----------------------------------------------
footer
------------------------------------------------ **/
footer {
    background-color: #0d73c5;
    color: white;
    font-family: sans-serif;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    max-width: 300px;
}

.logo {
    width: 160px;
    margin-bottom: 10px;
}

.company-name,
.address {
    margin: 4px 0;
}

.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-right li {
    margin-bottom: 8px;
}

.footer-right a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
}

/* ========== ▼ レスポンシブ ▼ ========== */

/* タブレット以下（～768px） */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        margin-top: 20px;
        width: 100%;
    }

    .footer-right ul {
        text-align: left;
    }
}

/* スマートフォン以下（～480px） */
@media screen and (max-width: 480px) {
    .logo {
        width: 140px;
    }

    .footer {
        padding: 30px 15px 15px;
    }

    .footer-right a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 11px;
    }
}

/** -----------------------------------------------
subpage
------------------------------------------------ **/
/* 下層ページタイトル */

.heading-section {
    margin-top: 5em;
}

.heading-container {
    background: #30376c;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.heading-title {
    color: white;
    font-size: 3rem;
    font-weight: 600;
    margin: 0px 0 0 5em;
    position: relative;
    z-index: 2;
}

/* 下線のベース */
.heading-container::after {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #310a9a, #3b82f6);
    border-radius: 2px;
}

/* アニメーションする太い線 */
.heading-container::before {
    content: "";
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, #9333ea, #3b82f6);
    border-radius: 4px;
    animation: slideAnimation 3s ease-in-out;
    z-index: 3;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.6);
}

@keyframes slideAnimation {
    0% {
        transform: translateX(-60px);
        opacity: 0.8;
    }
    30% {
        transform: translateX(calc(100vw - 60px));
        opacity: 1;
    }
    35% {
        transform: translateX(calc(100vw - 60px));
        opacity: 0;
    }
    40% {
        transform: translateX(-60px);
        opacity: 0;
    }
    45% {
        transform: translateX(-60px);
        opacity: 0.8;
    }
    70% {
        transform: translateX(calc(20vw - 30px));
        opacity: 1;
    }
    100% {
        transform: translateX(calc(20vw - 30px));
        opacity: 1;
    }
}

/* ホバー時のエフェクト */
.heading-container:hover::before {
    animation-duration: 1.5s;
}

.heading-container:hover::after {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* パンくずリスト */
.breadcrumbs-wrap {
}
.breadcrumbs {
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .heading-title {
        font-size: 1.8rem;
        margin: 0 auto 0.75rem;
        text-align: center;
    }

    .heading-container {
        padding: 30px 0;
    }

    @keyframes slideAnimation {
        0% {
            transform: translateX(-45px);
            opacity: 0.8;
        }
        30% {
            transform: translateX(calc(100vw - 45px));
            opacity: 1;
        }
        35% {
            transform: translateX(calc(100vw - 45px));
            opacity: 0;
        }
        40% {
            transform: translateX(-45px);
            opacity: 0;
        }
        45% {
            transform: translateX(-45px);
            opacity: 0.8;
        }
        70% {
            transform: translateX(calc(20vw - 22.5px));
            opacity: 1;
        }
        100% {
            transform: translateX(calc(20vw - 22.5px));
            opacity: 1;
        }
    }
}
