/* ========================================
   Concept Page Styles
   WordPress化時: is_page('concept')で条件分岐して読み込み
======================================== */

/* ===== Page-Specific Settings ===== */
.concept-page {
    background-color: #ffffff;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    scroll-padding-top: 120px;
}

/* Content Header - 白背景 */
.concept-page .content-header {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    color: #333333 !important;
}

.concept-page .content-header.scrolled {
    background: #ffffff !important;
    color: #333333 !important;
}

/* Header Location */
.concept-page .header-location {
    color: #333333 !important;
}

/* Hamburger Menu */
.concept-page .hamburger-menu {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
}

.concept-page .hamburger-menu::before,
.concept-page .hamburger-menu::after,
.concept-page .hamburger-menu .hamburger-line {
    background: #333333 !important;
}

/* ===== Concept Page Components ===== */

h2.section-title-main{
    font-size:1.6rem;
    margin-bottom:40px;
}

/* ========================================
   4つのこだわり Section
======================================== */

.content-section {
    padding: 60px 40px;
    scroll-margin-top: 120px;
}

.content-section.concept-section {
    background:white !important;
}

/* Concept Item */
.concept-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 100px;
}

.concept-item:last-child {
    margin-bottom: 0;
}

/* Concept Top (画像+縦書き見出し) */
.concept-top {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Layout (画像左、見出し右) */
.concept-item-left .concept-top {
    flex-direction: row;
}

/* Right Layout (見出し左、画像右) */
.concept-item-right .concept-top {
    flex-direction: row-reverse;
}

/* Image Wrapper */
.concept-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

.concept-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

/* Number Overlay */
.concept-number {
    position: absolute;
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.concept-number-right {
    top: -30px;
    right: -30px;
}

.concept-number-left {
    top: -30px;
    left: -30px;
}

/* Vertical Title */
.concept-title {
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    font-weight: 500;
    color: #333333;
    letter-spacing: 0.1em;
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
    text-align: start;
}

/* 縦中横 (Tate-Chu-Yoko) */
.tcy {
    text-combine-upright: all;
    -webkit-text-combine: horizontal;
    -ms-text-combine-horizontal: all;
}

/* 縦中横の先頭文字に余白を追加 */
.tcy-padding {
    margin-top: 10rem;
}

/* Concept Text (下部に全幅表示) */
.concept-text {
    width: 100%;
}

.concept-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 20px;
}

.concept-text p:last-child {
    margin-bottom: 0;
}

.concept-emphasis {
    font-weight: 500;
    margin-top: 30px !important;
}

/* ========================================
   施工品質への取り組み Section
======================================== */

.quality-section {
    padding: 60px 20px;
    background: #ffffff;
}

.quality-intro {
    margin: 40px 0;
    text-align: center;
}

.quality-intro p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
}

.quality-main-image {
    margin: 50px 0;
    overflow: hidden;
}

.quality-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* コンセプトページ専用: subsection-title のカスタマイズ */
.concept-page .subsection-title {
    margin: 60px 0 20px;
    text-align: center;
}

.subsection-description {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    text-align: center;
    margin-bottom: 50px;
}

/* Audit Grid */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    margin-top: 40px;
}

.audit-item {
    text-align: center;
}

.audit-image-wrapper {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
}

.audit-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.audit-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
}

.audit-text {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   保証・アフターサービス Section
======================================== */

.warranty-section {
    padding: 60px 20px;
    background-color: #cbc3bb;
}

.warranty-intro {
    font-size: 1rem;
    color: #333333;
    text-align: center;
    margin: 30px 0 50px;
}

/* Service Icons Grid */
.service-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-icon-item {
    text-align: center;
}

.service-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon-circle i {
    font-size: 2.0rem;
    color: #333333;
}

.service-icon-item p {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
    margin: 0;
}

/* ========================================
   各種保証セクション
======================================== */

.defect-insurance-section {
    padding: 60px 20px;
    background: #ffffff;
}

.ground-warranty-section {
    padding: 60px 20px;
    background: #cbc3bb;
}

.inspection-section {
    padding: 60px 20px;
    background: #ffffff;
}

.inspection-schedule-section {
    padding: 60px 20px;
    background: #cbc3bb;
}

.third-party-inspection-section {
    padding: 60px 20px;
    background: #ffffff;
}

/* コンセプトページ専用: section-title-sub のカスタマイズ */
.concept-page .section-title-sub {
    font-size: 1.8rem;
    font-weight: 500;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.section-description {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 40px;
}

.section-image {
    margin: 40px 0;
    overflow: hidden;
}

.section-image img {
    width: 85%;
    height: auto;
    display: block;
    margin:auto;
}

.section-text {
    margin: 40px 0;
}

.section-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 20px;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* Insurance Card */
.insurance-card {
    background: #cbc3bb;
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
}

.insurance-card-icon {
    text-align: center;
    margin-bottom: 30px;
}

.insurance-card-icon i {
    font-size: 3.5rem;
    color: #333333;
}

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

.insurance-card-item h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.insurance-card-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333333;
    margin: 0;
}

/* ========================================
   お家づくりの流れ Section
======================================== */

.flow-section {
    padding: 80px 40px;
    background: #ffffff;
}

.flow-intro {
    text-align: center;
    margin-bottom: 60px;
}

.flow-intro p {
    font-size: 1.1rem;
    line-height: 2;
    color: #333333;
    letter-spacing: 0.05em;
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.flow-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.flow-step-number {
    flex-shrink: 0;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c2c2c;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 0;
    font-family: 'Marcellus', serif;
}

.flow-step-point .flow-step-number {
    background: #c5a572;
}

.flow-step-content {
    flex: 1;
    width: 100%;
    text-align: left;
}

.flow-step-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.flow-step-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #333333;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-align: left;
}

.flow-step-image {
    width: 100%;
    max-width: 600px;
}

.flow-step-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
