@charset "utf-8";

/* ===================================
   1. 基本設定・共通パーツ
=================================== */

/* --- 基本設定 --- */
html {
    font-size: 100%;
	scroll-behavior: smooth; /* ← この1行を追加 */
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

a {
    color: inherit; /* 親要素の色を継承 */
    text-decoration: none;
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}

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

/* --- 共通パーツ --- */
.section-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
}

.decorator-line {
    width: 50px;
    height: 4px;
    background-color: #5d9ab2;
    margin: 20px auto 50px;
}

.btn {
    display: inline-block;
    padding: 8px 25px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}
.btn-instagram {
    background-color: #9370DB;
    color: white;
}
.btn-line {
    background-color: #28a745;
    color: white;
}
.sp_only{ display: none; }

/* ===================================
   2. ヘッダー
=================================== */
.site-header {
    background-color: #f5f2e9;
    border-bottom: 1px solid #cce0e6;
    padding: 10px 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 60px;
}
.logo-text {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    margin-left: 15px;
}

/* PC用のナビゲーション */
.header-right-pc {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.header-buttons {
    margin-bottom: 15px;
}
.header-buttons .btn {
    margin-left: 10px;
}
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.header-nav li {
    margin-left: 25px;
}
.header-nav a:hover {
    text-decoration: underline;
}

/* SP用パーツはPCでは非表示 */
.hamburger-btn,
.nav-panel,
.sp-fixed-buttons {
    display: none;
}


/* ===================================
   3. 各セクションのスタイル
=================================== */

/* --- メインビュー --- */
.main-view {
    background-image: url('../img/main-top.webp'); /* 要画像パス確認 */
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 0 40px;
}
.main-view-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.text-box {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 30px 40px;
    max-width: 550px;
    border-radius: 5px;
}
.text-box h1 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.6;
    margin: 0 0 15px 0;
}
.text-box h1 span {
    font-size: 36px;
}
.text-box p {
    font-size: 16px;
    margin: 0;
    color: white;
}

/* --- 強みセクション --- */
.strengths{
	padding: 100px 0 0 0;
}
.strengths-section {
    padding: 80px 20px;
    background-color: white;
}
.strengths-section .section-subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}
.strengths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.strengths-text {
    background-color: #fffbef;
    padding: 40px;
    border-radius: 8px;
}
.strengths-text p {
    margin: 0 0 1em 0;
    line-height: 1.8;
}
.strengths-text p:last-child { margin-bottom: 0; }
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
}
.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.image-gallery .img-1 { grid-column: 1 / 3; }
.image-gallery .img-2 { grid-row: 2 / 4; }
.image-gallery .img-3 { grid-column: 2 / 3; }
.image-gallery .img-4 { grid-column: 2 / 3; grid-row: 3 / 4; }
.image-gallery .img-5 { display: none; }

/* --- 2カラムカードセクション --- */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    background-color: white;
}
.text-card {
    background-color: #fefcbf;
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.text-card-inner {
    background-color: #fefcf7;
    border: 2px solid #a9d6e5;
    border-radius: 21px;
    padding: 30px 40px;
    width:500px;
}
.text-card-inner p {
    margin: 0 0 1em 0;
    line-height: 1.8;
    font-size: 17px;
}
.text-card-inner p:last-child { margin-bottom: 0; }
.image-card img {
    display: block;
    width: 500px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- 4枚画像ギャラリーセクション --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    padding: 30px 20px 0;
    height: 500px;
    max-width: 1200px;
    margin: auto;
    background-color: white;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.gallery-grid .gallery-item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-grid .gallery-item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-grid .gallery-item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-grid .gallery-item-4 { grid-column: 3 / 4; grid-row: 1 / 3; }


/* --- サービス内容セクション --- */
.service-section {
    padding: 100px 20px;
    background-color: white;
}
.section-catchphrase {
    text-align: center;
    font-size: 22px;
    margin-bottom: 60px;
}
.section-catchphrase .highlight {
    color: #d9534f;
    font-weight: bold;
}
.service-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.service-description h3 {
    font-size: 26px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.service-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.card-wrapper {
    background-color: #e0dccf;
    border-radius: 15px;
    padding: 3px;
}
.card-inner {
    background-color: #f5f2e9;
    border: 1px solid #555;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    height: 120px;
}
.card-icon {
    height: 60px;
    margin-bottom: 15px;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
}
.card-subtitle {
    font-size: 13px;
    color: #555;
    margin: 5px 0 0 0;
}

/* --- 場面転換の帯 --- */
.parallax-band {
    height: 250px;
    width: 100%;
    overflow: hidden;
}
.parallax-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 特徴セクション --- */
.features-section {
    padding: 100px 20px;
    background-color: #fefcf7;
}
.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1100px;
    margin: 60px auto 0;
}
.features-text {
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #a9d6e5;
    border-right-color: #fefcbf;
	background-color: white;
}
.features-text p {
    font-size: 15px;
    margin: 0 0 1em 0;
	line-height: 1.5;
}
.features-text p:last-child {
    margin-bottom: 0;
}
.features-signature {
    text-align: right;
    margin-top: 30px;
}
.features-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.features-images img {
    width: 100%;
    border-radius: 15px;
}

/* --- 訪問エリア・ご利用対象者・ご利用の流れ --- */
.area-section,
.eligible-section,
.flow-section {
    padding: 0 0 70px;
	background-color: #fefcf7;
}
.area-container,
.eligible-container,
.flow-container,.features-section-container,
.outline-container,.recruitment-container,
.recruit-continer{
    background-color: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.area-container .decorator-line,
.eligible-container .decorator-line {
    margin-bottom: 50px;
}
.flow-container .section-title {
    margin-bottom: 50px;
}
.area-content {
    background-color: #fefcbf;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
	justify-content: center;
}
.area-map img {
    width: 150px;
}
.area-text p {
    margin: 0 0 1em 0;
    line-height: 1.8;
	font-size: 17px;
}
.area-text p:last-child { margin-bottom: 0; }
.area-note { font-size: 14px; }
.eligible-content {
    background-color: #fefcbf;
    border-radius: 15px;
    padding: 40px;
}
.eligible-content p {
    margin: 0 0 1.5em 0;
    line-height: 1.8;
	font-size: 17px;
}
.eligible-content p:last-child { margin-bottom: 0; }
.eligible-content .indented-arrow { padding-left: 1em; }
.eligible-content .list-item { padding-left: 1em; }
.eligible-content .indented-detail { padding-left: 3em; }
.flow-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow-step {
    background-color: #fefcbf;
    border-radius: 8px;
    padding: 25px 30px;
    width: 100%;
    max-width: 650px;
}
.flow-step h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
}
.flow-step h3 span {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    display: block;
    margin-bottom: 5px;
}
.flow-step p { margin: 0; line-height: 1.8; font-size: 16px;}
.flow-arrow { font-size: 24px; margin: 20px 0; }
.final-cta { text-align: center; margin-top: 60px; }
.cta-text {
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 30px;
	font-size: 20px;
}
.cta-text::before {
    content: '●';
    color: #007bff;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}
.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.cta-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
}
.cta-line { background-color: #28a745; color: white; }
.cta-form { background-color: #fefcbf; color: #333; border: 1px solid #ddd; }


/* --- 事業所概要・求人情報 --- */
.outline-section,
.recruitment-section {
    padding: 100px 20px 0;
	background-color: #fefcf7;
}
.outline-section .section-title,
.recruitment-section .section-title {
    margin-bottom: 30px;
}
.outline-container,
.recruitment-container {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 50px 70px;
    max-width: 800px;
    margin: 0 auto;
}
.outline-item,
.recruitment-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
	font-size: 16px;
}
.outline-item:last-child,
.recruitment-item:last-child {
    border-bottom: none;
}
.outline-item dt,
.recruitment-item dt {
    font-weight: bold;
    width: 140px;
    flex-shrink: 0;
}
.outline-item dd,
.recruitment-item dd {
    margin-left: 20px;
    line-height: 1.6;
}
.outline-item dd a {
    color: #007bff;
    text-decoration: underline;
}
.recruitment-section{
	padding-bottom: 100px;
}
/* ===================================
   4. フォーム
=================================== */
.recruit-page{
	padding: 100px 0;
	background-color: #fefcf7;
}
.form-section {
    padding: 80px 20px;
    background-color: white;
}
.form-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}
.form-table th, .form-table td {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.form-table th {
    width: 240px;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
	font-size: 16px;
}
.required {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 0.8em;
    background-color: #e53935;
    color: #fff;
    border-radius: 4px;
}
.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.form-table input:focus,
.form-table textarea:focus {
    outline: none;
    border-color: #5e3c1a;
    box-shadow: 0 0 5px rgba(94, 60, 26, 0.3);
}
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-direction: row-reverse;
}
.form-buttons input {
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
input[type="submit"], input[type="confirm"] {
    background-color: #2D2D2D;
    color: #fff;
}
input[name="back"],
input[type="button"] { /* 戻るボタンのセレクタを統合 */
    background-color: #ccc;
    color: #333;
}
input[type="submit"]:hover, input[type="confirm"]:hover {
    background-color: #444;
}
input[name="back"]:hover,
input[type="button"]:hover {
    background-color: #bbb;
}
.btn-2nd{
	display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    flex-direction: row-reverse;
}
.btn_submit {
    background-color: #2D2D2D;
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-back{
    padding: 8px 0px;
}
.btn-back .back{
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.thank-you-message {
    max-width: 800px;
    margin: 80px auto;
    padding: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    background-color: white;
}
.thank-you-message p { line-height: 1.8; margin-bottom: 25px; }
.thank-you-message p:first-child { font-size: 1.3em; font-weight: 700; }
.thank-you-message p:last-child { margin-bottom: 0; }


/* ===================================
   5. フッター
=================================== */
.site-footer {
    padding: 20px;
    background-color: #2D2D2D;
    color: #fff;
    text-align: center;
}
.site-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}


/* ===================================
   6. スマートフォン向けスタイル
=================================== */
@media (max-width: 768px) {
    /* --- 基本 --- */
    body {
        padding-bottom: 80px; /* 下部固定ボタンの高さ分 */
    }
    .section-title {
        font-size: 20px;
    }
	.pc_only{ display: none; }
	.sp_only{ display: block; }

    /* --- ヘッダー & ナビゲーション --- */
	.logo-text { margin-left: 5px; }
    .site-header { padding: 15px 10px 10px; }
    .header-inner { justify-content: space-between; }
    .header-right-pc { display: none; }
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1010;
    }
    .hamburger-btn .line {
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .nav-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-panel.is-open { transform: translateX(0); }
    .hamburger-btn.is-open .line:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .hamburger-btn.is-open .line:nth-child(2) { opacity: 0; }
    .hamburger-btn.is-open .line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
    .header-nav-sp ul { list-style: none; padding: 0; text-align: center; }
    .header-nav-sp li { margin-bottom: 25px; }
    .header-nav-sp a { font-size: 20px; font-weight: bold; }
    
    .sp-fixed-buttons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 0 20px;
        background-color: white;
        border-top: 1px solid #ddd;
        z-index: 990;
    }
    .sp-fixed-buttons .btn {
        flex-grow: 1;
        text-align: center;
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
    }
	.sp-fixed-buttons-box{
		width: 90%;
		text-align: center;
	}
	.btn-instagram {
	    width: 30%;
	}
    .btn-line {
	    width: 50%;
	}
	.header-buttons-sp{
		text-align: center;
	}
	.header-buttons-sp .btn-instagram{
		width: 50%;
		margin-bottom: 20px;

	}
    /* --- 各セクション --- */
    .main-view { height: 70vh; padding: 0 20px; }
    .text-box { padding: 20px; }
    .text-box h1 { font-size: 22px; }
    .text-box h1 span { font-size: 28px; }

	/* --- 強みセクション --- */
	.strengths { padding: 50px 0 0 0; }
	.content-wrapper  {padding: 0px 10px; }

    .strengths-section { padding: 40px 20px; }
    .strengths-grid { grid-template-columns: 1fr; gap: 30px; }
    .image-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
    .image-gallery img { grid-column: auto; grid-row: auto; }
    .image-gallery .img-5 { display: block; }

    .content-wrapper { flex-direction: column; padding: 0px 20px; }
    .text-card-inner { width: auto; }
    .image-card img { width: 100%; }

    .gallery-grid { display: none;}
    .gallery-grid .gallery-item-1,
    .gallery-grid .gallery-item-2,
    .gallery-grid .gallery-item-3,
    .gallery-grid .gallery-item-4 {
        grid-column: auto;
        grid-row: auto;
		display: none;
    }
    
    .service-section { padding: 50px 20px; }
	.section-catchphrase { 
		margin-bottom: 50px; 
		line-height: 1.5;
		text-align: start;
	}
    .service-grid { grid-template-columns: 1fr; gap: 20px;}
    .card-grid { grid-template-columns: 1fr; }
    
    .parallax-band { height: 150px; }

	.area-container, .eligible-container, .flow-container, .features-section-container, .outline-container, .recruitment-container, .recruit-continer {
		padding: 50px 20px;
	}
    .features-section { padding: 60px 15px 0; }
    .features-grid { grid-template-columns: 1fr; }
	.features-images { display: none; }

    .area-section,
    .eligible-section,
    .flow-section { 
        padding: 50px 15px 0; 
    }
    .area-container,
    .eligible-container,
    .flow-container { 
        padding: 50px 15px; 
    }
    .area-content { flex-direction: column; }

	.eligible-content { padding: 40px 20px; }
	.eligible-content .indented-arrow { padding-left: 0em;}
	.eligible-content .list-item { padding-left: 0em;}
	.eligible-content p:last-child {
    	margin-bottom: 1.5em;
	}
    .eligible-content .indented-detail { padding-left: 0em; margin: 0 0 1.5em 0;}

    .flow-container { padding: 40px 20px; }
	.flow-container .section-title {
		margin-bottom: 0px;
	}
	.flow-step {
	    padding: 25px 10px;
	}
	.cta-text {
	    text-align: start;
		line-height: 1.3;
	}
	.cta-text::before {
	    top: 20%;
	}
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 90%; }

    .outline-section,
    .recruitment-section { padding: 50px 15px 0; }
	.outline-section .section-title, .recruitment-section .section-title {
    	margin-bottom: 0px;
	}
    .outline-container,
    .recruitment-container { padding: 50px 15px; }
    .outline-item,
    .recruitment-item { flex-direction: column; gap: 8px; padding: 15px 0; }
    .outline-item dt,
    .recruitment-item dt { width: auto; }
    .outline-item dd,
    .recruitment-item dd { margin-left: 0; }

    /* --- フォーム --- */
	.recruit-page { padding: 70px 10px; }
    .form-section { padding: 40px 20px; }
    .form-table th, .form-table td { display: block; width: 100%; padding: 15px 0; }
    .form-table th { padding-bottom: 5px; }
    .form-buttons { flex-direction: column-reverse; }
}