/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PC/モバイル表示制御 */
.pc-only {
    display: flex;
}

/* モバイル要素を確実に非表示 */
.mobile-only {
    display: none !important;
}


body {
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}


/* ===========================
    ヘッダー
   =========================== */
header {
    background-color: #fff;
}

.header-wrapper {
    background-color: #fff;
}

.header-top {
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Logo */
.logo-link {
    text-decoration: none;
}

.logo-area img {
    width: 250px;
    height: auto;
    display: block;
}

/* Header Info */
.header-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 30px;
}

.header-left {
    flex: 1;
}

.header-message {
    font-size: 22px;
    color: #ff0000;
    font-weight: bold;
    line-height: 1.3;
}

/* Header Right */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-label {
    font-size: 18px;
    color: #000;
}

.contact-number {
    font-size: 28px;
    color: #00b050;
    font-weight: bold;
}

/* Sub Navigation */
.sub-nav {
    display: flex;
    gap: 20px;
}

.sub-nav a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.sub-nav a:hover {
    text-decoration: underline;
}

/* Hamburger Menu - Hidden on PC */
.hamburger-menu {
    display: none;
}

/* Main Navigation */
nav {
    background-color: #fff;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0 auto;
    max-width: 1380px;
    gap: 20px;
}

nav li {
    flex: 1;
}

nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    background-color: #000;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #333;
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ハンバーガーメニューがアクティブ時（X印に変形） */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.header-info.pc-only {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 30px;
}



.hamburger-menu {
    display: none;
}
/* ===========================
    topページ
   =========================== */
/* ===========================
    ファーストビュー
   =========================== */


.hero {
    position: relative;
    height: 600px;
    margin: 20px 0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    width: 70%;
    height: 90%;
    left: 15%;
    top: 5%;
    opacity: 0;
    transition: all 0.8s ease-in-out;
    transform: scale(0.8) translateX(-100%);
    filter: brightness(0.5);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: brightness(1);
    z-index: 3;
}

.slide.prev {
    opacity: 0.7;
    transform: scale(0.85) translateX(-50%);
    filter: brightness(0.7);
    z-index: 2;
}

.slide.next {
    opacity: 0.7;
    transform: scale(0.85) translateX(50%);
    filter: brightness(0.7);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active .slide-content {
    opacity: 1;
}

.slide-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-text {
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.slider-dots {
    display: none;
}

/* ===========================
    アピールバナー
   =========================== */
.appeal-banner {
    background: linear-gradient(135deg, #ff6600 0%, #ff8800 100%);
    padding: 30px 0;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

/* 背景パターン（オプション） */
.appeal-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.appeal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.appeal-item {
    text-align: center;
    color: #fff;
}


.appeal-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* セパレーター */
.appeal-separator {
    width: 2px;
    height: 80px;
    background-color: rgba(255,255,255,0.5);
}

/* アニメーション（オプション） */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.appeal-item:hover {
    animation: pulse 0.5s ease-in-out;
}


/* ===========================
    料金表
   =========================== */

#price{
margin:200px 0;
}


.price-section {
    margin: 40px 0;
}


.section-header {
    display: flex;
    align-items: center;
    margin-bottom:30px;
}

.section-accent {
    width: 20px;
    height: 100px;
    background-color: #ff6600;
    margin-right: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.title-green {
    font-size: 40px;
    color: #00b050;
    font-weight: bold;
}

.title-black {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    line-height: 1.3;
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border: 2px solid #000;
}

th, td {
    border: 1px solid #000;
    padding: 15px 10px;
    text-align: center;
}

th {
    background-color: #fff;
    font-weight: bold;
    font-size: 16px;
}

td.damage-name {
    text-align: left;
    font-weight: bold;
    background-color: #fff;
    padding-left: 20px;
}

td.price {
    color: #ff6600;
    font-size: 20px;
    font-weight: bold;
}

.benefits {
    font-size: 18px;
    font-weight: bold;
    color: #ff4500;
}

.price-notes {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}


/* ===========================
    ご利用の流れ
   =========================== */

#flow{
margin:200px 0;
}

.process-step {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.step-header {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.step-content {
    background-color: #ffe4e1;
    padding: 20px;
    border: 1px solid #ffd0c0;
    border-top: none;
    text-align: center;
    line-height: 1.8;
}

.arrow {
    text-align: center;
    font-size: 0;
    margin: 15px 0;
    height: 30px;
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 30px 0 30px;
    border-color: #00b050 transparent transparent transparent;
}


/* ===========================
    修理事例
   =========================== */

#examples{
margin:200px 0;
}


/* 2×2のグリッドレイアウト */
.example-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.example-item {
    text-align: center;
}

.example-item img {
    width: 100%;
    height:100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ===========================
    よくある質問
   =========================== */

#faq{
margin:200px 0;
}

.faq-item {
    margin-bottom: 50px;
    border: 2px solid #ff6600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    background-color: #ff6600;
    color: #fff;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 18px;
}

.faq-answer {
    background-color: #fff5f0;
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* ===========================
　　アクセス
   =========================== */

#access{
margin:200px 0 0 0;
}

.access-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-block {
    margin-bottom: 40px;
}

.location-title {
    background-color: #f0f0f0;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 0;
    border: 1px solid #ddd;
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-top: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.company-info-block {
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.company-details {
    margin-bottom: 30px;
    line-height: 1.8;
}

.company-details p {
    margin-bottom: 15px;
}

.company-details strong {
    font-weight: bold;
}


/* ===========================
　　フッター
   =========================== */
footer {
    padding: 40px 0 20px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* PC版で確実に非表示 */
@media screen and (min-width: 769px) {
    #mobileMenu,
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}






/* ===========================
    タブレット縦向き (481px〜768px)
   =========================== */
@media (min-width: 481px) and (max-width: 768px) {
    /* コンテナ幅の調整 */
    .container {
        max-width: 720px;
        padding: 0 10px;
    }
    
/* ===========================
    ヘッダー
   =========================== */
       /* ヘッダー微調整 */
    .header-container {
        max-width: 720px;
    }
    
    .logo-area img {
        width: 160px;
    }
    
    .header-message {
        font-size: 14px;
    }
    
    .contact-number {
        font-size: 20px;
    }
    
    /* ナビゲーション - 2段組み */
    nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0px;
        padding: 10px;
    }
    
    nav a {
        font-size: 14px;
        padding: 12px 10px;
    }
    /* ===========================
    topページ
   =========================== */
/* ===========================
    ファーストビュー
   =========================== */
    /* ヒーローセクション */
    .hero {
        height: 400px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-text {
        font-size: 16px;
    }
    

/* ===========================
    アピールバナー
   =========================== */
    .appeal-banner {
        padding: 25px 0;
    }
    
    .appeal-content {
        gap: 30px;
    }
    
    
    .appeal-title {
        font-size: 24px;
        white-space: nowrap; 
    }
    
    
    .appeal-separator {
        height: 60px;
    }

    /* セクションタイトル */
    .title-green {
        font-size: 40px;
    }
    
    .title-black {
        font-size: 18px;
    }
    
    /* 料金表 */
    .damage-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* プロセスステップ */
    .process-step {
        max-width: 500px;
    }
    
    /* FAQ */
    .faq-item {
        max-width: 600px;
    }
}

/* ===========================
    タブレット横向き (769px〜1024px)
   =========================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* コンテナ幅の調整 */
    .container {
        max-width: 960px;
    }
    /* ===========================
    ヘッダー
   =========================== */
    .header-container {
        max-width: 960px;
    }

    /* ヘッダー微調整 */
    .logo-area img {
        width: 200px;
    }
    
    .header-message {
        font-size: 14px;
    }
    
    .contact-number {
        font-size: 18px;
    }
    
    /* ナビゲーション間隔調整 */
    nav ul {
        gap: 6px;
    }
    
    nav a {
        font-size: 15px;
        padding: 14px 15px;
    }
    /* ===========================
    topページ
   =========================== */
/* ===========================
    ファーストビュー
   =========================== */
    /* ヒーローセクション */
    .hero {
        height: 450px;
    }
    
    .slide {
        width: 75%;
        left: 12.5%;
    }
    
    .slide-title {
        font-size: 30px;
    }
    
    
    /* セクションタイトル */
    .title-green {
        font-size: 44px;
    }
    
    /* 料金表はそのまま表示 */
    .table-wrapper {
        overflow-x: visible;
    }
    
    table {
        font-size: 13px;
    }
    
    /* プロセスステップ */
    .process-step {
        max-width: 700px;
    }
}

/* ===========================
    タブレット共通（縦横両方）
   =========================== */
@media (min-width: 481px) and (max-width: 1024px) {
    /* ===========================
    ヘッダー
   =========================== */
     /* ヘッダー全体の構造 */
    .header-wrapper {
        padding: 0;
    }
    
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        max-width: 100%;
    }
    
    /* ロゴエリア */
    .logo-link {
        flex: 0 0 auto;
    }
    
    /* ヘッダー情報を整理 */
    .header-info {
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin: 0;
    }
    
    /* 左側：メッセージ */
    .header-left {
        flex: 1;
    }
    
    .header-message {
        font-size: 16px;
        line-height: 1.3;
    }
    
    /* 右側：連絡先とサブナビ */
    .header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0px;
    }
    
    .header-contact {
        display: flex;
        align-items: center;
        gap: 0px;
    }
    
    .contact-label {
        font-size: 14px;
    }
    
    .contact-number {
        font-size: 22px;
    }
    
    /* サブナビゲーション */
    .sub-nav {
        display: flex;
        gap: 15px;
    }
    
    .sub-nav a {
        font-size: 12px;
        padding: 0;
    }
    
    
    
    /* ハンバーガーメニューは非表示 */
    .hamburger-menu {
        display: none !important;
    }
    
    /* モバイル専用要素を非表示 */
    .mobile-only {
        display: none !important;
    }
    
    /* PC版要素を表示 */
    .pc-only {
        display: flex !important;
    }
/* ===========================
    料金表
   =========================== */

#price{
margin:100px 0;
}


 /* ヘッダーセルのフォントサイズ */
    th {
        font-size: 14px;
        padding: 8px 5px;
    }

        td.price {
        font-size: 14px;
    }

    td.damage-name {
        font-size: 14px;
        padding-left: 10px;
    }

/* ===========================
    ご利用の流れ
   =========================== */

#flow{
margin:100px 0;
}



/* ===========================
    修理事例
   =========================== */

#examples{
margin:100px 0;
}

/* ===========================
    よくある質問
   =========================== */

#faq{
margin:100px 0;
}

/* ===========================
    アクセス
   =========================== */

#access{
margin:100px 0 0 0;
}

}





    /* ===========================
    モバイル版スタイル
   =========================== */
@media (max-width: 768px) {
    /* 表示制御 */
    .pc-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    /* ===========================
    ヘッダー
   =========================== */
    /* ヘッダーレイアウト */
    
    .header-top{
    padding:10px 0 0 0 ;
    }
    
    
    .header-container {
        justify-content: space-between;
        gap: 15px;
    }
    
    .logo-area img {
        width: 100px;
    }
    
    /* モバイルヘッダー情報 */
    .header-info.mobile-only {
        display: flex !important;
        flex: 1;
        justify-content: center;
        align-items: center;
        gap: 5px;  /* 隙間を小さく */
        white-space: nowrap;  /* 改行を防ぐ */
    }
    
    .header-info.mobile-only .contact-label {
        font-size: 14px;
        color: #000;
    }
    
    .header-info.mobile-only .contact-number {
        font-size: 14px;
        color: #00b050;
        font-weight: bold;
    }
    
    /* モバイルキャッチコピー */
    .mobile-tagline.mobile-only {
        display: block !important;
        background-color: #fff;
        color: #ff0000;
        font-size: 11px;
        font-weight: bold;
        text-align: center;
        padding: 8px 15px;
    }
    
    /* メインナビゲーションを非表示 */
    #mainNav {
        display: none;
    }
    
    /* ハンバーガーメニュー */
    .hamburger-menu {
        display: block;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }
    
    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


/* モバイルメニューオーバーレイ（メディアクエリの外） */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    position: fixed;  /* absoluteからfixedに変更 */
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 500px;
    height: 100%;
    background-color: #000;
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 80px 0 20px;
    margin: 0;
}


.mobile-menu-content li:last-child {
    border-bottom: none;
}

.mobile-menu-content a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 20px;
    font-size: 16px;
}

.menu-divider {
    height: 1px;
    background-color: #666;
    margin: 10px 20px;
    padding: 0;
    border: none;
}

/* スクロール無効化 */
body.menu-open {
    overflow: hidden;
}

/* ===========================
    topページ
   =========================== */
/* ===========================
    ファーストビュー
   =========================== */
.hero {
        height: 250px; 
    }
    
    .slide {
        width: 100%;
        left: 0;  /* 左端から開始 */
        height: 100%;
    }
    
    /* 前後のスライドは非表示 */
    .slide.prev,
    .slide.next {
        display: none;  /* 完全に非表示 */
    }
    
    /* スライド画像の調整 */
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 0;  /* モバイルでは角丸を削除 */
        box-shadow: none;  /* 影も削除 */
    }
    
    /* スライドのテキスト調整 */
    .slide-content {
        padding: 30px 15px 20px;  /* パディングを調整 */
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-text {
        font-size: 14px;
    }


/* セクションタイトル */

.section-accent {
    width: 10px;
    height: 60px;
    background-color: #ff6600;
    margin-right: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap:0;
    flex-wrap: wrap;
}

.title-green {
    font-size: 18px;
    color: #00b050;
    font-weight: bold;
}

.title-black {
    font-size: 14px;
    color: #000;
    font-weight: bold;
    line-height: 1.3;
}

/* ===========================
    アピールバナー
   =========================== */
    .appeal-banner {
        padding: 10px 0;
    }


/* ===========================
    料金表
   =========================== */

#price{
margin:50px 0;
}



/* テーブルコンテナーをスクロール可能に */
.table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;  /* 画面端まで */
        padding: 0 15px;
    }
    
    .table-wrapper table {
        min-width: 600px;
        margin: 0;
    }
    
    /* ヘッダーセルのフォントサイズ */
    th {
        font-size: 11px;
        padding: 8px 5px;
    }
    
    /* データセルのフォントサイズと価格の調整 */
    td {
        padding: 8px 5px;
    }
    
    td.damage-name {
        font-size: 11px;
        padding-left: 10px;
    }
    
    td.price {
        font-size: 13px;  /* 価格は少し大きめに */
        font-weight: bold;
    }
    
    /* スクロールヒントを表示 */
    .price-section::after {
        content: "";
        display: block;
        text-align: center;
        font-size: 10px;
        color: #999;
        margin-top: 10px;
        padding: 0 15px;
    }

.benefits{
font-size: 14px;
}
.price-notes{
font-size: 9px;
margin:0;
}

/* ===========================
    ご利用の流れ
   =========================== */

#flow{
margin:50px 0;
}

.step-header{
font-size:14px;
}

.step-content{
font-size:12px;
}

/* ===========================
    修理事例
   =========================== */

#examples{
margin:50px 0;
}


.example-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

.example-item {
    text-align: center;
}

.example-item img {
    width: 100%;
    height:100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ===========================
    よくある質問
   =========================== */

#faq{
margin:50px 0;
}

.faq-section {
    margin: 50px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid #ff6600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-question {
    background-color: #ff6600;
    color: #fff;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 14px;
}

.faq-answer {
    background-color: #fff5f0;
    padding: 20px;
    line-height: 1.8;
    font-size: 12px;
    color: #333;
}

/* ===========================
    アクセス
   =========================== */

#access{
margin:50px 0 0 0;
}


.access-section {
    margin: 50px 0;
}

.access-content {
    max-width: 800px;
    margin: 0 auto;
}

.location-block {
    margin-bottom: 40px;
}

.location-title {
    background-color: #f0f0f0;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 0;
    border: 1px solid #ddd;
}

.map-container {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-top: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.company-info-block {
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.company-details {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size:12px;
}

.company-details p {
    margin-bottom: 15px;
}

.company-details strong {
    font-weight: bold;
}


/* ===========================
　　フッター
   =========================== */
footer {
    padding: 40px 0 20px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}








}
    /* ===========================
    モバイル版スタイル小
   =========================== */
@media (max-width: 480px) {
    /* ===========================
    ヘッダー
   =========================== */
.logo-area img{
    width:100px;
}



.header-message{
font-size:12px;
}

    .header-info.mobile-only .contact-label {
        font-size: 12px;
        color: #000;
    }
    
    .header-info.mobile-only .contact-number {
        font-size: 14px;
        color: #00b050;
        font-weight: bold;
    }

    nav a {
        font-size: 14px;
        padding: 12px;
    }
/* ===========================
    topページ
   =========================== */
/* ===========================
    ファーストビュー
   =========================== */
.hero {
        height: 200px;  /* さらに低く */
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .slide-text {
        font-size: 12px;
    }
    
    .slide-content {
        padding: 20px 10px 15px;
    }

/* ===========================
    アピールバナー
   =========================== */
    .appeal-banner {
        padding: 20px 10px;
    }
    
    .appeal-content {
        gap: 20px;
        justify-content: space-around;
    }
    
    .appeal-title {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .appeal-title::after {
        width: 50px;
        height: 2px;
        margin: 10px auto 0;
    }
    
    .appeal-separator {
        width: 1px;
        height: 40px;
    }

/* セクションタイトル */

.title-black {
    font-size: 12px;
    color: #000;
    font-weight: bold;
    line-height: 1.3;
}

}
    /* ===========================
    モバイル版スタイル小　横向き
   =========================== */
@media (min-width: 380px) and (max-width: 479px)  {
    /* ===========================
    ヘッダー
   =========================== */
    
    .header-container {
        flex-wrap: nowrap;  /* 折り返さない */
        overflow: hidden;   /* はみ出し防止 */
    }
    
    /* 各要素の最小幅を設定 */
    .logo-link {
        flex: 0 0 auto;
        min-width: 0;
    }
    
    .header-info.mobile-only {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .hamburger-menu {
        flex: 0 0 auto;
        min-width: auto;
    }

    .header-info.mobile-only .contact-label {
        font-size: 10px;
    }
    
    .header-info.mobile-only .contact-number {
        font-size: 10px;
    }

.header-info.mobile-only{
    overflow:unset;
}

.mobile-tagline.mobile-only{
font-size:10px;
}

}

/* ===========================
    極小画面対応（379px以下）
   =========================== */
@media (max-width: 379px) {

    /* ===========================
    ヘッダー
   =========================== */
    /* ヘッダーコンテナの調整 */
    .header-container {
        padding: 0 8px;
        gap: 3px;
        min-width: 0;
        justify-content: space-between;
    }
    
    /* ロゴを最小化 */
    .logo-area img {
        width: 60px;
        min-width: 60px;
    }
    
    /* 電話番号部分の最適化 */
    .header-info.mobile-only {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .mobile-tagline.mobile-only {
        font-size:9px;
    }
    
    .header-info.mobile-only .contact-number {
        font-size: 11px;
        white-space: nowrap;
    }
    
    /* ハンバーガーメニューを確実に表示 */
    .hamburger-menu {
        flex: 0 0 auto;
        display: block !important;
        padding: 5px;
        margin-left: 5px;
        min-width: 30px;
        position: relative;
        z-index: 1002;
    }
    
    .hamburger-menu span {
        width: 18px;
        height: 2px;
        margin: 3px 0;
    }
    
    /* キャッチコピーも調整 */
    .mobile-tagline {
        font-size: 9px;
        padding: 5px 8px;
    }

    .header-wrapper {
        min-width: 320px;  /* 最小幅を確保 */
        overflow-x: hidden;  /* 横スクロールを防ぐ */
    }
    
    .header-content {
        width: 100%;
        box-sizing: border-box;
    }

/* ===========================
    アピールバナー
   =========================== */

    .appeal-banner {
        padding: 10px 5px;
    }
    .appeal-title {
        font-size: 14px;
    }
    
    .appeal-content {
        gap: 10px;
    }



}


/* ===========================
    3. 会社概要ページ
   =========================== */

/* ページヘッダー */
.page-header {
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.page-title {
    font-size: 32px;
    color: #333;
    font-weight: bold;
}

/* 会社情報テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: #fff;
}

.company-table th,
.company-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.company-table th {
    background-color: #f5f5f5;
    width: 30%;
    font-weight: bold;
}

.company-table td {
    width: 70%;
}

/* セクションタイトル */
.company-page .section-title {
    font-size: 24px;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

/* 所在地セクション */
.location-group {
    margin-bottom: 40px;
}

.location-group h3 {
    font-size: 20px;
    color: #ff6600;
    margin-bottom: 15px;
}

.location-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.location-table th,
.location-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.location-table th {
    background-color: #f5f5f5;
    width: 20%;
}

/* リストスタイル */
.certification-list,
.membership-list,
.insurance-list {
    list-style: none;
    padding: 0;
}

.certification-list li,
.membership-list li,
.insurance-list li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-left: 4px solid #ff6600;
}

/* 沿革テーブル */
.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    border-bottom: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.history-table th {
    width: 25%;
    color: #ff6600;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .company-table th,
    .location-table th {
        width: 35%;
    }
    
    .company-table th,
    .company-table td,
    .location-table th,
    .location-table td {
        padding: 10px;
        font-size: 12px;
    }
    
    .history-table th {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
    
    .company-table,
    .location-table,
    .history-table {
        font-size: 12px;
    }
    
    .company-table th,
    .company-table td,
    .location-table th,
    .location-table td {
        padding: 8px;
    }
}

/* ===========================
    会社概要ページ END
   =========================== */


/* ===========================
    プライバシーポリシーページ
   =========================== */

/* 前文 */
.privacy-intro {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 5px;
    line-height: 1.8;
}

/* 各セクション */
.privacy-section {
    margin-bottom: 40px;
}

/* 見出し */
.privacy-heading {
    font-size: 20px;
    color: #fff;
    background-color: #ff6600;
    padding: 12px 20px;
    margin-bottom: 20px;
}

/* コンテンツエリア */
.privacy-content {
    padding: 0 20px;
    line-height: 1.8;
}

.privacy-content p {
    margin-bottom: 15px;
}

/* リストスタイル */
.privacy-list {
    margin: 20px 0;
    padding-left: 20px;
}

.privacy-list li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 番号付きリスト */
ol.privacy-list {
    list-style-type: decimal;
}

/* 箇条書きリスト */
ul.privacy-list {
    list-style-type: disc;
}

/* お問い合わせテーブル */
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.contact-table th,
.contact-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.contact-table th {
    background-color: #f5f5f5;
    width: 30%;
    font-weight: bold;
}

/* 制定日・改定日 */
.privacy-date {
    text-align: right;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
}

.privacy-date p {
    margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-heading {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .privacy-content {
        padding: 0 15px;
        font-size: 12px;
    }
    
    .contact-table th,
    .contact-table td {
        padding: 10px;
        font-size: 12px;
    }
    
    .contact-table th {
        width: 35%;
    }
}

@media (max-width: 480px) {
    .privacy-heading {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .privacy-content {
        padding: 0 10px;
        font-size: 13px;
    }
    
    .privacy-list {
        padding-left: 15px;
    }
    
    .contact-table {
        font-size: 12px;
    }
    
    .contact-table th,
    .contact-table td {
        padding: 8px;
    }
    
    .privacy-date {
        font-size: 12px;
        text-align: center;
    }
}

/* ===========================
    プライバシーポリシーページ END
   =========================== */