/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul, ol {
    list-style: none;
}

/* ========================================
   カラー定義
======================================== */
:root {
    --primary-red: #C00028;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F5;
    --border-gray: #E0E0E0;
}

/* ========================================
   共通クラス
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title-en {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.section-title-ja {
    display: block;
    font-size: 36px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title-ja::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-red);
}

.section-bg-text {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.02);
    letter-spacing: 0.05em;
    z-index: 0;
    pointer-events: none;
}

.section-bg-text.vertical {
    writing-mode: vertical-rl;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a00020;
    opacity: 1;
}

.sp-only {
    display: none;
}

/* 画像プレースホルダー */
.image-placeholder,
.image-placeholder-small,
.hero-image-placeholder,
.map-placeholder,
.group-logo-placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    border: 1px dashed #ddd;
}

.image-placeholder {
    width: 100%;
    height: 400px;
}

.image-placeholder-small {
    width: 100%;
    height: 150px;
    font-size: 12px;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    font-size: 18px;
}

.group-logo-placeholder {
    width: 200px;
    height: 120px;
    margin: 0 auto;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

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

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

.logo-image {
    height: 32px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-dark);
}

.nav-contact-btn {
    background-color: var(--primary-red);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-contact-btn:hover {
    background-color: #a00020;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

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

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

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

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary-red);
    z-index: 1001;
    transition: right 0.4s ease;
    overflow-y: auto;
}

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

.mobile-nav {
    padding: 100px 40px 40px;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 2;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px;
}

.hero-stripe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 200vw;
    height: 100px;
    background-color: var(--primary-red);
    z-index: -1;
    opacity: 0;
    animation: stripeFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes stripeFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.95;
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    animation: titleFadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
    position: relative;
    top: 3px;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

/* ========================================
   PHILOSOPHYセクション
======================================== */
.philosophy {
    background-color: var(--bg-white);
}

.philosophy .section-bg-text {
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

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

.philosophy-image-wide {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.philosophy-image-wide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.philosophy-content {
    position: relative;
    z-index: 1;
}

.philosophy-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text-content {
    font-size: 9pt;
    line-height: 2.2;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

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

.philosophy-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dark);
}

.philosophy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-red);
    border-radius: 50%;
}



/* ========================================
   SERVICESセクション
======================================== */
.services {
    background-color: var(--bg-gray);
}

.services .section-bg-text {
    top: 80px;
    right: 50px;
}

.service-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.service-main-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.service-title-en {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.service-title-ja {
    display: block;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-description {
    font-size: 15px;
    line-height: 2;
    color: var(--text-dark);
}

.service-category {
    margin-top: 60px;
}

.service-category-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-red);
}

.shop-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.shop-card {
    background-color: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.shop-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.05);
}

.shop-card-content {
    padding: 25px;
}

.shop-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.shop-info {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}

.shop-info i {
    color: var(--primary-red);
    margin-right: 8px;
    width: 16px;
}

/* ========================================
   RECRUITセクション
======================================== */
.recruit {
    background-color: var(--bg-white);
}

.recruit .section-bg-text {
    top: 80px;
    left: 50px;
}

.recruit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.recruit-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.recruit-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
}

.recruit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.recruit-list dt {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.recruit-list dd {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
    padding-left: 20px;
}

/* ========================================
   COMPANYセクション
======================================== */
.company {
    background-color: var(--bg-gray);
}

.company-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--border-gray);
}

.company-table th {
    width: 140px;
    padding: 25px 20px 25px 0;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    vertical-align: top;
}

.company-table td {
    padding: 25px 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}

.company-image {
    position: sticky;
    top: 120px;
}

.company-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.company-map {
    margin-top: 60px;
}

.map-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.map-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ========================================
   GROUPセクション
======================================== */
.group {
    background-color: var(--bg-white);
}

.group-logo-container {
    text-align: center;
    margin-bottom: 50px;
}

.group-logo-container a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.group-logo-container a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.flamez-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}

.group-description {
    text-align: center;
    font-size: 15px;
    line-height: 2;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.group-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   CONTACTセクション
======================================== */
.contact {
    background-color: var(--bg-gray);
}

.contact-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-subtitle i {
    color: var(--primary-red);
}

.contact-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.required {
    color: var(--primary-red);
    font-size: 12px;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    margin-top: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-red);
}

.form-button {
    text-align: center;
    margin-top: 40px;
}

/* プライバシーポリシー */
.privacy-policy {
    max-width: 900px;
    margin: 80px auto 0;
    padding: 50px;
    background-color: var(--bg-white);
    border-radius: 4px;
}

.privacy-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-red);
}

.privacy-content {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-gray);
}

.privacy-content h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.privacy-content ul {
    margin: 15px 0 20px 20px;
    padding-left: 0;
}

.privacy-content ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    line-height: 1.8;
    color: var(--text-gray);
}

.privacy-date {
    text-align: right;
    margin-top: 40px;
    font-size: 13px;
    line-height: 1.8;
}

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

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

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-image {
    height: 28px;
    width: auto;
    display: block;
    background: none;
}

.footer-company {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.company-name {
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff;
    background: none;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer-nav a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-red);
    opacity: 1;
}

.footer-nav a span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ページトップボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #a00020;
}

/* ========================================
   レスポンシブ（タブレット）
======================================== */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title-ja {
        font-size: 32px;
    }

    .section-bg-text {
        font-size: 90px;
    }

    .hero-title {
        font-size: 48px;
    }

    .service-main,
    .recruit-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

/* ========================================
   レスポンシブ（スマートフォン）
======================================== */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    /* ヘッダー */
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-container {
        padding: 15px 20px;
    }

    .logo-image {
        height: 26px;
    }

    /* ヒーロー */
    .hero {
        height: 80vh;
        min-height: 500px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stripe {
        height: 70px;
    }

    /* セクションタイトル */
    .section-title {
        margin-bottom: 40px;
    }

    .section-title-ja {
        font-size: 26px;
    }

    .section-bg-text {
        font-size: 60px;
    }

    .sp-only {
        display: inline;
    }

    /* PHILOSOPHY */
    .philosophy-text .section-title {
        text-align: center;
    }

    .philosophy-image-sub {
        grid-template-columns: repeat(2, 1fr);
    }

    /* SERVICES */
    .service-title-ja {
        font-size: 24px;
    }

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

    /* COMPANY */
    .company-table th {
        width: 100px;
        font-size: 13px;
    }

    .company-table td {
        font-size: 13px;
    }

    .company-image {
        position: static;
    }

    /* GROUP */
    .flamez-logo {
        max-width: 400px;
    }
    
    .group-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* CONTACT */
    .contact-form {
        padding: 30px 20px;
    }

    .privacy-policy {
        padding: 30px 20px;
    }

    /* FOOTER */
    .footer-nav ul {
        grid-template-columns: 1fr;
    }

    /* ページトップボタン */
    .page-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-stripe {
        height: 60px;
    }

    .section-title-ja {
        font-size: 24px;
    }
}