@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* =========================
   混浴マップ：温泉施設ページ
========================= */

.konyoku-onsen-info {
  margin-top: 24px;
}

.konyoku-onsen-image {
  margin-bottom: 24px;
}

.konyoku-onsen-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  cursor: zoom-in;
}

.konyoku-onsen-info h2 {
  margin-top: 32px;
  margin-bottom: 18px;
  padding: 12px 16px;
  font-size: 1.3em;
  border-left: 5px solid #666;
  background: #f5f5f5;
}

.konyoku-onsen-info p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.konyoku-onsen-description {
  margin-bottom: 24px;
  line-height: 1.9;
}

.konyoku-last-verified {
  margin-top: 24px;
  font-size: 0.95em;
}

.konyoku-onsen-info a {
  display: inline-block;
  margin-top: 8px;
}

/* スマホ表示 */
@media screen and (max-width: 480px) {

  .konyoku-onsen-info {
    margin-top: 16px;
  }

  .konyoku-onsen-image img {
    border-radius: 6px;
  }

  .konyoku-onsen-info h2 {
    margin-top: 24px;
    padding: 10px 12px;
    font-size: 1.15em;
  }

  .konyoku-onsen-info p {
    font-size: 0.98em;
  }

}
/* 温泉施設ページではサイドバーを非表示 */
.single-onsen #sidebar {
  display: none;
}

/* 本文を横いっぱいに広げる */
.single-onsen #main {
  width: 100%;
  max-width: 100%;
}

/* 本文エリアを中央寄せ */
.single-onsen .content-in {
  max-width: 1000px;
  margin: 0 auto;
}
/* 温泉施設ページのSNSシェア・フォローボタンを非表示 */
.single-onsen .sns-share,
.single-onsen .sns-follow {
  display: none;
}
/* 温泉施設ページでは目次を非表示 */
.single-onsen .toc {
  display: none;
}
@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');

/* サイトタイトル */
.site-name-text {
  font-family: 'Yomogi', cursive;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .site-name-text {
    font-size: 30px;
  }
}
/* =========================
   入浴体験レポートカード
========================= */

.konyoku-experience-list {
  margin-top: 32px;
}

.konyoku-experience-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.konyoku-experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.konyoku-experience-user {
  font-weight: 700;
  font-size: 1.05rem;
}

.konyoku-experience-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}

.konyoku-experience-status.is-yes {
  background: #eef8f1;
}

.konyoku-experience-status.is-no {
  background: #fff1f1;
}

.konyoku-experience-people {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.konyoku-experience-text {
  line-height: 1.9;
  font-size: 1rem;
}

/* スマホ */
@media screen and (max-width: 480px) {

  .konyoku-experience-card {
    padding: 16px;
    border-radius: 10px;
  }

  .konyoku-experience-meta {
    display: block;
  }

  .konyoku-experience-meta > * {
    display: block;
    margin-bottom: 6px;
  }

}
/* ========================================
   入浴体験レポートカード 見た目調整
======================================== */

.konyoku-experience-card {
  position: relative;
  border: 1px solid #e2e2e2;
  border-left: 6px solid #bbb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 22px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

/* 男性投稿 */
.konyoku-experience-card.is-male {
  border-left-color: #4a90e2;
}

/* 女性投稿 */
.konyoku-experience-card.is-female {
  border-left-color: #e987a8;
}

/* 年代・性別・入浴日 */
.konyoku-experience-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.konyoku-experience-meta strong {
  font-size: 1.08rem;
  font-weight: 700;
}

/* 混浴できた / できなかった */
.konyoku-experience-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

/* 混浴できた */
.konyoku-experience-status.is-yes {
  background: #e8f5e9;
  color: #287a38;
}

/* 混浴できなかった */
.konyoku-experience-status.is-no {
  background: #fff1f1;
  color: #b43b3b;
}

/* 当日の入浴者数 */
.konyoku-experience-people {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* レポート本文 */
.konyoku-experience-text {
  line-height: 1.9;
  font-size: 1rem;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .konyoku-experience-card {
    padding: 16px;
    border-radius: 10px;
  }

  .konyoku-experience-meta {
    display: block;
  }

  .konyoku-experience-meta > * {
    display: block;
    margin-bottom: 6px;
  }
}
/* 入浴体験投稿ボタン */
.konyoku-experience-submit {
  margin-top: 24px;
  text-align: center;
}

.konyoku-experience-submit a {
  display: inline-block;
  padding: 14px 24px;
  background: #4a90e2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.konyoku-experience-submit a:hover {
  opacity: 0.9;
}

@media screen and (max-width: 480px) {
  .konyoku-experience-submit a {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}
/* 入浴体験投稿 完了メッセージ */
.konyoku-submit-success {
  margin: 20px 0;
  padding: 18px 20px;
  background: #eef8ee;
  border-left: 5px solid #4caf50;
  border-radius: 8px;
  line-height: 1.8;
}
/* 投稿完了後 戻るボタン */
.konyoku-submit-back {
  margin-top: 24px;
  text-align: center;
}

.konyoku-submit-back a {
  display: inline-block;
  padding: 14px 24px;
  background: #4a90e2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.konyoku-submit-back a:hover {
  opacity: 0.9;
}

/* 入浴体験投稿 注意事項 */
.konyoku-submit-notice {
  margin: 24px 0 16px;
  padding: 18px 20px;
  background: #f7f7f7;
  border-radius: 8px;
  line-height: 1.8;
}

.konyoku-submit-notice strong {
  display: block;
  margin-bottom: 8px;
}

.konyoku-submit-notice ul {
  margin: 0;
  padding-left: 1.4em;
}

.konyoku-submit-agree {
  margin: 18px 0 24px;
  font-weight: 700;
}

.konyoku-submit-agree input {
  margin-right: 8px;
}

/* ========================================
   もっと見るボタン
======================================== */

.konyoku-experience-more {
    text-align: center;
    margin: 25px 0 10px;
}

.konyoku-experience-more a {
    display: inline-block;
    background: #1e73be;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 15px;
    transition: 0.2s;
}

.konyoku-experience-more a:hover {
    background: #155f9e;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ========================================
   体験レポート：6件目以降を最初は非表示
======================================== */

.konyoku-experience-list .konyoku-experience-card:nth-of-type(n+6) {
    display: none;
}

/* もっと見るを押した後は全部表示 */
.konyoku-experience-list.is-expanded .konyoku-experience-card {
    display: block;
}

/* ========================================
   温泉施設 上部概要カード
======================================== */

.konyoku-summary-card {
    margin: 24px 0 28px;
}

.konyoku-summary-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.konyoku-summary-item {
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
}

.konyoku-summary-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.konyoku-summary-item strong {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

/* スマホ */
@media screen and (max-width: 600px) {
    .konyoku-summary-items {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .konyoku-summary-item {
        padding: 12px 14px;
        text-align: left;
    }

    .konyoku-summary-label {
        margin-bottom: 3px;
    }
}

/* ========================================
   温泉施設 基本情報
======================================== */

.konyoku-basic-info {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 28px;
}

.konyoku-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid #e8e8e8;
}

.konyoku-info-row:last-child {
    border-bottom: none;
}

.konyoku-info-label {
    background: #f5f5f5;
    padding: 14px 16px;
    font-weight: 700;
}

.konyoku-info-value {
    padding: 14px 18px;
    line-height: 1.7;
}

/* スマホ */
@media screen and (max-width: 600px) {

    .konyoku-info-row {
        grid-template-columns: 110px 1fr;
    }

    .konyoku-info-label {
        padding: 12px 10px;
        font-size: 14px;
    }

    .konyoku-info-value {
        padding: 12px 10px;
        font-size: 14px;
    }
}

/* ========================================
   温泉施設ページ：関連記事を非表示
======================================== */

.single-onsen .related-entry-heading,
.single-onsen .related-list {
    display: none;
}

/* ========================================
   温泉施設ページ 上部レイアウト調整
======================================== */

/* 施設名まわり */
.single-onsen .entry-title {
    margin-bottom: 12px;
}

/* 上部概要カード */
.konyoku-summary-card {
    margin-top: 16px;
    margin-bottom: 22px;
}

/* 施設画像 */
.konyoku-onsen-image {
    margin-top: 18px;
    margin-bottom: 28px;
}

/* PCでは写真を少し大きく */
.konyoku-onsen-image img {
    max-width: 760px;
}

/* スマホ */
@media screen and (max-width: 600px) {

    .single-onsen .entry-title {
        margin-bottom: 10px;
    }

    .konyoku-summary-card {
        margin-top: 12px;
        margin-bottom: 18px;
    }

    .konyoku-onsen-image {
        margin-top: 14px;
        margin-bottom: 22px;
    }

    .konyoku-onsen-image img {
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   温泉施設写真 コンパクト表示
======================================== */

.single-onsen .konyoku-onsen-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    cursor: zoom-in;
}

/* スマホ */
@media screen and (max-width: 600px) {
    .single-onsen .konyoku-onsen-image img {
        max-width: 100%;
    }
}

/* 温泉施設の写真サイズ */
.single-onsen .konyoku-onsen-image img {
    width: 240px;
    max-width: 70vw;
    height: auto;
    margin: 0 auto;
    cursor: zoom-in;
}

/* スマホ */
@media screen and (max-width: 834px) {
    .single-onsen .konyoku-onsen-image img {
        width: 200px;
        max-width: 60vw;
    }
}

/* 温泉施設写真を中央配置 */
.single-onsen .konyoku-onsen-image {
    text-align: center;
}

.single-onsen .konyoku-onsen-image a {
    display: inline-block;
}

/* 写真を拡大 案内 */
.konyoku-image-zoom-text {
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* ========================================
   施設紹介
======================================== */

.konyoku-onsen-description {
    margin: 0 0 24px;
    padding: 4px 4px 4px 8px;
    line-height: 2;
    font-size: 16px;
}

/* 最終情報確認日 */
.konyoku-last-verified {
    margin: 20px 0 8px;
    padding: 8px 12px;
    display: inline-block;
    background: #f7f7f7;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.konyoku-last-verified strong {
    color: #444;
}

/* ========================================
   公式サイトボタン
======================================== */

.konyoku-official-link {
    margin: 12px 0 12px;
}

.konyoku-official-link a {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    color: #1e73be;
    border: 1px solid #1e73be;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.konyoku-official-link a:hover {
    background: #1e73be;
    color: #fff;
}

/* ========================================
   入浴体験レポートカード 仕上げ
======================================== */

/* カード全体 */
.konyoku-experience-card {
    padding: 20px 22px;
}

/* 年代・性別・入浴日 */
.konyoku-experience-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.konyoku-experience-user {
    font-size: 17px;
    font-weight: 700;
}

/* 混浴結果の行 */
.konyoku-experience-status {
    margin: 4px 0 16px;
}

/* 当日の入浴者数 */
.konyoku-experience-people {
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #f7f7f7;
    border-radius: 8px;
    line-height: 1.7;
}

/* コメント本文 */
.konyoku-experience-text {
    padding-top: 2px;
    line-height: 1.9;
}

/* スマホ */
@media screen and (max-width: 600px) {

    .konyoku-experience-card {
        padding: 16px;
    }

    .konyoku-experience-meta {
        display: block;
    }

    .konyoku-experience-meta > * {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 4px;
    }

    .konyoku-experience-user {
        font-size: 16px;
    }

    .konyoku-experience-people {
        padding: 10px 12px;
    }
}

/* ========================================
   体験レポート 情報整理
======================================== */

.konyoku-experience-date {
    color: #666;
    font-size: 14px;
}

.konyoku-experience-date::before {
    content: "｜";
    margin: 0 10px 0 4px;
    color: #bbb;
}

.konyoku-experience-result {
    margin: 4px 0 16px;
}

.konyoku-experience-people strong {
    margin-right: 12px;
}

.konyoku-experience-people span {
    display: inline-block;
}

.konyoku-people-separator {
    margin: 0 6px;
    color: #aaa;
}

/* スマホ */
@media screen and (max-width: 600px) {

    .konyoku-experience-date::before {
        content: "";
        margin: 0;
    }

    .konyoku-experience-date {
        display: block;
        margin-top: 4px;
    }

    .konyoku-experience-people strong {
        display: block;
        margin: 0 0 4px;
    }
}