/* ===========================
   ヘッダー全体
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 20px 0;
    background: transparent;
    z-index: 9999999;
}
/* ヘッダー内コンテンツの配置 */
.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}
/* ロゴ設定 */
.logo {
    max-width: 250px;
    width: 100%;
}
.logo img {
    width: 100%;
    height: auto;
    display: block;
}
/* ===========================
   ナビゲーションメニュー
   =========================== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px; /* 適度な余白 */
    align-items: center;
    padding: 0;
    margin: 0;
}
.nav-links li {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    position: relative; /* ホバーアンダーライン用 */
}
/* 通常時：すべて白 */
.nav-links li a {
    color: #fff;
}
/* 現在ページ（スクロール前でも常に強調色） */
.nav-links li a.current {
    color: #1860ad;
}
/* スクロール後：他のリンクだけ薄いグレーに */
.site-header.scrolled .nav-links li a {
    color: #949495;
}
/* ただし、現在ページはスクロール後も強調色を維持 */
.site-header.scrolled .nav-links li a.current {
    color: #1860ad;
}
.nav-links li:hover a {
    color: #1860ad;
}
/* ホバー時の下線アニメーション */
.nav-links li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1860ad;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.nav-links li:hover::after {
    transform: scaleX(1);
}
/* no-hoverクラス（画像リンク等）用 */
.nav-links li.no-hover:hover a {
    color: inherit; /* 文字色変えない */
}
.nav-links li.no-hover::after, .nav-links li.no-hover:hover::after {
    transform: none;
    content: none;
}
/* 電話画像 */
.tell-img {
    height: 50px; /* 高さ固定 */
    width: auto; /* 横幅自動調整 */
    object-fit: contain; /* 縦横比維持 */
    display: block; /* 不要な隙間回避 */
    max-width: 100%; /* 親からはみ出さない */
}
/* ===========================
   ハンバーガーメニュー
   =========================== */
/* PC共通のスタイル */
.hamburger {
    display: none; /* PCでは非表示 → メディアクエリ内で上書き */
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    z-index: 10000;
    /* 中央に線を配置する設定 */
    justify-content: center;
    align-items: center;
}
/* 3本線 */
.hamburger span {
    position: absolute;
    width: 60%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger span:nth-child(1) {
    top: 14px;
}
.hamburger span:nth-child(2) {
    top: 23px;
}
.hamburger span:nth-child(3) {
    top: 32px;
}
/* 開いた状態 */
.hamburger.active span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}
/* ===========================
   固定表示ボタン（右下）
   =========================== */
#fixed-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
    /* 初期は非表示 */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/* 表示時 */
#fixed-buttons.show {
    opacity: 1;
    pointer-events: auto;
}
/* ボタン共通 */
.fixed-btn {
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 画像ボタン内の画像調整 */
.fixed-btn.image-btn {
    max-width: 250px; /* 横幅 */
    height: auto; /* 高さ */
    padding: 12px; /* 余白を少し増やす */
}
.fixed-btn.image-btn img {
    width: 100%; /* ボタン内の画像はボタンいっぱいに */
    height: 100%;
}
/* トップに戻るボタンサイズ調整 */
.scroll-top-btn {
    font-size: 18px;
    line-height: 1;
    width: 40px;
    height: 40px;
}
.fixed-btn.scroll-top-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* 丸くする */
    font-size: 24px; /* 矢印の大きさ */
    font-weight: bold;
    color: #a3282e;
    background: white;
    border: 2px solid #a3282e;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    /* ▼ 中央に揃えるための設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* 不要（position: fixed の中なので） */
    line-height: 1; /* 行間をリセット */
    text-align: center; /* 横中央 → flexで対応済 */
}
.fixed-btn.scroll-top-btn:hover {
    background: #a3282e; /* ホバー時の色変化 */
    color: white;
}
#fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#fixed-buttons.hide {
    opacity: 0;
    visibility: hidden;
}
/* ===========================
  お問い合わせ
=========================== */
.contact-container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-image: url("../images/top_con_01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 150px;
}
.contact-container h2 {
    width: 240px;
    margin: 0 auto 50px;
}
.contact-actions {
    display: flex;
    gap: 2em;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}
.action-item {
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}
.label {
    display: block;
    margin-bottom: 0.5em;
    color: #000000;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}
.action-item img {
    width: 100%;
    height: auto;
    display: block;
}
.action-item a {
    display: inline-block;
    text-decoration: none;
}
.contact-actions .action-item {
    text-align: left;
}
.contact-actions .action-item img {
    max-width: 350px;
    margin: 0 auto;
}
.action-item a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.action-item a:hover img {
    transform: scale(1.05); /* 少し拡大 */
    filter: brightness(1.1); /* 明るくする */
}
.contact-container p {
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.2em;
}
/*.contact-actions .action-item:nth-child(2) img {
   max-width: 250px;
   margin: 0 auto;
   transition: filter 0.3s ease;
}
.contact-actions .action-item:nth-child(2):hover img {
  filter: brightness(1.1); 
}*/
#contact {
    scroll-margin-top: 250px; /* ヘッダーの高さに合わせる */
}

/* ===========================
   フッター全体
=========================== */
.footer {
    padding: 20px 0;
    background: #fff;
    font-size: 14px;
    color: #6fa3b7;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 上段：ロゴ＋ナビ */
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.footer-logo img {
    max-width: 200px;
    height: auto;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
.footer-nav a {
    color: #6fa3b7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
	font-weight:bold;
	letter-spacing: 0.2em;
}
.footer-nav a:hover {
    color: #4d7d8f;
}
/* 中間の線 */
.footer-divider {
    width: 100vw;
    margin-left: calc(50% - 50vw); /* 左右のズレを補正 */
    height: 1px;
    background: #c9dce3;
}
/* 下段：会社情報 */
.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 15px;
}
.footer-company {
    white-space: nowrap;
}
.footer-address {
    text-align: left;
}
/* ===========================
   モバイル用スタイル（1200px以下）
   =========================== */
@media screen and (max-width: 1200px) {
    .hamburger {
        display: flex;
        position: absolute;
        top: 30px;
        right: 25px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -50%; /* 画面外に隠す */
        width: 50%; /* 画面の半分 */
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.9);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 9999;
        justify-content: center; /* 縦中央 */
        padding: 0 20px;
    }
    /* メニュー開いた状態 */
    .nav-links.active {
        right: 0; /* 画面端にスライド */
    }
    /* メニュー内リンク装飾 */
    .nav-links li {
        padding: 10px 0;
    }
    .nav-links li a {
        color: #000;
        font-size: 1.2rem;
        font-weight: 600;
        text-decoration: none;
    }
    .nav-links li a:hover {
        
    }
}
/* ===========================
   ロゴサイズ調整（768px以下）
   =========================== */
@media screen and (max-width: 768px) {
    .site-header {
        padding: 30px 20px 0;
    }
    .logo {
        max-width: 150px;
    }
    .fixed-btn.image-btn {
        max-width: 190px;
        height: auto;
        padding: 12px;
    }
    #fixed-buttons {
        right: 5px;
        gap: 0px;
    }
	.contact-actions .action-item {
    text-align: center;
}
    /*フッター */
    .footer-nav {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
@media screen and (max-width: 428px) {}