/**
 * Shimomiya Theme - About Page Styles
 * しもみやについてページ専用スタイル
 * トップページのクラフト感デザインと統一
 *
 * @package Shimomiya
 */

/* ==========================================================================
   Page Hero - 共通ページヒーロー
   ドットテクスチャオーバーレイ + ステッチ風装飾
   ========================================================================== */

.page-hero {
    position: relative;
    height: 456px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(211, 91, 71, 0.08) 2px, transparent 2px),
        rgba(0, 0, 0, 0.18);
    background-size: 48px 48px, auto;
}

.page-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 145px;
}

.page-hero-wave svg {
    width: 100%;
    height: 100%;
}

.page-hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-zen);
    font-weight: var(--font-weight-bold);
    font-size: 30px;
    color: var(--color-white);
    text-align: center;
    line-height: 1.7;
    letter-spacing: 2px;
    margin: 0;
    z-index: 2;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 0, 0, 0.15);
}

/* ステッチ風下線装飾 */
.page-hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 0;
    border-bottom: 3px dashed rgba(255, 255, 255, 0.5);
    margin: 18px auto 0;
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }

    .page-hero-title {
        font-size: 24px;
    }

    .page-hero-title::after {
        width: 60px;
        margin-top: 14px;
    }

    .page-hero-wave {
        height: 80px;
    }
}

/* ==========================================================================
   理事長あいさつ Section
   多色ドットスタンプ（トップAboutセクション準拠）
   ========================================================================== */

.about-greeting-section {
    background:
        radial-gradient(circle, rgba(211, 91, 71, 0.14) 1.6px, transparent 1.7px),
        radial-gradient(circle, rgba(93, 160, 68, 0.12) 1.3px, transparent 1.4px),
        radial-gradient(circle, rgba(242, 167, 59, 0.13) 1.1px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 229, 102, 0.16) 1.4px, transparent 1.5px),
        var(--color-yellow-light);
    background-size: 44px 44px, 36px 36px, 28px 28px, 52px 52px, auto;
    background-position: 0 0, 18px 10px, 8px 22px, 30px 5px, 0 0;
    padding: 75px 0 80px;
}

.about-greeting-inner {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-greeting-images {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    padding-top: 100px;
}

/* ポラロイド風白枠フレーム */
.greeting-image {
    width: 281px;
    height: 281px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    padding: 8px;
    box-shadow: var(--shadow-photo);
}

.greeting-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 4px);
}

.greeting-image--back {
    position: absolute;
    top: 18px;
    left: 16px;
    z-index: 1;
    transform: rotate(-3deg);
}

.greeting-image--front {
    position: relative;
    z-index: 2;
    transform: rotate(1.5deg);
}

.greeting-name {
    font-family: var(--font-zen);
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    color: var(--color-brown-dark);
    text-align: center;
    letter-spacing: 1.3px;
    margin-top: 30px;
}

.about-greeting-content {
    flex: 1;
    padding-top: 0;
}

.about-greeting-text {
    margin-top: 40px;
}

.about-greeting-text p {
    font-family: var(--font-zen);
    font-weight: var(--font-weight-normal);
    font-size: 22px;
    color: var(--color-brown-dark);
    line-height: 2.0;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
}

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

@media (max-width: 991px) {
    .about-greeting-inner {
        flex-direction: column;
        gap: 40px;
    }

    .about-greeting-images {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding-top: 20px;
    }

    .greeting-image--back {
        display: none;
    }

    .greeting-image--front {
        margin: 0 auto;
        transform: none;
    }
}

/* ==========================================================================
   法人情報 Section
   赤×オレンジ ポルカドット（トップNewsセクション準拠）
   ========================================================================== */

.about-info-section {
    background:
        radial-gradient(circle, rgba(211, 91, 71, 0.22) 4.5px, transparent 5px),
        radial-gradient(circle, rgba(242, 167, 59, 0.20) 4px, transparent 4.5px),
        var(--color-yellow-light);
    background-size: 48px 48px, 48px 48px, auto;
    background-position: 0 0, 24px 24px, 0 0;
    padding: 0 0 80px;
}

/* ステッチ枠カード（トップNewsカード準拠） */
.about-info-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 35px 50px 50px;
    border: 3px dashed var(--color-accent-green);
    box-shadow: var(--shadow-card);
}

.about-info-card .section-heading {
    margin-bottom: 30px;
}

.info-list {
    margin: 0;
}

/* ステッチ風区切り線 */
.info-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 0;
    border-top: 2px dashed var(--stitch-color-dark);
}

.info-item:last-child {
    border-bottom: 2px dashed var(--stitch-color-dark);
}

.info-item dt {
    width: 180px;
    flex-shrink: 0;
    font-family: var(--font-zen);
    font-weight: var(--font-weight-bold);
    font-size: 22px;
    color: var(--color-accent-green);
    letter-spacing: 1.4px;
    line-height: 1.4;
}

.info-item dd {
    flex: 1;
    font-family: var(--font-zen);
    font-weight: var(--font-weight-normal);
    font-size: 22px;
    color: var(--color-brown-dark);
    letter-spacing: 1.3px;
    line-height: 1.4;
    margin: 0;
}

.info-item--documents {
    align-items: flex-start;
    padding-top: 30px;
    padding-bottom: 30px;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    font-family: var(--font-zen);
    font-size: 22px;
    color: var(--color-brown-dark);
    line-height: 1.7;
    letter-spacing: 1.26px;
    margin-bottom: 5px;
}

.document-list li a {
    color: var(--color-brown-dark);
    text-decoration: underline;
    text-decoration-color: var(--color-accent-orange);
    text-underline-offset: 3px;
    transition: color var(--transition-normal);
}

.document-list li a:hover {
    color: var(--color-accent-red);
    opacity: 1;
}

@media (max-width: 768px) {
    .about-info-card {
        padding: 25px 20px 30px;
    }

    .info-item {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .info-item dt {
        width: 100%;
        font-size: 18px;
    }

    .info-item dd {
        font-size: 18px;
    }

    .document-list li {
        font-size: 18px;
    }
}

/* ==========================================================================
   アクセス Section
   大粒ドット（トップServiceセクション準拠）
   ========================================================================== */

.about-access-section {
    background:
        radial-gradient(circle, rgba(180, 140, 100, 0.05) 1.5px, transparent 1.5px),
        var(--color-yellow-light);
    background-size: 36px 36px, auto;
    padding: 0 0 80px;
    position: relative;
}

.access-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 187px;
    z-index: 1;
}

.access-wave svg {
    width: 100%;
    height: 100%;
}

.about-access-section .container {
    position: relative;
    z-index: 2;
    padding-top: 110px;
}

.about-access-section .section-heading {
    margin-bottom: 40px;
}

/* ステッチ枠マップコンテナ（トップNewsカード準拠） */
.access-map {
    width: 100%;
    height: 475px;
    background: #d9d9d9;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px dashed var(--color-accent-orange);
    box-shadow: var(--shadow-card);
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .about-access-section .container {
        padding-top: 60px;
    }

    .access-map {
        height: 300px;
    }
}

/* ==========================================================================
   お問い合わせ Section (About Page)
   超微細ドット（トップContactセクション準拠）
   ========================================================================== */

.about-contact-section {
    background:
        radial-gradient(circle, rgba(180, 155, 120, 0.04) 0.6px, transparent 0.6px),
        var(--color-cream);
    background-size: 12px 12px, auto;
    position: relative;
    padding: 187px 0 80px;
}

.about-contact-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 103px;
}

.about-contact-wave svg {
    width: 100%;
    height: 100%;
}

.about-contact-inner {
    display: flex;
    gap: 67px;
    align-items: center;
}

/* ポラロイド風白枠フレーム（トップContactセクション準拠） */
.about-contact-image {
    width: 503px;
    flex-shrink: 0;
    background: var(--color-white);
    padding: 10px;
    box-shadow: var(--shadow-photo);
    border-radius: var(--radius-md);
}

.about-contact-image img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 6px);
}

.about-contact-content {
    flex: 1;
}

.about-contact-text {
    font-family: var(--font-zen);
    font-weight: var(--font-weight-normal);
    font-size: 22px;
    color: var(--color-brown-dark);
    line-height: 2.0;
    letter-spacing: 0.6px;
    margin: 25px 0 30px;
}

@media (max-width: 991px) {
    .about-contact-section {
        padding: 120px 0 60px;
    }

    .about-contact-inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-contact-image {
        width: 100%;
        max-width: 400px;
    }
}
