@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*!
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
*/

/**************************************************
 * 1. 共通リセット・基本設定
 **************************************************/
p, .body, a, .navi-in a, .breadcrumb, .breadcrumb-caption, #header .site-name-text,
.site-name-text, .copyright,
.entry-content > *, .mce-content-body > *,
.article p, .demo .entry-content p, .article dl, .article ul, .article ol, .article blockquote, .article pre, .article table, .article .toc,
.body .article, .body .column-wrap, .body .new-entry-cards, .body .popular-entry-cards, .body .navi-entry-cards, .body .box-menus,
.body .ranking-item, .body .rss-entry-cards, .body .widget, .body .author-box, .body .blogcard-wrap, .body .login-user-only,
.body .information-box, .body .question-box, .body .alert-box, .body .information, .body .question, .body .alert, .body .memo-box,
.body .comment-box, .body .common-icon-box, .body .blank-box, .body .button-block, .body .micro-bottom, .body .caption-box,
.body .tab-caption-box, .body .label-box, .body .toggle-wrap, .body .wp-block-image, .body .booklink-box, .body .kaerebalink-box,
.body .tomarebalink-box, .body .product-item-box, .body .speech-wrap, .body .wp-block-categories, .body .wp-block-archives,
.body .wp-block-archives-dropdown, .body .wp-block-calendar, .body .ad-area, .body .wp-block-gallery, .body .wp-block-audio,
.body .wp-block-cover, .body .wp-block-file, .body .wp-block-media-text, .body .wp-block-video, .body .wp-block-buttons,
.body .wp-block-columns, .body .wp-block-separator, .body .components-placeholder, .body .wp-block-search, .body .wp-block-social-links,
.body .timeline-box, .body .blogcard-type, .body .btn-wrap, .body .btn-wrap a, .body .block-box, .body .wp-block-embed,
.body .wp-block-group, .body .wp-block-table, .body .scrollable-table, .body .wp-block-separator, .body .wp-block, .body .video-container,
.comment-area, .related-entries, .pager-post-navi, .comment-respond {
  margin: 0;
  padding: 0;
  border: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  color: #333333;
}

.entry-title, .archive-title,
.header-text-layer .header-catch,
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
}

#list, .list-wrap,
.article ul li, .article ol li {
  margin: 0;
}

.list {
  flex-direction: inherit;
  row-gap: inherit;
  flex-wrap: wrap;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

a:hover {
  color: #0ff;
}

.fa.fa-home {
  display: none;
}

/* 共通パーツ非表示設定（スマホ用など） */
.sp {
  display: none;
}

/**************************************************
 * 2. レイアウト・メインエリア
 **************************************************/

/* 横スクロール制御（PCのみ） */
@media screen and (min-width: 768px) {
  body {
    min-width: 1440px;
    overflow-x: auto;
  }
}

.content {
  margin: 0;
}

.wrap {
  width: auto;
}

main.main {
  padding: 80px 0 0;
  border: none;
  background-color: #fff;
}

/* 記事本文エリア */
.entry-content {
  margin: 0;
}

/* ==================================================
   セクション背景の共通設定 (アンティークホワイト)
   ================================================== */
/*
   1. .home ... section : トップページのエディタで作ったセクション
   2. .article-section  : 投稿・固定ページ (content.phpで追加したクラス)
   3. .archive-section  : 一覧ページ (list.phpで追加したクラス)
*/
#cta section,
article.article .entry-content section,
.article-section,
.archive-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

/* ==================================================
   偶数番目のセクションを白にする (縞々)
   ================================================== */
article.article .entry-content section:nth-child(even),
.article-section:nth-child(even),
.archive-section:nth-child(even) {
  background-color: #fff;
}

/* 汎用ボックス */
.wp-block-group.box.wp-block-group-,
.breadcrumbs-in,
.box {
  max-width: 1200px;
  margin: 0 auto 0;
  padding-left: 15px;
  padding-right: 15px;
}

body.contact .article .box,
.single .main .article-section .box {
  max-width: 900px;
  margin: 0 auto 0;
  padding-left: 15px;
  padding-right: 15px;
}

.breadcrumbs-in {
  font-size: 12px;
}

.breadcrumbs-in a {
  font-size: 12px;
}

.breadcrumb-sep {
  padding: 0 5px;
}

.breadcrumbs-layer {
  padding: 10px 0;
}

.box p {
  line-height: 1.5;
}

/* トップに戻るボタン */
.go-to-top-visible .go-to-top {
  bottom: 80px;
}

/**************************************************
 * 3. ヘッダーエリア
 **************************************************/

/* --- 固定バー (.header-container) --- */
#header-container {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 99;
  width: 100%;
  height: auto;
  margin-bottom: -80px;
  background-color: rgba(51, 51, 51, 0.1);
}

/* --- ヘッダー中身 (.header-container-in) --- */
#header-container-in {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 15px;
}

/* --- ビジュアルエリア (#header) --- */
#header {
  position: relative;
  width: 100%;
  min-height: 80px;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body:not(.home) #header {
  min-height: 80px;
}

.header-in {
  display: block;
  margin: 0;
}

/* --- ロゴ関連 --- */
.tagline {
  margin: 0;
}

.logo-image {
  padding: 0;
}

.site-name-text-link {
  padding: 0;
}

/* --- H1 --- */
.header-text-layer {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
}

.header-text-layer .header-catch {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.5;
}

.header-text-layer .entry-title {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
  display: none;
}

@media screen and (max-width: 767px) {
  .header-text-layer .header-catch,
  .header-text-layer .entry-title {
    font-size: 25px;
  }
}

/**************************************************
 * 4. ナビゲーションメニュー
 **************************************************/
.navi {
  width: auto;
  margin: 0;
  background-color: transparent;
}

.navi .item-label, .navi .item-description {
  overflow: visible;
}

.current_page_item,
.navi-in a:hover {
  text-decoration: underline;
  background-color: transparent;
  color: #fff;
  transition: none;
}

.navi-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* リスト設定 */
.navi-in > ul li {
  width: auto;
  height: auto;
}

.navi-in > ul li:not(.btn) {
  padding: 0 10px;
}

/* ナビ内テキスト */
.navi-in > ul .caption-wrap > div {
  font-size: 16px;
  color: #fff;
}

/* PCでは不要な要素を隠す */
.navi-in .line,
.navi .sns,
.btn-gnavi_box,
.navi-overlay,
.header-container-in .spnav_bottom {
  display: none;
}

/**************************************************
 * 5. ボタンデザイン
 **************************************************/
.btn_in {
  text-align: center;
}

.footer .btn_in {
  margin-bottom: 10px;
}

input[type="submit"],
.navi-in a.btn,
.btn {
  position: relative;
  width: auto;
  margin: 0;
  padding: 20px 40px;
  border: none;
  border-radius: 30px;
  background-color: #AEC3AA;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
}

.navi-in a.btn::after,
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-block;
  border-style: solid;
  border-width: 5px 0 5px 8.7px;
  border-color: transparent transparent transparent #E5C2C2;
  vertical-align: middle;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.navi-in a.btn:hover,
.btn:hover {
  text-decoration: none;
}

.navi-in a.btn {
  margin-left: 20px;
}

.bottom_btn.sp {
  display: none;
}

.navi-in a.btn:hover::after,
.btn:hover::after,
.ranking-item-link-buttons a:hover::after,
.btn-wrap > a:hover::after {
  right: -4px;
}

/**************************************************
 * 6. SNSアイコン
 **************************************************/
.sns ul {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  margin: 0 auto 20px;
}

.sns ul li {
  width: 24%;
  padding: 0 10px;
}

.sns ul li img {
  display: none;
}

.sns ul li img.color_icon {
  display: block;
}

/**************************************************
 * 7. 店舗情報・営業時間パーツ
 **************************************************/
ul.address {
  display: none;
}

ul.shopinfo {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

ul.shopinfo li {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 49%;
  min-height: 60px;
  padding: 5px 10px 5px 60px;
}

/* 「営業時間」ラベル */
ul.shopinfo li::before {
  content: "営業\A時間";
  position: absolute;
  top: 50%;
  left: 6px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: pre-wrap;
  color: #000;
}

ul.shopinfo li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  border: solid 1px #000;
  background-color: #AAB5C3;
}

ul.shopinfo li.tel::before {
  content: "";
  left: 5px;
  width: 48px;
  height: 40px;
  background-image: url(./../../../common/img/icon_phone.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

ul.shopinfo li.tel::after {
  border: solid 1px #000;
  background-color: #DEE0E4;
}

ul.shopinfo li:first-child {
  background-color: #AAB5C3;
}

ul.shopinfo li:last-child {
  background-color: #DEE0E4;
}

ul.shopinfo li p {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* --- 電話番号パーツ詳細 (.tel-inner) --- */
.tel-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.tel-num {
  margin-bottom: 5px;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tel-desc {
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2;
  white-space: nowrap;
}

/**************************************************
 * 8. フッターエリア
 **************************************************/
.footer {
  margin: 0;
  padding: 0;
  background-color: #494A8D;
}

/* テキスト色調整 */
.copyright, .footer ul li, .footer ul li a, .footer ul li p,
.footer ul li span, .footer a, .footer p, .footer span {
  color: #fff;
}

.copyright {
  display: inline-block;
  width: auto;
}

/* フッター内SNS */
.footer .sns img {
  display: block;
}

.footer .sns .facebook img.color_icon,
.footer .sns .line img.color_icon {
  display: none;
}

.footer .sns ul li a img {
  filter: brightness(0) invert(1);
}

/* フッター下部レイアウト */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: solid 1px #fff;
  font-size: inherit;
}

.footer-bottom_in {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* ロゴ */
.footer-bottom-logo {
  position: relative;
  float: none;
}

.footer-bottom-logo img {
  height: 80px;
}

/* フッターメニュー */
.navi-footer-in > .menu-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 15px 20px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.navi-footer-in a:hover {
  text-decoration: underline;
  background-color: transparent;
  color: inherit;
}

.navi-footer-in > .menu-footer li:last-child {
  border-right: none;
}

/* コンテンツ・住所 */
.footer-bottom-content {
  float: none;
  text-align: left;
}

.footer-bottom-content .shopinfo {
  display: none;
}

.footer-bottom-content .address {
  display: block;
  margin-left: 30px;
}

.footer-bottom-content .address li {
  margin-bottom: 5px;
  line-height: 1.5;
}

.footer-bottom-content .address li .tel-num {
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  letter-spacing: 0;
}

/* フッター最下部ボックス */
.footer-bottom-content.box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px 15px 30px;
}

.footer-bottom-content.box a,
.footer-bottom-content.box div {
  font-size: 14px;
}

.footer-bottom-content.box div {
  margin-left: 10px;
}

.footer-bottom-content.box .pri {
  text-decoration: underline;
}

/**************************************************
 * 9. スマホ・タブレット用レスポンシブ (max-width: 767px)
 **************************************************/
@media screen and (max-width: 767px) {
  /* --- 共通 --- */
  .sp {
    display: block;
  }
  .breadcrumb {
    width: 100%;
    max-width: 100%;
  }

  /* --- ヘッダー --- */
  .logo {
    width: 45px;
  }
  #header-container-in {
    justify-content: flex-start;
  }
  .header-container-in .shopinfo {
    display: none;
  }

  /* スマホ用パーツ表示 */
  .navi-in .line,
  .navi .sns,
  .header-container-in .spnav_bottom,
  .header-container-in .spnav_bottom .shopinfo {
    display: block;
  }

  /* --- ハンバーガーメニュー --- */
  .btn-gnavi_box {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: block;
    width: 70px;
    height: 64px;
    padding: 15px 16px;
    background-color: #DEE0E4;
    cursor: pointer;
  }
  .btn-gnavi_box span {
    position: absolute;
    left: 50%;
    width: 30px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 10px;
    background: #333;
    transition: all 400ms;
  }
  .btn-gnavi span:nth-child(1) {
    top: 20px;
  }
  .btn-gnavi span:nth-child(2) {
    top: 30px;
  }
  .btn-gnavi span:nth-child(3) {
    top: 40px;
  }

  /* アニメーション */
  .is-open .btn-gnavi span:nth-child(1) {
    top: 30px;
    left: 20px;
    width: 30px;
    transform: rotate(45deg);
  }
  .is-open .btn-gnavi span:nth-child(2) {
    display: none;
  }
  .is-open .btn-gnavi span:nth-child(3) {
    top: 30px;
    left: 20px;
    width: 30px;
    transform: rotate(-45deg);
  }

  .btn-gnavi_box .txt {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #333;
  }

  /* --- ナビゲーション (.navi) --- */
  .navi {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    z-index: 999;
    width: 75%;
    height: 100vh;
    padding-top: 80px;
    background-color: #CED7E4;
    transition: right 0.4s ease;
    overflow-y: auto;
  }
  .navi.is-open {
    right: 0;
    overflow-y: scroll;
  }

  /* PCメニュー非表示・開閉制御 */
  .navi-in .menu-pc {
    display: none;
  }
  .navi.is-open .navi-in .menu-pc {
    display: block;
    width: 100%;
    margin-bottom: 30px;
  }

  .navi-in .btn_in,
  .navi-in .sns {
    margin: 0 auto 20px;
  }
  .navi-in .sns ul {
    margin: 0;
  }
  .navi-in .btn_in a {
    margin: 0;
  }

  /* ナビ内リスト */
  .navi-in > ul li {
    text-align: left;
    border-bottom: solid 1px #333;
  }

  .current_page_item, .navi-in a:hover,
  .navi-in > ul .caption-wrap > div {
    color: #000;
  }
  .navi-in > ul li:not(.btn) {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .navi-in > ul li:last-child a,
  .navi-in > ul li:last-child .caption-wrap {
    width: auto;
  }
  .navi.is-open .navi-in > ul .caption-wrap > div {
    width: auto;
  }
  .navi-in > ul .caption-wrap {
    justify-content: start;
  }

  /* ナビ内情報 */
  ul.shopinfo {
    margin-bottom: 50px;
  }
  ul.shopinfo li {
    width: 100%;
    margin-bottom: 5px;
  }

  .spnav_bottom span {
    display: inline-block;
    font-size: 14px;
  }
  .spnav_bottom span.tel-num {
    font-size: 28px;
  }
  .spnav_bottom p {
    font-size: 14px;
    font-weight: normal;
  }
  .spnav_bottom .source-org.copyright,
  .spnav_bottom a {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    color: inherit;
  }
  .spnav_bottom a {
    text-decoration: underline;
  }

  /* --- オーバーレイ --- */
  .navi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    display: block;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
  }
  .navi-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* --- フッター (スマホ) --- */
  .footer-bottom, .footer-bottom_in {
    display: block;
  }
  .footer-bottom-content.box, .footer-bottom.box {
    max-width: 90%;
  }

  .footer-bottom-logo {
    margin-bottom: 30px;
  }
  .footer-bottom-logo .logo-image {
    width: 80px;
  }
  .footer-bottom-logo img {
    height: auto;
  }

  .footer-bottom-content {
    margin-bottom: 30px;
  }
  .footer-bottom-content .address {
    margin-left: 0;
  }

  .navi-footer-in > .menu-footer li.menu-item {
    width: auto;
    text-align: left;
    border-left: 1px solid var(--cocoon-thin-color);
  }
  .navi-footer-in > .menu-footer li.menu-item a {
    padding: 0 10px;
  }
  .footer-bottom-content.box {
    display: block;
    max-width: 100%;
    margin: 0;
  }
  .footer-bottom-content.box a, .footer-bottom-content.box div {
    display: block;
    margin: 0;
    text-align: center;
    font-size: .8em;
  }
  .footer-bottom-content.box a {
    margin-bottom: 30px;
  }

  /* --- 追従ボタン --- */
  .bottom_btn.sp {
    position: fixed;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 1;
  }
  .bottom_btn.sp.is-bottom {
    opacity: 0;
  }

  .bottom_btn.sp a {
    position: relative;
    padding: 20px 15px 20px 45px;
    font-size: 14px;
  }
  .bottom_btn .btn::after {
    content: none;
  }
  .bottom_btn .btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    width: 20px;
    height: 28px;
    transform: translateY(-50%);
    background-image: url(./../../../common/img/icon_phone.png);
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
  }
  .bottom_btn .btn.line::before {
    left: 10px;
    width: 28px;
    height: 28px;
    background-image: url(./../../../common/img/icon_line.png);
    filter: inherit;
  }
  .bottom_btn .btn.pc::before {
    left: 10px;
    width: 29px;
    height: 24px;
    background-image: url(./../../../common/img/icon_pc.png);
    filter: inherit;
  }
}

/**************************************************
 * 10. ニュースエリア (#news)
 **************************************************/
#news {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  background-color: #fff;
}

/**************************************************
 * 11. スライダー (Slick / Swiper)
 **************************************************/
.slick-slider {
  margin-top: 80px;
}

/* ==================================================
   Swiperスライダー (my-post-swiper) の装飾
   ================================================== */
.my-post-swiper {
  box-sizing: border-box;
  width: 100%;
  /* ▼▼▼ これが「左余白」を作ります ▼▼▼ */
  padding-top: 0;
  padding-right: 20px; /* 右端の余白 */
  padding-bottom: 50px; /* ページネーション用の下余白 */
  padding-left: 10vw; /* 初期表示で左に10vwの余白 */
}

.my-post-swiper .swiper-wrapper {
  margin: 0;
}

/* スライド（箱）の設定 */
.my-post-swiper .swiper-slide {
  height: auto; /* 高さを揃える */
}

.my-post-swiper .swiper-slide article .entry-card-thumb {
  width: 100%;
}

.my-post-swiper .swiper-slide article .entry-card-content {
  margin: 0;
}

/* 中身のCocoonカードの調整 */
.my-post-swiper .entry-card-wrap {
  width: 100%;
  height: 100%;
  margin: 0; /* 余計なマージン削除 */
}

/* ==================================================
   Swiper矢印のデザイン (白丸・棒付き矢印・左右反転)
   ================================================== */
/* 1. 共通設定（白い丸を作る） */
.my-post-swiper .swiper-button-prev,
.my-post-swiper .swiper-button-next {
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px; /* 丸の大きさ */
  height: 50px;
  margin-top: -25px; /* 縦位置調整 */
  border-radius: 50%; /* 丸くする */
  background-color: #fff; /* 背景を白に */
  background-image: none; /* デフォルトの青い矢印画像を消す */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); /* 影 */
  transition: opacity 0.3s, transform 0.3s;
}

/* ホバー時の演出 */
.my-post-swiper .swiper-button-prev:hover,
.my-post-swiper .swiper-button-next:hover {
  opacity: 0.8;
}

/* 2. 矢印の「棒」を作る (共通) */
.my-post-swiper .swiper-button-prev::before,
.my-post-swiper .swiper-button-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px; /* 棒の長さ */
  height: 2px; /* 棒の太さ */
  transform: translate(-50%, -50%);
  background-color: #999; /* 色 */
}

/* 3. 矢印の「頭」を作る (共通ベース) */
.my-post-swiper .swiper-button-prev::after,
.my-post-swiper .swiper-button-next::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px; /* 頭のサイズ */
  height: 8px;
  border-top: 2px solid #999; /* 線の太さ */
  border-right: 2px solid #999;
  font-size: 0;
}

/* ==================================================
   4. 個別の向きと位置（ここが重要）
   ================================================== */

/* --- 「次へ (Next)」ボタン --- */
/* 本来は右ですが、左（空白エリア）に置きます */
.my-post-swiper .swiper-button-next {
  right: auto;
  left: 8vw; /* 左の空白エリア内 */
}

/* 矢印の向き：左「←」にする */
/* 頭を左に向ける */
.my-post-swiper .swiper-button-next::after {
  left: 19px; /* 棒の左端に合わせる位置調整 */
  transform: translateY(-50%) rotate(-135deg); /* 左向き回転 */
}

/* --- 「前へ (Prev)」ボタン --- */
/* 本来は左ですが、右端に置きます */
.my-post-swiper .swiper-button-prev {
  right: 19px; /* 右端エリア */
  left: auto;
}

/* 矢印の向き：右「→」にする */
/* 頭を右に向ける */
.my-post-swiper .swiper-button-prev::after {
  right: 20px; /* 棒の右端に合わせる位置調整 */
  transform: translateY(-50%) rotate(45deg); /* 右向き回転 */
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
  .my-post-swiper {
    padding-right: 0;
    padding-left: 50px; /* スマホは余白小さめに */
  }
  .my-post-swiper .swiper-button-next {
    left: 5px;
  }
  .my-post-swiper .swiper-button-prev {
    right: 5px;
  }
}

/* ==================================================
   スマホ調整
   ================================================== */
@media screen and (max-width: 767px) {
  /* 丸を小さく */
  .my-post-swiper .swiper-button-prev,
  .my-post-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  /* 矢印の中身も少し小さく調整 */
  .my-post-swiper .swiper-button-prev::before,
  .my-post-swiper .swiper-button-next::before {
    width: 14px; /* 棒を短く */
  }
  .my-post-swiper .swiper-button-next::after {
    left: 14px;
  }
  .my-post-swiper .swiper-button-prev::after {
    right: 14px;
  }
}

/**************************************************
 * 12. ページネーション & ページャー (共通デザイン)
 **************************************************/
/* --- 外枠のレイアウト --- */
.pagination,
.pager-links {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  gap: 10px; /* ボタン同士の間隔 */
  margin: 60px 0; /* 上下の余白 */
  padding: 0;
  list-style: none;
}

/* --- 丸いボタンの共通設定 --- */
/* 一覧(.pagination) と 記事分割(.pager-links) の両方に適用 */
.pagination .page-numbers,
.pager-links .page-numbers {
  display: flex;
  justify-content: center; /* 文字をど真ん中に */
  align-items: center;
  width: 50px; /* 正円にするため幅と高さを固定 */
  height: 50px;
  border: 1px solid #ddd; /* 薄い枠線 */
  border-radius: 50%; /* まん丸にする */
  background: #fff; /* 背景白 */
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  color: #333; /* 文字色 */
  transition: all 0.3s ease;
}

/* --- ホバー時 & 現在のページ --- */
/* リンクがある時のホバー */
.pagination a.page-numbers:hover,
.pager-links a.page-numbers:hover,
/* 現在のページ（spanタグ） */
.pagination .page-numbers.current,
.pager-links .page-numbers.current {
  /* 浮き上がる演出 */
  transform: translateY(-2px);
  border-color: #AAB5C3; /* 枠線も黄色に */
  background-color: #AAB5C3; /* テーマカラー（黄色） */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  color: #fff; /* 文字白 */
  opacity: 1;
}

/* 現在のページはクリック無効 */
.pagination .page-numbers.current,
.pager-links .page-numbers.current {
  pointer-events: none;
}

/* --- 「...」の装飾 --- */
/* ドットは枠線を消してシンプルに */
.pagination .dots,
.pager-links .dots {
  width: auto;
  border: none;
  background: transparent;
  pointer-events: none;
  color: #999;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 767px) {
  .pagination,
  .pager-links {
    gap: 5px; /* 間隔を狭く */
  }
  .pagination .page-numbers,
  .pager-links .page-numbers {
    width: 40px; /* スマホは少し小さく */
    height: 40px;
    font-size: 14px;
  }
}

/**************************************************
 * 13. 投稿一覧カードデザイン (共通化・修正版)
 **************************************************/

/* 抜粋文のスマホ表示調整 */
.no-sp-snippet .entry-card-snippet {
  display: inline-block;
  min-height: 100px;
  margin: 0;
  overflow: visible;
  font-size: inherit;
  line-height: 1;
  -webkit-line-clamp: inherit;
  -webkit-box-orient: inherit;
}

.no-sp-snippet .entry-card-snippet p {
  margin-bottom: 20px;
  line-height: 1.5;
}

/* --------------------------------------------------
   1. リスト全体（Flexコンテナ）
   -------------------------------------------------- */
/* IDセレクタ(#list)を使って優先度を上げる */
body:not(.home) #list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; /* カードの高さを揃える */
}

/* --------------------------------------------------
   2. カード本体 (.entry-card)
   -------------------------------------------------- */
/* 共通設定 */
.list .entry-card,
.my-post-swiper .swiper-slide,
.top-post-list .entry-card {
  /* カード自体のレイアウト設定 */
  display: flex;
  flex-direction: column; /* 縦積み */
  float: none; /* Cocoonのfloatを解除 */
  height: auto; /* 親のstretchに従う */
  background-color: #DEE0E4;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

/* アーカイブページ（3列表示） */
body:not(.home) #list .entry-card {
  width: 32%;
  margin-bottom: 50px;
}

/* --------------------------------------------------
   3. 画像エリア
   -------------------------------------------------- */
.list .entry-card-thumb,
.my-post-swiper .entry-card-thumb,
.top-post-list .entry-card-thumb {
  flex-shrink: 0; /* 画像は縮めない */
  width: 100%;
  margin: 0;
}

/* --------------------------------------------------
   4. コンテンツエリア（文字＋ボタン）
   -------------------------------------------------- */
.list .entry-card-content,
.my-post-swiper .entry-card-content,
.top-post-list .entry-card-content {
  position: relative;
  /* カードの残りの高さを埋める */
  flex: 1;
  /* 中身（ボタンなど）の配置用 */
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 20px;
}

/* --------------------------------------------------
   5. ボタンの位置調整
   -------------------------------------------------- */
.list .entry-card .btn_in,
.my-post-swiper .entry-card .btn_in,
.top-post-list .entry-card .btn_in {
  /* 位置リセット */
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  margin-top: auto; /* 一番下に配置 */
}

/* --------------------------------------------------
   スマホ対応（レスポンシブ）
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
  body:not(.home) #list .entry-card {
    width: 100%;
    margin-right: 0;
  }
}

/**************************************************
 * 14. 記事詳細・メタ情報・カテゴリラベル
 **************************************************/
.article-section .single-content-title {
  padding-bottom: 16px;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  text-align: left;
}

.related-entry-card-title, .entry-card-title {
  display: inline-block;
  margin: 0;
  overflow: visible;
  font-size: inherit;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
  -webkit-line-clamp: inherit;
  -webkit-box-orient: inherit;
}

.entry-card-thumb, .author-thumb, .blogcard-thumbnail, .related-entry-card-thumb, .popular-entry-card-thumb, .new-entry-card-thumb {
  float: none;
  width: 100%;
  margin: 0;
}

.entry-card-meta {
  position: relative;
  right: auto;
  bottom: auto;
  margin-bottom: 10px;
}

.e-card-info {
  display: flex;
  display: block;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.entry-card-title a {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
}

body:not(.home) .eye-catch-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.entry-card .btn_in {
  text-align: right;
}

.e-card-info > span {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.post-date span.fa {
  display: none;
}

.entry-date {
  margin: 0;
}

/* --- スマホ調整（一覧） --- */
@media screen and (max-width: 767px) {
  body:not(.home) .list .entry-card-wrap {
    width: 100%; /* スマホは1列 */
    margin: 0 0 20px;
  }
  .article-section .single-content-title {
    font-size: 18px;
  }
}

.eye-catch .cat-label,
.cat-label {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: auto;
  left: auto;
  max-width: inherit;
  margin: 0;
  padding: 5px 10px;
  overflow: visible;
  border: none;
  border-radius: 5px;
  background-color: #AEC3AA;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  opacity: 1;
}

.single .eye-catch img {
  display: block;
  margin-bottom: 20px;
}

.single .eye-catch .cat-label {
  position: relative;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  margin: 20px 0 0 0;
}

.single .date-tags {
  margin-bottom: 50px;
}

.news-list-wrap .cat-label {
  position: relative;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  min-width: 80px;
  margin: 0 30px;
}

#news {
  padding-bottom: 40px;
}

#news .news-list-wrap {
  padding: 0 20px 40px;
}

#news .news-list-wrap li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: solid 1px #ccc;
}

#news .news-list-wrap li span {
  line-height: 1.5;
}

/**************************************************
 * 15. フォーム関連 (naniwaya-form)
 **************************************************/
.naniwaya-form > p {
  margin-bottom: 30px;
}

.naniwaya-form > p > label {
  display: inline-block;
  padding-bottom: 10px;
}

.wpcf7-form-control-wrap {
  display: block;
}

input[type="date"], select, input[type="number"] {
  width: 300px;
}

._in {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.last_oder {
  margin-left: 30px;
}

.submitbtn p {
  margin-top: 50px;
  text-align: center;
}

.pri_box {
  width: 70%;
  margin: 50px auto 0;
  text-align: center;
}

.pri_box > p > a {
  display: inline-block;
  padding-bottom: 30px;
  text-decoration: underline;
}

.pri_box > p > span {
  display: block;
  text-align: left;
}

.wpcf7-spinner {
  display: none;
}

/**************************************************
 * 16. CTAエリア
 **************************************************/
.contact #cta .box {
  max-width: 820px;
}

.contact #cta .box ul li {
  width: 50%;
}

#cta .box ul {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 24px 16px;
  background-color: #DEE5ED;
}

#cta .box ul li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 33.33%;
  padding: 16px 10px;
  border-right: solid 1px #ccc;
  text-align: center;
}

#cta .box ul li::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 1;
  width: 40px;
  height: 40px;
  -webkit-transform: translateX(-50%);
  background-image: url(./../../../common/img/icon_phone.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#cta .box ul li::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 80px;
  height: 80px;
  -webkit-transform: translateX(-50%);
  border-radius: 50%;
  background-color: #AAB5C3;
}

#cta .box ul li:last-child {
  border-right: none;
}

#cta .box ul li p.title {
  margin: 100px 0 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
}

#cta .box ul li:nth-child(2)::before {
  background-image: url(./../../../common/img/icon_line.png);
}

#cta .box ul li:nth-child(3)::before {
  background-image: url(./../../../common/img/icon_pc.png);
}

#cta .box .btn_in {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

#cta .box .btn_in p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 2;
}

#cta .box .btn_in p.tel {
  color: #494A8D;
}

#cta .box .btn_in p.tel a {
  font-size: 28px;
  font-weight: 500;
  color: #494A8D;
}

#cta .box .btn_in p.uketsuke {
  font-size: 14px;
}

#cta .box .btn_in .btn {
  margin-bottom: 16px;
}

#cta .box .btn_in .end {
  margin-bottom: 0;
}

/**************************************************
 * 17. CTA用スマホ設定
 **************************************************/
@media screen and (max-width: 767px) {
  #cta .box ul {
    display: block;
    padding: 16px;
  }
  .contact #cta .box ul li,
  #cta .box ul li {
    width: 100%;
    min-height: 330px;
    padding: 40px 10px;
    border-right: none;
    border-bottom: solid 1px #ccc;
  }
  #cta .box ul li:last-child {
    border-bottom: none;
  }
  #cta .box ul li::before {
    top: 40px;
  }
  #cta .box ul li::after {
    top: 20px;
  }
  #cta .box ul li p.title {
    margin: 72px 0 20px;
  }
  #cta .box .btn_in p.tel a {
    font-size: 24px;
  }
}

.apdt-pc-only {
  display: none;
}