/* ==========================================================================
   株式会社ヒ・チ・ク WordPress 統合CSS (All-in-One)
   ==========================================================================
   ※この前半と、次の後半を繋げて「追加CSS」に貼り付けてください。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 共通設定 (wp-common.css)
   -------------------------------------------------------------------------- */
:root {
    --main-navy: #002d5a;
    --accent-gold: #c5a059;
    --menu-bg: #0b162a;
    --text-dark: #222;
    --text-gray: #555;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --border-line: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
    color: var(--text-dark);
    line-height: 2.0;
    overflow-x: hidden;
    background-color: #fff;
    position: relative; 
}

/* 背景にうっすらと斜めのストライプ模様（全ページ共通） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        -45deg,
        rgba(0, 45, 90, 0.02) 0,
        rgba(0, 45, 90, 0.02) 2px,
        transparent 2px,
        transparent 40px
    );
    z-index: -2;
    pointer-events: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    z-index: 2000;
    background: #ffffff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-navy);
    letter-spacing: 0.1em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 60px;
    height: auto;
}

.menu-trigger {
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 2100;
}

.menu-trigger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--main-navy);
    transition: 0.4s;
}

.menu-trigger span:nth-child(1) {
    top: 0;
}

.menu-trigger span:nth-child(2) {
    top: 9px;
}

.menu-trigger span:nth-child(3) {
    bottom: 0;
}

.active .menu-trigger span {
    background: var(--white);
}

.active .menu-trigger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.active .menu-trigger span:nth-child(2) {
    opacity: 0;
}

.active .menu-trigger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

#overlay.show {
    opacity: 1;
    visibility: visible;
}

#side-menu {
    position: fixed;
    top: 0;
    right: -85%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--menu-bg);
    z-index: 1500;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

#side-menu.open {
    right: 0;
}

.menu-category {
    margin-bottom: 40px;
}

.menu-category h4 {
    color: var(--accent-gold);
    font-size: 12px;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.menu-category ul {
    list-style: none;
    margin-bottom: 40px;
}

.menu-category a {
    color: var(--white);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: 0.3s;
    font-size: 15px;
}

.menu-category a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.section {
    padding: 100px 10%;
    position: relative;
    z-index: 1;
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* 見出しの「ひし形」デザイン */
.section-title h3 {
    font-size: 28px;
    color: var(--main-navy);
    display: inline-block;
    position: relative;
    padding-left: 40px;
    border-bottom: none !important;
}

.section-title h3::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: var(--accent-gold);
}

.section-title h3::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    border: 1px solid var(--main-navy);
}

/* ▼▼▼ 下層ページ：Hero（元のまっすぐな形） ▼▼▼ */
.page-hero {
    height: calc(22vh + 55px);
    margin-top: 0;
    padding-top: 55px;
    background: linear-gradient(135deg, #0b162a 0%, #002d5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.page-hero h2 {
    font-size: 36px;
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 24px;
    letter-spacing: 0.4em;
    color: var(--accent-gold);
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

/* 事例カード（元のまっすぐな形） */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent-gold);
}

.case-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    font-family: sans-serif;
}

.slide.active {
    opacity: 1;
}

.slide-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .slide-indicators {
    opacity: 1;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s;
}

.slide-dot.active {
    background: var(--accent-gold);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--main-navy);
    margin-bottom: 15px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.case-img {
    width: 100%;
    height: 220px;
    background: #eee;
    background-size: cover;
    background-position: center;
}

/* ボタン（元のまっすぐな形） */
.btn-gold {
    display: inline-block;
    background: var(--main-navy);
    color: #fff;
    padding: 20px 80px;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.1em;
    transition: 0.3s;
    border: 1px solid var(--main-navy);
    position: relative;
    overflow: hidden;
}

.btn-gold::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-gold);
    transition: 0.3s;
}

.btn-gold:hover {
    background: #fff;
    color: var(--main-navy);
}

.btn-gold:hover::after {
    width: 100%;
}

footer {
    background: #111;
    color: #888;
    padding: 50px 0;
    text-align: center;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

/* フォーム（元の角丸の形） */
.main-content {
    padding-top: 100px;
}

.form-container {
    max-width: 750px;
    margin: 40px auto;
    padding: 40px 5%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
}

.form-title h2 {
    font-size: 24px;
    color: var(--main-navy);
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 15px;
}

.required {
    background: #e63946;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.optional {
    background: #999;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-line);
    border-radius: 4px;
    font-size: 16px;
    font-family: sans-serif;
}

textarea {
    height: 150px;
}

.submit-box {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: var(--main-navy);
    color: #fff;
    padding: 18px 80px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #004080;
}

/* ▼▼▼ 前回（前半）のコードの続きから貼り付けてください ▼▼▼ */

/* --- トップページ：ミッション（斜めカット＋ゴールドアクセント） --- */
.mission-bg {
    position: relative;
    background: linear-gradient(135deg, #0b162a 0%, #002d5a 100%);
    padding: 12vw 10% 10vw;
    margin: -6vw 0 8vw;
    clip-path: polygon(0 0, 100% 6vw, 100% 100%, 0 calc(100% - 6vw));
    color: #fff;
    z-index: 10;
    text-align: center;
}
.mission-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent 49.8%, var(--accent-gold) 49.8%, var(--accent-gold) 50.2%, transparent 50.2%);
    transform: skewX(-45deg);
    opacity: 0.3;
    pointer-events: none;
}
.mission-bg .mission-lead {
    color: var(--accent-gold);
    font-size: 26px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}
.mission-bg p { color: #f0f0f0; line-height: 2.2; }
.mission-box { max-width: 800px; margin: 0 auto; position: relative; }

/* --- トップページ：主な工事エリア（背景斜め帯＆マップ） --- */
#construction-area {
    position: relative;
    padding: 100px 10%;
    z-index: 1;
    margin: 60px 0;
}
#construction-area::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #f4f7f9;
    transform: skewY(-3deg);
    z-index: -1;
}
.area-desc { text-align: center; margin-bottom: 40px; line-height: 1.8; }
.area-desc strong { font-size: 1.1em; }
.japan-map-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
    max-width: 500px; margin: 0 auto 80px auto; padding: 20px;
    background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.map-area {
    background: #e2e8f0; color: #64748b; padding: 20px 5px;
    text-align: center; border-radius: 6px; font-size: 0.9em;
    display: flex; align-items: center; justify-content: center; transition: 0.3s ease;
}
.map-area.active-kanto { background: #f97316; color: #fff; font-weight: bold; box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3); transform: translateY(-2px); }
.map-area.active-kansai { background: #3b82f6; color: #fff; font-weight: bold; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); transform: translateY(-2px); }
.map-hokkaido { grid-column: 6; grid-row: 1; }
.map-tohoku   { grid-column: 6; grid-row: 2; }
.map-kanto    { grid-column: 6; grid-row: 3; }
.map-chubu    { grid-column: 5; grid-row: 3; }
.map-kansai   { grid-column: 4; grid-row: 3; }
.map-chugoku  { grid-column: 3; grid-row: 3; }
.map-shikoku  { grid-column: 4; grid-row: 4; }
.map-kyushu   { grid-column: 2; grid-row: 3 / 5; }
.map-okinawa  { grid-column: 1; grid-row: 5; }

/* --- トップページ：会社概要 --- */
#company-detail { background: transparent; padding-top: 50px; }
.company-table {
    border-collapse: separate !important; border-spacing: 0 10px !important;
    background: transparent !important; box-shadow: none !important;
    border: none !important; width: 100%; margin-bottom: 60px;
}
.company-table tr { background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; }
.company-table tr:hover { transform: translateX(10px); box-shadow: 0 8px 25px rgba(0,45,90,0.1); }
.company-table th {
    background: linear-gradient(135deg, #1e3046 0%, #002d5a 100%) !important;
    color: #fff !important; width: 25%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 25px 30px !important; font-weight: bold; letter-spacing: 0.1em; border: none;
}
.company-table td { padding: 25px 30px !important; border: none !important; }
.location-list dt { font-weight: bold; color: var(--main-navy); margin-top: 15px; }
.location-list dt:first-child { margin-top: 0; }

/* --- トップページ：沿革 --- */
.history-list {
    position: relative; border-left: 3px solid var(--accent-gold) !important;
    margin-left: 20px !important; padding-left: 40px !important;
}
.history-item {
    background: #fff; padding: 25px 30px !important; margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative; transition: 0.3s;
}
.history-item::after {
    content: ''; position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--main-navy);
}
.history-item:hover { transform: translateX(10px); box-shadow: 0 8px 25px rgba(0,45,90,0.1); }
.history-item::before {
    content: "" !important; position: absolute !important;
    left: -49.5px !important; top: 30px !important;
    width: 16px !important; height: 16px !important;
    background: var(--main-navy) !important;
    border: 3px solid var(--accent-gold) !important; border-radius: 0 !important;
    transform: rotate(45deg) !important; transition: 0.5s !important; box-sizing: border-box;
}
.history-item:hover::before { background: var(--accent-gold) !important; transform: rotate(225deg) !important; }
.history-item .history-year {
    font-size: 20px; color: var(--main-navy); font-weight: bold;
    display: inline-block; margin-bottom: 10px;
    background: linear-gradient(transparent 70%, rgba(197, 160, 89, 0.4) 0);
}

/* --- トップページ：主要取引先（斜め無限スクロールアニメーション） --- */
.clients-marquee-wrapper {
    position: relative; padding: 60px 0; background: #f4f7f9;
    transform: skewY(-3deg); overflow: hidden; margin: 60px 0;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.02);
}
.marquee-track { display: flex; width: max-content; margin-bottom: 20px; }
.track-left { animation: marquee-left 50s linear infinite; }
.track-right { animation: marquee-right 50s linear infinite; margin-left: -200px; }
.marquee-item {
    background: linear-gradient(135deg, #1e3046 0%, #002d5a 100%);
    color: #fff; padding: 15px 40px; margin: 0 10px; font-weight: bold;
    transform: skewX(-20deg); border-right: 4px solid var(--accent-gold);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1); transition: 0.3s; cursor: default;
}
.marquee-item:hover { background: var(--accent-gold); color: var(--main-navy); border-right-color: var(--main-navy); }
.marquee-item span { display: inline-block; transform: skewX(20deg); letter-spacing: 0.05em; }

/* --- トップページ：協力会社ブロック（平行四辺形デザイン） --- */
.coop-box {
    position: relative; background: transparent !important; padding: 0 !important;
    margin-top: 80px !important; display: flex; justify-content: center;
    gap: 3vw; flex-wrap: wrap; box-shadow: none !important;
}
.coop-item {
    position: relative; background: linear-gradient(135deg, #1e3046 0%, #002d5a 100%);
    padding: 40px 50px; transform: skewX(-15deg);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--accent-gold); overflow: hidden;
    transition: 0.3s ease; min-width: 250px;
}
.coop-item:hover { transform: skewX(-15deg) translateY(-10px); box-shadow: 15px 20px 30px rgba(0, 45, 90, 0.2); }
.coop-item h5, .coop-item p { transform: skewX(15deg); text-align: center; margin: 0; }
.coop-item h5 { color: var(--accent-gold); font-size: 22px; margin-bottom: 10px; letter-spacing: 0.1em; border-bottom: none !important; }
.coop-item p { color: #fff; font-size: 16px; }

/* ==========================================================================
   3. 下層ページ固有（画像や枠をまっすぐ見やすく戻しました）
   ========================================================================== */

/* --- 施工事例 (page-works) --- */
.history-section { background-color: var(--bg-light); padding: 100px 10%; position: relative; }
.history-tabs-container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.history-tabs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; border-bottom: 2px solid #e0e0e0; margin-bottom: 40px; justify-content: center; }
.history-tab { padding: 8px 25px; font-size: 16px; font-weight: bold; color: var(--text-gray); cursor: pointer; position: relative; transition: 0.3s; background: #eee; }
.history-tab:hover { background: #ddd; }
.history-tab.active { color: #fff; background: var(--main-navy); }
.history-tab.active::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 4px; background: var(--accent-gold); }
.history-content { display: none; animation: fadeInTab 0.5s ease; }
.history-content.active { display: block; }
.history-table-wrapper { overflow-x: auto; }
.history-table { width: 100%; border-collapse: separate; border-spacing: 0 5px; background: transparent; min-width: 600px; }
.history-table th, .history-table td { padding: 15px 20px; text-align: left; font-size: 15px; background: #fff; border-bottom: none; }
.history-table th { background: var(--main-navy); color: #fff; font-weight: 500; white-space: nowrap; }
.history-table tr:hover td { background-color: #f0f4f8; }

/* --- 製作事例 (page-processing) --- */
.intro-box { max-width: 1100px; margin: 0 auto 120px; display: flex; align-items: center; gap: 60px; }
.intro-img { flex: 1; position: relative; }
.intro-img img { width: 100%; height: auto; box-shadow: 10px 10px 30px rgba(0,0,0,0.1); }
.intro-text { flex: 1; }
.intro-text h3 { font-size: 26px; color: var(--main-navy); margin-bottom: 30px; border-bottom: 3px solid var(--accent-gold); display: inline-block; padding-bottom: 10px; }

.equipment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto 100px; }
.equipment-item {
    background: #fff; padding: 20px 25px; color: var(--main-navy);
    font-weight: 600; position: relative; z-index: 1; border-left: 5px solid var(--accent-gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); transition: 0.3s;
}
.equipment-item:hover { 
    transform: translateX(5px); 
    box-shadow: 5px 10px 20px rgba(0, 45, 90, 0.1); 
    background: linear-gradient(135deg, #fff 0%, #f4f7f9 100%); 
}

/* --- 採用情報 (page-recruit) --- */
.message-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; max-width: 1200px; margin: 0 auto; }
.message-card {
    background: #fff; padding: 40px; position: relative; z-index: 1; 
    border-top: 4px solid var(--main-navy); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: 0.3s; 
}
.message-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 45, 90, 0.1); }
.message-card .num { font-size: 40px; color: var(--accent-gold); font-weight: bold; margin-bottom: 10px; font-family: sans-serif; }
.message-card h4 { font-size: 18px; color: var(--main-navy); margin-bottom: 20px; line-height: 1.6; }

.recruit-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: separate; border-spacing: 0 5px; background: transparent; }
.recruit-table tr { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.recruit-table th { width: 30%; background: linear-gradient(135deg, #1e3046 0%, #002d5a 100%); color: #fff; padding: 20px; }
.recruit-table td { padding: 20px; }

/* --- 協力会社募集 (page-partner) --- */
.feature-box {
    max-width: 1000px; margin: 0 auto 80px; display: flex; flex-wrap: wrap; align-items: center;
    background: #fff; position: relative; z-index: 1; border-left: 5px solid var(--main-navy); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: 0.3s;
}
.feature-box:hover { transform: translateY(-5px); box-shadow: 5px 15px 30px rgba(0,0,0,0.1); }
.feature-text { padding: 50px; flex: 1; }
.feature-num { font-size: 60px; color: #eee; font-weight: bold; margin-bottom: 20px; font-family: sans-serif; line-height: 1; }
.feature-text h4 { font-size: 22px; color: var(--main-navy); margin-bottom: 30px; line-height: 1.6; }
.feature-text p { color: var(--text-gray); font-size: 15px; margin-bottom: 15px; }
.feature-text ul { list-style: none; margin-top: 20px; }
.feature-text li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 15px; color: var(--text-dark); }
.feature-text li::before { content: "◆"; font-size: 12px; color: var(--accent-gold); position: absolute; left: 0; top: 3px; }
.partner-cta { background: var(--bg-light); text-align: center; padding: 80px 10%; position: relative; }
.partner-cta h3 { font-size: 24px; color: var(--main-navy); margin-bottom: 30px; }

/* --- アニメーション --- */
@keyframes fadeUpSlow { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes arrowMove { 0% { transform: translate(-50%, 0); opacity: 0.5; } 50% { transform: translate(-50%, 10px); opacity: 1; } 100% { transform: translate(-50%, 0); opacity: 0.5; } }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* --- スマホレスポンシブ --- */
@media screen and (max-width: 768px) {
    /* トップページ */
    .mission-bg { padding: 20vw 5% 15vw; clip-path: polygon(0 0, 100% 10vw, 100% 100%, 0 calc(100% - 10vw)); margin: -10vw 0 10vw; }
    .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%); padding-bottom: 10vw; }
    .coop-item { width: 80%; transform: skewX(0); border-left: none; border-top: 5px solid var(--accent-gold); }
    .coop-item:hover { transform: translateY(-5px); }
    .coop-item h5, .coop-item p { transform: skewX(0); }
    .company-table, .company-table tbody, .company-table tr, .company-table th, .company-table td { display: block; width: 100%; }
    .company-table th { clip-path: none; padding: 15px !important; }
    .company-table tr { margin-bottom: 20px; }
    .japan-map-grid { gap: 5px; padding: 15px; }
    .map-area { font-size: 0.75em; padding: 15px 2px; }
    
    /* 下層ページ */
    .page-hero { margin-bottom: 0; }
    .page-hero h2 { font-size: 24px; }
    .page-hero p { font-size: 18px; }
    .section { padding: 60px 5%; }
    .case-grid { grid-template-columns: 1fr; gap: 25px; }
    .form-container { margin: 20px 15px; padding: 30px 20px; }
    .intro-box { flex-direction: column; }
    .intro-img, .intro-text { width: 100%; max-width: 100%; }
}