/*
Theme Name: kaitori
Author: kaitori
Description: 買取サービス向け
Version: 1.0.10
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kaitori
*/

:root {
  --ink: #20312e;
  --muted: #61716c;
  --green: #173e35;
  --green-2: #286450;
  --cream: #fff6e8;
  --white: #fff;
  --line: #dce3dc;
  --accent: #d6e6b7;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(20, 53, 43, 0.09);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.8;
}
body.admin-bar .site-header {
  top: 32px;
}
a {
  color: var(--green-2);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--green);
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #d4a94c;
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.screen-reader-text:focus {
  clip: auto;
  height: auto;
  width: auto;
  padding: 12px;
  background: #fff;
  z-index: 10000;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #29275b;
  color: #fff;
}
.header-inner {
  width: 100%;
  max-width: none;
  min-height: 46px;
  padding: 0 0px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.site-branding {
  min-width: 0;
  flex-shrink: 0;
}
.site-title {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.3;
  font-weight: 800;
}
.site-title a {
  color: #fff;
  text-decoration: none;
}
.site-tagline {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  white-space: nowrap;
  @media (width < 480px) {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-tagline img {
  display: block;
  width: 77px;
  height: auto;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}
.site-description {
  margin: 0;
  color: #fff;
  font-size: 0.57rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.primary-nav .menu,
.primary-nav .menu > ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav .menu > li {
  position: relative;
  order: 0;
}
.primary-nav .menu > li > a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 15px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  background: none;
  &:hover {
    color: #c8c8c8 !important;
  }
}
.primary-nav
  .menu
  > li:not(.header-menu-line):not(.header-menu-contact)
  > a:hover,
.primary-nav
  .current-menu-item:not(.header-menu-line):not(.header-menu-contact)
  > a {
  color: #fff;
}
.primary-nav .menu > .header-menu-line {
  order: 1;
}
.primary-nav .menu > .header-menu-contact {
  order: 2;
}
.primary-nav .menu > .header-menu-line > a,
.primary-nav .menu > .header-menu-contact > a {
  width: 180px;
  padding: 5px 12px;
  font-weight: 800;
  &:hover {
    color: #fff !important;
  }
}
.primary-nav .menu > .header-menu-line > a {
  display: block;
  background: #18c967;
  font-size: 0.87rem;
  line-height: 1.4;
}
.primary-nav .menu > .header-menu-line > a::after {
  content: "店舗での買取査定はこちら";
  display: block;
  font-size: 0.53rem;
  font-weight: 600;
  line-height: 1.25;
}
.primary-nav .menu > .header-menu-contact > a {
  justify-content: space-between;
  background: #cb2937;
}
.primary-nav .menu > .header-menu-contact > a::after {
  content: "mail";
  font-family: "Material Symbols Outlined";
  font-size: 23px;
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "liga";
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.primary-nav .menu > .header-menu-line > a:hover {
  background: #11b75b;
}
.primary-nav .menu > .header-menu-contact > a:hover {
  background: #b91f30;
}
.primary-nav .sub-menu,
.primary-nav .children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 14px 18px;
  list-style: none;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 12px;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children,
.primary-nav li:focus-within > .children {
  display: block;
}
.primary-nav .sub-menu li + li,
.primary-nav .children li + li {
  margin-top: 10px;
}
.primary-nav .sub-menu a,
.primary-nav .children a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  border: 0;
  background: transparent;
  border-radius: 4px;
  padding: 10px;
  color: #fff;
}
.menu-toggle-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
  margin-inline: auto;
}
.menu-toggle-icon > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.menu-toggle-icon > span:nth-child(1) {
  top: 0;
}
.menu-toggle-icon > span:nth-child(2) {
  top: 8px;
}
.menu-toggle-icon > span:nth-child(3) {
  top: 16px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon > span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon > span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon > span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  aspect-ratio: 1432 / 533;
  background: url("https://dansya-rhythm.com/wp-content/uploads/eye-k.png")
    center / cover;
  color: #111;
  padding: clamp(24px, 4vw, 60px) 4.2%;
}
.hero-inner {
  position: relative;
  width: 100%;
}
.hero-copy {
  width: 44%;
  max-width: 600px;
  padding: clamp(18px, 3.4vw, 48px) clamp(14px, 2vw, 32px);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-2);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1rem, 3.5vw, 3rem);
  line-height: 1.4;
  font-weight: 800;
}
.hero-title-suffix {
  font-size: 0.8em;
}
.hero-brand-name {
  color: #cb2937;
}
.hero-copy p {
  margin: clamp(10px, 1.5vw, 20px) 0 0;
  font-size: clamp(0.55rem, 1.65vw, 1.25rem);
  line-height: 1.6;
  text-wrap: balance;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--green);
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: var(--green-2);
  color: #fff;
  transform: translateY(-2px);
}
.button-light {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--green);
}
.button-light:hover {
  background: #e5f1c9;
  color: var(--green);
}
.section {
  padding: clamp(68px, 8vw, 110px) 0;
}
.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}
.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.intro-art {
  min-height: 360px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 32%, #c9ddb2 0 13%, transparent 13.5%),
    radial-gradient(circle at 70% 55%, #8aac82 0 25%, transparent 25.5%),
    linear-gradient(145deg, #e5eddb, #b2cdb8);
  position: relative;
  overflow: hidden;
}
.intro-art::after {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  left: 13%;
  bottom: -18%;
  border: 28px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}
.intro-copy h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.8rem);
  line-height: 1.45;
  margin: 0 0 20px;
}
.intro-copy p {
  color: var(--muted);
}
.intro-copy .button {
  margin-top: 14px;
}
.section-alt {
  background: #eef2e9;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--green-2);
}
.step h3 {
  margin: 14px 0 9px;
  font-size: 1.25rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
}
.post-card-link:focus-visible {
  outline: 3px solid #29275b;
  outline-offset: 4px;
}
.post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 25px rgba(20, 53, 43, 0.035);
}
.post-card-image {
  display: block;
  aspect-ratio: 16/10;
  background: #dce9d7;
  overflow: hidden;
}
.post-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.post-card-link:hover img,
.post-card-link:focus-visible img {
  transform: scale(1.2);
}
.post-card-body {
  padding: 24px;
}
.post-card time,
.entry-meta {
  color: var(--muted);
  font-size: 0.78rem;
}
.post-card h3 {
  color: var(--ink);
  margin: 8px 0;
  font-size: 1.1rem;
  line-height: 1.55;
}
.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.post-card-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #29275b;
  color: #fff;
  font-size: 0.65rem;
  line-height: 1.3;
  text-decoration: none;
}
.post-card-link:hover .post-card-category {
  color: #fff;
  background: #3a3777;
}
.section-link {
  margin-top: 30px;
}
.search-results-grid {
  margin-top: 32px;
}
.content-area {
  padding: 70px 0 100px;
  min-height: 55vh;
}
.page-header {
  margin-bottom: 34px;
}
.page-header h1,
.entry-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.4;
  margin: 0 0 10px;
}
.page-header p {
  color: var(--muted);
}
.entry-content {
  max-width: 800px;
  font-size: 1rem;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content h2,
.entry-content h3 {
  line-height: 1.5;
  margin-top: 2em;
}
.entry-content p {
  margin-bottom: 1.5em;
}
.entry-content img {
  border-radius: 12px;
}
.entry-content .alignwide {
  max-width: 1120px;
  width: calc(100vw - 40px);
  margin-left: calc((min(800px, 100vw - 40px) - min(1120px, 100vw - 40px)) / 2);
}
.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc((min(800px, 100vw - 40px) - 100vw) / 2);
}
.featured-image {
  margin: 28px 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-image img {
  display: block;
  width: 100%;
}
.pagination,
.post-navigation {
  margin-top: 40px;
}
.single-layout,
.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: start;
  gap: 56px;
  max-width: 960px;
}
.single-content-area {
  padding-top: 46px;
  background: #fff6e9;
}
.single-main,
.archive-main {
  min-width: 0;
}
.single-main .entry-header {
  max-width: 640px;
}
.single-main .entry-header h1 {
  margin: 0 0 12px;
  color: #29275b;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.45;
}
.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #171717;
  font-size: 0.76rem;
}
.single-post-meta strong {
  font-weight: 800;
}
.single-post-meta time {
  color: #878787;
  font-weight: 700;
}
.single-post-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 20px;
  padding: 2px 14px;
  border-radius: 999px;
  background: #29275b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.single-post-category:hover {
  background: #3a3777;
  color: #fff;
}
.single-main .featured-image {
  width: min(100%, 640px);
  aspect-ratio: 1.49;
  margin: 24px 0 27px;
  border-radius: 0;
}
.single-main .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-main .entry-content {
  max-width: 640px;
  color: #141414;
  font-size: 0.95rem;
  line-height: 1.75;
}
.single-main .entry-content p {
  margin: 0 0 1.8em;
}
.single-main .entry-content strong,
.single-main .entry-content b {
  background-image: linear-gradient(transparent 65%, #fdef36 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.single-main .entry-content h2 {
  margin: 1.7em 0 0.8em;
  padding-bottom: 7px;
  border-bottom: 4px solid #29275b;
  color: #111;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.45;
}
.single-main .entry-content h3 {
  margin: 1.8em 0 0.8em;
  padding-left: 9px;
  border-left: 3px solid #29275b;
  color: #111;
  font-size: clamp(1.22rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
}
.single-main .entry-content h4 {
  margin: 1.7em 0 0.8em;
  color: #29275b;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.5;
}
.single-main .entry-content .alignwide,
.single-main .entry-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}
.article-toc {
  margin: 32px 0;
  padding: clamp(18px, 4vw, 28px);
  border: 2px solid #29275b;
  border-radius: 6px;
  background: #fff;
  overflow-wrap: anywhere;
}
.single-main .entry-content .article-toc-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddce8;
  color: #29275b;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}
.article-toc ol {
  margin: 0;
  padding-left: 1.6em;
}
.article-toc li {
  margin: 8px 0;
  padding-left: 4px;
}
.article-toc li::marker {
  color: #29275b;
  font-weight: 700;
}
.article-toc details > ol {
  margin-top: 6px;
  font-size: 0.9em;
}
.article-toc summary {
  position: relative;
  padding: 4px 26px 4px 0;
  color: #29275b;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.article-toc summary::-webkit-details-marker {
  display: none;
}
.article-toc summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}
.article-toc details[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.article-toc summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.article-toc .article-toc-heading-link {
  display: inline-block;
  margin: 4px 0;
  font-size: 0.85em;
  text-decoration: underline;
}
.article-toc a {
  color: #29275b;
  text-decoration: none;
}
.article-toc a:hover {
  text-decoration: underline;
}
.single-main .entry-content .article-toc-target {
  scroll-margin-top: 120px;
}
.author-box {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 14px 22px;
  border: 2px solid #29275b;
  background: #fff;
  border-radius: 6px;
}
.author-box-profile {
  text-align: center;
}
.author-box-profile h2 {
  margin: 0 0 8px;
  color: #29275b;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}
.author-box-avatar {
  display: block;
  width: 100px;
  margin: 0 auto;
}
.author-box-name {
  margin: 7px 0 0;
  color: #141414;
  font-size: 0.72rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.author-box-bio {
  color: #141414;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.author-box-bio p {
  margin: 0 0 1em;
}
.author-box-bio p:last-child {
  margin-bottom: 0;
}
.related-posts {
  margin: 40px 0;
}
.related-posts-heading {
  margin: 0 0 34px;
  color: #151515;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
.related-posts-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #29275b;
}
.article-navigation {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.article-nav-link {
  display: grid;
  grid-template-columns: 44px 140px minmax(0, 1fr);
  grid-template-areas: "direction image copy";
  align-items: center;
  gap: 20px;
  color: #29275b;
  text-decoration: none;
}
.article-nav-link--prev {
  grid-template-columns: minmax(0, 1fr) 140px 44px;
  grid-template-areas: "copy image direction";
}
.article-nav-link:hover {
  color: #3a3777;
}
.article-nav-direction {
  grid-area: direction;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.5;
}
.article-nav-arrow {
  font-family: sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.3;
}
.article-nav-image {
  grid-area: image;
  overflow: hidden;
  aspect-ratio: 1.49;
}
.article-nav-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-nav-link:hover .article-nav-image img {
  transform: scale(1.04);
}
.article-nav-copy {
  grid-area: copy;
  min-width: 0;
}
.article-nav-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.article-nav-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  color: #141414;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.site-sidebar {
  width: 240px;
}
.sidebar-inner {
  margin: 0 auto;
}
.sidebar-section + .sidebar-section {
  margin-top: 17px;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 23px;
  margin: 0;
  margin-bottom: 12px;
  border-radius: 2px;
  background: #29275b;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}
.sidebar-recommended {
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}
.sidebar-recommended-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  min-height: 73px;
  padding: 9px 0 11px;
  border-bottom: 2px solid #29275b;
}
.sidebar-recommended-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sidebar-thumbnail {
  position: relative;
  display: block;
  width: 56px;
  height: 51px;
}
.sidebar-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-rank {
  --rank-edge: #c69928;
  --rank-light: #fff8cc;
  --rank-mid: #f4d56f;
  --rank-dark: #d9a72e;
  --rank-ink: #715019;
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 22px;
  padding-bottom: 4px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  background: var(--rank-edge);
  color: var(--rank-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 rgb(255 255 255 / 55%);
}
.sidebar-rank::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  clip-path: inherit;
  background: linear-gradient(
    115deg,
    var(--rank-light) 0%,
    var(--rank-mid) 42%,
    var(--rank-light) 58%,
    var(--rank-dark) 100%
  );
}

.sidebar-recommended-item:nth-child(2) .sidebar-rank {
  --rank-edge: #959da8;
  --rank-light: #f7f9fc;
  --rank-mid: #cdd4dd;
  --rank-dark: #9da7b5;
  --rank-ink: #475362;
}
.sidebar-recommended-item:nth-child(3) .sidebar-rank {
  --rank-edge: #a16a40;
  --rank-light: #ffe6d0;
  --rank-mid: #d9a276;
  --rank-dark: #b57749;
  --rank-ink: #693c22;
}
.sidebar-recommended-copy {
  min-width: 0;
}
.sidebar-recommended-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.sidebar-recommended-copy h3 a {
  color: #29275b;
  text-decoration: none;
}
.sidebar-recommended-copy h3 a:hover,
.sidebar-categories a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.sidebar-post-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  white-space: nowrap;
}
.sidebar-post-meta time {
  color: #171717;
  font-size: 10px;
}
.sidebar-post-meta a {
  display: inline-flex;
  min-width: 43px;
  justify-content: center;
  border-radius: 999px;
  background: #29275b;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  text-decoration: none;
  padding: 2px 4px;
}
.sidebar-categories ul {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.sidebar-categories li {
  margin: 0;
  line-height: 1.35;
}
.sidebar-categories a {
  color: #171717;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-promo {
  margin-top: 16px;
}
.sidebar-promo img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 901px) {
  .site-sidebar {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .sidebar-inner {
    flex: 1;
    width: 100%;
  }
  .sidebar-promo {
    position: sticky;
    top: calc(var(--sidebar-header-offset, 80px) + 16px);
  }
}
.has-article-banner-popup {
  overflow: hidden;
}
.article-banner-popup {
  width: min(400px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.article-banner-popup::backdrop {
  background: rgb(0 0 0 / 60%);
}
.article-banner-popup__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #29275b;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.article-banner-popup__close:hover {
  background: #3a3777;
}
.article-banner-popup__link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}
.article-banner-popup__link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  object-fit: contain;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}
.pagination .current {
  background: var(--green);
  color: #fff;
}
.listing-page {
  min-height: 70vh;
  padding: 40px 0 62px;
  background: #fff6e9;
}
.listing-container {
  max-width: 720px;
}
.listing-page .page-header {
  margin-bottom: 54px;
  text-align: center;
}
.listing-page .page-header h1 {
  margin: 0;
  color: #151515;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}
.listing-page .page-header h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #29275b;
}
.listing-page .page-header .archive-description {
  margin-top: 18px;
  font-size: 0.85rem;
}
.listing-grid {
  width: min(470px, 100%);
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 39px;
}
.front-news .post-card,
.listing-page .post-card,
.related-posts .post-card {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 20px;
  min-height: 140px;
  padding: 13px 17px;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.38);
  &:hover {
    background: #f5f5f5;
  }
}
.front-news .post-card-image,
.listing-page .post-card-image,
.related-posts .post-card-image {
  width: 125px;
  height: 115px;
  aspect-ratio: auto;
  border-radius: 8px;
}
.front-news .post-card-body,
.listing-page .post-card-body,
.related-posts .post-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
}
.front-news .post-card h3,
.listing-page .post-card h3,
.related-posts .post-card h3 {
  color: #29275b;
  margin: 0 0 7px;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.45;
}
.front-news .post-card p,
.listing-page .post-card p,
.related-posts .post-card p {
  display: -webkit-box;
  overflow: hidden;
  color: #151515;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.front-news .post-card-meta,
.listing-page .post-card-meta,
.related-posts .post-card-meta {
  gap: 9px;
  margin-top: auto;
  padding-top: 8px;
}
.front-news .post-card time,
.listing-page .post-card time,
.related-posts .post-card time {
  color: #171717;
  font-size: 0.62rem;
}
.front-news .post-card-category,
.listing-page .post-card-category,
.related-posts .post-card-category {
  min-width: 54px;
  padding: 1px 8px;
  font-size: 0.56rem;
}
.listing-page .pagination {
  margin-top: 27px;
}
.listing-page .pagination .nav-links {
  justify-content: center;
  gap: 2px;
}
.listing-page .pagination .page-numbers {
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #29275b;
  font-size: 0.78rem;
  font-weight: 700;
}
.listing-page .pagination .page-numbers.current {
  background: #29275b;
  color: #fff;
}
.listing-page .pagination a.page-numbers:hover {
  background: #e2dff3;
}
.search-form {
  display: flex;
  max-width: 550px;
  gap: 8px;
}
.search-form label {
  flex: 1;
}
.search-field {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.search-submit {
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.site-footer {
  background: #29275b;
  color: #fff;
  padding: 18px;
}
.footer-container {
  width: calc(100% - 28px);
  max-width: none;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  min-height: 300px;
}
.footer-site-name {
  margin: 6px 0 9px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}
.footer-logo {
  display: inline-block;
  width: 132px;
  line-height: 0;
}
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-address {
  margin-top: 15px;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}
.footer-message {
  margin: 13px 0 0;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  @media (width < 480px) {
    text-align: left;
  }
}
.footer-nav {
  width: 175px;
  flex: 0 0 175px;
  margin-right: 44px;
}
.footer-nav .menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav .menu > li {
  margin: 0 0 9px;
}
.footer-nav .menu > li > a {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}
.footer-nav .menu > li > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.footer-nav .menu > .footer-menu-contact {
  margin-top: 10px;
  margin-bottom: 14px;
}
.footer-nav .menu > .footer-menu-contact > a,
.footer-nav .menu > .footer-menu-line > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 9px 15px;
  color: #fff;
  text-decoration: none;
}
.footer-nav .menu > .footer-menu-contact > a {
  background: #cb2937;
  letter-spacing: 2px;
  border-radius: 6px;
}
.footer-nav .menu > .footer-menu-contact > a::after {
  content: "mail";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "liga";
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}
.footer-nav .menu > .footer-menu-line > a {
  display: block;
  min-height: 52px;
  background: #18c967;
  border-radius: 6px;
}
.footer-nav .menu > .footer-menu-line > a::after {
  content: "店舗での買取査定はこちら";
  display: block;
  font-size: 0.57rem;
  font-weight: 600;
  line-height: 1.35;
}
.primary-nav .menu > .header-menu-line > a,
.footer-nav .menu > .footer-menu-line > a {
  position: relative;
  padding-right: 44px;
}
.primary-nav .menu > .header-menu-line > a::before,
.footer-nav .menu > .footer-menu-line > a::before,
.mobile-contact-bar__link--line::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("assets/images/icon-search.svg") center / contain no-repeat;
  mask: url("assets/images/icon-search.svg") center / contain no-repeat;
  transform: translateY(-50%);
}
.footer-nav .menu > .footer-menu-contact > a:hover {
  background: #b91f30;
  text-decoration: none;
}
.footer-nav .menu > .footer-menu-line > a:hover {
  background: #11b75b;
  text-decoration: none;
}
.copyright {
  margin: 6px 0 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}
.mobile-contact-bar {
  display: none;
}
@media (max-width: 760px) {
  body:has(.mobile-contact-bar) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    display: flex;
    box-shadow: 0 -3px 12px rgb(0 0 0 / 12%);
  }
  .mobile-contact-bar__link {
    display: flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
  }
  .mobile-contact-bar__link--line {
    position: relative;
    flex-direction: column;
    padding-right: 36px;
    padding-left: 8px;
    background: #18c967;
    font-size: 0.875rem;
  }
  .mobile-contact-bar__link--line::before {
    right: 10px;
    width: 20px;
    height: 20px;
  }
  .mobile-contact-bar__link--line small {
    font-size: 0.57rem;
    font-weight: 600;
  }
  .mobile-contact-bar__link--line:hover {
    background: #11b75b;
  }
  .mobile-contact-bar__link--contact {
    gap: 8px;
    background: #cb2937;
  }
  .mobile-contact-bar__link--contact:hover {
    background: #b91f30;
  }
  .mobile-contact-bar__icon {
    font-family: "Material Symbols Outlined";
    font-size: 22px;
    font-weight: normal;
    font-style: normal;
    font-feature-settings: "liga";
    line-height: 1;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
  }
}
@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .header-inner {
    min-height: 68px;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 15px 20px 25px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav .menu,
  .primary-nav .menu > ul {
    display: block;
  }
  .primary-nav li {
    padding: 8px 0;
  }
  .primary-nav .sub-menu,
  .primary-nav .children {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 8px 0 0 15px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-art {
    min-height: 260px;
  }
  .steps,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    min-height: 0;
    display: block;
  }
  .footer-nav {
    width: min(100%, 320px);
    margin: 32px 0 0;
  }
  .footer-nav .menu > li {
    margin-bottom: 12px;
  }
  .footer-container {
    width: calc(100% - 32px);
  }
  .copyright {
    margin-top: 35px;
  }
  .hero {
    min-height: 240px;
    aspect-ratio: auto;
    padding: 28px 20px;
    background-position: 65% center;
  }
  .hero-copy {
    width: 60%;
    max-width: 360px;
    padding: 22px 14px;
  }
  .hero h1 {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
  }
  .hero-copy p {
    font-size: clamp(0.6rem, 1.55vw, 0.8rem);
  }
  .hero-copy br {
    display: none;
  }
  .content-area {
    padding: 50px 0 70px;
  }
}
@media (max-width: 480px) {
  .container {
    width: min(100% - 32px, 1120px);
  }
  .step {
    padding: 25px;
  }
  .entry-content .alignwide,
  .entry-content .alignfull {
    width: 100%;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    min-height: 56px;
  }
  .site-branding {
    flex-shrink: 1;
    overflow: hidden;
  }
  .site-tagline {
    overflow: hidden;
  }
  .site-description {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
    padding: 10px 16px 20px;
    background: #29275b;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    height: 100vh;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav .menu,
  .primary-nav .menu > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav .menu > li {
    padding: 0;
  }
  .primary-nav .menu > li > a {
    min-height: 43px;
    height: auto;
    padding: 9px 12px;
  }
  .primary-nav .menu > .header-menu-line > a,
  .primary-nav .menu > .header-menu-contact > a {
    width: 100%;
    min-height: 48px;
    padding: 9px 15px;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.35;
  }
  .primary-nav .menu > .header-menu-contact,
  .primary-nav .menu > .header-menu-line {
    width: min(320px, 100%);
  }
  .primary-nav .menu > .header-menu-contact {
    order: 1;
    margin: 10px 0 14px;
  }
  .primary-nav .menu > .header-menu-line {
    order: 2;
  }
  .primary-nav .menu > .header-menu-contact > a {
    letter-spacing: 2px;
  }
  .primary-nav .menu > .header-menu-contact > a::after {
    font-size: 22px;
  }
  .primary-nav .menu > .header-menu-line > a {
    min-height: 52px;
    padding-right: 48px;
  }
  .primary-nav .menu > .header-menu-line > a::after {
    font-size: 0.57rem;
    line-height: 1.35;
  }
  .primary-nav .sub-menu,
  .primary-nav .children {
    display: block;
    position: static;
    padding: 5px 12px 12px;
    background: transparent;
    box-shadow: none;
  }
  .primary-nav .sub-menu a,
  .primary-nav .children a {
    color: #fff;
  }
}
@media (max-width: 760px) {
  .listing-page {
    padding: 26px 0 62px;
  }
}
@media (max-width: 420px) {
  .listing-page .page-header {
    margin-bottom: 36px;
  }
  .listing-page .post-card,
  .related-posts .post-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    min-height: 134px;
    padding: 12px;
  }
  .listing-page .post-card-image,
  .related-posts .post-card-image {
    width: 100px;
    height: 110px;
  }
  .listing-page .post-card h3,
  .related-posts .post-card h3 {
    font-size: 0.8rem;
  }
  .listing-page .post-card p,
  .related-posts .post-card p {
    font-size: 0.65rem;
  }
}
@media (max-width: 900px) {
  .single-layout,
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .site-sidebar {
    width: 100%;
  }
  .sidebar-inner {
    width: min(100%, 280px);
    @media (width < 480px) {
      width: 100%;
    }
  }
  .sidebar-thumbnail {
    width: 70px;
    height: 64px;
  }
  .sidebar-recommended-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .single-content-area {
    padding-top: 32px;
  }
  .single-main .entry-header h1 {
    font-size: 1.45rem;
  }
  .single-main .entry-content h2 {
    font-size: 1.55rem;
  }
}
@media (max-width: 480px) {
  .author-box {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 12px;
  }
  .author-box-avatar {
    width: 64px;
    height: 64px;
  }
  .author-box-bio {
    font-size: 0.75rem;
  }
  .article-nav-link {
    grid-template-columns: 30px 88px minmax(0, 1fr);
    gap: 10px;
  }
  .article-nav-link--prev {
    grid-template-columns: minmax(0, 1fr) 88px 30px;
  }
  .article-nav-title {
    font-size: 0.85rem;
  }
  .article-nav-excerpt {
    margin-top: 6px;
    font-size: 0.68rem;
  }
}

/* トップページ：新着記事とサイドバー */
.front-news {
  padding: 40px 0 150px;
  background: #fff6e9;
  color: #151515;
}
.front-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: clamp(32px, 13vw, 140px);
  max-width: 960px;
}
.front-news-main {
  min-width: 0;
}
.front-news-heading {
  margin-bottom: 30px;
  text-align: center;
}
.front-news-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
.front-news-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #29275b;
}
.front-news .front-news-grid {
  width: min(470px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}
.front-news .post-card h3,
.front-news .post-card p {
  overflow-wrap: anywhere;
}
.front-news-more {
  margin: 40px 0 0;
  text-align: center;
}
.front-news-more .button {
  min-width: 176px;
  min-height: 46px;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
  border: 0;
  border-radius: 9px;
  background: #29275b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.front-news-more .button:hover {
  background: #3a3777;
}
.front-news-more .button span {
  font-size: 24px;
  line-height: 1;
}
.front-news .site-sidebar {
  width: 100%;
  padding-top: 30px;
}
.front-news .sidebar-inner {
  width: 100%;
}
.front-news-empty {
  text-align: center;
}
@media (min-width: 761px) {
  .front-news .sidebar-recommended-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .front-news .sidebar-thumbnail {
    width: 70px;
    height: 64px;
  }
}
@media (max-width: 760px) {
  .front-news {
    padding: 24px 0 72px;
  }
  .front-news-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .front-news .front-news-grid {
    gap: 28px;
  }
  .front-news .site-sidebar {
    max-width: 280px;
    margin-inline: auto;
    padding-top: 0;
    @media (width < 480px) {
      max-width: 100%;
    }
  }
}
@media (max-width: 480px) {
  .front-news .post-card {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    min-height: 134px;
    padding: 12px;
  }
  .front-news .post-card-image {
    width: 100px;
    height: 110px;
  }
  .front-news .post-card h3 {
    font-size: 0.8rem;
  }
  .front-news .post-card p {
    font-size: 0.68rem;
  }
}

/* 固定ページ */
.page {
  main {
    article {
      header {
        h1 {
          text-align: center;
          font-size: 40px;
          position: relative;
          padding-bottom: 16px;
          margin-bottom: 40px;
          &::after {
            content: "";
            display: block;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%); /* 棒線をきれいに中央配置 */
            width: 60px; /* 棒線の長さ */
            height: 4px; /* 棒線の太さ */
            background-color: #272758; /* 棒線の色（画像に合わせた濃紺） */
            border-radius: 9999px; /* 両端を丸くする（画像の特徴） */
          }
        }
      }
      .entry-content {
        margin-inline: auto;
      }
    }
  }
}

/* Contact Form 7: contact-form7.html をフォームタブに貼り付けて使用 */
.kaitori-contact {
  box-sizing: border-box;
  width: 100%;
  max-width: 548px;
  margin-inline: auto;
  padding: 16px 48px 24px;
  background: #fff6e9;
  color: #222;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.kaitori-contact .kaitori-contact__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
}

.kaitori-contact .kaitori-contact__row:last-child {
  margin-bottom: 0;
}

.kaitori-contact__row label {
  padding-top: 2px;
  line-height: 24px;
  font-weight: 700;
}

.kaitori-contact .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.kaitori-contact input[type="text"],
.kaitori-contact input[type="email"],
.kaitori-contact input[type="tel"],
.kaitori-contact textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 3px 6px;
  border: 2px solid #4e4e4e;
  border-radius: 0;
  background: #fff;
  color: #222;
  box-shadow: none;
  font: inherit;
  line-height: 1.4;
  appearance: none;
  border-radius: 4px;
}

.kaitori-contact input[type="text"],
.kaitori-contact input[type="email"],
.kaitori-contact input[type="tel"] {
  height: 26px;
}

.kaitori-contact textarea {
  height: 108px;
  resize: vertical;
}

.kaitori-contact .kaitori-contact__submit {
  position: relative;
  width: min(210px, 100%);
  margin: 48px auto 0;
  padding: 0;
  text-align: center;
}

.kaitori-contact input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: #29275b;
  color: #fff;
  box-shadow: none;
  font: inherit;
  line-height: 1.5;
  cursor: pointer;
  appearance: none;
  transition: background-color 0.2s;
}

.kaitori-contact input[type="submit"]:hover {
  background: #3a3777;
}

.kaitori-contact input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}

.kaitori-contact .wpcf7-spinner {
  position: absolute;
  top: calc(50% - 12px);
  left: calc(100% + 8px);
  margin: 0;
}

.kaitori-contact .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .kaitori-contact .kaitori-contact__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .kaitori-contact__row label {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .kaitori-contact {
    padding: 16px 24px 24px;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.wp-block-quote {
  position: relative;
  background-color: #dcdcdc;
  border-left: 4px solid #29275b;
  padding: 24px 24px 24px 56px;
}

.wp-block-quote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 12px;
  color: #29275b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  pointer-events: none;
}
