@charset "UTF-8";

/* =======================================================
   1. Variables & Base Settings
   ======================================================= */
:root {
    --primary-color: #0f2350;  /* 濃紺 */
    --accent-color: #00b4d8;   /* 水色 */
    --pop-yellow: #ffd60a;     /* 黄色 */
    --text-color: #333333;
    --gray-bg: #f5f7fa;
    --white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
}

/* 【重要】ヘッダーや幅のズレを防ぐための設定 */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    margin: 0; padding: 0;
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden; /* 横揺れ防止 */
    width: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
h1, h2, h3 { margin: 0; }
input, button, textarea { font-family: inherit; }

/* スマホ用改行クラス（PCでは非表示） */
.sp-br { display: none; }
/* PCのみ表示 */
.pc-only { display: block; }

/* =======================================================
   2. Layout & Utility Classes
   ======================================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-blue { color: var(--accent-color); }
.text-navy { color: var(--primary-color); }

.section-padding { padding: 100px 0; position: relative; z-index: 1; }
.section-gray { background-color: var(--gray-bg); position: relative; padding: 100px 0; }

.section-header { margin-bottom: 60px; position: relative; }
.section-en {
    display: block; font-size: 0.9rem; color: var(--accent-color);
    letter-spacing: 0.2em; margin-bottom: 10px; font-weight: bold;
}
.section-jp { font-size: 2.2rem; color: var(--primary-color); font-weight: 700; }
.section-desc { margin-top: 20px; color: #666; }
.line-center { width: 60px; height: 3px; background: var(--pop-yellow); margin: 20px auto 0; }

/* =======================================================
   3. Header & Mobile Menu
   ======================================================= */
#header {
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 90px; transition: 0.3s;
}

.header-inner {
    width: 100%; max-width: 1280px; margin: 0 auto; 
    padding: 0 20px; /* 左右の余白 */
    height: 100%; display: flex; justify-content: space-between;
    align-items: center; position: relative;
}

.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; height: 100%; }
.logo-img { width: 60px; height: auto; }
.logo-text-pc {
    font-size: 1.2rem; font-weight: 900; color: var(--primary-color);
    letter-spacing: 0.05em; white-space: nowrap;
}

.header-right {
    display: flex; flex-direction: column; align-items: flex-end;
    justify-content: center; height: 100%;
}
.header-info { display: flex; align-items: center; gap: 20px; margin-bottom: 5px; }
.header-tel-box { display: flex; align-items: baseline; gap: 10px; }
.tel-sub { font-size: 0.7rem; color: #666; }
.tel-main {
    font-size: 1.3rem; font-weight: 900; color: var(--primary-color);
    line-height: 1; font-family: "Noto Sans JP", sans-serif;
}
.header-hours { font-size: 0.75rem; color: #888; background: #f0f0f0; padding: 2px 10px; border-radius: 4px; }

.nav-pc ul { display: flex; gap: 25px; align-items: center; margin: 0; padding: 0; height: 40px; }
.nav-pc li { list-style: none; }
.nav-pc a:not(.btn-contact-header) {
    font-size: 0.9rem; font-weight: 700; color: var(--primary-color);
    position: relative; padding-bottom: 5px; transition: 0.3s;
    text-decoration: none; display: inline-block;
}
.nav-pc a:not(.btn-contact-header)::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent-color); transition: 0.3s;
}
.nav-pc a:not(.btn-contact-header):hover { color: var(--accent-color); }
.nav-pc a:not(.btn-contact-header):hover::after { width: 100%; }

.btn-contact-header {
    display: flex; align-items: center; justify-content: center;
    width: auto; height: 40px; padding: 0 25px; margin-left: 10px;
    background: var(--primary-color); color: white !important;
    font-size: 0.85rem; font-weight: bold; border-radius: 50px;
    line-height: 1; text-decoration: none; transition: 0.3s; margin-top: 0; margin-bottom: 0;
}
.btn-contact-header:hover {
    background: var(--accent-color); box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3); transform: translateY(-2px);
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none; background: none; border: none; width: 30px; height: 24px;
    position: relative; cursor: pointer; z-index: 1001; padding: 0;
    margin-left: auto; /* 右寄せ強制 */
}
.menu-toggle span {
    position: absolute; width: 100%; height: 2px; background: var(--primary-color);
    transition: 0.3s; left: 0; border-radius: 2px;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; }

/* スマホ用メニュー */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: white; z-index: 999; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto; padding-top: 80px;
}
.mobile-menu.active { right: 0; }
.mobile-menu-inner { padding: 20px 20px 60px; text-align: center; max-width: 500px; margin: 0 auto; }
.mobile-logo { margin-bottom: 30px; }
.mobile-logo p { font-weight: bold; color: var(--primary-color); margin-top: 5px; }
.mobile-menu ul { padding: 0; margin: 0; }
.mobile-menu li { list-style: none; border-bottom: 1px solid #f0f0f0; }
.mobile-menu a { display: block; padding: 15px 0; font-size: 1.1rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.mobile-contact-area { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }
.btn-mobile-tel {
    background: #e0f7fa; color: var(--primary-color) !important; padding: 15px;
    border-radius: 50px; font-size: 1.2rem; font-weight: bold; text-decoration: none;
}
.btn-mobile-tel i { color: var(--accent-color); margin-right: 8px; }
.btn-mobile-mail {
    background: var(--primary-color); color: white !important; padding: 15px;
    border-radius: 50px; font-weight: bold; text-decoration: none;
}
.btn-mobile-insta {
    color: #E1306C !important; font-size: 1rem; margin-top: 10px; font-weight: bold;
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-decoration: none;
}

/* =======================================================
   4. Hero Area (Video Background)
   ======================================================= */
.hero-video-section {
    position: fixed; top: 0; left: 0; width: 100%;
    /* スマホのアドレスバー対策 (100svh) */
    height: 100vh;
    height: 100svh; 
    z-index: 0; min-height: 600px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding-top: 80px;
}
.video-wrap {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-color: #fff;
}
.bg-video {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0; z-index: 2; transition: opacity 1.5s ease;
}
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.103); z-index: 3;
}
.hero-content-video {
    position: relative; z-index: 10; text-align: center;
    width: 100%; max-width: 900px; padding: 0 20px;
}
.hero-sub {
    font-size: 1.1rem; font-weight: 700; color: var(--primary-color);
    letter-spacing: 0.1em; margin-bottom: 25px; display: inline-block;
    padding: 6px 20px; background: rgba(255, 255, 255, 0.85);
    border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.hero-title {
    font-size: 3.8rem; font-weight: 900; line-height: 1.3;
    color: var(--text-color); margin-bottom: 30px; letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
.hero-text {
    font-size: 1.15rem; font-weight: 700; color: var(--primary-color);
    line-height: 2; margin-bottom: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.6);
}

.scrolldown {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--primary-color); font-size: 0.8rem; letter-spacing: 0.2em;
    animation: bounce 2s infinite; z-index: 20; font-weight: bold;
}
.scrolldown::after {
    content: ''; display: block; width: 1px; height: 40px;
    background: var(--primary-color); margin: 10px auto 0;
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); } 
    50% { transform: translate(-50%, 10px); }
}

.scroll-content {
    position: relative; z-index: 10; background-color: #fff;
    /* Heroエリアの高さに合わせる */
    margin-top: 100vh;
    margin-top: 100svh;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    width: 100%; overflow: hidden;
}

/* =======================================================
   5. Section: About
   ======================================================= */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.about-card { text-align: center; padding: 20px; }
.card-icon {
    width: 100px; height: 100px; background: var(--gray-bg); color: var(--primary-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; font-size: 2.5rem; transition: 0.5s;
}
.about-card:hover .card-icon { background: var(--accent-color); color: white; transform: rotateY(360deg); }
.about-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--primary-color); }
.about-card p { font-size: 0.95rem; color: #666; line-height: 1.8; text-align: left; }

/* =======================================================
   6. Section: Service
   ======================================================= */
#service { background-color: var(--gray-bg); position: relative; z-index: 2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.service-card {
    background: white; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: 0.3s;
    height: 100%; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.service-img-box { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background-color: var(--gray-bg); }
.service-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .service-img-box img { transform: scale(1.05); }
.card-body-white { padding: 25px; background: white; flex: 1; }
.jp-title {
    font-size: 1.1rem; font-weight: 700; color: var(--primary-color);
    margin-bottom: 15px; padding-left: 12px; border-left: 4px solid var(--accent-color); line-height: 1.4;
}
.card-desc { font-size: 0.9rem; color: #666; line-height: 1.8; margin: 0; }

.service-insta-gallery {
    width: 100%; margin-top: 120px; padding-bottom: 20px;
    overflow: hidden; background-color: transparent; position: relative; z-index: 5;
}
.gallery-text-area { text-align: center; max-width: 800px; margin: 0 auto 30px; padding: 0 20px; }
.gallery-lead {
    font-size: 1.05rem; color: var(--primary-color);
    margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.insta-icon {
    font-size: 1.4rem;
    background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gallery-sub { font-size: 0.9rem; color: #666; line-height: 1.8; }
.text-underline { border-bottom: 1px solid #ccc; padding-bottom: 1px; font-weight: 500; }
.gallery-window { position: relative; width: 100%; }
.gallery-window::before, .gallery-window::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.gallery-window::before { left: 0; background: linear-gradient(to right, #f5f7fa, transparent); }
.gallery-window::after { right: 0; background: linear-gradient(to left, #f5f7fa, transparent); }
.gallery-track {
    display: flex; width: max-content; animation: galleryLoop 60s linear infinite; padding: 10px 0;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes galleryLoop { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.gallery-item {
    width: 240px; aspect-ratio: 1 / 1; margin: 0 15px; flex-shrink: 0;
    border-radius: 12px; overflow: hidden; background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; z-index: 1;
}
.insta-link-box { display: block; position: relative; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 35, 80, 0.7); display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease; z-index: 5; color: #fff;
}
.insta-overlay i { font-size: 4rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.insta-link-box:hover .insta-overlay { opacity: 1; }
.insta-link-box:hover img { transform: scale(1.1); }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

/* =======================================================
   7. Section: Flow
   ======================================================= */
.flow-section { position: relative; padding: 100px 0; background-color: #fff; overflow: hidden; }
.flow-bg-shape { position: absolute; border-radius: 50%; z-index: 0; opacity: 0.6; }
.shape-1 {
    width: 400px; height: 400px; background: #e0f7fa; top: -100px; left: -100px;
    animation: floatShape 10s infinite ease-in-out;
}
.shape-2 {
    width: 300px; height: 300px; background: #fff9c4; bottom: 50px; right: -50px;
    animation: floatShape 8s infinite ease-in-out reverse;
}
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 30px) rotate(10deg); }
}

.flow-timeline { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.flow-item { display: flex; gap: 30px; margin-bottom: 20px; position: relative; }
.flow-icon-area { display: flex; flex-direction: column; align-items: center; min-width: 80px; position: relative; }
.flow-icon-area::after {
    content: ''; position: absolute; top: 80px; bottom: -40px;
    width: 2px; border-left: 3px dotted #cbd5e1; z-index: -1;
}
.flow-item:last-child .flow-icon-area::after { display: none; }
.flow-circle {
    width: 80px; height: 80px; background: #e0faf9;
    border: 4px solid #fff; border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); color: var(--primary-color); line-height: 1.1;
}
.flow-circle .step-en { font-size: 0.7rem; font-weight: bold; letter-spacing: 0.05em; }
.flow-circle .step-num { font-size: 1.8rem; font-weight: 900; }
.flow-circle.icon-check { background: var(--accent-color); color: white; font-size: 2rem; }
.flow-card {
    flex: 1; background: #fcfcfc; border: 1px solid #eee; padding: 25px 30px;
    border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative;
}
.flow-card::before {
    content: ''; position: absolute; top: 30px; left: -10px;
    border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right: 10px solid #eee;
}
.flow-card::after {
    content: ''; position: absolute; top: 30px; left: -8px;
    border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right: 10px solid #fcfcfc;
}
.flow-card h3 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; font-weight: 700; }
.flow-card p { font-size: 0.95rem; color: #555; margin: 0; }

.flow-message {
    display: flex; justify-content: center; align-items: center;
    gap: 30px; margin-top: 60px; padding: 0 20px;
}
.chara-icon {
    flex-shrink: 0; width: 140px; line-height: 0;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
}
.chara-icon img { width: 100%; height: auto; }
.msg-balloon {
    background: #ffffff; color: #0f2350; padding: 25px 35px;
    border-radius: 15px; position: relative; max-width: 500px;
    border: 3px solid #00b4d8; box-shadow: 0 5px 15px rgba(0, 180, 216, 0.15);
    animation: floatingBubble 3s ease-in-out infinite;
}
@keyframes floatingBubble {
    0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); }
}
.msg-balloon::after {
    content: ''; position: absolute; top: 50%; right: -15px; transform: translateY(-50%);
    border-style: solid; border-width: 12px 0 12px 15px;
    border-color: transparent transparent transparent #00b4d8; z-index: 1;
}
.msg-balloon::before {
    content: ''; position: absolute; top: 50%; right: -10px; transform: translateY(-50%);
    border-style: solid; border-width: 10px 0 10px 13px;
    border-color: transparent transparent transparent #ffffff; z-index: 2;
}
.msg-balloon p { margin: 0; font-size: 1rem; line-height: 1.7; text-align: left; }
.msg-balloon strong {
    color: #00b4d8; font-size: 1.25rem; display: inline-block;
    margin-bottom: 5px; border-bottom: 2px dashed #b3e5fc;
}

/* =======================================================
   8. Section: Area
   ======================================================= */
.area-section { padding: 80px 0; background-color: #fcfcfc; }
.area-content { display: flex; align-items: center; justify-content: center; gap: 60px; margin-top: 40px; }
.area-text { flex: 1; max-width: 500px; }
.area-lead { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; line-height: 1.6; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0; }
.area-list li {
    background: white; border: 1px solid var(--accent-color); color: var(--primary-color);
    padding: 8px 20px; border-radius: 50px; font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.area-list li::before {
    content: '\f3c5'; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; color: var(--accent-color);
}
.area-note { font-size: 0.9rem; color: #666; margin-top: 10px; }
.area-image { flex: 1; max-width: 500px; text-align: center; }
.area-image img { width: 100%; height: auto; border-radius: 0; box-shadow: none; mix-blend-mode: multiply; }

.map-container { position: relative; display: inline-block; max-width: 100%; }
.map-pin {
    position: absolute; top: 55%; left: 40%; transform: translate(-50%, -50%);
    width: 0; height: 0; z-index: 10;
}
.pin-point {
    width: 12px; height: 12px; background-color: var(--primary-color);
    border: 2px solid #fff; border-radius: 50%;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 2; box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.pulse {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    width: 120px; height: 120px; background-color: var(--accent-color);
    border-radius: 50%; opacity: 0.6; animation: pulse-animation 2.5s infinite; z-index: 1;
}
.pulse::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; border-radius: 50%; border: 1px solid var(--accent-color);
    animation: pulse-animation 2.5s infinite 0.5s;
}
@keyframes pulse-animation {
    0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0.8; }
    70% {
        /* 途中で少しずつ透明にする */
        opacity: 0.3;
    }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.map-tooltip {
    position: absolute; top: -45px; left: 50%; transform: translateX(-50%);
    background: var(--primary-color); color: #fff;
    font-size: 0.8rem; padding: 5px 10px; border-radius: 4px;
    white-space: nowrap; font-weight: bold; animation: float-tooltip 2s ease-in-out infinite;
}
.map-tooltip::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    border-top: 6px solid var(--primary-color);
    border-left: 5px solid transparent; border-right: 5px solid transparent;
}
@keyframes float-tooltip {
    0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -5px); }
}

/* =======================================================
   9. Section: FAQ
   ======================================================= */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff; margin-bottom: 15px; border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden;
}
.faq-question {
    width: 100%; padding: 20px 25px; background: #fff; border: none;
    text-align: left; display: flex; align-items: center; cursor: pointer;
    transition: 0.3s; position: relative;
}
.faq-question:hover { background: #fdfdfd; }
.q-icon {
    font-family: 'Noto Sans JP', sans-serif; color: var(--accent-color);
    font-weight: 900; font-size: 1.4rem; margin-right: 15px; line-height: 1;
}
.q-text { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); flex: 1; padding-right: 30px; }
.toggle-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.toggle-icon::before, .toggle-icon::after {
    content: ''; position: absolute; background-color: var(--primary-color);
    top: 50%; left: 50%; transform: translate(-50%, -50%); transition: 0.3s;
}
.toggle-icon::before { width: 100%; height: 2px; }
.toggle-icon::after { width: 2px; height: 100%; }
.faq-item.is-open .toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.is-open .faq-question { background: #f0f8ff; }
.faq-answer { height: 0; overflow: hidden; transition: 0.3s ease-out; background: #fff; }
.a-content { padding: 20px 25px; background: #fff; display: flex; align-items: flex-start; }
.a-icon {
    font-family: 'Noto Sans JP', sans-serif; color: #ff4d4f;
    font-weight: 900; font-size: 1.4rem; margin-right: 15px; line-height: 1.5;
}
.a-text { flex: 1; font-size: 0.95rem; color: #555; line-height: 1.8; }

/* =======================================================
   10. Company, Contact, Footer
   ======================================================= */
.company-wrapper-single {
    max-width: 800px; margin: 0 auto; background: #fff;
    padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.company-info dl { display: flex; flex-wrap: wrap; }
.company-info dt { width: 30%; font-weight: bold; padding: 10px 0; border-bottom: 1px solid #eee; }
.company-info dd { width: 70%; padding: 10px 0; border-bottom: 1px solid #eee; margin: 0; }
.sns-link { color: #E1306C; font-weight: bold; display: inline-flex; align-items: center; gap: 5px; }
.company-info dd a:hover { color: var(--accent-color); text-decoration: underline; }

.cta-section {
    /* 【重要】日本語ファイル名に戻しました */
    background: linear-gradient(rgba(15, 35, 80, 0.85), rgba(15, 35, 80, 0.85)), url('../images/bg-truck.webp');
    background-size: cover; background-position: center; background-repeat: no-repeat;
    color: white; padding: 100px 20px; text-align: center; position: relative;
}
.cta-title { font-size: 2.2rem; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.1em; }
.cta-msg { font-size: 1.1rem; margin-bottom: 40px; opacity: 0.9; }
.contact-form-wrapper {
    max-width: 700px; margin: 40px auto 0; background: #fff; padding: 50px; border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); text-align: left; color: var(--text-color);
}
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--primary-color); font-size: 0.95rem; }
.required {
    background: #ff4d4f; color: white; font-size: 0.7rem; padding: 2px 6px;
    border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 6px;
    font-size: 1rem; background: #f9f9f9; box-sizing: border-box; font-family: inherit; transition: 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent-color); background: #fff; box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}
.select-wrap { position: relative; }
.select-wrap::after {
    content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #999; pointer-events: none;
}
.contact-form select { appearance: none; cursor: pointer; }
.form-btn-area { text-align: center; margin-top: 30px; }
.btn-submit {
    background: var(--primary-color); color: white; font-size: 1.1rem; font-weight: bold; padding: 15px 60px;
    border: none; border-radius: 50px; cursor: pointer; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-submit:hover { background: var(--accent-color); transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }

footer { background: #0a1a3c; color: white; padding: 30px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
.copyright { opacity: 0.6; font-size: 0.8rem; }

/* =======================================================
   11. Animations
   ======================================================= */
.js-fade-up, .text-anim { opacity: 0; transform: translateY(30px); transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.js-fade-up.is-active, .text-anim.is-active { opacity: 1; transform: translateY(0); }
.delay { transition-delay: 0.2s; }
.delay-more { transition-delay: 0.4s; }

/* =======================================================
   12. Responsive (Mobile) Settings
   ======================================================= */
@media (max-width: 960px) {
    .header-right { display: none; }
    #header { height: 70px; }
    
    .menu-toggle { display: block; }
    .nav-pc { display: none; }

    /* ロゴがハンバーガーメニューに被らないよう調整 */
    .logo a { max-width: 80%; }
    .logo-text-pc { font-size: 1rem; white-space: nowrap; }

    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .area-content { flex-direction: column-reverse; gap: 30px; text-align: center; }
    .area-list { justify-content: center; }
    
    /* Flow section: Mobile Layout */
    .flow-message {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }
    .msg-balloon {
        width: 100%; padding: 20px; text-align: center; margin-bottom: 0;
    }
    .msg-balloon::after {
        top: 100%; left: 50%; right: auto; transform: translateX(-50%);
        border-width: 15px 12px 0 12px;
        border-color: #00b4d8 transparent transparent transparent;
        margin-left: 0;
    }
    .msg-balloon::before {
        top: 100%; left: 50%; right: auto; transform: translateX(-50%);
        border-width: 13px 10px 0 10px;
        border-color: #ffffff transparent transparent transparent;
        margin-top: -3px; 
    }
    .msg-balloon p { text-align: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    
    .hero-text {
        font-size: 0.95rem; text-align: center; padding: 0 10px;
        line-height: 1.8; display: block;
    }
    .sp-br { display: block; } 

    .hero-content-video { text-align: center; }
    
    .pc-only { display: none; }
    .service-insta-gallery { margin-top: 50px; }
    .gallery-lead { font-size: 0.95rem; flex-direction: column; gap: 5px; }
    .gallery-window::before, .gallery-window::after { width: 50px; }
    .gallery-item { width: 160px; margin: 0 8px; }
    .insta-overlay i { font-size: 3rem; }

    .section-desc br, .area-lead br, .cta-msg br { display: none; }
    .section-desc, .cta-msg, .area-lead { padding-left: 15px; padding-right: 15px; word-wrap: break-word; }
}

@media (max-width: 600px) {
    .service-grid { grid-template-columns: 1fr; gap: 20px; }
    .cta-title { font-size: 1.8rem; }
    .company-wrapper-single { padding: 20px; }
    .company-info dl { display: block; }
    .company-info dt { width: 100%; border-bottom: none; color: var(--accent-color); }
    .company-info dd { width: 100%; padding-top: 5px; margin-bottom: 15px; }
    .faq-question { padding: 15px; }
    .contact-form-wrapper { padding: 30px 20px; }
    .btn-submit { width: 100%; justify-content: center; }
}

/* =======================================================
   13. Opening Animation
   ======================================================= */
#opening-water {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
    background-color: #ffffff; pointer-events: auto; overflow: hidden;
}
#opening-water.loaded {
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 1.2s ease, visibility 1.2s;
}
.water-container-inner {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 0%;
    animation: riseWater 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}
.wave-layer {
    position: absolute; top: -50px; left: 0; width: 200%; height: 60px;
    background-repeat: repeat-x; background-position: 0 bottom; transform-origin: center bottom;
}
.wave-back {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230096c7' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 50% 100%; animation: waveMove 12s linear infinite; z-index: 1;
}
.wave-mid {
    top: -45px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%2348cae4' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 50% 100%; animation: waveMove 8s linear infinite reverse; z-index: 2;
}
.wave-front {
    top: -40px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23caf0f8' opacity='0.8'/%3E%3C/svg%3E");
    background-size: 50% 100%; animation: waveMove 5s linear infinite; z-index: 3;
}
.water-body {
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, #caf0f8 0%, #90e0ef 50%, #00b4d8 100%);
    position: relative; z-index: 2;
}
.bubble {
    position: absolute; bottom: -20px;
    background: rgba(255, 255, 255, 0.6); border-radius: 50%;
    animation: bubbleRise 4s infinite ease-in;
}
.b1 { left: 10%; width: 10px; height: 10px; animation-duration: 3s; animation-delay: 0.5s; }
.b2 { left: 30%; width: 15px; height: 15px; animation-duration: 4s; animation-delay: 0.2s; }
.b3 { left: 50%; width: 8px;  height: 8px;  animation-duration: 3.5s; animation-delay: 1s; }
.b4 { left: 70%; width: 12px; height: 12px; animation-duration: 2.8s; animation-delay: 0.8s; }
.b5 { left: 85%; width: 6px;  height: 6px;  animation-duration: 4.2s; animation-delay: 1.5s; }
.b6 { left: 20%; width: 20px; height: 20px; animation-duration: 3.2s; animation-delay: 1.2s; }

.opening-logo {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 10000; overflow: hidden;
}
.logo-text {
    font-size: 2rem; font-weight: 900; color: #0f2350;
    letter-spacing: 0.2em; opacity: 0;
    animation: fadeInText 1s ease forwards 1.2s; text-shadow: none;
}
@keyframes riseWater { 0% { height: 0%; } 100% { height: 120%; } }
@keyframes waveMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes bubbleRise { 0% { bottom: -20px; opacity: 0; transform: translateX(0); } 50% { opacity: 1; } 100% { bottom: 100%; opacity: 0; transform: translateX(20px); } }
@keyframes fadeInText { to { opacity: 1; } }

/* =======================================================
   14. スマホ改行禁止 & 自動サイズ調整用クラス
   【注意】HTMLの該当箇所に class="nowrap-on-mobile" を
   追加しないと機能しません。
   ======================================================= */
/* 基本設定：改行を禁止 */
.nowrap-on-mobile {
    white-space: nowrap;
}

/* =======================================================
   スマホ表示のレイアウト崩れ・文字サイズ修正
   ======================================================= */

@media (max-width: 768px) {
    
    /* --- 1. ヘッダーのズレ修正 --- */
    
    /* ロゴ画像のサイズを少し小さく */
    .logo-img {
        width: 40px; /* 元は60pxくらい */
    }

    /* 社名テキストを画面幅に合わせて縮小 */
    .logo-text-pc {
        font-size: 3.5vw; /* 画面幅の3.5%にする（これでメニューと被りません） */
        white-space: nowrap; /* 絶対に改行させない */
    }

    /* ロゴ全体が幅を取りすぎないように制限 */
    .logo a {
        max-width: 75%; /* 画面の75%以上は使わない */
        gap: 8px; /* 画像と文字の間隔を狭める */
    }

    /* ハンバーガーメニューを右端にしっかり配置 */
    .menu-toggle {
        margin-left: auto; /* 右寄せ */
        right: 0;
    }


    /* --- 2. メインテキストの改行修正（vw指定） --- */

    /* 「当たり前」の毎日を～ の部分 */
    .hero-title {
        /* 画面幅に合わせて文字サイズを自動調整 */
        font-size: 7.7vw !important; 
        line-height: 1.4;
        width: 100%;
        margin-bottom: 20px;
    }

    /* 蛇口ひとつの修理から～ の部分 */
    .hero-text {
        /* 22文字を一行に入れるため、かなり小さく設定 */
        font-size: 3.6vw !important;
        line-height: 1.8;
        
        /* 画面幅からはみ出さないようにする */
        width: 100%;
        box-sizing: border-box;
        padding: 0 5px; /* 左右にわずかな余白 */
        
        /* 改行タグ(<br>)以外での勝手な折り返しを防ぐ */
        white-space: nowrap; 
    }
    /* 2. 説明文（P） */
    /* 文字数が特に多いので、3.6vw程度にして画面に収める */
    .hero-text .nowrap-on-mobile {
        display: block; 
        width: 100%;
        font-size: 3.6vw; 
        line-height: 1.8;
        letter-spacing: 0.05em;
    }
    
    /* 3. Flowセクションの見出し（H3） */
    .flow-card h3 {
        white-space: nowrap;
        font-size: 1.1rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .msg-balloon strong{
        
            font-size: 4.5vw;
    }
    
    /* 400px以下の極小スマホ用調整 */
    @media (max-width: 400px) {
        .flow-card h3 {
            font-size: 4vw;
        }
    }
    
    /* ※注意：hero-text内の <br class="sp-br"> が効くように
       white-space: nowrap を指定していますが、
       もし一行が長すぎて画面からはみ出す場合は
       font-size: 3.4vw; くらいまで下げてください。 */
}