/*
Theme Name: Pias
Theme URI: https://www.piasshopwork2.com/
Author: pias
Author URI: https://www.piasshopwork2.com/
Description: pias shop 用の最小構成テーマ。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pias
*/

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.7;
    color: #5A544B;
    background: #fff;
}

a {
    color: #0b5fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p{
    margin: 0;
}

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

em{
    font-style: normal;
}

/* ---------- Header / Footer (design match) ---------- */
.site-header {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .site-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.site-header .site-title a {
    color: #fff;
    text-decoration: none;
}

.site-nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.site-nav a {
    color: #fff;
}

.site-footer {
    background: #BDAF9A;
    color: #5A544B;
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
}

.site-footer a {
    color: #5A544B;
    font-size: 15px;
    font-weight: 600;
}

.site-footer p + p{
    margin-top: 28px;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ---------- Top Page: Hero ---------- */
.pias-top {
    background: #fff;
}

.pias-hero {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.8) calc(100% - 48px),
            rgb(255, 255, 255) 100%
        ),
        /* 背景画像 */
        url(assets/img/common/bg_hero.png) no-repeat center center / cover;
    padding: 64px 24px 88px;
    min-height: 385px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pias-hero__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.pias-hero__title {
    margin: 0 0 16px;
    font-size: 72px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: 'Marcellus', serif;
}

.pias-hero__lead {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    font-family: "Shippori Mincho", "Marcellus", serif;
}
.pias-hero__lead span{
    padding-left: 30px;
    position: relative;
}
.pias-hero__lead span::before{
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% + 1px);
    transform: translateY(-50%);
    background-image: url(assets/img/common/icon_shine.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}


/* ---------- Section heading (SEARCH / SEARCH RESULT) ---------- */
.pias-section-heading {
    text-align: center;
    margin-bottom: 49px;
}

.pias-section-heading__en {
    margin: 0;
    font-family: 'Marcellus', serif;
    font-size: 32px;
    letter-spacing: 0.25em;
    font-weight: 400;
    color: #5A544B;
}

.pias-section-heading__jp {
    margin: 6px 0 0;
    font-size: 13px;
    color: #888;
    letter-spacing: 0.1em;
    position: relative;
    display: block;
}

.pias-section-heading__jp span{
    padding: 0 0 20px 30px;
    position: relative;
}
.pias-section-heading__jp span::before{
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
}

.pias-section-heading__jp span::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 1px;
    background: #CBAD84;
}

.pias-section-heading__jp--search span::before{
    background: url(assets/img/common/icon_filter.svg) no-repeat center center / cover;
    width: 20px;
    height: 18px;
}
.pias-section-heading__jp--result span::before{
    background: url(assets/img/common/icon_list.svg) no-repeat center center / cover;
    width: 20px;
    height: 15px;
}

/* ---------- Search Filter Card ---------- */
.pias-search {
    max-width: 1080px;
    margin: -64px auto 48px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.pias-search__card {
    background: #fff;
    /* グラデ　#fffから#FDF9F1 右下のみ色反映 #fffから#FDF9F1 */
    background: linear-gradient(
        to bottom right,
        #fff 0%,
        #fff 80%,
        #FDF9F1 100%
    );
    border: 1px solid #5A544B;
    border-radius: 6px;
    padding: 40px 32px;
}

.pias-filter__group {
    margin-bottom: 24px;
}

.pias-filter__group:last-of-type {
    margin-bottom: 0;
}

.pias-filter__group[hidden] {
    display: none;
}

.pias-filter__label {
    margin: 0 0 12px;
    padding-bottom: 12px;
    font-size: 16px;
    color: #5A544B;
    font-weight: 800;
    letter-spacing: 0.08em;
    position: relative;
}

.pias-filter__label span{
    position: relative;
    padding-left: 30px;

}

.pias-filter__label span::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url(assets/img/common/icon_filter.svg) no-repeat center center / cover;
    width: 20px;
    height: 18px;
}

.pias-filter__buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.pias-filter__buttons--brand {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* ---------- Chip (button) ---------- */
.pias-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid #CBAD84;
    background: #fff;
    color: #4b4237;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
    line-height: 1.2;
    min-height: 38px;
}

.pias-chip:hover {
    background-color: #F6F2EA;
}

.pias-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.pias-chip.is-active {
    background: #CBAD84;
    color: #fff;
    border-color: #CBAD84;
}

.pias-chip--brand {
    position: relative;
    padding: 30px 20px 30px 80px;
    font-size: 16px;
    background-color: #F6F2EA;
    border-color: #F6F2EA;
    text-align: left;
    justify-content: flex-start;
    line-height: 1;
}
.pias-chip--brand:hover{
    border-color: #CBAD84;
}

/* ブランドチップは選択状態でも見た目を変えない（デザイン仕様） */
.pias-chip--brand.is-active {
    background-color: #CBAD84;
    color: #fff;
    border-color: #CBAD84;
}

/* ---------- Brand logo (chip 左の白丸) ---------- */
.pias-chip__logo {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 20px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* プレースホルダーテキスト用スタイル（ロゴ画像に差し替えた際は不要になる） */
    font-size: 10px;
    font-weight: 700;
    color: #5A544B;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* ロゴ画像
   - 幅: 円の幅から左右10pxずつ引いた分（親要素は align/justify: center なので自動的に中央配置）
   - 高さ: アスペクト比を保って自動 */
.pias-chip__logo img {
    display: block;
    width: calc(100% - 20px);
    height: auto;
}

.pias-chip__logo--covermark img {
    width: calc(100% - 10px);
}

/* ---------- Filter actions ---------- */
.pias-filter__actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    min-height: 20px;
}

.pias-filter__actions:empty {
    display: none;
}

.pias-filter__reset {
    color: #888;
    font-size: 12px;
    text-decoration: underline;
}

.pias-filter__reset::before {
    content: "× ";
    margin-right: 2px;
    text-decoration: none;
    display: inline-block;
}

/* noscript フォールバック用の送信ボタン */
.pias-filter__submit {
    background: #2a2015;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

.pias-filter__submit:hover {
    opacity: 0.85;
}

/* ---------- Result (shop list grouped by region / prefecture) ---------- */
.pias-result {
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.pias-result__meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid #e8e2d8;
    border-bottom: 1px solid #e8e2d8;
}

.pias-result__meta span{
    padding: 10px 12px 4px;
    border: 1px solid #5A544B;
    border-radius: 8px;
    line-height: 1;
}

.pias-result__meta span em{
    font-size: 22px;
    color: #CBAD84;
    display: inline-block;
    padding: 0 2px;
    font-weight: 600;

}

.pias-shoplist {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.pias-shoplist__region-title {
    margin: 0 0 20px;
    border-bottom: 1px solid #e8e2d8;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #5A544B;
}

.pias-shoplist__region-title span{
    padding: 0 30px 12px;
    display: inline-block;
    position: relative;
}

.pias-shoplist__region-title span::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #5A544B;
}

.pias-shoplist__pref {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px 24px;
    align-items: start;
}

.pias-shoplist__pref + .pias-shoplist__pref {
    border-top: 1px solid #EAEAEA;
    margin-top: 24px;
    padding-top: 24px;
}

.pias-shoplist__pref--empty .pias-shoplist__stores {
    min-height: 72px;
}

.pias-shoplist__pref-name {
    margin: 0;
    padding-top: 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #CBAD84;
    line-height: 1.5;
}

.pias-shoplist__stores {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pias-shoplist__store {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 16px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    box-shadow: 4px 8px 18px rgba(189, 175, 154, 0.16);
    transition: box-shadow 0.2s ease;
    background: #fff;
    background: linear-gradient(to bottom right, #fff 0%, #fff 60%, #FDF9F1 100%);
    border: 1px solid #5A544B;
}

.pias-shoplist__store:hover,
.pias-shoplist__store:focus {
    text-decoration: none;
    color: inherit;
    box-shadow: 4px 10px 22px rgba(189, 175, 154, 0.28);
}

/* 上段: 店舗名 | 住所・電話（2カラム） */
.pias-shoplist__store-body {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.2fr);
    gap: 16px 24px;
    align-items: start;
}

.pias-shoplist__store-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #5A544B;
}

.pias-shoplist__store-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pias-shoplist__store-addr,
.pias-shoplist__store-tel {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #7a7266;
}

.pias-shoplist__store-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 20px;
}

.pias-shoplist__store-icon img {
    display: block;
    width: 14px;
    height: auto;
}

/* 下段: 「詳細を見る」は右下の別要素 */
.pias-shoplist__link {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #5A544B;
    font-size: 16px;
    font-weight: 600;
}

.pias-shoplist__link-text {
    line-height: 1;
}

.pias-shoplist__arrow {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pias-shoplist__arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #EFE2CC;
    transition: background-color 0.2s ease;
}

.pias-shoplist__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 1px);
    transform: translate(-50%, -50%);
    width: 6px;
    height: 11px;
    background-image: url(assets/img/common/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.pias-shoplist__store:hover .pias-shoplist__arrow::after,
.pias-single__back:hover .pias-single__back-arrow::before {
    animation: pias-arrow-slide 0.5s ease-in-out;
}

@keyframes pias-arrow-slide {
    0% {
        transform: translate(-50%, -50%) translateX(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) translateX(2px);
        opacity: 0;
    }
    51% {
        transform: translate(-50%, -50%) translateX(-2px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) translateX(0);
        opacity: 1;
    }
}

.pias-empty {
    text-align: center;
    color: #888;
    padding: 48px 0;
}

/* =========================================================
   Single Store (詳細ページ)
   ========================================================= */

.pias-single {
    color: #5A544B;
}

/* ---------- Breadcrumb ---------- */
.pias-breadcrumb {
    font-size: 12px;
    margin-bottom: 20px;
}

.pias-breadcrumb__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pias-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    color: #8a8378;
}

.pias-breadcrumb__item + .pias-breadcrumb__item::before {
    content: "›";
    margin-right: 8px;
    color: #b8b0a4;
}

.pias-breadcrumb__item a {
    color: #8a8378;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pias-breadcrumb__item a:hover {
    color: #5A544B;
    text-decoration: underline;
}

.pias-breadcrumb__item[aria-current="page"] {
    color: #5A544B;
}

/* ---------- Hero ---------- */
.pias-single__hero {
    background: #F6F2EA;
    padding: 80px 0 ;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.pias-single__hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: left;
}

.pias-single__title {
    margin: 0;
    font-weight: 500;
    font-size: 44px;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #5A544B;
    font-family: "Shippori Mincho", serif;
}

.pias-single__furigana {
    margin: 12px 0 0;
    font-size: 13px;
    letter-spacing: 0.15em;
    color: #8a8378;
    font-family: "Shippori Mincho", serif;
}

/* ---------- Body (2カラム: 情報 + 地図) ---------- */
.pias-single__body {
    max-width: 1080px;
    margin: 64px auto;
    padding: 0;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* ---------- Actions (一覧に戻る / Google Mapで見る) ---------- */
.pias-single__actions {
    max-width: 1080px;
    margin: 48px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* ---------- 情報リスト ---------- */
.pias-single__info {
    min-width: 0;
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pias-info-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.pias-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 30px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e2d8;
}

.pias-info-row__label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5A544B;
    line-height: 1.6;
}

.pias-info-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pias-info-row__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pias-info-row__label-text {
    display: inline-block;
}

.pias-info-row__value {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #5A544B;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.pias-info-row__value a {
    color: #5A544B;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.pias-info-row__value a:hover {
    color: #2a2015;
    text-decoration: none;
}

.pias-info-row__value a[href^="tel:"] {
    pointer-events: none;
    text-decoration: none;
}

/* SNS リスト */
.pias-sns-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pias-sns-list__item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    font-size: 14px;
    padding-bottom: 20px;
    align-self: flex-start;
}

.pias-sns-list__item + .pias-sns-list__item {
    padding-top: 20px;
    border-top: 1px solid #e8e2d8;
}

.pias-sns-list__item:last-child {
    padding-bottom: 0;
}

.pias-sns-list__item .pias-sns-list__link{
    flex: 1;
}

.pias-sns-list__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5A544B;
    font-weight: 500;
    width: 100px;
}

.pias-sns-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pias-sns-list__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pias-sns-list__link {
    color: #5A544B;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
}

.pias-sns-list__link:hover {
    color: #2a2015;
}

/* ---------- Google Map ---------- */
.pias-single__map__wrap {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
}

.pias-single__map {
    min-width: 0;
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #5A544B;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    background: #fff;
    background: linear-gradient(to bottom right, #fff 0%, #fff 80%, #FDF9F1 100%);
}

.pias-single__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.pias-single__map-fallback {
    padding: 24px;
    margin: 0;
    color: #8a8378;
    font-size: 13px;
}

/* ---------- Actions リンク (一覧に戻る / Google Mapで見る) ---------- */
/* それぞれ .pias-single__info / .pias-single__map__wrap の下部に中央配置 */
.pias-single__back{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

/* 一覧に戻る（テキスト + 白丸ボーダーの左向き矢印） */
.pias-single__back {
    color: #5A544B;
}

.pias-single__back:hover {
    color: #2a2015;
    text-decoration: none;
}

/* 画像のアイコンをbeforeで表示したい */
.pias-single__back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #5A544B;
    transition: background-color 0.2s ease;
    position: relative;
}

.pias-single__back-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 1px);
    transform: translate(-50%, -50%);
    width: 6px;
    height: 11px;
    background-image: url(assets/img/common/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.pias-single__back:hover .pias-single__back-arrow {
    background-color: #f7f5f2;
}

.pias-single__gmap-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #69797E;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.pias-single__gmap-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* ---------- Notice ---------- */
.pias-notice {
    background: #FFFDF6;
    padding: 48px 0;
}
.pias-notice__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 28px;
    border-radius: 4px;
    background: #fff;
    background: linear-gradient(to bottom right, #fff 0%, #fff 80%, #FDF9F1 100%);
    border: 1px solid #5A544B;
}

.pias-notice__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #5A544B;
}

.pias-notice__list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.8;
    color: #7a7266;
}

.pias-notice__list li + li {
    margin-top: 4px;
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pias-shoplist__pref {
        grid-template-columns: 88px 1fr;
        gap: 12px 16px;
    }

    .pias-shoplist__store-body {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* 詳細ページ: 情報と地図を縦積み */
    .pias-single__body {
        grid-template-columns: 1fr;
        gap: 32px;
        flex-direction: column-reverse;
    }

    .pias-single__map {
        padding: 10px;
        min-height: unset;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 640px) {
    .pias-hero {
        padding: 40px 16px 62px;
        min-height: 200px;
    }

    .pias-hero__title {
        font-size: 36px;
    }

    .pias-hero__lead span{
        font-size: 16px;
        padding-left: 20px;
    }

    .pias-search {
        padding: 0 16px;
        margin: -32px auto 32px;
    }

    .pias-search__card {
        padding: 24px 16px;
    }

    .pias-chip{
        padding: 6px;
        min-height: 32px;
    }

    /* ブランドチップだけは PC のデザインを維持（ロゴ円が入るため） */
    .pias-chip--brand {
        padding: 12px 12px 12px 52px;
        min-height: 52px;
        font-size: 13px;
    }

    .pias-chip__logo{
        height: calc(100% - 16px);
        left: 8px;
    }

    .pias-chip__logo img{
        width: calc(100% - 10px);
    }

    .pias-filter__buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .pias-filter__buttons--brand {
        grid-template-columns: repeat(2, 1fr);
    }

    .pias-result {
        padding: 24px 16px 48px;
    }

    .pias-shoplist {
        gap: 32px;
    }

    .pias-shoplist__region-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .pias-shoplist__pref {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pias-shoplist__pref-name {
        padding-top: 0;
        font-size: 13px;
    }

    .pias-shoplist__store {
        padding: 14px 14px;
    }

    /* ===== 詳細ページ: モバイル ===== */
    .pias-breadcrumb {
        padding: 0;
        margin-bottom: 10px;
    }

    .pias-single__hero {
        padding: 32px 0 40px;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .pias-single__hero-inner {
        padding: 0 16px;
    }

    .pias-single__title {
        font-size: 24px;
    }

    .pias-single__furigana {
        font-size: 12px;
    }

    .pias-single__body {
        margin: 32px auto;
        padding: 0 16px;
        gap: 30px;
    }

    /* 情報行を縦積みに */
    .pias-info-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding:0 0 16px;
    }

    .pias-info-list {
        gap: 16px;
    }

    /* SNS のラベルも縦積みに */
    .pias-sns-list__item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pias-notice {
        padding: 40px 20px;
    }

    .pias-info-row__value{
        padding-left: 28px;
        font-size: 14px;
    }
    .pias-sns-list__item:first-child{
        padding-top: 20px;
    }

    .pias-single__actions {
        margin: 20px 0 ;
        padding: 0 16px;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .pias-info-row__icon{
        width: 16px;
        height: 16px;
    }
}

/* ---------- Fallback (non-front pages) ---------- */


article {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

article h2 {
    margin: 0 0 8px;
    font-size: 24px;
}


/* ---------- common  ---------- */

.c-section{
    padding: 64px 0 80px;
}

.c-section__inner{
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.pias-info-row{
    display: flex;
    justify-content: flex-start;
    padding: 24px 0;
    color: #5A544B;
    align-items: center;
}

.pias-info-row dt{
    font-size: 16px;
    width: 160px;
    font-weight: 700;
}

.pias-info-row dd{
    font-size: 16px;
    flex: 1;
}

/* ---------- Privacy policy ---------- */
.pias-privacy-policy__lead,
.pias-privacy-policy__updated,
.pias-privacy-policy-list {
    font-size: 16px;
    line-height: 1.8;
    color: #5A544B;
}

.pias-privacy-policy__lead {
    margin: 0 0 24px;
}

.pias-privacy-policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: pias-privacy;
}

.pias-privacy-policy-list > li {
    padding: 20px 0;
    border-bottom: 1px solid #e8e2d8;
    counter-increment: pias-privacy;
}

.pias-privacy-policy-list__title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    color: #5A544B;
}

.pias-privacy-policy-list__title::before {
    content: counter(pias-privacy) ". ";
}

.pias-privacy-policy-list p {
    margin: 0 0 12px;
    font-size: 16px;
}

.pias-privacy-policy-list p:last-child {
    margin-bottom: 0;
}

.pias-privacy-policy__link {
    color: #8B7355;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pias-privacy-policy__link:hover {
    color: #5A544B;
}

.pias-privacy-policy-list__sub {
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
}

.pias-privacy-policy-list ul {
    margin: 0 0 12px;
    padding-left: 1.2em;
    font-size: 16px;
}

.pias-privacy-policy-list ul li {
    list-style: disc;
    padding: 0;
    border-bottom: none;
}

.pias-privacy-policy__updated {
    margin: 24px 0 0;
}

@media (max-width: 640px) {
    .c-section{
        padding: 32px 0 40px;
    }

    .pias-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0;
        padding: 16px 0;
    }

    .pias-info-row dt{
        width: 100%;
        font-size: 14px;
    }

    .pias-info-row dd{
        font-size: 14px;
        margin: 0;
    }
}

.u-only--pc{
    display: block;
}

.u-only--sp{
    display: none;
}

@media (max-width: 640px) {
    .u-only--pc{
        display: none;
    }
    .u-only--sp{
        display: block;
    }
}