/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'Yu Gothic', 'MS PGothic', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* ヘッダー（PC追従） */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(10, 42, 127, 0.15);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 3px solid #2a63ce;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

header h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0a2a7f;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
}

header h1 a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.header-logo {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

header h1 a:hover .header-logo {
    opacity: 0.8;
}

.header-tagline {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.header-tagline .mobile-br {
    display: none;
}

/* ヘッダー情報 */
.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.header-info-small {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.header-info-small span {
    font-size: 0.75rem;
    color: #666;
    white-space: nowrap;
}

.header-info-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-phone-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.header-phone-number {
    font-size: 1.3rem;
    color: #0a2a7f;
    font-weight: bold;
    white-space: nowrap;
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #0a2a7f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* メニューオーバーレイ */
.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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* メインコンテナ（2カラムレイアウト） */
.main-container {
    display: flex;
    margin-top: 80px; /* ヘッダーの高さ分のマージン */
    min-height: calc(100vh - 80px);
}

/* 左カラム（固定） */
.left-column {
    position: fixed;
    left: 0;
    top: 80px; /* ヘッダーの下 */
    width: 50%;
    height: calc(100vh - 80px);
    background-color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-column h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0a2a7f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #2a63ce;
    position: relative;
    letter-spacing: 0.05em;
}

.left-column h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0a2a7f;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 5px solid transparent;
}

.nav-menu a.active {
    color: #2a63ce;
    border-left-color: #2a63ce;
}

/* 左カラム情報 */
.left-column-info-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: flex-start;
}

.left-column-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.left-column-hours {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.left-column-hours p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.left-column-hours i {
    color: #2a63ce;
    font-size: 0.9rem;
}

.left-column-phone-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.left-column-phone-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.left-column-phone-label i {
    color: #2a63ce;
    font-size: 0.85rem;
}

.left-column-phone-number {
    font-size: 1.3rem;
    color: #0a2a7f;
    font-weight: bold;
}

.left-column-phone-number a {
    color: #0a2a7f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.left-column-phone-number a:hover {
    color: #2a63ce;
    text-decoration: underline;
}

/* お問い合わせボタン */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ff3131 0%, #cc0000 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 49, 49, 0.3);
    gap: 0.5rem;
    white-space: nowrap;
    height: fit-content;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 49, 49, 0.4);
    background: linear-gradient(135deg, #cc0000 0%, #ff3131 100%);
}

.contact-button:active {
    transform: translateY(0);
}

.contact-button.active {
    background: linear-gradient(135deg, #cc0000 0%, #b30000 100%);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

.contact-button i {
    font-size: 1rem;
}

/* 右カラム（スクロール可能） */
.right-column {
    flex: 1;
    margin-left: 50%; /* 左カラムの幅分 */
    padding: 2rem 3rem;
    background-color: #fafafa;
}

/* セクション共通スタイル */
section {
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.section-bg-text {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(42, 99, 206, 0.1);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

section h2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0a2a7f;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid #2a63ce;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.h2-subtitle {
    font-size: 0.7rem;
    font-weight: normal;
    color: #666;
    margin-left: auto;
    padding-left: 1rem;
}


section h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #0a2a7f;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0.75rem;
    border-left: 4px solid #2a63ce;
    letter-spacing: 0.03em;
}

section p {
    margin-bottom: 1rem;
    color: #555;
}

/* フェードスライダー */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スライダーインジケーター */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #fff;
    border-color: #2a63ce;
    box-shadow: 0 0 8px rgba(42, 99, 206, 0.6);
}

/* ファーストビュー（会社紹介） */
#company-intro {
    margin-top: 0;
    border-radius: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

#company-intro h2 {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

#company-intro .slider-container {
    margin-top: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.company-intro-content {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.company-intro-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0a2a7f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid #2a63ce;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-intro-content h3 i {
    color: #2a63ce;
    font-size: 1.1rem;
}

.company-intro-content h3:first-child {
    margin-top: 0;
}

.company-intro-content p {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* お知らせセクション */
.news-item {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    background-color: #fff;
    border-left: 5px solid #2a63ce;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(42, 99, 206, 0.2);
    transform: translateX(5px);
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-title {
    font-weight: bold;
    color: #0a2a7f;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* カレンダーセクション */
.calendar-container {
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.calendar-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.calendar-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid #2a63ce;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

/* アクセス情報 */
.access-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.access-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a63ce;
}

.access-item h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0a2a7f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #c0c0c0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.access-item h3 i {
    color: #2a63ce;
    font-size: 1.2rem;
}

.access-item p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.access-transport p {
    margin-bottom: 1rem;
}

.access-transport strong {
    color: #0a2a7f;
    font-weight: bold;
}

/* マップコンテナ */
.map-container {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

/* サービス紹介 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    font-size: 1rem;
    gap: 0.75rem;
}

.service-item i {
    font-size: 2rem;
    color: #2a63ce;
    transition: all 0.3s ease;
}

.service-item span {
    display: block;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(42, 99, 206, 0.25);
    border-color: #2a63ce;
    color: #0a2a7f;
}

.service-item:hover i {
    color: #0a2a7f;
    transform: scale(1.1);
}

/* サービス紹介タブ */
.service-tabs {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 4px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 3px;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'Yu Gothic', 'MS PGothic', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-button:hover {
    color: #2a63ce;
    background-color: rgba(42, 99, 206, 0.05);
}

.tab-button.active {
    color: #0a2a7f;
    font-weight: bold;
    border-bottom-color: #2a63ce;
    background-color: rgba(42, 99, 206, 0.08);
}

.tab-button.active:hover {
    color: #0a2a7f;
    background-color: rgba(42, 99, 206, 0.08);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* サービスタブ画像 */
.service-tab-image {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-tab-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 会社概要テーブル */
.company-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

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

.company-info-table th {
    background: linear-gradient(135deg, #2a63ce 0%, #0a2a7f 100%);
    color: #fff;
    width: 200px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.company-info-table td {
    background-color: #fff;
    border-left: 2px solid #f0f0f0;
}

/* 事業内容リスト */
.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333;
    line-height: 1.6;
}

.business-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #2a63ce;
    font-weight: bold;
    font-size: 1.2rem;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #0a2a7f 0%, #1a3a8f 100%);
    color: #fff;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-left: 50%; /* 左カラムの幅分 */
    border-top: 3px solid #2a63ce;
}

.footer-mobile {
    display: none;
}

.footer-pc {
    display: block;
}

footer a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

footer a:hover {
    color: #c0c0c0;
    border-bottom-color: #c0c0c0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-link-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* スマホフッター */
.footer-mobile-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.footer-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #9acd32;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-mobile-phone:hover {
    background-color: #7cb832;
    border-bottom: none;
}

.footer-mobile-phone i {
    font-size: 1rem;
}

.footer-mobile-info {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #fff;
}

.footer-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ff3131 0%, #cc0000 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: none;
    box-shadow: 0 2px 6px rgba(255, 49, 49, 0.3);
}

.footer-mobile-contact:hover {
    background: linear-gradient(135deg, #cc0000 0%, #ff3131 100%);
    box-shadow: 0 4px 12px rgba(255, 49, 49, 0.4);
    color: #fff;
    border-bottom: none;
}

.footer-mobile-contact.active {
    background: linear-gradient(135deg, #cc0000 0%, #b30000 100%);
}

/* モーダル（プライバシーポリシー） */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2a63ce;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: -2rem -2rem 1.5rem -2rem;
    padding: 1.5rem 2rem;
    border-radius: 8px 8px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #0a2a7f;
    font-weight: bold;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.modal-body {
    line-height: 1.8;
}

.modal-body h3 {
    color: #0a2a7f;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid #2a63ce;
}

.modal-body p {
    color: #333;
    margin-bottom: 1rem;
}

.privacy-list {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #333;
}

.privacy-list li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.privacy-contact {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #2a63ce;
}

.privacy-contact p {
    margin-bottom: 0.5rem;
}

.privacy-contact strong {
    color: #0a2a7f;
    font-size: 1.1rem;
}

.close {
    color: #666;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover,
.close:focus {
    color: #0a2a7f;
    background-color: rgba(42, 99, 206, 0.1);
}

/* お問い合わせフォーム */
.contact-info-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid #2a63ce;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
}

.contact-info-item > div {
    text-align: center;
}

.contact-info-item i {
    font-size: 2rem;
    color: #2a63ce;
    margin-top: 0.5rem;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    color: #0a2a7f;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-info-item p {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-link {
    color: #2a63ce;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0a2a7f;
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
    margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'Yu Gothic', 'MS PGothic', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a63ce;
    box-shadow: 0 0 0 3px rgba(42, 99, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: #2a63ce;
}

.checkbox-label span {
    flex: 1;
    line-height: 1.6;
}

.submit-button {
    background: linear-gradient(135deg, #2a63ce 0%, #0a2a7f 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'Yu Gothic', 'MS PGothic', sans-serif;
    box-shadow: 0 4px 12px rgba(42, 99, 206, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 99, 206, 0.4);
    background: linear-gradient(135deg, #0a2a7f 0%, #2a63ce 100%);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 1rem;
}

/* お問い合わせページ内のポリシーリンク */
.contact-policy-links {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #2a63ce;
}

.contact-policy-links p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.policy-link {
    color: #2a63ce;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-link:hover {
    color: #0a2a7f;
    text-decoration: underline;
}

.policy-link i {
    font-size: 1rem;
}

.policy-link-separator {
    color: #ccc;
}

/* スムーズスクロール */
html {
    scroll-behavior: smooth;
}

/* レスポンシブ対応（タブレット以下） */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }

    .header-info {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-logo {
        height: 35px;
    }

    .header-tagline .mobile-br {
        display: inline;
    }

    .main-container {
        flex-direction: column;
        margin-top: 90px; /* スマホ表示時のヘッダーの高さ分のマージン */
    }

    .left-column {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        margin-top: 0;
        padding-top: 80px;
    }

    .left-column.active {
        left: 0;
    }

    .left-column-info-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-button {
        width: 100%;
    }

    .right-column {
        margin-left: 0;
        padding: 0;
        width: 100%;
    }

    footer {
        margin-left: 0;
        padding: 2.5rem 2rem;
    }

    .footer-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        background: linear-gradient(135deg, #0a2a7f 0%, #1a3a8f 100%);
        border-top: 3px solid #2a63ce;
        z-index: 999;
    }

    .footer-pc {
        display: block;
        padding-bottom: 70px; /* 固定フッターの高さ分のパディング */
    }

    .footer-pc p:first-child {
        font-size: 0.75em;
    }

    .right-column {
        padding-bottom: 70px; /* フッターの高さ分のパディング */
    }

    section {
        padding: 1rem;
    }

    .section-bg-text {
        top: 0.75rem;
        right: 1rem;
    }

    .company-intro-content {
        padding: 1rem;
    }

    .company-intro-content h3 {
        font-size: 1rem;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .service-item {
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
        min-height: 80px;
        gap: 0.5rem;
    }

    .service-item i {
        font-size: 1.2rem;
    }

    .slider-container {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .service-tab-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .calendar-container iframe {
        height: 400px;
    }

    .company-info-table th {
        width: 100%;
        display: block;
    }

    .company-info-table td {
        width: 100%;
        display: block;
    }

    .tab-button {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .contact-info-item {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
    }

    .contact-info-item i {
        font-size: 1.5rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* iOS Safariのズームを防ぐ */
    }

    .submit-button {
        width: 100%;
        justify-content: center;
    }
}

