@charset "UTF-8";

/* --- 0. フォント読み込み --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Great+Vibes&family=Droid+Sans:wght@400;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* --- 1. 変数・リセット --- */
:root {
    /* モダンな背景色 */
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --sky-blue: #7aadc3;
    --font: #555;
    --rosy-brown: #dd9797;
    --black: #333;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--black);
    font-family: Arial, "Noto Sans JP", Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- 2. 共通ヘッダー (top_menu001) --- */
.top_menu001 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(244, 247, 246, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.brand-2 img {
    height: 50px;
    width: auto;
}

.nav-menu-3 {
    display: flex;
    align-items: center;
}

.nav-link-5,
.nav-link-6,
.nav-link-7 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    line-height: 30px;
    padding: 20px 15px;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link-5:hover,
.nav-link-6:hover,
.nav-link-7:hover,
.w--current {
    color: var(--sky-blue);
}

/* ハンバーガーメニュー (スマホ用) */
.menu-button-2 {
    display: none;
}

/* --- 3. 共通ヒーローエリア・タイトル --- */
.top_photo_common {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.top_photo_common::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.div-block-11 {
    margin-top: -150px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.work_title {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Droid Sans', sans-serif;
    font-size: 66px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.paragraph-14 {
    color: var(--sky-blue);
    text-align: center;
    margin-top: -30px;
    margin-left: 200px;
    font-family: 'Great Vibes', cursive;
    font-size: 44px;
    transform: rotate(-20deg);
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* WORKページ用のタイトルスタイル */
.page-header {
    margin-top: 80px;
    padding: 60px 0 20px;
    text-align: center;
    background-color: var(--bg-color);
}

.page-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.1em;
    color: #333;
}

.page-title span {
    display: inline-block;
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 0.45em;
}

/* WORKページ内のカテゴリ見出し（英語／日本語）の区切り線 */
.category-title span {
    display: inline-block;
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 0.6em;
}

/* --- 4. ページ内コンテンツ共通 --- */
.section-content {
    background-color: transparent;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

/* コンテナ */
.w-container {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.message-body-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 見出しスタイル */
.heading-4 {
    font-family: 'Oswald', sans-serif;
    font-size: 60px;
    font-weight: 500;
    color: #333;
    border-bottom: 2px solid var(--sky-blue);
    display: inline-block;
    line-height: 1;
    margin-bottom: 15px;
}

.div-block-5 {
    text-align: center;
    margin-bottom: 80px;
}

.paragraph-5 {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: var(--sky-blue);
    margin-top: -25px;
    transform: rotate(-10deg) translateX(80px);
    opacity: 0.8;
}

.paragraph-6 {
    font-size: 16px;
    color: #666;
    margin-top: 30px;
}

/* 英語見出しの下に表示する日本語補助テキスト */
.ja-sub {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    opacity: 0.95;
}

.section-sub {
    font-size: 22px;
    margin-top: 10px;
    color: #444;
}

.script-sub {
    font-size: 18px;
    margin-top: -10px;
    color: var(--sky-blue);
}

.page-title-sub {
    font-size: 0.35em;
    margin-top: 8px;
}

.hero-sub {
    font-size: 0.45em;
    color: #fff;
}

.scroll-sub {
    font-size: 0.8em;
    color: #fff;
}

/* --- 5. フッター (footer) --- */
.footer {
    background-color: #f0f0f0;
    padding: 100px 0;
    color: #555;
    text-align: center;
}

.footer-logo img,
.footer-logo {
    width: 150px;
    opacity: 1;
    margin: 0 auto 20px;
    display: block;
}

.footer-line {
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin: 20px 0;
}

.footer-address {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 40px;
    color: #bbb;
}

.copyright {
    color: var(--rosy-brown);
    margin-top: 40px;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* --- 6. ページ別: INDEX (トップ) --- */
.top_slide.new {
    height: 80vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* スクロールダウン矢印 */
.div-block-2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
}

.arrow-icon {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}

.text-block-3 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}

/* 理念セクション */
.no_2 {
    padding: 120px 0;
    background: transparent;
}

.div-block-3 {
    height: 500px;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.paragraph-4 {
    font-family: "Noto Sans JP", serif;
    font-size: 16px;
    line-height: 2.6;
    text-align: justify;
    color: #444;
}

/* --- 6.5. Work Grid (ホーム画面の5個並び・修正版) --- */
.grid-6 {
    /* ★GridからFlexに変更して5個を中央寄せにする */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 中央配置 */
    gap: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
}

.work-cat-box {
    display: block;
    /* 3列になるように幅計算（gap分を引く） */
    width: calc(33.333% - 20px);
    min-width: 280px;
    /* 小さくなりすぎないように */
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background: #000;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.work-cat-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
    opacity: 0.85;
}

.work-cat-box .cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    z-index: 1;
}

.work-cat-box .cat-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
    z-index: 2;
    text-align: center;
    width: 100%;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* カテゴリー英語名と日本語名の間に区切り線 */
.work-cat-box .cat-text span {
    display: inline-block;
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.work-cat-box:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}

.work-cat-box:hover .cat-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* --- 7. WORKページ用: Top Slider --- */
#top-slider-container {
    width: 100%;
    background-color: var(--bg-color);
    padding: 60px 0 100px;
    overflow: hidden;
}

#top-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 500px;
}

/* 各スライドの共通設定 */
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    background: var(--bg-color);
}

.slide-item.active {
    opacity: 1;
    z-index: 1;
}

/* ワーク詳細のグリッドレイアウト */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.work-grid.reverse .work-content {
    order: 1;
}

.work-grid.reverse .work-img {
    order: 2;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.work-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-color);
    position: relative;
    z-index: 2;
}

.heading-3 {
    font-size: 26px;
    border-bottom: 2px solid var(--sky-blue);
    margin-bottom: 25px;
    padding-bottom: 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    display: inline-block;
    color: #222;
}

.paragraph-3 {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

/* --- 8. WORKページ用: カテゴリセクション・ギャラリー --- */
.category-section {
    padding-top: 140px;
    margin-top: -120px;
    margin-bottom: 100px;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 6px solid #8ab6c6;
    color: #333;
    letter-spacing: 0.05em;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.sub-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    display: block;
    background: #fff;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cover-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.project-name {
    display: block;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    color: #444;
    background: #fff;
    letter-spacing: 0.05em;
}

.project-name span {
    display: inline-block;
    margin-top: 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* --- 9. ページ別: COMPANY / CONTACT 共通 --- */
.table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
    background: #fff;
    padding: 0 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

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

.company-table th,
.company-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 30%;
    color: var(--sky-blue);
    font-weight: bold;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fcfcfc;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--sky-blue);
    outline: none;
}

.btn-submit {
    display: block;
    width: 250px;
    margin: 50px auto 0;
    padding: 18px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 16px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50px;
}

.btn-submit:hover {
    background: var(--sky-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 173, 195, 0.4);
}

.phone-contact-box {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.phone-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.phone-link {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    letter-spacing: 0.05em;
    color: #333;
    border-bottom: 2px solid var(--sky-blue);
    display: inline-block;
    padding-bottom: 8px;
}

.phone-hours {
    margin-top: 20px;
    color: #666;
}

/* --- 10. レスポンシブ --- */
@media (max-width: 991px) {

    /* タブレットは2列で中央揃え */
    .grid-6 {
        margin-left: 0;
        margin-right: 0;
        gap: 20px;
    }

    .work-cat-box {
        width: calc(50% - 10px);
    }

    .paragraph-14 {
        margin-left: 0;
        margin-top: -110px;
    }

    .work-grid {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .top_menu001 {
        height: 60px;
    }

    .nav-menu-3 {
        display: none;
    }

    .menu-button-2 {
        display: block;
        font-size: 24px;
        padding: 10px;
        cursor: pointer;
        color: #333;
    }

    /* スマホは1列 */
    .work-cat-box {
        width: 100%;
    }

    .grid-6 {
        padding-bottom: 40px;
    }

    .heading-4 {
        font-size: 40px;
    }

    .paragraph-5 {
        font-size: 30px;
        transform: rotate(-10deg) translateX(40px);
    }

    .paragraph-14 {
        font-size: 30px;
        margin-top: -20px;
    }

    .section-sub {
        font-size: 18px;
    }

    .script-sub {
        font-size: 15px;
    }

    .phone-link {
        font-size: 34px;
    }

    .div-block-2 {
        width: 100%;
        height: auto;
        padding: 15px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 0;
        bottom: 0;
    }

    .text-block-3 {
        font-size: 12px;
    }

    .top_photo_common,
    .top_slide.new {
        height: 240px;
    }

    /* スライドショーのスマホ表示 */
    #top-slider {
        height: auto;
    }

    .slide-item {
        position: relative;
        opacity: 1;
        height: auto;
        margin-bottom: 60px;
        z-index: 1;
        background: transparent;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .work-grid.reverse .work-content {
        order: 2;
    }

    .work-grid.reverse .work-img {
        order: 1;
    }

    .work-img {
        height: 250px;
    }

    .page-title {
        font-size: 3rem;
    }

    .form-wrapper,
    .table-wrapper {
        padding: 20px;
    }

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

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
        color: var(--sky-blue);
    }
}