/* ========================================
   グローバルスタイル
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c7a3f;          /* よつば薬局カラー */
    --secondary-color: #6b8e23;        /* アクセント */
    --accent-color: #d4a574;           /* サブアクセント */
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
    --spacing-unit: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'HiraginoSans Pro', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* ========================================
   ページロード時のフェードインアニメーション
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* 遅延クラス */
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.4s; }
.fade-in-5 { animation-delay: 0.5s; }
.fade-in-6 { animation-delay: 0.6s; }
.fade-in-7 { animation-delay: 0.7s; }
.fade-in-8 { animation-delay: 0.8s; }
.fade-in-9 { animation-delay: 0.9s; }
.fade-in-10 { animation-delay: 1s; }

/* ========================================
   コンテナ・グリッド
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */

.header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* ナビゲーション */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: underline;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-label {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    cursor: default;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list li {
    position: relative;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

.submenu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-item.has-submenu:hover .submenu,
.nav-item.has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* メニュートグルボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* ========================================
   ファーストビュー / ヒーロー
   ======================================== */

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    color: white;
}

.hero * {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: none;
}

.hero-inner {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    color: white;
}

.hero-inner--right {
    justify-content: flex-end;
    text-align: right;
    padding-right: 120px;
}

.hero-inner--right .hero-text {
    text-align: right;
}

.hero--nicho .hero-inner {
    grid-template-columns: 1fr;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-text {
    max-width: 760px;
    color: white;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 16px;
    border-radius: 10px;
    display: inline-block;
}

.hero-title span {
    display: block;
    color: #e7f6ea;
}

.hero-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.hero-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.hero-panel {
    display: grid;
    gap: 20px;
}

.hero-panel-card {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
}

.panel-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.panel-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.panel-links a {
    text-decoration: underline;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-links a::before {
    content: "→";
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   クイックリンク（分割セクション）
   ======================================== */

.quick-links {
    padding: 60px 0 10px;
    background-color: var(--bg-color);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.quick-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ページ用ヒーロー */
.page-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ====================================
   Image-free Page Hero
   ==================================== */

.page-hero-no-image {
    background: linear-gradient(135deg, #4a9d5f 0%, #3d8b50 50%, #5a9e6f 100%);
    height: 350px;
    position: relative;
    overflow: hidden;
}

.page-hero-no-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-no-image::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page-hero-shapes .shape {
    position: absolute;
    opacity: 0.35;
}

/* 薬局について - 四葉のクローバーイメージ */
.page-hero-about .shape-clover-1 {
    top: 10%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 60%);
    border-radius: 50% 0 50% 50%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.page-hero-about .shape-clover-2 {
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 1s;
}

.page-hero-about .shape-circle-1 {
    top: 60%;
    right: 8%;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.page-hero-about .shape-circle-2 {
    top: 25%;
    left: 20%;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite 2s;
}

.page-hero-about .shape-hexagon-1 {
    bottom: 15%;
    right: 25%;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: rotate-slow 20s linear infinite;
}

/* お知らせ - 動的な図形 */
.page-hero-news .shape-triangle-1 {
    top: 15%;
    right: 12%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 255, 255, 0.55);
    animation: float 7s ease-in-out infinite;
}

.page-hero-news .shape-triangle-2 {
    bottom: 25%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 50px solid rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite 1.5s;
}

.page-hero-news .shape-square-1 {
    top: 50%;
    right: 20%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    animation: rotate-slow 15s linear infinite;
}

.page-hero-news .shape-circle-3 {
    top: 30%;
    left: 10%;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite 1s;
}

.page-hero-news .shape-line-1 {
    bottom: 35%;
    right: 30%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: slide-horizontal 8s ease-in-out infinite;
}

/* サービス案内 - ハニカム/医療イメージ */
.page-hero-services .shape-hexagon-2 {
    top: 20%;
    right: 10%;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: float 8s ease-in-out infinite;
}

.page-hero-services .shape-hexagon-3 {
    bottom: 25%;
    left: 12%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.45);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: float 7s ease-in-out infinite 2s;
}

.page-hero-services .shape-diamond-1 {
    top: 45%;
    right: 25%;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    animation: pulse 6s ease-in-out infinite;
}

.page-hero-services .shape-circle-4 {
    top: 65%;
    left: 20%;
    width: 35px;
    height: 35px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 1.5s;
}

.page-hero-services .shape-plus-1 {
    bottom: 20%;
    right: 35%;
    width: 50px;
    height: 50px;
    position: relative;
}

.page-hero-services .shape-plus-1::before,
.page-hero-services .shape-plus-1::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.55);
}

.page-hero-services .shape-plus-1::before {
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
}

.page-hero-services .shape-plus-1::after {
    left: 0;
    top: 50%;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
}

/* 採用情報 - つながり・人のイメージ */
.page-hero-recruit .shape-circle-5 {
    top: 15%;
    right: 15%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-hero-recruit .shape-circle-6 {
    top: 25%;
    right: 28%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite 0.5s;
}

.page-hero-recruit .shape-connection-1 {
    top: 22%;
    right: 19%;
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    transform: rotate(-20deg);
    transform-origin: left center;
    animation: pulse 4s ease-in-out infinite;
}

.page-hero-recruit .shape-star-small-1 {
    bottom: 30%;
    left: 15%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: float 7s ease-in-out infinite 1s;
}

.page-hero-recruit .shape-square-2 {
    bottom: 20%;
    right: 20%;
    width: 45px;
    height: 45px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    transform: rotate(45deg);
    animation: rotate-slow 12s linear infinite;
}

/* お問い合わせ - コミュニケーションイメージ */
.page-hero-contact .shape-envelope-1 {
    top: 20%;
    right: 12%;
    width: 70px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(0 0, 50% 40%, 100% 0, 100% 100%, 0 100%);
    animation: float 8s ease-in-out infinite;
}

.page-hero-contact .shape-circle-7 {
    top: 55%;
    right: 8%;
    width: 45px;
    height: 45px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite;
}

.page-hero-contact .shape-circle-8 {
    bottom: 25%;
    left: 10%;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite 1s;
}

.page-hero-contact .shape-line-2 {
    top: 35%;
    left: 15%;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: slide-horizontal 7s ease-in-out infinite;
}

.page-hero-contact .shape-square-3 {
    bottom: 18%;
    right: 25%;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: rotate-slow 18s linear infinite;
}

/* 私達に出来ること - クローバーと図形 */
.page-hero-capabilities .shape-clover-1 {
    top: 10%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 60%);
    border-radius: 50% 0 50% 50%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.page-hero-capabilities .shape-clover-2 {
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 1s;
}

.page-hero-capabilities .shape-circle-1 {
    top: 60%;
    right: 8%;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.page-hero-capabilities .shape-circle-2 {
    top: 25%;
    left: 20%;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite 2s;
}

.page-hero-capabilities .shape-hexagon-1 {
    bottom: 15%;
    right: 25%;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.5);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: rotate-slow 20s linear infinite;
}

/* アニメーション */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.55;
    }
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slide-horizontal {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.35;
    }
    50% {
        transform: translateX(30px);
        opacity: 0.6;
    }
}

.page-hero-no-image .page-hero-content {
    color: white;
    position: relative;
    z-index: 2;
}

.page-hero-no-image .page-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.page-hero-description {
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* ========================================
   CTA セクション
   ======================================== */

.cta-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 252, 250, 1) 100%);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 122, 63, 0.03) 0%, transparent 70%);
    transition: transform 0.6s ease;
    transform: scale(0);
}

.cta-card:hover::before {
    transform: scale(1);
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(44, 122, 63, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 248, 243, 1) 100%);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 122, 63, 0.15);
}

.cta-card:hover .cta-icon {
    box-shadow: 0 8px 24px rgba(44, 122, 63, 0.25);
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.15) 0%, rgba(107, 142, 35, 0.15) 100%);
    animation: bounceRotate 0.6s ease;
}

.cta-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.cta-card:hover .cta-icon img {
    transform: scale(1.2) rotate(10deg);
    filter: saturate(1.3) brightness(1.1);
}

.cta-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-decoration: underline;
}

.cta-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================
   フィーチャー / 特徴
   ======================================== */

.features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.4s ease;
    border-radius: 12px;
    position: relative;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 248, 243, 0.5) 100%);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 122, 63, 0.15);
}

.feature-item:hover .feature-icon {
    box-shadow: 0 8px 24px rgba(44, 122, 63, 0.25);
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.15) 0%, rgba(107, 142, 35, 0.15) 100%);
    animation: bounceRotate 0.6s ease;
}

.feature-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.2) rotate(10deg);
    filter: saturate(1.3) brightness(1.1);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   サービス概要
   ======================================== */

.services-overview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 25px;
    background-color: var(--bg-color);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.service-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   ニュース セクション
   ======================================== */

.news-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--bg-light);
}

.news-date {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-item h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.news-item h3 a {
    text-decoration: underline;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.news-item h3 a:hover {
    color: var(--secondary-color);
}

.news-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   アクセス プレビュー
   ======================================== */

.access-preview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.access-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.store-card {
    padding: 25px;
    background-color: var(--bg-color);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.store-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.store-address {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.store-tel a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.access-btn {
    text-align: center;
}

/* ========================================
   ページコンテンツ
   ======================================== */

.page-content {
        padding: 40px 20px;
}

/* ストーリーセクション */
.story-section {
    display: block;
    margin-bottom: 70px;
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.story-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.story-block.reverse .story-image {
    order: 2;
}

.story-block.reverse .story-text {
    order: 1;
}

.story-image {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Image-free Story Block
   ======================================== */

.story-block-no-image {
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: flex-start;
}

.story-block-no-image.reverse {
    grid-template-columns: 1fr auto;
}

.story-block-no-image.reverse .story-icon {
    order: 2;
}

.story-block-no-image.reverse .story-text {
    order: 1;
}

.story-icon {
    min-width: 120px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.12) 0%, rgba(107, 142, 35, 0.08) 100%);
    border: 2px solid rgba(44, 122, 63, 0.15);
    border-radius: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.story-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(44, 122, 63, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 142, 35, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.story-icon svg {
    width: 60%;
    height: 60%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    position: relative;
    z-index: 1;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.story-text p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.representative-name {
    margin-top: 25px !important;
    font-weight: 600;
    color: var(--text-color) !important;
}

/* 企業情報 */
.company-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.company-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-item {
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.info-item dt {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-item dd {
    color: var(--text-color);
    line-height: 1.6;
}

.info-item dd ul {
    list-style: none;
    margin-left: 0;
}

.info-item dd li {
    padding-left: 20px;
    position: relative;
}

.info-item dd li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* グループ会社情報 */
.company-list {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.company-list h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.company-group {
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 15px;
}

.company-group h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.company-group p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

.company-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.company-group a:hover {
    text-decoration: underline;
}

/* ========================================
   プライバシーポリシーセクション
   ======================================== */

.policy-section {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-light);
}

.policy-section > p {
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--text-color);
}

.policy-section h2,
.policy-section h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(44, 122, 63, 0.2);
}

.policy-section h2:first-of-type,
.policy-section h3:first-of-type {
    margin-top: 0;
}

.policy-section ul {
    margin: 15px 0 20px 20px;
    list-style-position: inside;
}

.policy-section ol {
    margin: 12px 0 20px 20px;
    padding-left: 10px;
}

.policy-section ol li {
    margin-bottom: 10px;
    padding-left: 6px;
}

.policy-section ol li ol {
    margin-top: 10px;
}

.policy-section ul li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.policy-section ul li strong {
    color: var(--text-color);
}

.policy-content {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 6px;
    margin: 15px 0;
}

.policy-content p {
    margin: 10px 0;
}

.contact-box {
    border-radius: 6px;
    margin: 25px 0;
}

.contact-box p {
    margin: 10px 0;
    color: var(--text-color);
    line-height: 1.7;
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ========================================
   お支払方法
   ======================================== */

.payment-methods {
    margin: 60px 0;
    text-align: center;
}

.payment-methods-note {
    color: var(--text-light);
    margin: 10px 0 30px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.payment-method-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.payment-method-card img {
    width: 100%;
    max-width: 260px;
    height: 240px;
    object-fit: contain;
}

/* ========================================
   チャットボット
   ======================================== */

.chatbot-widget {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 200;
    font-family: inherit;
}

.chatbot-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    font-size: 0.95rem;
}

.chatbot-toggle-icon {
    font-size: 1.1rem;
}

.chatbot-panel {
    position: fixed;
    right: 24px;
    left: auto;
    bottom: 170px;
    width: 320px;
    max-height: 520px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: none;
    border: 1px solid var(--border-color);
}

.chatbot-panel.is-open {
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    cursor: move;
}

.chatbot-title {
    font-weight: 600;
    color: var(--text-color);
}

.chatbot-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px 12px;
    margin: -8px -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
}

.chatbot-messages {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    background: #fff;
}

.chatbot-message {
    margin-bottom: 12px;
    display: flex;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-bubble {
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.6;
}

.chatbot-message.bot .chatbot-bubble {
    background: var(--bg-light);
    color: var(--text-color);
}

.chatbot-message.user .chatbot-bubble {
    background: var(--primary-color);
    color: #fff;
}

.chatbot-quick {
    padding: 0 16px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chatbot-chip {
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px 16px 10px;
    border-top: 1px solid var(--border-color);
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.chatbot-input button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
}

.chatbot-note {
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 0 16px 12px;
}

@media (max-width: 640px) {
    .chatbot-panel {
        width: 90vw;
        right: 5vw;
        left: auto;
    }

    .chatbot-widget {
        right: 16px;
        bottom: 90px;
    }
}

/* ========================================
   サービス詳細
   ======================================== */

.services-detailed h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    padding: 35px 25px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.1) 0%, rgba(107, 142, 35, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(44, 122, 63, 0.15);
}

.service-card:hover .service-icon {
    box-shadow: 0 8px 24px rgba(44, 122, 63, 0.25);
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.15) 0%, rgba(107, 142, 35, 0.15) 100%);
    animation: bounceRotate 0.6s ease;
}

.service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.2) rotate(10deg);
    filter: saturate(1.3) brightness(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Adobe風メインセクション
   ======================================== */

.adobe-style-section {
    margin-bottom: 100px;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(44, 122, 63, 0.05) 0%, rgba(107, 142, 35, 0.05) 100%);
    border-radius: 16px;
}

.adobe-section-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.adobe-section-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.adobe-subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.adobe-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.adobe-section-text .btn {
    display: inline-block;
    padding: 12px 40px;
}

.adobe-section-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 24px;
}

.adobe-visual-icon {
    font-size: 8rem;
    opacity: 0.8;
}

.adobe-visual-image {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* ========================================
   オンラインストア
   ======================================== */

.online-store-section {
    margin-top: 80px;
    padding: 60px 0;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.online-store-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.store-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.store-intro p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

.store-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.product-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.store-cta {
    text-align: center;
}

.store-cta .btn {
    padding: 15px 50px;
    font-size: 1.05rem;
}

/* オンラインストアの利点表示 */
.store-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.benefit-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: inline-block;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   スタッフ紹介
   ======================================== */

.staff-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.staff-card {
    text-align: center;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.staff-photo {
    height: 320px;
    overflow: hidden;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 25px;
}

.staff-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.staff-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.staff-qualifications {
    background-color: var(--bg-color);
    padding: 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.staff-comment {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.team-message {
    text-align: center;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 60px;
}

.team-message h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.team-message p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* ========================================
   店舗詳細情報
   ======================================== */

.stores-info h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.store-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
    align-items: start;
}

.store-detail.reverse {
    direction: rtl;
}

.store-detail.reverse > * {
    direction: ltr;
}

.store-image {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.store-info-item {
    margin-bottom: 20px;
}

.store-info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.store-info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.store-info-item a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.line-icon {
    height: 50px;
    width: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}

.line-icon:hover {
    transform: scale(1.1);
}

.store-map {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
}

/* ========================================
   ニュース詳細
   ======================================== */

.news-detail h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.news-items-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item-detail {
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.news-date-large {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.news-item-detail h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.news-item-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-item-detail a:not(.btn) {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.news-item-detail a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ========================================
   お問い合わせ
   ======================================== */

.contact-section {
    max-width: 900px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.time-info {
    font-size: 0.85rem !important;
    color: #999 !important;
}

/* お問い合わせフォーム */
.contact-form-section {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.contact-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form-section > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-intro {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.required {
    color: #d32f2f;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c0c0c0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(44, 122, 63, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #388e3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.field-note {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #757575;
}

.error-message {
    display: block;
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 6px;
    cursor: pointer;
}

.form-notice {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.form-notice > p:first-child {
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.privacy-box {
    background-color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
}

.privacy-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background-color: rgba(44, 122, 63, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.2);
}

.checkbox-label span {
    color: var(--text-color);
    font-size: 0.95rem;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.form-actions .btn {
    min-width: 150px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-top: 20px;
    border: 2px solid #4caf50;
}

.form-success p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox input {
    width: auto !important;
    margin-right: 10px;
}

.checkbox span {
    color: var(--text-light);
}

.checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.checkbox a:hover {
    text-decoration: underline;
}

/* 高齢者向けガイド */
.elderly-guide {
    background-color: #fff8e1;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #fbc02d;
}

.elderly-guide h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

.elderly-guide > p:first-of-type {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
    text-align: center;
}

.elderly-phones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.elderly-phone-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.elderly-phone-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.elderly-phone-item .btn {
    font-size: 1.1rem;
    padding: 12px 20px;
    font-weight: bold;
}

.elderly-phone-item .elderly-note {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin-top: 10px !important;
}

.elderly-guide .elderly-note {
    font-size: 0.9rem !important;
    color: #666 !important;
    text-align: center;
}

.elderly-phone {
    margin: 25px 0 !important;
}

/* ========================================
   ボタン
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none !important;
    border-radius: 4px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: white;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

/* ========================================
   フッター
   ======================================== */

.footer {
    background-color: var(--text-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section li a {
    color: #ccc;
}

/* フッターメニューのサブメニュー */
.footer-section .nav-item.has-submenu {
    position: relative;
}

.footer-section .nav-label {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
    cursor: default;
}

.footer-section .submenu {
    position: static;
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

.footer-section .submenu li {
    margin-bottom: 5px;
    margin-left: 15px;
}

.footer-section .submenu li a {
    color: #ccc;
    font-size: 0.85rem;
}

.footer-section .submenu li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.85rem;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
    /* ヘッダー */
    .nav-list {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        padding: 0;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }

    .nav-list.active {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        pointer-events: auto;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 8px 0 0;
        background-color: transparent;
    }

    .submenu a {
        padding: 8px 0 8px 16px;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 500px;
        padding: 0;
    }

    .hero-slides {
        height: 500px;
    }

    .hero-inner {
        position: relative !important;
        padding: 0 30px !important;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .page-hero {
        height: 300px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    /* グリッド */
    .cta-grid,
    .features-grid,
    .services-list,
    .service-card-grid,
    .staff-grid {
        grid-template-columns: 1fr;
    }

    /* Adobe風メインセクション */
    .adobe-section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .adobe-section-text h2 {
        font-size: 2rem;
    }

    .adobe-section-visual {
        min-height: 250px;
    }

    .adobe-visual-icon {
        font-size: 5rem;
    }

    .adobe-visual-image {
        max-width: 320px;
        border-radius: 14px;
    }

    .adobe-style-section {
        padding: 50px 20px;
    }

    /* ストーリーセクション */
    .story-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-section.reverse {
        direction: ltr;
    }

    .story-block,
    .story-block-no-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-block-no-image.reverse {
        grid-template-columns: 1fr;
    }

    .story-block-no-image.reverse .story-icon {
        order: 2;
    }

    .story-block-no-image.reverse .story-text {
        order: 1;
    }

    .story-block-no-image {
        grid-template-columns: minmax(0, 90px) minmax(0, 1fr);
        gap: 20px;
        align-items: center;
    }

    .story-block-no-image.reverse {
        grid-template-columns: minmax(0, 1fr) minmax(0, 90px);
    }

    .story-text {
        min-width: 0;
    }

    .story-icon {
        min-width: 90px;
        width: 90px;
        height: 90px;
        margin: 0;
    }

    .store-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-detail.reverse {
        direction: ltr;
    }

    /* テキスト */
    h1, h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    /* パディング */
    .cta-section,
    .features,
    .services-overview,
    .news-section,
    .access-preview,
    .page-content {
        padding: 40px 20px;
    }

    .page-content .story-section:first-of-type {
        margin-top: 20px;
    }

    /* フッター */
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .page-hero {
        height: 250px;
    }

    .page-hero-content h1 {
        font-size: 1.3rem;
    }

    .page-hero-no-image {
        height: 250px;
    }

    .page-hero-no-image .page-hero-content h1 {
        font-size: 1.3rem;
    }

    .page-hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-grid,
    .features-grid,
    .store-card {
        padding: 25px 20px;
    }

    .news-date {
        font-size: 0.85rem;
    }

    h2 {
        font-size: 1.5rem !important;
        margin-bottom: 30px !important;
    }

    .contact-form-section,
    .elderly-guide {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }
}

/* ========================================
   採用情報ページ
   ======================================== */

.recruit-section {
    padding: 60px 0;
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.recruit-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recruit-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.recruit-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.detail-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.detail-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.recruit-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.recruit-info h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.recruit-info h3:first-child {
    margin-top: 0;
}

.recruit-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.recruit-info ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.recruit-info ul li {
    color: var(--text-light);
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
}

.recruit-info ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.contact-buttons .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.contact-buttons .btn-secondary:hover {
    background-color: #5a7a1a;
}

@media (max-width: 768px) {
    .recruit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recruit-info {
        padding: 25px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .contact-buttons .btn {
        min-width: 100%;
    }

    .recruit-card {
        padding: 20px;
    }
}

/* ========================================
   店舗情報ページ（タブ形式）
   ======================================== */

.store-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

.store-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.store-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.store-header {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.store-header .store-image {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.store-header .store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-img.active {
    opacity: 1;
}

.store-title h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.store-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
}

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-card.highlight {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-color: #fbc02d;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

.store-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-button {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.line-button {
    background-color: #06C755;
    color: white;
}

.line-button:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

/* ========================================
   アイコンアニメーション
   ======================================== */

@keyframes bounceRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    75% {
        transform: scale(1.15) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.line-button .button-icon {
    height: 24px;
    width: auto;
}

.phone-button {
    background-color: var(--primary-color);
    color: white;
}

.phone-button:hover {
    background-color: #237031;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 122, 63, 0.3);
}

.store-map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .store-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .tab-button {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .store-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .store-actions {
        flex-direction: column;
    }

    .action-button {
        min-width: 100%;
    }
}

/* ========================================
   スクロールスライドイン（横からのアニメーション）
   ======================================== */

.scroll-slide-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-slide-in[data-slide-direction="left"] {
    transform: translateX(-100px);
}

.scroll-slide-in[data-slide-direction="right"] {
    transform: translateX(100px);
}

.scroll-slide-in.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   私達に出来ること ページ
   ======================================== */

.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.content-box {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.capability-list {
    list-style: none;
    padding: 0;
}

.capability-list li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.capability-list li:last-child {
    border-bottom: none;
}

.capability-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.notice-list {
    max-width: 900px;
    margin: 0 auto;
}

.notice-item {
    background-color: var(--bg-color);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-item p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }

    .content-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .content-box {
        padding: 25px 20px;
    }

    .capability-list li {
        font-size: 1rem;
        padding: 12px 0 12px 25px;
    }

    .notice-item {
        padding: 20px;
    }

    .notice-item p {
        font-size: 1rem;
    }
}
