/*
Theme Name: ふくチャト
Description: 福岡のチャットレディ事務所比較サイト用クラシックテーマ。
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: fukuchato
License: GPL-2.0-or-later
*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,figure{
  margin: 0;
  padding: 0;
}

table{
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,img{
  border: 0;
}

address,caption,cite,code,dfn,em,strong,th,var{
  font-style: normal;
  font-weight: normal;
}

li{
  list-style: none;
}

caption,th{
  text-align: left;
}

h1,h2,h3,h4,h5,h6{
  font-size: 100%;
  font-weight: normal;
}

q:before,q:after{
  content: '';
}

abbr,acronym{
  border: 0;
  font-variant: normal;
}

sup{
  vertical-align: text-top;
}

sub{
  vertical-align: text-bottom;
}

input,textarea,select{
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

legend{
  color: #000;
}

figure{
  margin-bottom: 0;
}

/* ==================================================
   01. 基本設定
   ================================================== */
:root {
  --color-main: #565256;
  --color-green1: #b9e3d7;
  --color-green2: #54bfa7;
  --color-green3: #278e7b;
  --color-green4: #e5f5f0;
  --color-pink: #f47c98;
  --color-blue1: #e6f4fb;
  --color-blue2: #54b0ce;
  --color-blue3: #3196b4;
  --color-blue4: #f3fafc;
  --color-bg: #f4fafb;
  --color-border: #9ac8d4;
  --font-n: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-a: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --space-xs: clamp(8px, 2.5vw, 10px);
  --space-sm: clamp(12px, 5vw, 20px);
  --space-md: clamp(20px, 7.5vw, 30px);
  --space-l: clamp(24px, 10vw, 40px);
  --space-xl: clamp(32px, 12.5vw, 50px);
  --space-2xl: clamp(40px, 15vw, 60px);
  --space-3xl: clamp(48px, 17.5vw, 70px);
  --space-4xl: clamp(56px, 20vw, 80px);
  --font-s: clamp(13px, 3.733vw, 14px);
  --font-m: clamp(16px, 4.5vw, 18px);
  --font-l: clamp(17px, 5vw, 20px);
  --font-xl: clamp(18px, 5.9vw, 22px);
  --font-2xl: clamp(24px, 8vw, 30px);
  --content-width: 500px;
  --page-width: 1200px;
  --sidebar-width: 280px;
  --column-gap: 32px;
  --header-height: 70px;
  --header-offset: var(--header-height);
  --contact-height: 76px;
  --shadow: 0 0 8px rgb(76 67 68 / 12%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 16px);
}

body {
  color: var(--color-main);
  background: #fff;
  font-family: var(--font-n);
  font-size: var(--font-s);
  line-height: 1.9;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--color-green3);
  outline-offset: 4px;
}

strong {
  font-weight: 700;
}

.inner {
  width: calc(100% - 32px);
  max-width: var(--content-width);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-l);
}

.text > * + * {
  margin-top: var(--space-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 110;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}
/* =========================
 基本スタイル
========================= */
.m5b {
  margin-bottom: 5px !important;
}
.m10b {
  margin-bottom: 10px !important;
}
.m15b {
  margin-bottom: 15px !important;
}
.m20b {
  margin-bottom: 20px !important;
}
.m30b {
  margin-bottom: 30px !important;
}
.m40b {
  margin-bottom: 40px !important;
}
.m50b {
  margin-bottom: 50px !important;
}
.m60b {
  margin-bottom: 60px !important;
}
.m70b {
  margin-bottom: 70px !important;
}
.m80b {
  margin-bottom: 80px !important;
}
.m90b {
  margin-bottom: 90px !important;
}
.m100b {
  margin-bottom: 100px !important;
}
.mb01{
  margin-bottom: var(--space-xs);
}
.mb02{
  margin-bottom: var(--space-sm);
}
.mb03{
  margin-bottom: var(--space-md);
}
.mb04{
  margin-bottom: var(--space-l);
}
.mb05{
  margin-bottom: var(--space-xl);
}
.mb06{
  margin-bottom: var(--space-2xl);
}
.mb07{
  margin-bottom: var(--space-3xl);
}
.mb08{
  margin-bottom: var(--space-4xl);
}
.p-i01{
  padding-inline: clamp(10px, 4vw, 40px);
}
.p-b01{
  padding-block: var(--space-sm);
}
.p-b02{
  padding-block: var(--space-md);
}
.p-b03{
  padding-block: var(--space-l);
}
.bold {
  font-weight: bold !important;
}


.txtGreen {
  color: var(--color-green2);
}
.txtBlue {
  color: var(--color-blue2);
}
.txtBlue2 {
  color: var(--color-blue3);
}
.txtPink {
  color: var(--color-pink);
}
.txtBlack {
  color: var(--color-main);
}
.txtWhite {
  color: #FFFFFF !important;
}
.font-s{
  font-size: var(--font-s);
}
.font-m{
  font-size: var(--font-m);
}
.font-l{
  font-size: var(--font-l);
}
.font-xl{
  font-size: var(--font-xl);
}
.font-2xl{
  font-size: var(--font-2xl);
}

.clear {
  clear: both !important;
}
.cen {
  text-align: center !important;
}

.cen-pc{
  text-align: center !important;
}
.left {
  text-align: left !important;
}
.right {
  text-align: right !important;
}
/* 投稿の画像配置 */
.f-left{
  float: left;
}
.f-right{
  float: right;
}
.sp-dnon{
  display: none;
}
.lh01{
  line-height: 1.8;
}

.span01{
  text-shadow: 0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff;
}
.span02{
  text-shadow    : 
       1px  1px 0px #ffffff,
      -1px  1px 0px #ffffff,
       1px -1px 0px #ffffff,
      -1px -1px 0px #ffffff,
       1px  0px 0px #ffffff,
       0px  1px 0px #ffffff,
      -1px  0px 0px #ffffff,
       0px -1px 0px #ffffff;
}
.span03{
  background: linear-gradient(transparent 60%, #f4f25d 60%);
}
/* ==================================================
   02. 共通見出し・ボタン・リスト
   ================================================== */
.ttl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
  color: var(--color-blue2);
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.55;
}

.ttl-icon {
  flex: 0 0 40px;
  width: 40px;
  max-height: 44px;
  object-fit: contain;
}

.ttl-center {
  display: block;
  text-align: center;
}

.ttl-center .ttl-icon {
  width: 46px;
  max-height: none;
  margin: 0 auto 10px;
}

.ttl-label {
  display: block;
  font-size: var(--font-m);
  color: var(--color-main);
}

.ttl-sub {
  display: inline-block;
  min-width: 145px;
  margin-bottom: 8px;
  background: url("images/ranking_ttlbg.png") center / 100% 100% no-repeat;
}
.ttl1 {
  margin-bottom: var(--space-md);
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.55;
}

.subttl {
  margin-bottom: var(--space-sm);
  padding-left: 14px;
  border-left: 4px solid var(--color-blue2);
  color: var(--color-blue2);
  font-size: var(--font-l);
  font-weight: 700;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--color-blue3);
  background: #fff;
  color: var(--color-blue3);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color .2s, opacity .2s;
}

.btn::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.btn-green {
  border-color: var(--color-green2);
  background: var(--color-green2);
  color: #fff;
}

.btn-row {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 10px;
  margin-top: var(--space-sm);
}

.btn-wrap {
  margin-top: var(--space-md);
}

.btn-pending {
  cursor: default;
}

.rankingbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 5px;
  background: var(--color-blue2);
  color: #fff;
  font-size: 100%;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rankingbtn::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
}

.rankingbtn:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 4px;
}

@media (hover: hover) {
  .rankingbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgb(84 176 206 / 25%);
}

  .rankingbtn:hover::after {
  transform: translateY(3px) rotate(45deg);
}
}

@media (prefers-reduced-motion: reduce) {
  .rankingbtn,
  .rankingbtn::after {
  transition: none;
}
}

.link {
  color: var(--color-blue3);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-list li {
  position: relative;
  padding-left: 23px;
  line-height: 1.4;
}

.check-list li + li {
  margin-top: 5px;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 13px;
  height: 14px;
  background: url("images/check.png") center / contain no-repeat;
  content: "";
}

.point-box {
  padding: 14px;
  background: var(--color-blue1);
}

.point-ttl {
  margin-bottom: 8px;
  color: var(--color-blue2);
  font-weight: 700;
  line-height: 1.6;
}
.table01 {
  border: 1px solid var(--color-border);
}
.table01 td{
  font-size: 90%;
}
.table01 th, .table01 td {
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  line-height: 1.5;
}

.table01 thead th {
  vertical-align: middle;
  text-align: center;
  background: var(--color-blue1);
}
.table01 tbody th{
  font-weight: 700;
}
.ulstyle01 li{
  padding-left: 16px;
  margin-bottom: 10px;
  position: relative;
  line-height: 1.5;
}
.ulstyle01 li:last-of-type{
  margin-bottom: 0;
}
.ulstyle01 li::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue2);
  content: "";
}
.faqstyle{
  border: solid 1px var(--color-blue2);
  padding: 15px 10px 10px;
}
.faqstyle dt{
  padding-left: 50px;
  margin-bottom: 15px;
  position: relative;
  font-weight: 700;
  font-size: 105%;
}
.faqstyle dt::before{
  content: "Q";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 40px;
  height: 40px;
  background: var(--color-green2);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: var(--font-l);
}
.faqstyle dd{
  line-height: 1.6;
}
.source{
  font-size: 80%;
}
/* ==================================================
   03. ヘッダー・メイン画像・導入文
   ロゴは素材にないため文字で仮組みしています。
   ================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 5px 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: calc(var(--header-height) - 20px);
}

.header-brand {
  flex: 1;
  min-width: 0;
}

.header-text {
  margin-top: 3px;
  color: #333;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.logo img {
  height: 40px;
}

/* メニュー：1024px未満で開閉。JSなしの場合もリンクを利用できます。 */
.menu-btn {
  display: flex;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.menu-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-blue3);
  transition: transform .2s, opacity .2s;
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-nav {
  flex-basis: 100%;
  padding-block: 12px;
  border-top: 1px solid var(--color-blue1);
  background: #fff;
}

.menu-list a {
  display: block;
  padding: 12px 8px;
  font-weight: 700;
  line-height: 1.6;
}

.menu-list li + li {
  border-top: 1px solid var(--color-blue1);
}

.js .header-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--header-offset));
  max-height: calc(100dvh - var(--header-offset));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background: var(--color-bg);
}

.js .menu-list {
  width: calc(100% - 32px);
  max-width: 500px;
  margin-inline: auto;
}

.menu-btn[hidden], .header-nav[hidden], .slider-controls[hidden] {
  display: none;
}

.hero {
  max-width: 750px;
  margin-inline: auto;
}

.hero img {
  width: 100%;
}

.intro {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-xl);
}

/* ==================================================
   04. 結論 TOP3
   ================================================== */
.top3 {
  position: relative;
  margin-top: 34px;
  margin-bottom: 42px;
  padding-top: 0;
  padding-bottom: 10px;
  background: var(--color-blue1);
}

.top3::before, .top3::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 42px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  content: "";
}

.top3::before {
  top: -42px;
  background-image: url("images/bg01_t.png");
}

.top3::after {
  bottom: -42px;
  background-image: url("images/bg01_b.png");
}

.top3 .inner {
  position: relative;
}

.top3 .ttl {
  position: relative;
  top: -20px;
  margin-bottom: -2px;
}

.top3-slider {
  max-width: 500px;
  margin-inline: auto;
}

/* 横スクロール＋Scroll Snap。スワイプはJSなしでも動きます。 */
.top3-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.top3-list::-webkit-scrollbar {
  display: none;
}

.top3-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  background: #fff;
  scroll-snap-align: start;
}

.top3-medal {
  position: absolute;
  top: -21px;
  left: 7px;
  z-index: 1;
  width: 54px;
}

.top3-main {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px;
}

.top3-img {
  width: 100%;
  max-width: 139px;
  margin-inline: auto;
}

.top3-name {
  margin-bottom: 6px;
  color: #333;
  font-size: var(--font-l);
  font-weight: 700;
  line-height: 1.45;
}

.top3-lead {
  font-weight: 700;
  line-height: 1.65;
}

.top3-point {
  margin-top: 15px;
  padding: 5px 10px 15px;
  background: var(--color-blue1);
}
.top3-point .ttl1{
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 105%;
}
.top3-point ul{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.top3-point ul li{
  padding: 2px 10px;
  display: inline-block;
  background: var(--color-blue2);
  color: #fff;
  line-height: 1.4;
  font-size: 85%;
}
.top3-text {
  margin-top: 16px;
}

.top3 .btn {
  padding-inline: 6px;
  font-size: 12px;
}

.top3 .btn-row {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-blue3);
  border-radius: 50%;
  background: #fff;
  color: var(--color-blue3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:disabled {
  opacity: .35;
  cursor: default;
}

.slider-dots {
  display: flex;
  gap: 0;
}

.slider-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slider-dot::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  content: "";
}

.slider-dot[aria-current="true"]::before {
  background: var(--color-blue3);
}

/* ==================================================
   05. 10社比較表
   横スクロールは表の中だけ。事務所名・列はHTMLで編集します。
   ================================================== */
.compare-scroll {
  margin-top: var(--space-md);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  font-size: 12px;
  line-height: 1.7;
  border: 1px solid var(--color-border);
}

.compare-table th, .compare-table td {
  min-width: 135px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  vertical-align: top;
}
.compare-table th:first-child,
.compare-table td:first-child {
  min-width: 70px;
  width: 70px;
}
.compare-table thead th {
  vertical-align: middle;
  text-align: center;
}

.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--color-blue1);
}

.compare-table th[scope="row"] {
  font-weight: 700;
}

.compare-rank {
  width: 26px;
  height: 24px;
  margin: 0 auto 6px;
  object-fit: contain;
}

.compare-name {
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.swipe {
  width: 68px;
  margin: 12px 0 0 auto;
}

.compare-note {
  margin-top: var(--space-md);
}
.compare .table01 th{
  text-align: center;
}
span.compare-name{
  display: inline-block;
  padding: 0px 5px;
  margin-bottom: 5px;
  background: var(--color-green2);
  color: #fff;
  border-radius: 5px;
  font-size: 90%;
}

/* ==================================================
   06. ランキング
   ranking-item が1事務所分。装飾を共通化しています。
   ================================================== */
.ranking {
  background: var(--color-bg);
}

.ranking .ttl {
  margin-bottom: var(--space-md);
}

.ranking-list {
  display: grid;
  gap: var(--space-md);
}

.ranking-item {
  padding: 20px 18px 24px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.ranking-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-sm);
}

.ranking-medal {
  flex: 0 0 56px;
  width: 56px;
}

.ranking-number {
  display: flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-green2);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.ranking-name {
  color: #333;
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1.4;
}

.ranking-lead {
  margin-top: 4px;
  font-weight: 700;
  line-height: 1.6;
}

.ranking-main {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 15px;
  margin-bottom: var(--space-sm);
}

.ranking-img {
  width: 100%;
  max-width: 139px;
  margin-inline: auto;
}

.ranking-main .point-box {
  padding: 12px;
}

.ranking-main .check-list {
  font-size: 12px;
  line-height: 1.75;
}

.ranking-text {
  line-height: 1.95;
}

.ranking-area {
  margin-bottom: 14px;
  font-size: 12px;
}
.ranking .btn-wrap{
  text-align: center;
}

/* ==================================================
   07. 目的別
   ================================================== */
.purpose-list {
  margin-top: var(--space-md);
}

.purpose-item + .purpose-item {
  margin-top: var(--space-l);
}

.purpose-ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 18px;
  padding: 8px 12px;
  background: var(--color-blue2);
  color: #fff;
  font-size: var(--font-m);
  font-weight: 700;
  line-height: 1.5;
}

.purpose-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.purpose-box {
  margin-top: var(--space-sm);
  padding: 18px 14px;
  border: 1px solid var(--color-border);
  background: #fbf9f7;
}

.purpose-shop li{
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}
.purpose-shop li:last-of-type{
  margin-bottom: 0;
}
.purpose-shop li:before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue2);
  content: "";
}
.purpose-box .check-list li{
  margin-bottom: 10px;
}
.purpose-box .check-list li:last-of-type{
  margin-bottom: 0;
}
.purpose-box .check-list li .fontbig{
  font-size: 110%;
  margin-bottom: 5px;
}
.purpose .btn-wrap{
  text-align: center;
}
.purpose .table01 td{
  width: 25%;
}
/* ==================================================
   08. エリア
   ================================================== */
.area {
  background: var(--color-bg);
}

.area-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.area-name {
  margin-bottom: 16px;
  padding: 9px 15px;
  background: var(--color-blue2);
  color: #fff;
  font-size: var(--font-m);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.area-item .btn-wrap {
  margin-top: 18px;
}
.area .btn-wrap{
  text-align: center;
}

/* ==================================================
   09. 選び方・ガイドカード
   ================================================== */
.choose-ttl {
  margin: var(--space-md) 0 var(--space-xs);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-m);
  font-weight: 700;
  line-height: 1.65;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: var(--space-md);
}

.guide-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  overflow: hidden;
}

.guide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.guide-link::after {
  position: absolute;
  inset: 0;
  background: rgb(36 141 174 / 10%);
  content: "";
}

.guide-name {
  position: relative;
  z-index: 1;
  padding: 12px 8px;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}

/* ==================================================
   10. ページレイアウト・サイドバー・フッター
   PCのカラム幅は先頭の変数で調整します。
   ================================================== */
.main-content {
  min-width: 0;
}

.sidebar {
  width: calc(100% - 32px);
  max-width: 500px;
  margin: var(--space-l) auto var(--space-xl);
}

.sidebar-block {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background: #fff;
}

.sidebar-block + .sidebar-block {
  margin-top: 24px;
}

.sidebar-ttl {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-blue2);
  color: var(--color-blue3);
  font-size: var(--font-m);
  font-weight: 700;
  line-height: 1.5;
}

.sidebar-shops > li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-blue1);
}

.sidebar-shop {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sidebar-shop-img {
  width: 60px;
}

.sidebar-shop-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.sidebar-shop-name img {
  flex: 0 0 26px;
  width: 26px;
  height: 24px;
  object-fit: contain;
}

.sidebar-shop-text {
  font-size: 12px;
  line-height: 1.7;
}

.sidebar-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 3px;
  background: var(--color-blue1);
  color: var(--color-blue3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.sidebar .guide-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.sidebar .guide-link {
  min-height: 88px;
  border-radius: 4px;
}

.sidebar .guide-name {
  padding: 10px 6px;
  font-size: 13px;
}

.sidebar-links li + li,
.sidebar-articles li + li {
  border-top: 1px solid var(--color-blue1);
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 2px;
  font-weight: 700;
  line-height: 1.6;
}

.sidebar-links a::after {
  color: var(--color-blue2);
  font-size: 20px;
  content: "›";
}

a.sidebar-article {
  padding: 14px 0;
  line-height: 1.7;
  font-size: 90%;
  font-weight: 400;
}

.sidebar-article-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 40px;
  padding: 6px;
  border-radius: 4px;
  background: var(--color-blue1);
}

.sidebar-article-icon img {
  max-height: 28px;
  object-fit: contain;
}

.footer {
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: auto;
  height: 40px;
}

.footer-description {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.footer-ttl {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-blue3);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.footer-links a {
  display: inline-block;
  padding-block: 6px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 32px;
  padding-block: 20px;
  border-top: 1px solid var(--color-border);
}

.footer-note {
  font-size: 12px;
  line-height: 1.8;
}

.footer-copy {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  text-align: center;
}
.blogmain .thumbnail{
  margin-bottom: var(--space-md);
  text-align: center;
}
.blogmain .thumbnail img{
  margin-inline: auto;
  max-height: 300px;
}
.date{
  margin-bottom: var(--space-xs);
  font-size: 90%;
  color: #aaa;
}
.blogmain h2{
  margin-top: var(--space-xl);
}
/* エリアページ：事務所一覧カード */
.area-compare{
  padding-top: var(--space-xs);
}
.shop-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.shop-card {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dfe9e7;
  border-radius: 12px;
}

.shop-card-img {
  display: block;
  width: 105px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  vertical-align: bottom;
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.shop-card-name {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: bold;
}

.shop-card-name a {
  color: inherit;
  text-decoration: none;
}

.shop-card-text {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.65;
}

.shop-card .btn {
  display: inline-block;
}

   /* ガイド一覧ページ */
    .guide-featured-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

    .guide-featured-title {
  margin: 14px 0 0;
  font-size: var(--font-l);
  line-height: 1.5;
  font-weight: bold;
}

    .guide-featured-title a {
  color: inherit;
  text-decoration: none;
}

    .guide-archive-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

    .guide-archive-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #dfe9e7;
  border-radius: 12px;
}

    .guide-archive-thumb-link {
  display: block;
}

    .guide-archive-thumb {
  display: block;
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

    .guide-archive-body {
  min-width: 0;
}

    .guide-archive-date {
  margin: 0 0 6px;
  font-size: .8rem;
  color: #777;
}

    .guide-archive-title {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: bold;
}

    .guide-archive-title a {
  color: inherit;
  text-decoration: none;
}

    .guide-archive-item .btn {
  display: inline-block;
}

    .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

    .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #dfe9e7;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

    .pagination .current {
  font-weight: bold;
}
.shopguide.top3 .ttl{
  top: 0;
}
.shopguide.top3 + section {
  padding-top: 1px;
}
.ez-toc-title-container{
	text-align: center;
}
#ez-toc-container{
	padding-right: 10px;
}
/* ==================================================
   11. PC表示
   スマホの設定を変えず、PCの調整をここにまとめています。
   ================================================== */
@media (min-width: 768px) {
  :root {
  --content-width: 1040px;
  --header-height: 76px;
}

  .inner {
  width: calc(100% - 64px);
}

  .header {
  padding-block: 16px;
}

  .header-inner {
  min-height: calc(var(--header-height) - 32px);
}

  .intro {
  max-width: 750px;
}

  .section {
  padding-block: var(--space-xl);
}

  .ttl {
  font-size: var(--font-xl);
}
  .ttl1 {
  font-size: var(--font-2xl);
}	

  .top3 {
  max-width: 1140px;
  margin: 60px auto 60px;
  padding-top: 0;
  padding-bottom: 30px;
}

  .top3-item {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}
	.compare .ttl{
  justify-content: center;
}
	.compare #compare-ttl + p{
  text-align: center;
}
  .compare-table {
  width: 1990px;
}

  .compare-table thead th:first-child {
  width: 110px;
}

  .ranking-item {
  padding: 28px;
  max-width: 650px;
  margin-inline: auto;
}
	.ranking .ttl{
  justify-content: center;
}
  .ranking-main {
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
}

  .ranking-main .point-box {
  padding: 20px;
}

  .ranking-main .check-list {
  font-size: var(--font-s);
}

  .ranking-img {
  max-width: 139px;
}

  .purpose-list {
  max-width: 800px;
  margin-inline: auto;
}

  .purpose-box {
  padding: 24px;
}

  .area-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

  .area-item {
  display: flex;
  flex-direction: column;
}

  .area-item .btn-wrap {
  margin-top: auto;
  padding-top: 18px;
}

  .guide-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

  .guide-link {
  min-height: 120px;
}

  .guide-name {
  padding-inline: 16px;
  font-size: 14px;
}
	.blogmain .thumbnail img{
  padding-block: 20px;
  min-height: inherit;
  max-height: 500px;
}
  .shop-card-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  .shop-card {
  gap: 18px;
  padding: 16px;
}


  .shop-card-name {
  font-size: var(--font-l);
}

  .shop-card-text {
  font-size: inherit;
  line-height: 1.75;
}
	
      .guide-archive-item {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

      .guide-archive-thumb {
  width: 220px;
  aspect-ratio: 16 / 9;
}

      .guide-archive-title {
  font-size: var(--font-l);
}
	
}

@media (min-width: 1024px) {
	body{
  font-size: 16px;
}
	.pc-dnon{
  display: none;
}
	.sp-dnon{
  display: block;
}
	.subttl,.ttl {
  font-size: var(--font-2xl);
}
	.table01 th, .table01 td{
  padding-inline: 20px;
}
	.ranking-name{
  margin-bottom: 10px;
}
  /* PCメニュー。開閉状態と表示切替は main.js で同期します。 */
  .header-inner {
  flex-wrap: nowrap;
  gap: 24px;
}

  .header-brand {
  flex: 0 0 auto;
}

  .header-nav, .js .header-nav {
  position: static;
  flex: 1;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  box-shadow: none;
}

  .js .header-nav {
  background: none;
}

  .menu-list, .js .menu-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: auto;
  max-width: none;
  margin: 0;
}

  .menu-list a {
  padding: 10px 0;
  font-size: 13px;
  white-space: nowrap;
}

  .menu-list li + li {
  border: 0;
}

  .menu-btn {
  display: none;
}
  .top3-slider {
  max-width: none;
}

  .top3-list {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  overflow: visible;
  scroll-snap-type: none;
}

  .top3-item {
  max-width: none;
  padding: 22px 16px 18px;
}

  .top3-main {
  align-items: start;
  gap: 10px;
}

  .top3-name {
  font-size: 18px;
}

  .top3-point {
  padding: 8px;
}
	.top3-lead{
  font-size: 14px;
}
	.top3-text{
  font-size: 90%;
}

  .top3 .btn-row {
  gap: 6px;
}

  .top3 .btn {
  font-size: 11px;
}
	.compare #compare-ttl + p{
  margin-bottom: 20px;
}
  .slider-controls {
  display: none;
}

  .ranking-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: stretch;
}

  .ranking-item {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

  .ranking-main {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
}

  .ranking-main .point-box {
  padding: 14px 20px;
}

  .ranking-item .btn-wrap {
  margin-top: auto;
  padding-top: 24px;
}
  .ranking-main {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  grid-template-columns: 130px minmax(0, auto);
}
  .ranking-item {
  position: relative;
}

  .ranking-number,
  .ranking-medal {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 68px;
}

  .ranking-number {
  height: 68px;
  font-size: 36px;
}

  .ranking-head {
  display: block;
  width: 100%;
  max-width: none;
  text-align: center;
}
  /* PC：本文＋サイドバーの2カラム */
  .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  align-items: start;
  gap: var(--column-gap);
  width: calc(100% - 64px);
  max-width: var(--page-width);
  margin: 32px auto var(--space-xl);
}

  .header-inner,
  .footer-inner {
  max-width: var(--page-width);
}

  .main-content .inner {
  max-width: none;
}

  .main-content .top3 {
  max-width: none;
}

  .main-content .top3-list {
  gap: 12px;
}

  .main-content .top3-item {
  padding: 20px 12px 16px;
}

  .main-content .top3-main {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

  .main-content .top3-img {
  max-width: 100px;
}

  .main-content .top3 .btn-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

  .main-content .top3 .btn {
  font-size: 12px;
}
  .main-content .ranking-list {
  grid-template-columns: minmax(0, 1fr);
}

  .sidebar {
  width: 100%;
  max-width: none;
  margin: 0;
}

  .footer-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.blogmain .point-box {
  width: fit-content;
  max-width: 100%;
  min-width: 300px;
  padding: 20px;
}
}

@media (hover: hover) {
  .sidebar-shop:hover,
  .sidebar-links a:hover,
  .sidebar-article:hover,
  .footer-links a:hover {
  color: var(--color-blue3);
}

  .sidebar-more:hover {
  background: var(--color-green4);
}

  a.btn:hover {
  background: var(--color-blue1);
}

  .guide-link:hover .guide-img {
  opacity: .8;
}

  .link:hover, .compare-name:hover {
  color: var(--color-green3);
}

  .menu-list a:hover {
  color: var(--color-blue3);
}

  .slider-btn:not(:disabled):hover {
  background: var(--color-blue1);
}
}

@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior: auto;
}

  .btn, .menu-line {
  transition: none;
}
}

/* ==================================================
   WordPress共通部分：パンくず・ページ送り・管理バー
   ================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 12px;
  clip: auto;
  background: #fff;
}
.breadcrumb {
  width: calc(100% - 32px);
  max-width: var(--content-width);
  margin: 16px auto;
  font-size: 12px;
  line-height: 1.8;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
}
.breadcrumb a {
  color: inherit;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.article-nav {
  display: grid;
  gap: 12px;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.article-nav-link {
  display: flex;
  position: relative;
  min-height: 122px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  color: var(--color-main);
  background: var(--color-blue4);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.article-nav-next {
  text-align: right;
  background: var(--color-green4);
  border-color: var(--color-green2);
}
.article-nav-link.has-thumbnail {
  background-image: var(--article-nav-image);
  background-position: center;
  background-size: cover;
}
.article-nav-link.has-thumbnail::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: rgb(230 244 251 / 90%);
}
.article-nav-next.has-thumbnail::before {
  background: rgb(229 245 240 / 90%);
}
.article-nav-link.has-thumbnail > span {
  position: relative;
  z-index: 1;
  text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    1px -1px 0 #fff,
    -1px -1px 0 #fff,
    1px 0 0 #fff,
    0 1px 0 #fff,
    -1px 0 0 #fff,
    0 -1px 0 #fff;
}
.article-nav-label {
  color: var(--color-blue3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.article-nav-next .article-nav-label {
  color: var(--color-green3);
}
.article-nav-link.has-thumbnail .article-nav-label {
  align-self: flex-start;
  padding: 3px 8px;
  background: rgb(255 255 255 / 100%);
  border-radius: 999px;
}
.article-nav-next.has-thumbnail .article-nav-label {
  align-self: flex-end;
}
.article-nav-title {
  font-size: var(--font-m);
  font-weight: 700;
  line-height: 1.55;
}
.article-nav-link:focus-visible {
  outline: 3px solid var(--color-pink);
  outline-offset: 3px;
}
@media (hover: hover) {
  .article-nav-link:hover {
    box-shadow: 0 4px 14px rgb(76 67 68 / 18%);
    transform: translateY(-2px);
  }
}
@media (min-width: 768px) {
  .article-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.empty-message {
  padding-block: 16px;
  font-size: var(--font-s);
}
body.admin-bar .header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

/* 画面右下のスクロールトップ */
.scroll-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--color-blue3);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}

.js .scroll-top {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.js .scroll-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:focus-visible {
  outline: 3px solid var(--color-pink);
  outline-offset: 3px;
}

@media (hover: hover) {
  .scroll-top:hover {
    background: var(--color-green3);
  }
}

@media (max-width: 600px) {
  body.admin-bar .header {
    top: 0;
  }
}
@media (min-width: 1024px) {
  .breadcrumb {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}
