/**
 * Front Page (Home) Styles
 * 配置場所: /wp-content/themes/swell-child/assets/css/home.css
 *
 * 台湾向けの神社・御朱印トップページ用。
 * functions.php で is_front_page() の時のみ enqueue 推奨。
 */

/* ========================================
   Common
   ======================================== */
.home-main {
    --home-ink: #17211f;
    --home-ink-soft: #35443f;
    --home-text-sub: #68706a;
    --home-vermilion: #b7472a;
    --home-vermilion-dark: #87331f;
    --home-gold: #c99a5b;
    --home-moss: #536b4b;
    --home-indigo: #24445c;
    --home-paper: #fbf6ec;
    --home-border: rgba(23, 33, 31, 0.14);
    --home-shadow: 0 18px 42px rgba(23, 33, 31, 0.12);
    --home-shadow-soft: 0 10px 26px rgba(23, 33, 31, 0.08);
    color: var(--home-ink);
    overflow-x: hidden;
}

.home-main a {
    text-underline-offset: 0.18em;
}

.home-main .l-mainContent__inner.w-mainContent {
    max-width: 1200px;
    width: calc(100% - 2rem);
}

/* ========================================
   Hero
   ======================================== */
.home-hero {
    position: relative;
    width: 100%;
    min-height: 620px;
    margin: 0 0 4.5rem;
    padding: 6rem 1.5rem 5.5rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #1b2622;
    background-image:
        linear-gradient(90deg, rgba(14, 20, 18, 0.88) 0%, rgba(14, 20, 18, 0.68) 48%, rgba(14, 20, 18, 0.18) 100%),
        var(--home-hero-image);
    background-size: cover;
    background-position: center;
}

.home-hero--no-image {
    background-image:
        linear-gradient(120deg, rgba(23, 33, 31, 0.95), rgba(83, 107, 75, 0.9)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0, transparent 18%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px);
    mix-blend-mode: soft-light;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    color: #fff;
}

.home-hero__eyebrow {
    margin: 0 0 1rem;
    padding: 0.25rem 0 0.25rem 0.9rem;
    border-left: 3px solid var(--home-gold);
    color: #f7dfb8;
    font-size: 0.92rem;
    font-weight: 700;
}

.home-hero__title {
    max-width: 760px;
    margin: 0 0 1.25rem;
    color: #fffdf7;
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 800;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.38);
}

.home-hero__lead {
    max-width: 680px;
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.9;
}

.home-hero-search {
    display: flex;
    width: 100%;
    max-width: 620px;
    min-height: 56px;
    margin: 0 0 1rem;
    padding: 0.35rem;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.home-hero-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 1rem;
    background: transparent;
    color: var(--home-ink);
    font-size: 1rem;
}

.home-hero-search input[type="search"]::placeholder {
    color: #8a8f88;
}

.home-hero-search button {
    flex: 0 0 auto;
    min-width: 104px;
    border: 0;
    border-radius: 6px;
    background: var(--home-vermilion);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.home-hero-search button:hover {
    background: var(--home-vermilion-dark);
    transform: translateY(-1px);
}

.home-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-btn span {
    display: inline-grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.home-btn--primary {
    background: var(--home-vermilion);
    color: #fff;
}

.home-btn--primary span {
    background: rgba(255, 255, 255, 0.18);
}

.home-btn--primary:hover {
    background: var(--home-vermilion-dark);
    color: #fff;
}

.home-btn--secondary {
    background: rgba(255, 253, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    backdrop-filter: blur(8px);
}

.home-btn--secondary span {
    background: rgba(255, 255, 255, 0.16);
}

.home-btn--secondary:hover {
    background: rgba(255, 253, 248, 0.22);
    color: #fff;
}

.home-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-hero__stats li {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
}

.home-hero__stats strong {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
}

.home-hero__stats span {
    font-size: 0.82rem;
}

.home-hero__featured {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border-left: 3px solid var(--home-gold);
    border-radius: 6px;
    background: rgba(14, 20, 18, 0.62);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
}

.home-hero__featured span {
    display: block;
    margin: 0 0 0.1rem;
    font-size: 0.72rem;
}

.home-hero__featured a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.home-hero__featured a:hover {
    text-decoration: underline;
}

@media (min-width: 960px) {
    .home-hero__title {
        font-size: 4.15rem;
    }
}

@media (min-width: 1280px) {
    .home-hero__featured {
        right: calc((100vw - 1200px) / 2);
    }
}

/* ========================================
   Intro
   ======================================== */
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 2rem;
    align-items: center;
    margin: 0 0 3.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
}

.home-intro__kicker {
    margin: 0 0 0.45rem;
    color: var(--home-vermilion);
    font-size: 0.85rem;
    font-weight: 800;
}

.home-intro h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.55rem;
    line-height: 1.55;
    font-weight: 750;
}

.home-intro__notes {
    display: grid;
    gap: 0.55rem;
}

.home-intro__notes p {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    color: var(--home-ink-soft);
    font-weight: 650;
}

.home-intro__notes span {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(183, 71, 42, 0.28);
    border-radius: 6px;
    color: var(--home-vermilion);
    background: #fff;
}

/* ========================================
   Category Gates
   ======================================== */
.home-gates {
    margin: 0 0 4.5rem;
}

.home-gates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.home-gate {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 1.35rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--home-border);
    border-top: 4px solid var(--home-gold);
    border-radius: 8px;
    box-shadow: var(--home-shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-gate:hover {
    transform: translateY(-4px);
    border-color: rgba(183, 71, 42, 0.36);
    box-shadow: var(--home-shadow);
    color: inherit;
    text-decoration: none;
}

.home-gate--shrine { border-top-color: var(--home-vermilion); }
.home-gate--goshuin { border-top-color: var(--home-gold); }
.home-gate--region { border-top-color: var(--home-moss); }
.home-gate--season { border-top-color: var(--home-indigo); }

.home-gate__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0 0 1.1rem;
    border-radius: 8px;
    background: var(--home-paper);
    color: var(--home-vermilion);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.home-gate__title {
    margin: 0 0 0.45rem;
    color: var(--home-ink);
    font-size: 1.2rem;
    font-weight: 800;
}

.home-gate__desc {
    margin: 0 0 1.15rem;
    color: var(--home-text-sub);
    font-size: 0.92rem;
    line-height: 1.65;
}

.home-gate__count {
    display: inline-block;
    width: fit-content;
    margin-top: auto;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: var(--home-paper);
    color: var(--home-vermilion-dark);
    font-size: 0.8rem;
    font-weight: 750;
}

/* ========================================
   Section common
   ======================================== */
.home-section {
    margin: 0 0 4.8rem;
}

.home-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin: 0 0 1.35rem;
}

.home-section__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--home-vermilion);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-section__title {
    margin: 0;
    color: var(--home-ink);
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 800;
}

.home-section__more {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.2rem 0;
    color: var(--home-vermilion-dark);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.home-section__more:hover {
    color: var(--home-vermilion);
    text-decoration: underline;
}

/* ========================================
   Shrine card grid
   ======================================== */
.home-shrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.15rem;
}

.home-shrine-card {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--home-shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-shrine-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow);
}

.home-shrine-card__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.home-shrine-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--home-paper);
}

.home-shrine-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.home-shrine-card:hover .home-shrine-card__media img {
    transform: scale(1.04);
}

.home-shrine-card__media--placeholder {
    display: grid;
    place-items: center;
    color: var(--home-vermilion);
    font-size: 2.8rem;
    font-weight: 800;
}

.home-shrine-card__body {
    padding: 1.05rem 1.15rem 1.15rem;
}

.home-shrine-card__title {
    margin: 0 0 0.25rem;
    color: var(--home-ink);
    font-size: 1.12rem;
    line-height: 1.45;
    font-weight: 800;
}

.home-shrine-card__jp {
    margin: 0 0 0.85rem;
    color: var(--home-vermilion);
    font-size: 0.82rem;
    font-weight: 700;
}

.home-shrine-card__meta {
    margin: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.86rem;
}

.home-shrine-card__meta div {
    display: grid;
    grid-template-columns: 4.4em minmax(0, 1fr);
    gap: 0.65rem;
}

.home-shrine-card__meta dt {
    color: #868b84;
    font-weight: 700;
}

.home-shrine-card__meta dd {
    margin: 0;
    color: var(--home-ink-soft);
}

@media (min-width: 960px) {
    .home-shrine-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-shrine-card:first-child {
        grid-column: span 2;
    }

    .home-shrine-card:first-child .home-shrine-card__media {
        aspect-ratio: 2 / 1;
    }
}

/* ========================================
   Goshuin card grid
   ======================================== */
.home-goshuin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.home-goshuin-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--home-shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-goshuin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-shadow);
}

.home-goshuin-card__link {
    display: block;
    height: 100%;
    padding: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.home-goshuin-card__badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    padding: 0.22rem 0.5rem;
    border-radius: 5px;
    background: var(--home-vermilion);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(135, 51, 31, 0.26);
}

.home-goshuin-card__media {
    aspect-ratio: 1 / 1;
    margin: 0 0 0.75rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(201, 154, 91, 0.12), rgba(255, 255, 255, 0.72)),
        var(--home-paper);
    border: 1px solid rgba(201, 154, 91, 0.35);
    border-radius: 6px;
}

.home-goshuin-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-goshuin-card__media--placeholder {
    display: grid;
    place-items: center;
    color: var(--home-vermilion);
    font-size: 2.2rem;
    font-weight: 800;
}

.home-goshuin-card__body {
    padding: 0 0.1rem 0.1rem;
    font-size: 0.88rem;
}

.home-goshuin-card__title {
    margin: 0 0 0.25rem;
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 800;
}

.home-goshuin-card__shrine {
    margin: 0 0 0.35rem;
    color: #838983;
    font-size: 0.84rem;
}

.home-goshuin-card__price {
    margin: 0;
    color: var(--home-vermilion-dark);
    font-size: 0.94rem;
    font-weight: 800;
}

@media (min-width: 960px) {
    .home-goshuin-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ========================================
   Region grid
   ======================================== */
.home-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
    gap: 0.7rem;
}

.home-region-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82px;
    padding: 0.9rem;
    background: #fff;
    border: 1px solid var(--home-border);
    border-left: 4px solid var(--home-moss);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.home-region-tile:hover {
    background: var(--home-moss);
    border-color: var(--home-moss);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.home-region-tile__name {
    color: var(--home-ink);
    font-size: 1.02rem;
    font-weight: 800;
    transition: color 0.18s ease;
}

.home-region-tile__count {
    margin-top: 0.15rem;
    color: var(--home-text-sub);
    font-size: 0.78rem;
    transition: color 0.18s ease;
}

.home-region-tile:hover .home-region-tile__name,
.home-region-tile:hover .home-region-tile__count {
    color: #fff;
}

.home-region-grid__more {
    margin: 1rem 0 0;
    text-align: right;
}

.home-region-grid__more a {
    color: var(--home-vermilion-dark);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.home-region-grid__more a:hover {
    color: var(--home-vermilion);
    text-decoration: underline;
}

/* ========================================
   Season cards
   ======================================== */
.home-season-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.home-season-card {
    position: relative;
    min-height: 185px;
    padding: 1.25rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-season-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-shadow-soft);
    text-decoration: none;
}

.home-season-card__mark {
    position: absolute;
    right: 1rem;
    bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 5.2rem;
    line-height: 1;
    font-weight: 900;
}

.home-season-card__label {
    position: relative;
    display: inline-block;
    margin: 0 0 1.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 800;
}

.home-season-card h3 {
    position: relative;
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 850;
}

.home-season-card p {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-season-card--spring {
    background: linear-gradient(135deg, #bd5367, #e48a98);
}

.home-season-card--summer {
    background: linear-gradient(135deg, #386b53, #74a56d);
}

.home-season-card--autumn {
    background: linear-gradient(135deg, #a64f2c, #d18a45);
}

.home-season-card--winter {
    background: linear-gradient(135deg, #24445c, #6f8ca1);
}

.home-season-card--spring:hover,
.home-season-card--summer:hover,
.home-season-card--autumn:hover,
.home-season-card--winter:hover {
    color: #fff;
}

/* ========================================
   Guide cards
   ======================================== */
.home-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.home-guide-card {
    display: block;
    min-height: 160px;
    padding: 1.25rem 1.2rem;
    background: var(--home-paper);
    border: 1px solid rgba(201, 154, 91, 0.28);
    border-left: 4px solid var(--home-gold);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.home-guide-card:hover {
    background: #fff;
    border-color: rgba(183, 71, 42, 0.32);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.home-guide-card h3 {
    margin: 0 0 0.65rem;
    color: var(--home-ink);
    font-size: 1.12rem;
    line-height: 1.4;
    font-weight: 800;
}

.home-guide-card p {
    margin: 0;
    color: var(--home-text-sub);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ========================================
   Latest posts
   ======================================== */
.home-post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.home-post-item {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--home-shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-post-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--home-shadow);
}

.home-post-item__link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.home-post-item__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--home-paper);
}

.home-post-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-post-item__body {
    padding: 0.95rem 1rem 1.05rem;
}

.home-post-item__date {
    display: block;
    margin: 0 0 0.35rem;
    color: #7d857d;
    font-size: 0.78rem;
    font-weight: 700;
}

.home-post-item__title {
    margin: 0;
    color: var(--home-ink);
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 750;
}

/* ========================================
   Responsive adjustments
   ======================================== */
@media (max-width: 860px) {
    .home-hero {
        min-height: 580px;
        padding: 5rem 1.25rem 5rem;
    }

    .home-hero--has-image {
        background-image:
            linear-gradient(90deg, rgba(14, 20, 18, 0.88) 0%, rgba(14, 20, 18, 0.74) 72%, rgba(14, 20, 18, 0.45) 100%),
            var(--home-hero-image);
    }

    .home-hero__title {
        font-size: 2.55rem;
    }

    .home-intro {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .home-intro h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 600px) {
    .home-main .l-mainContent__inner.w-mainContent {
        width: calc(100% - 1.25rem);
    }

    .home-hero {
        min-height: 620px;
        margin-bottom: 3rem;
        padding: 4.2rem 1rem 5.2rem;
        align-items: flex-start;
    }

    .home-hero__title {
        font-size: 2.25rem;
    }

    .home-hero__lead {
        font-size: 0.98rem;
    }

    .home-hero-search {
        display: grid;
        gap: 0.35rem;
        min-height: 0;
        padding: 0.35rem;
    }

    .home-hero-search input[type="search"] {
        min-height: 44px;
    }

    .home-hero-search button {
        min-height: 42px;
        width: 100%;
    }

    .home-btn {
        width: 100%;
    }

    .home-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .home-hero__stats li {
        display: grid;
        gap: 0.2rem;
        padding: 0.5rem;
    }

    .home-hero__stats strong {
        font-size: 1.08rem;
    }

    .home-hero__stats span {
        font-size: 0.72rem;
    }

    .home-hero__featured {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .home-section {
        margin-bottom: 3.6rem;
    }

    .home-section__head {
        align-items: flex-start;
    }

    .home-section__title {
        font-size: 1.35rem;
    }

    .home-gates__grid,
    .home-shrine-grid {
        grid-template-columns: 1fr;
    }

    .home-goshuin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-post-list {
        grid-template-columns: 1fr;
    }
}
