/* ========================================
   リセット＆基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #036bfc;
    --primary-dark: #0f3566;
    --primary-light: #2563a8;
    --accent-color: #ff6b35;
    --gold-accent: #d4a574;
    /* 金色のアクセント */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --news-bar-bg: #1a4d8f;

    /* フォント */
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;

    /* スペーシング */
    --container-width: 1200px;
    --section-padding: 50px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ja);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* ========================================
   パンくずリスト
   ======================================== */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 15px 0;
    margin-top: 80px;
}

.breadcrumb-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-gray);
    opacity: 0.5;
}

/* ========================================
   ヒーローセクション（スライダー）
   ======================================== */
.hero {
    position: relative;
    height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    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;
    background: linear-gradient(135deg, #036bfc 0%, #0589ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background: linear-gradient(135deg, #036bfc 0%, #0589ff 100%);
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #0256d6 0%, #036bfc 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #0589ff 0%, #33a3ff 100%);
}

/* 画像スライド用のスタイル */
.slide-with-image {
    background: none !important;
}

.slide-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    text-align: left;
    color: white;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* スライダーコントロール */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.slider-dot.active {
    background-color: white;
    transform: scale(1.3);
}

/* ヒーロー内電話番号ボタン */
.hero-phone {
    position: absolute;
    top: 30px;
    right: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 10;
}

.hero-phone-label {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.hero-phone-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-en);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.hero-phone-number:hover {
    color: var(--accent-color);
}

.hero-phone-hours {
    font-size: 11px;
    color: var(--text-gray);
}

/* ========================================
   サービス詳細ページ用ヒーローセクション（パターン6: 青写真風）
   ======================================== */
.service-hero {
    background: #036bfc;
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    border-image-slice: 1;
}

/* グリッドパターン */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

/* 枠線装飾 */
.service-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    z-index: 0;
}

.service-hero-main-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.service-hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ========================================
   ニュースバー（スライダー直下）
   ======================================== */
.news-bar {
    background-color: var(--news-bar-bg);
    color: white;
    padding: 15px 0;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    border-image-slice: 1;
}

.news-bar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.news-bar-label {
    font-size: 14px;
    font-weight: 700;
    background-color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
}

.news-bar-content {
    flex: 1;
    display: flex;
    gap: 15px;
    align-items: center;
}

.news-bar-date {
    font-size: 13px;
    font-family: var(--font-en);
    opacity: 0.9;
}

.news-bar-text {
    font-size: 14px;
}

.news-bar-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.news-bar-link:hover {
    opacity: 0.8;
}

/* ========================================
   クイックボタンセクション
   ======================================== */
.quick-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 0 40px;
}

.quick-button-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.quick-button-item::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.quick-button-item:nth-child(1)::before {
    background-image: url('img/service_icon.png');
}

.quick-button-item:nth-child(2)::before {
    background-image: url('img/works_icon.png');
}

.quick-button-item:nth-child(3)::before {
    background-image: url('img/company_icon.png');
}

.quick-button-item:nth-child(4)::before {
    background-image: url('img/contact_icon.png');
}

.quick-button-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.quick-button-item:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.quick-button-overlay {
    text-align: center;
    color: var(--text-dark);
    z-index: 2;
    padding: 20px 30px;
    width: 100%;
}

.quick-button-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.quick-button-item:hover .quick-button-overlay h3 {
    color: var(--primary-blue);
}

.quick-button-overlay p {
    font-size: 14px;
    font-family: var(--font-en);
    opacity: 0.6;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}

.quick-button-item:hover .quick-button-overlay p {
    opacity: 0.8;
}

/* ========================================
   コンセプトセクション
   ======================================== */
.concept {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* 背景の大きな「CONCEPT」文字 */
.concept-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    font-family: var(--font-en);
    color: rgba(37, 99, 168, 0.03);
    letter-spacing: 0.05em;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.concept-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.concept-text {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

/* 金色の平行四辺形ライン */
.title-with-gold-line {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 5px;
}

/* タイトルテキスト - 線の上に乗せる */
.title-with-gold-line .title-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    transform: translateY(-10px);
}

/* 金色の平行四辺形ライン（文字の下） - 左揃え用 */
.title-with-gold-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewX(-15deg);
    width: 0;
    height: 15px;
    background: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    z-index: 1;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* アニメーション発動時：ラインが左から右に伸びる */
.title-with-gold-line.animate-in::after {
    width: calc(100% + 80px);
}

/* ========================================
   中央揃え用：逆さ台形ライン（中央から両側に広がる）
   ======================================== */
.title-with-trapezoid-line {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

/* タイトルテキスト - 線の上に乗せる */
.title-with-trapezoid-line .title-text {
    display: inline-block;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    padding: 8px 20px;
    transform: translateY(-10px);
}

/* 金色の逆さ台形ライン（文字の下） - 中央揃え用 */
.title-with-trapezoid-line .title-text::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) perspective(100px) rotateX(15deg);
    width: 0;
    height: 15px;
    background: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    z-index: -1;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* アニメーション発動時：ラインが中央から両側に広がる */
.title-with-trapezoid-line.animate-in .title-text::after {
    width: calc(100% + 40px);
}

/* ========================================
   サブタイトルなし用：左に縦ライン
   ======================================== */
.title-with-vertical-line {
    position: relative;
    padding-left: 20px;
}

/* 左の縦ライン */
.title-with-vertical-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* アニメーション発動時：縦ラインが伸びる */
.title-with-vertical-line.animate-in::before {
    height: 100%;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    margin-top: -28px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.concept-description {
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.concept-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* 画像ラッパー */
.concept-image-wrapper {
    position: relative;
    z-index: 2;
}

/* 画像の背景フレーム */
.concept-image-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 168, 0.1) 0%, rgba(255, 119, 85, 0.1) 100%);
    border-radius: 15px;
    z-index: 0;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.concept-image-wrapper:hover .concept-image-frame {
    transform: rotate(5deg) scale(1.02);
}

/* プレースホルダー（後方互換性のため残す） */
.concept-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ef 0%, #f0f4f8 100%);
    border-radius: 10px;
}

/* 画像本体 */
.concept-image-content {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    transform: rotate(-2deg);
    transition: all 0.5s ease;
}

.concept-image-wrapper:hover .concept-image-content {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}


/* ========================================
   事業紹介セクション（タイルグリッド）
   ======================================== */
.service {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.service .section-title {
    text-align: center;
    display: flex;
    justify-content: center;
}

.service .section-title-en {
    text-align: center;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.service-tile {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* パターン6: 青写真（ブループリント）風 */
.service-tile-image {
    width: 100%;
    height: 100%;
    background: #1a4d8f;
    overflow: hidden;
    position: relative;
}

/* グリッドパターン */
.service-tile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

/* 枠線装飾 */
.service-tile-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    border: 2px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    z-index: 2;
    transition: all 0.5s ease;
}

.service-tile:hover .service-tile-image::after {
    width: 85%;
    height: 65%;
    border-color: rgba(255, 255, 255, .25);
}

.service-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.3;
    position: relative;
    z-index: 0;
}

.service-tile:hover .service-bg-image {
    transform: scale(1.05);
    opacity: 0.4;
}

.service-tile:nth-child(1) .service-tile-image {
    background: #1a4d8f;
}

.service-tile:nth-child(2) .service-tile-image {
    background: #1a5a9f;
}

.service-tile:nth-child(3) .service-tile-image {
    background: #0f3566;
}

.service-tile:nth-child(4) .service-tile-image {
    background: #2563a8;
}

.service-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    color: white;
    transition: background 0.3s ease;
}

.service-tile:hover .service-tile-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.service-number {
    font-size: 56px;
    font-weight: 700;
    font-family: var(--font-en);
    opacity: 0.4;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.service-tile:hover .service-number {
    opacity: 0.6;
    transform: translateY(-5px);
}

.service-tile-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.service-tile:hover .service-tile-title {
    transform: translateX(5px);
}

.service-tile-description {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.service-tile:hover .service-tile-description {
    opacity: 1;
    transform: translateX(5px);
}

/* ========================================
   お知らせセクション
   ======================================== */
.news {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.news-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.news-all-link:hover {
    opacity: 0.7;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #e8ecf0;
}

.news-date {
    font-family: var(--font-en);
    font-size: 14px;
    color: var(--text-gray);
    white-space: nowrap;
}

.news-category {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.news-title {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a4d8f 0%, #2563a8 100%);
    color: white;
    text-align: center;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    border-image-slice: 1;
}

.contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-phone {
    display: inline-block;
    text-decoration: none;
    color: white;
    margin-bottom: 10px;
}

.contact-phone-icon {
    font-size: 24px;
    margin-right: 10px;
}

.contact-phone-number {
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-en);
    transition: opacity 0.3s ease;
}

.contact-phone:hover .contact-phone-number {
    opacity: 0.8;
}

.contact-hours {
    font-size: 14px;
    opacity: 0.9;
}

.contact-form-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form-button:hover {
    background-color: #ff8555;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: #373737;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 14px;
    line-height: 2;
    opacity: 0.8;
    margin: 0;
}

.footer-office {
    margin-top: 20px;
}

.footer-office:first-of-type {
    margin-top: 0;
}

.footer-office-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #F5D76E;
}

.footer-nav h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 1024px) {
    .hero-phone {
        top: 20px;
        right: 20px;
        padding: 15px 20px;
    }

    .hero-phone-number {
        font-size: 22px;
    }

    .concept-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* ナビゲーション */
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        display: block;
        padding: 16px 10px;
        font-size: 15px;
        color: var(--text-dark);
    }

    .nav-list li a:hover {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* メニューが開いているときのボディスクロール防止 */
    body.menu-open {
        overflow: hidden;
    }

    /* ヒーローセクション */
    .hero {
        height: 225px;
    }

    .slide-content {
        bottom: 20px;
        left: 20px;
        padding: 10px;
        max-width: calc(100% - 40px);
    }

    .hero-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 11px;
    }

    .slider-controls {
        bottom: 10px;
        gap: 10px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        transform: scale(1.2);
    }

    .hero-phone {
        position: static;
        margin: 20px auto;
        padding: 12px 20px;
    }

    .hero-phone-number {
        font-size: 20px;
    }

    /* クイックボタン */
    .quick-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-button-item {
        height: 180px;
    }

    .quick-button-overlay h3 {
        font-size: 20px;
    }

    .quick-button-overlay p {
        font-size: 12px;
    }

    /* ニュースバー */
    .news-bar-container {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .news-bar-label {
        font-size: 12px;
    }

    .news-bar-text {
        font-size: 13px;
    }

    /* コンセプトセクション */
    .concept {
        padding: 50px 0;
    }

    .concept-bg-text {
        font-size: 80px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-title-en {
        font-size: 12px;
    }

    .concept-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .concept-image-content {
        height: 300px;
    }

    /* サービスセクション */
    .service {
        padding: 50px 0;
    }

    .service-tile {
        height: 280px;
    }

    .service-grid,
    .service-grid-3 {
        grid-template-columns: 1fr;
    }

    .service-number {
        font-size: 42px;
    }

    .service-tile-title {
        font-size: 20px;
    }

    .service-tile-description {
        font-size: 13px;
    }

    /* ニュースセクション */
    .news {
        padding: 50px 0;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-category {
        font-size: 11px;
        padding: 3px 10px;
    }

    .news-title {
        font-size: 14px;
    }

    /* お問い合わせセクション */
    .contact-section {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 22px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-phone-number {
        font-size: 28px;
    }

    .contact-hours {
        font-size: 12px;
    }

    .contact-form-button {
        padding: 14px 40px;
        font-size: 14px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo-image {
        height: 60px;
    }

    .footer-address {
        font-size: 13px;
    }

    .footer-nav h4 {
        font-size: 15px;
    }

    .footer-nav ul li a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

/* ========================================
   スクロールアニメーション
   ======================================== */
.service-tile,
.news-item,
.concept-text,
.concept-image-wrapper,
.section-title {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tile {
    transition-delay: var(--animation-delay, 0s);
}

.news-item {
    transition-delay: var(--animation-delay, 0s);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========================================
   強化されたホバーエフェクト
   ======================================== */
.service-tile {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tile:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-button-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-button-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ========================================
   背景テキストのアニメーション
   ======================================== */
.concept-bg-text {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ========================================
   画像のパララックス効果
   ======================================== */
.concept-image-content {
    will-change: transform;
    transition: transform 0.3s ease-out;
}

/* ========================================
   セクションタイトルのアニメーション
   ======================================== */
.section-title.animate-in {
    animation: titleSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ニュースアイテムのホバーエフェクト強化
   ======================================== */
.news-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover::before {
    width: 100%;
}

.news-item:hover {
    padding-left: 15px;
    background-color: rgba(37, 99, 168, 0.03);
}