/* --- 1. 共通・リセット --- */
:root {
    --color-base-bg: #FFFBF0;;
    --color-primary: #FF9800;
    --color-cta: #4CAF50;
    --color-text: #212121;
    --color-sub-bg: #EEEEEE;
    --color-white: #FFFFFF;
    --color-accent-red: #D84315;
    --container-width: clamp(1000px, 80vw, 1200px);
    --container-narrow-width: clamp(800px, 70vw, 1000px);
    --section-v-padding: clamp(60px, 5vw, 80px);
    --section-v-padding-sp: 40px;
}
body {
    margin: 0;
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    background-color: var(--color-base-bg);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 0.65; 
    mix-blend-mode: multiply;
    z-index: -1;
    pointer-events: none;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* --- 2. ヘッダー --- */
/* 2.1 ヘッダー本体 */
.header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.header-logo {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}
.header-logo a {
    color: var(--color-white);
}
/* 2.2 PCナビゲーション */
.header-nav {
    display: none;
}
.header-nav ul {
    display: flex;
}
.header-nav li {
    margin-left: 25px;
    position: relative;
}
.header-nav a {
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-white);
    padding: 10px 5px;
    transition: opacity 0.3s;
}
.header-nav a:hover {
    opacity: 0.8;
}
/* 2.3 ハンバーガーメニュー */
.hamburger-menu {
    display: block;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 101;
}
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}
.hamburger-menu span:nth-child(1) { top: 8px; }
.hamburger-menu span:nth-child(2) { top: 14px; }
.hamburger-menu span:nth-child(3) { top: 20px; }
.hamburger-menu.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}
/* 2.4 モバイルナビ */
.mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 152, 0, 0.95);
    z-index: 100;
    padding-top: 80px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s, opacity 0.4s, visibility 0.4s;
}
.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.mobile-nav a {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-white);
    padding: 10px;
}
/* 2.5 ドロップダウン (PC) */
.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    vertical-align: middle;
    margin-left: 4px;
}
.dropdown-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    min-width: 240px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 110;
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.dropdown-content li {
    margin-left: 0;
    width: 100%;
}
.dropdown-content a {
    padding: 10px 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}
.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 1;
}
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}
/* 2.6 モバイルサブリスト */
.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
    padding-left: 20px;
    width: 100%;
}
.mobile-nav-sub a {
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
    padding: 5px 10px;
}
/* 2.7 アクティブ表示 */
.header-nav li.active > a {
    font-weight: 700;
    opacity: 1; 
}
.mobile-nav li.active > a {
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
/* --- 3. ヒーローセクション (トップ/下層) --- */
/* 3.1 トップページ (スライドショー) */
.hero-slideshow {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--header-height, 50px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide-item.active {
    opacity: 1;
}
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
    text-align: center;
    color: var(--color-white);
}
.hero-title {
    font-size: 28px;
    line-height: 1.4;
    margin: 0;
}
.hero-subtitle {
    font-size: 22px;
    line-height: 1.5;
    margin: 15px 0 0 0;
}
.hero-reception {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 30px;
}
.hero-buttons {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.hero-button {
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 15px 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}
.hero-button:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.hero-button .button-label {
    font-size: 18px;
    font-weight: bold;
    display: block;
}
.hero-button .button-tel {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.4;
    display: block;
}
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
.dot.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px 10px;
    border-radius: 4px;
    font-size: 24px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-slideshow:hover .slide-arrow {
    opacity: 1;
}
#prev-slide {
    left: 15px;
}
#next-slide {
    right: 15px;
}
.slides .slide-item:nth-child(4) {
    background-image: url('../img/hero4.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #F5F2F0;
}
/* 3.2 下層ページ (共通) */
.page-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px 40px 20px;
    box-sizing: border-box;
}
.page-hero::before,
.page-hero::after {
    display: none;
}
.page-hero-content {
    position: static;
    color: var(--color-text);
}
.page-hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 5px solid var(--color-cta);
}
.page-hero-title::before {
    content: '';
    display: inline-block;
    background-image: url('../img/sun.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    flex-shrink: 0;
}
/* --- 4. 共通コンポーネント・レイアウト --- */
/* 4.1 コンテナ */
.container {
max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--section-v-padding-sp) 20px;
}
.container-narrow {
max-width: var(--container-narrow-width);
    margin: 0 auto;
    padding: var(--section-v-padding-sp) 20px;
}
/* 4.2 セクションタイトル */
.section-title-wrapper {
    background-color: var(--color-accent-red);
    padding: 20px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.section-title {
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    color: var(--color-white);
}
/* 4.3 コンテンツブロック (下層) */
.content-block {
    margin-bottom: 60px;
}
.content-block:last-child {
    margin-bottom: 0;
}
.content-title {
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 30px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primary);
}
.content-title [class*="fa-"] {
    margin-right: 10px;
    color: var(--color-primary);
    font-size: 0.9em;
}
.content-subtitle {
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #CCCCCC;
}
.content-subtitle [class*="fa-"] {
    margin-right: 10px;
    color: var(--color-cta);
    font-size: 0.9em;
}
.content-block p {
    margin-bottom: 20px;
}
.sub-heading {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: var(--color-accent-red);
}
/* 4.4 2カラムレイアウト */
.two-column-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.column-text {
    flex: 1;
}
.column-image {
    flex: 1;
    min-width: 300px;
}
/* 4.5 ボタン */
.cta-button-wrapper {
    margin-top: 40px;
    text-align: center;
}
.cta-button {
    display: inline-block;
    background-color: var(--color-cta);
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
    transition: all 0.3s;
}
.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}
.btn.btn-secondary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn.btn-secondary:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.btn.btn-grey {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.btn.btn-grey:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}
.btn.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn.btn-primary:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.btn.btn-phone {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn.btn-phone:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.btn.btn-phone .fa-phone {
    margin-right: 10px;
    font-size: 0.9em;
}
.btn.btn-back {
    display: inline-block;
    background-color: #757575;
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn.btn-back:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* 4.6 リスト */
.content-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.content-list-numbered {
    list-style: decimal;
    padding-left: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.content-list-decimal {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.content-list-decimal h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: var(--color-accent-red);
}
.content-list-decimal p {
    margin: 0;
    padding-left: 1.5em;
}
.custom-marker-list {
    list-style: decimal; 
    padding-left: 1.5em; 
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.custom-marker-list li::marker {
    color: var(--color-primary);
    font-weight: 700;
}
.feature-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.feature-list h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    position: relative;
    padding-left: 1.5em;
}
.feature-list h4::before {
    content: '●';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 0;
}
.feature-list p {
    margin: 0 0 10px 0;
    padding-left: 1.5em;
}
.feature-list ol {
    list-style-type: none;
    padding-left: 1.5em;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feature-list h4:empty {
    margin-bottom: 0;
}
.feature-list h4:empty + p {
    padding-left: 1.5em;
}
.simple-list {
    list-style: none;
    padding-left: 0;
}
.simple-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
}
.simple-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
}
.circle-list {
    list-style: none;
    padding-left: 1.5em;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.circle-list li {
    position: relative;
    padding-left: 1.5em;
}
.circle-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-cta); 
    font-size: 0.8em; 
    line-height: 1;
}
.content-list-no-marker {
    list-style: none;
    padding-left: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.target-list {
    list-style: none;
    padding-left: 2em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.target-list li {
    display: flex;
    flex-direction: column;
}
.target-list .target-label {
    font-weight: bold;
    width: 80px;
}
.target-list .target-desc {
    flex: 1;
}
/* 4.7 汎用ボックス */
.contact-box {
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.contact-box p {
    margin: 0 0 15px 0;
}
.contact-box-tel {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 10px 0 5px 0;
    transition: opacity 0.3s;
}
.contact-box-tel:hover {
    opacity: 0.8;
}
.contact-box-tel .fa-phone {
    margin-right: 8px;
    font-size: 0.9em;
}
.contact-box-time {
    font-size: 14px;
    color: #757575;
    margin: 0;
}
.notes-box {
    border-top: 2px dashed var(--color-sub-bg);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}
.notes-box p {
    margin-bottom: 10px;
}
.trust-box {
    background-color: rgba(255, 152, 0, 0.1); 
    border: 1px solid rgba(255, 152, 0, 0.2); 
    padding: 20px;
    border-radius: 8px;
}
.notes-box.trust-box {
    background-color: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    border-top: none;
    margin-top: 30px;
}
.notes-box.trust-box p {
    margin-bottom: 0;
}
.trust-box > *:first-child,
.trust-box .sub-heading {
    margin-top: 0;
}
/* 4.8 その他 */
p.catchphrase {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: var(--color-accent-red);
    margin-bottom: 80px;
}
.free-badge {
    background-color: var(--color-cta);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95em;
    vertical-align: baseline;
}
.price-highlight {
    font-weight: 700;
    color: var(--color-cta);
    font-size: 1.15em;
    padding: 0 2px;
}
.text-accent {
    color: var(--color-accent-red);
    font-size: 1.1em;
    font-weight: 700;
}
.text-center {
    text-align: center;
}
.sp-only { 
    display: block; 
}
/* 4.9 タブレット/ノートPCサイズ (768px〜1200px) 用の葉っぱ */
.section-title-wrapper::before,
.section-title-wrapper::after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    background-image: url('../img/leaf_p1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.3;
    filter: brightness(200%) grayscale(100%);
    pointer-events: none;
    width: 100px;
    height: 50px;
}
.section-title-wrapper::before {
    left: -10px;
    transform: translateY(-50%) scaleX(-1);
}
.section-title-wrapper::after {
    right: -10px;
    transform: translateY(-50%);
}
/* --- 5. 固有セクション (サービス・会社概要など) --- */
/* 5.1 サービスグリッド */
.services-intro {
    text-align: left;
    margin-bottom: 40px;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.service-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card-image-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center 15%;
}
.card-title {
    font-size: 20px;
    line-height: 1.5;
    margin: 15px 20px 10px 20px;
}
.card-description {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 20px 20px 20px;
}
/* 5.2 会社概要テーブル (index) */
.company-info-table {
    border-top: 2px solid var(--color-sub-bg);
}
.table-row {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--color-sub-bg);
}
.table-row:nth-child(odd) .table-data {
    background-color: var(--color-white);
}
.table-row:nth-child(even) .table-data {
    background-color: var(--color-sub-bg);
}
.table-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    line-height: 1.5;
}
.table-data {
    font-size: 16px;
    padding: 10px 15px;
    line-height: 1.6;
    word-break: break-all;
}
/* 5.3 会社概要テーブル (company) */
.history-table {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--color-sub-bg);
}
.history-row {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--color-sub-bg);
}
.history-year {
    font-weight: bold;
    padding: 10px 15px;
    background-color: var(--color-primary);
    color: var(--color-white);
}
.history-year [class*="fa-"] {
    margin-right: 8px;
    font-size: 0.95em;
    width: 1.2em;
    text-align: center;
}
.history-desc {
    padding: 10px 15px;
    background-color: var(--color-white);
}
.history-row:nth-child(even) .history-desc {
    background-color: var(--color-sub-bg);
}
/* 5.4 求人グリッド */
.recruit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.recruit-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.recruit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.recruit-button {
    display: block;
    background-color: var(--color-cta);
    color: var(--color-white);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 12px;
    margin: auto 20px 20px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.recruit-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* 5.5 カードリンク */
.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.recruit-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.recruit-card .card-title a:hover {
    color: var(--color-primary);
}
.recruit-card .card-image-placeholder,
.recruit-card .card-title,
.recruit-card .card-description {
    position: relative;
    z-index: 2;
}
/* 5.6 Google Map */
.google-map-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--color-sub-bg);
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-style: italic;
    color: #757575;
}
.google-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}
.google-map-placeholder-kyotaku {
    width: 100%;
    height: 200px;
    background-color: var(--color-sub-bg);
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-style: italic;
    color: #757575;
}
.google-map-placeholder-kyotaku iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}
#kyotaku-map {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}
/* --- 6. フォーム --- */
/* 6.1 フォーム共通 */
.form-table {
    border-top: 2px solid var(--color-sub-bg);
}
.form-table .table-row {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--color-sub-bg);
}
.form-table .table-header {
background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.required-mark {
    background-color: var(--color-accent-red);
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 10px;
    flex-shrink: 0;
}
.form-table .table-data {
    padding: 15px 20px;
    background-color: var(--color-white);
    font-size: 16px;
    line-height: 1.7;
}
.form-table .table-row:nth-child(even) .table-data {
    background-color: var(--color-sub-bg);
}
.required-note {
    color: var(--color-accent-red);
    font-size: 0.9em;
    font-weight: bold;
}
/* 6.2 フォーム要素 */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}select {
    cursor: pointer;
}textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    min-height: 120px;
    box-sizing: border-box;
}
/* 6.3 フォームグループ */
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}
.checkbox-group-vertical label {
    display: flex;
    margin-right: 0;
}
.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}
.split-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.split-inputs label {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}
.split-inputs input[type="text"] {
    flex: 1;
    min-width: 100px;
}
.postal-code-inputs input[type="text"] {
    width: 80px;
}
.postal-code-inputs small {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.85em;
    color: #757575;
}
.postal-code-inputs-vertical small {
    display: block;
    margin-left: 0;
    margin-top: 5px;
}
.address-inputs select,
.address-inputs input[type="text"] {
    margin-right: 10px;
    margin-bottom: 10px;
}
.address-inputs input[type="text"] {
     width: calc(50% - 5px);
}
.address-inputs input[type="text"]:last-child {
    margin-right: 0;
}
.address-inputs-vertical select,
.address-inputs-vertical input[type="text"] {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
}
.address-inputs-vertical input[type="text"]:last-child {
    margin-bottom: 0;
}
.phone-inputs input[type="tel"] {
    width: 80px;
}
.phone-inputs small {
     display: inline-block;
    margin-left: 10px;
    font-size: 0.85em;
    color: #757575;
}
.phone-inputs-vertical small {
    display: block;
    margin-left: 0;
    margin-top: 5px;
}
.email-inputs input[type="email"] {
    width: calc(50% - 5px);
    margin-right: 10px;
    margin-bottom: 10px;
}
.email-inputs input[type="email"]:last-child {
    margin-right: 0;
}
.email-inputs-vertical input[type="email"] {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
}
.email-inputs-vertical input[type="email"]:last-child {
    margin-bottom: 0;
}
.radio-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    margin-right: 5px;
    transform: scale(1.1);
}
.birthdate-input input[type="date"] {
    cursor: pointer;
}
.birthdate-input input[type="date"]:invalid {
    color: #757575;
}
.custom-date-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.custom-date-display {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: var(--color-white);
    color: #757575;
    cursor: pointer;
}
.input-error .custom-date-display {
    border-color: var(--color-accent-red) !important;
    background-color: #fff0f0;
}
.custom-date-display.is-selected {
    color: var(--color-text);
}
.custom-date-wrapper input[type="date"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
/* 6.4 個人情報 */
.privacy-policy-section {
    margin-top: 40px;
}
.privacy-policy-section .section-title-wrapper {
    background-color: var(--color-sub-bg);
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
}
.privacy-policy-section .section-title {
    color: var(--color-text);
    font-size: 20px;
}
.privacy-text {
    border: 1px solid var(--color-sub-bg);
    border-top: none;
    padding: 20px;
    height: 150px;
    overflow-y: scroll;
    background-color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
}
.privacy-agree {
    text-align: center;
    margin-top: 20px;
}
.privacy-agree label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.privacy-agree input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
/* 6.5 ファイルアップロード */
.file-upload-area input[type="file"] {
    display: none;
}
.file-upload-area .file-select-btn {
    margin-right: 15px;
    cursor: pointer;
}
.file-upload-area #file-name-display {
    display: inline-block;
    font-style: italic;
    color: #757575;
}
.file-upload-area .drag-drop-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
    color: #757575;
}
.file-upload-area .drag-drop-area.dragover {
    background-color: #e0e0e0;
    border-color: #aaa;
}
.file-upload-area small {
    display: block;
    font-size: 0.85em;
    color: #757575;
}
/* 6.6 バリデーション */
.error-message {
    display: none;
    color: var(--color-accent-red);
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 5px;
}
.error-message.visible {
    display: block;
}
.input-error {
    border-color: var(--color-accent-red) !important;
    background-color: #fff0f0;
}
.file-upload-area.input-error .drag-drop-area {
    border-color: var(--color-accent-red);
    background-color: #fff0f0;
}
.file-upload-area.input-error .file-select-btn {
     border-color: var(--color-accent-red);
}
/* 6.7 確認・完了ページ */
.form-submit {
    text-align: center;
    margin-top: 40px;
}
.phone-contact-info {
    text-align: center;
}
.reception-time {
    font-weight: bold;
    margin-bottom: 5px;
}
.confirm-table {
    border-top: 2px solid var(--color-sub-bg);
    margin-top: 30px;
}
.confirm-table .table-row {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--color-sub-bg);
}
.confirm-table .table-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    line-height: 1.5;
}
.confirm-table .table-data {
    padding: 15px 20px;
    background-color: var(--color-white);
    font-size: 16px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    white-space: normal;
}
.confirm-table .table-data.message-content {
    white-space: pre-wrap;
}
.confirm-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.completion-section .container-narrow {
    background-color: transparent;
    box-shadow: none;
}
.completion-icon {
    font-size: 60px;
    color: var(--color-cta);
    margin-bottom: 20px;
}
.completion-message {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}
.completion-buttons {
    margin-top: 40px;
}
.error-icon {
    font-size: 60px;
    color: var(--color-accent-red);
    margin-bottom: 20px;
}
.completion-message.error-message {
    color: var(--color-accent-red);
}
/* --- 7. フッター --- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px 20px 20px 20px;
    margin-top: 40px;
}
.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 5px;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-white);
    transition: opacity 0.3s;
}
.footer-links a:hover {
    opacity: 0.8;
}
.footer-copyright {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    margin-top: 20px;
}
/* --- 8. ユーティリティ・その他 --- */
/* 8.1 アイコン */
.hero-button .button-label .fa-phone {
    margin-right: 8px;
    font-size: 0.95em;
}
.table-header [class*="fa-"] {
    margin-right: 8px;
    font-size: 0.95em;
    width: 1.2em; 
    text-align: center;
}
/* 8.2 ページトップボタン */
.page-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.page-top-btn i.fa-solid {
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    color: var(--color-white); 
    font-size: 18px; 
    line-height: 1; 
    margin: 0;
    padding: 0;
}
.page-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.page-top-btn:hover {
    opacity: 0.8;
}
/* 8.3 アニメーション */
.fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: scale(1);
    transition-delay: var(--animation-delay, 0s); 
}
/* 8.4 スクロール固定用 (ハンバーガーメニュー) */
body.is-menu-open {
    overflow: hidden;
}html.is-menu-open {
    overflow: hidden;
}
/* 8.5 重要テキスト強調用 */
.text-important {
    color: var(--color-cta);
    font-weight: 700;
}
/* 8.6 SEO invisible H1 */
.invisible-h1 {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
/* --- 9. SAMPLE ウォーターマーク (追加) --- */
.sample-watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    pointer-events: none;
}
/* --- 10. レスポンシブ (PC) --- */
/* 10.1 PC (768px以上) */
@media (min-width: 768px) {
    /* --- 1. 共通 --- */
    body {
        font-size: 18px;
        line-height: 1.8;
    }
    .sp-only { 
        display: none; 
    }
    /* --- 2. ヘッダー --- */
    .header-nav {
        display: block;
    }
    .hamburger-menu {
        display: none;
    }
    .mobile-nav {
        display: none;
    }
    /* --- 3. ヒーロー --- */
    .hero-slideshow {
        min-height: calc(100vh - var(--header-height, 50px));
    }    
    .hero-title {
        font-size: 40px;
    }
    .hero-subtitle {
        font-size: 28px;
    }
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    .hero-button {
        padding: 20px 40px;
    }    
    .page-hero-title {
        font-size: 40px;
        padding-bottom: 20px;
        border-bottom-width: 6px;
    }
    .page-hero {
        padding: 80px 40px 60px 40px;
    }
    /* --- 4. 共通コンポーネント --- */
    .container {
        padding-top: var(--section-v-padding);
        padding-bottom: var(--section-v-padding);
        padding-left: 20px;
        padding-right: 20px;
    }
    .container-narrow {
        padding-bottom: var(--section-v-padding);
        padding-left: 40px;
        padding-right: 40px;
    }
    .section-title-wrapper {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 28px;
    }    
    .content-title {
        font-size: 28px;
    }
    .content-subtitle {
        font-size: 24px;
    }
    .content-block {
        margin-bottom: 80px;
    }
    .two-column-layout {
        flex-direction: row;
    }
    .column-text {
        flex: 1.5;
    }    
    .cta-button-wrapper {
        margin-top: 60px;
    }
    .cta-button {
        font-size: 20px;
        padding: 25px 50px;
    }    
    .btn.btn-phone {
        font-size: 26px;
        padding: 15px 40px;
    }    
    .contact-box-tel {
        font-size: 32px;
    }
    .trust-box {
        padding: 30px;
    }
    .target-list li {
        flex-direction: row;
    }    
    p.catchphrase {
        font-size: 30px;
        margin-bottom: 100px; 
    }
    /* --- 5. 固有セクション --- */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .table-row {
        flex-direction: row;
    }
    .table-header {
        width: 30%;
        font-size: 18px;
        display: flex;
        align-items: center;
        padding: 12px 20px;
    }
    .table-data {
        width: 70%;
        font-size: 18px;
        line-height: 1.6;
        padding: 12px 20px;
    }    
    .recruit-grid {
        grid-template-columns: repeat(2, 1fr);
    }    
    .history-row {
        flex-direction: row; 
    }
    .history-year {
        width: 25%;
    }
    .history-desc {
        width: 75%;
    }
    /* --- 6. フォーム --- */
    .form-table .table-row {
        flex-direction: row;
    }
    .form-table .table-header {
        width: 30%;
        display: flex;
        align-items: center;
    }
    .form-table .table-data {
        width: 70%;
    }
    .split-inputs label {
        flex-basis: calc(50% - 10px);
    }
    .postal-code-inputs input[type="text"] {
        width: 100px;
    }
    .address-inputs select {
        width: 150px;
        margin-right: 10px;
    }
    .address-inputs input[name="address1"] {
         flex: 1;
         width: auto;
         margin-right: 10px;
    }
    .address-inputs input[name="address2"] {
        flex: 1;
        width: auto;
        margin-right: 0;
    }
    .address-inputs:not(.address-inputs-vertical) {
         display: flex;
    }
    .phone-inputs input[type="tel"] {
        width: 100px;
    }
    .email-inputs input[type="email"] {
        width: calc(50% - 5px);
    }
    .address-inputs-vertical select,
    .address-inputs-vertical input[type="text"] {
        width: 100%;
        margin-right: 0;
    }
    .email-inputs-vertical input[type="email"] {
        width: 100%;
        margin-right: 0;
    }    
    .radio-group label {
        margin-bottom: 0;
    }    
    .confirm-table .table-row {
        flex-direction: row;
    }
    .confirm-table .table-header {
        width: 30%;
        display: flex;
        align-items: center;
    }
    .confirm-table .table-data {
        width: 70%;
        text-align: left;
        white-space: normal;
    }
    .confirm-table .table-data.message-content {
        white-space: pre-wrap;
    }
    .completion-icon {
        font-size: 80px;
    }
    .completion-message {
        font-size: 28px;
    }
    .error-icon {
        font-size: 80px;
    }
    .custom-date-wrapper {
        position: static;
    }
    .custom-date-display {
        display: none;
    }
    .custom-date-wrapper input[type="date"] {
        position: static;
        width: auto;
        height: auto;
        opacity: 1;
    } 
    /* --- 7. フッター --- */
    .footer {
        padding: 60px 20px 30px 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 40px;
        margin-bottom: 40px;
    }
}
/* 10.2 PC (960px以上) */
@media (min-width: 960px) {
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* 10.3 大型PCサイズ (1201px以上) 用の葉っぱ */
@media (min-width: 1201px) {
    .section-title-wrapper::before,
    .section-title-wrapper::after {
        width: 200px;
        height: 100px;
    }
    .section-title-wrapper::before {
        left: -20px;
    }
    .section-title-wrapper::after {
        right: -20px;
    }
}
/* --- 11. スマホ専用スタイル --- */
@media (max-width: 767px) {
    .slide-arrow {
        display: none;
    }
}