/* ===== Variables ===== */
:root {
  --color-main: #1a72ad;
  --color-accent: #d34a4a;
  --color-info: #e57e59;
  --color-green: #7bdcb5;
  --color-green-strong: #00d084;
  --color-orange: #ff6900;
  --color-red: #cf2e2e;
  --color-text: #222;
  --color-bg-all: #fff;
  --header-h: 80px;
  --content-w: 900px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg-all);
  line-height: 1.8;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0066cc; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }

.pc { display: block; }
.sp { display: none; }
.center { text-align: center; }
.fs-l { font-size: 1.35rem; font-weight: 500; }
.fs-m { font-size: 1.1rem; }
.orange { color: var(--color-orange); }
mark { background: #ffed9d; color: #000; padding: 0 2px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.info_bar { background: var(--color-info); color: #fff; text-align: center; }
.info_bar p { margin: 0; padding: 6px 16px; font-size: 13px; line-height: 1.5; }
.header_inner {
  max-width: 1200px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px;
}
.logo {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 28px; font-weight: 600;
  color: var(--color-text); text-decoration: none;
  margin-right: auto; letter-spacing: .05em;
}
.header_tel { text-decoration: none; color: var(--color-text); text-align: center; line-height: 1.3; }
.header_tel_num {
  display: flex; align-items: center; gap: 4px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 24px; color: var(--color-main);
}
.header_tel_num svg { width: 22px; height: 22px; fill: var(--color-main); }
.header_tel_sub { font-size: 12px; }
.header_nav ul { list-style: none; display: flex; gap: 4px; }
.header_nav a {
  display: block; padding: 10px 16px;
  color: var(--color-text); text-decoration: none; font-weight: 500;
  border-bottom: 2px solid transparent; transition: .2s;
}
.header_nav a:hover { color: var(--color-main); border-color: var(--color-main); }

.ham_btn {
  display: none;
  width: 44px; height: 44px; padding: 10px 8px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.ham_btn span { display: block; height: 2px; background: var(--color-text); transition: .3s; }
.drawer_open .ham_btn span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.drawer_open .ham_btn span:nth-child(2) { opacity: 0; }
.drawer_open .ham_btn span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 99;
  width: 80%; max-width: 320px; height: 100%;
  background: #fff; padding: 140px 24px 24px;
  transform: translateX(100%); transition: transform .3s;
}
.drawer ul { list-style: none; }
.drawer a {
  display: block; padding: 14px 4px; border-bottom: 1px solid #eee;
  color: var(--color-text); text-decoration: none; font-weight: 500;
}
.drawer_filter {
  position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer_open .drawer { transform: none; }
.drawer_open .drawer_filter { opacity: 1; pointer-events: auto; }

/* ===== FV ===== */
.fv { background: #fff; }
.fv_inner {
  display: flex; align-items: stretch;
  max-width: 1400px; margin: 0 auto; min-height: 560px;
}
.fv_text {
  flex: 0 0 46%;
  padding: 56px 40px 40px 6%;
  display: flex; flex-direction: column; justify-content: center;
}
.fv_ttl { margin: 0 0 24px; font-weight: 900; }
.fv_sub {
  display: inline-block; align-self: flex-start;
  background: var(--color-main); color: #fff;
  font-size: 15px; font-weight: 500; padding: 4px 14px; margin-bottom: 18px; border-radius: 3px;
}
.fv_main { display: block; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.45; letter-spacing: .02em; }
.fv_main em { font-style: normal; color: var(--color-red); }
.fv_lead { font-size: 18px; font-weight: 700; color: var(--color-accent); margin-bottom: 24px; }
.fv_tags { list-style: none; display: flex; gap: 12px; margin-bottom: 12px; }
.fv_tags li span {
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--color-main); color: #fff; font-weight: 700; font-size: 16px;
}
.fv_btm p { font-weight: 700; margin: 0; }
.fv_image { flex: 1; position: relative; overflow: hidden; }
.fv_image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

/* ===== Content ===== */
.content {
  max-width: var(--content-w); margin: 0 auto;
  background: #fff; padding: 40px 40px 80px;
}
.poster { margin: 0 auto 48px; max-width: 428px; }

/* 見出しの帯：優しい黄色・ステッチ・肉球 */
.h2 {
  margin: 64px 0 28px; padding: 18px 28px;
  background: #fff4c2; color: #6b4a1e; text-align: center;
  font-size: 1.5rem; line-height: 1.5;
  border-radius: 40px;
  outline: 2px dashed #f2c94c; outline-offset: -8px;
  box-shadow: 0 4px 0 #f6dd85;
}
.h2::before,
.h2::after {
  content: "🐾"; display: inline-block;
  font-size: .9em; vertical-align: 1px;
}
.h2::before { margin-right: 10px; transform: rotate(-15deg); }
.h2::after { margin-left: 10px; transform: rotate(15deg); }
.h2--strong { margin-top: 0; }
.h3 { font-size: 1.25rem; margin: 32px 0 24px; }
.h3-line {
  font-size: 1.2rem; margin: 24px 0 12px;
  padding: 4px 0 8px 14px; border-left: 5px solid var(--color-main);
  border-bottom: 1px solid #ddd;
}
hr { border: 0; border-top: 1px dashed #ccc; margin: 28px 0; }

.check_list { list-style: none; margin-bottom: 20px; }
.check_list li { position: relative; padding: 6px 0 6px 32px; font-size: 1.1rem; font-weight: 500; }
.check_list li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 16px; height: 9px; border-left: 3px solid var(--color-main); border-bottom: 3px solid var(--color-main);
  transform: rotate(-45deg);
}
.dot_list { list-style: none; }
.dot_list li { margin-bottom: 1em; }
.dot_list li::before { content: "・"; }

/* CTA tel */
.cta_tel { margin: 48px 0 32px; }
.cta_tel_box {
  display: flex; text-decoration: none; color: var(--color-text);
  background: #e8f5e9; border: 4px solid #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1); transition: transform .2s;
}
.cta_tel_box:hover { transform: translateY(-2px); }
.cta_tel_text { flex: 1; padding: 32px; }
.cta_tel_text h2 { margin: 0 0 8px; font-size: 2rem; color: var(--color-main); }
.cta_tel_text ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cta_tel_text li span {
  display: inline-block; padding: 2px 12px; border-radius: 20px;
  background: #fff; border: 1px solid var(--color-main); color: var(--color-main); font-size: 14px; font-weight: 500;
}
.cta_tel_num {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px); color: var(--color-main); letter-spacing: .03em;
}
.cta_tel_img { flex: 0 0 40%; }
.cta_tel_img img { width: 100%; height: 100%; object-fit: cover; }
.cta_tel_tap { display: none; text-align: center; font-size: 13px; margin-top: 8px; }

/* Button */
.btn_wrap { text-align: center; margin: 16px 0 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-main); color: #fff; text-decoration: none;
  padding: 18px 40px; border-radius: 50px; font-size: 1.05rem;
  box-shadow: 0 4px 0 #11507a; transition: .2s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #11507a; }
.btn svg { width: 20px; height: 20px; fill: #fff; }

/* Voice */
.voice { background: #e2fff3; padding: 40px 32px; border-radius: 8px; margin: 32px 0; }
.voice_ttl { text-align: center; margin: 0 0 28px; font-size: 1.6rem; font-weight: 600; }
.voice_list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice_list li { background: #fff; border-radius: 8px; padding: 0 0 20px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.voice_name { background: var(--color-main); color: #fff; text-align: center; padding: 8px; font-weight: 500; }
.voice_list h3 { font-size: 1.05rem; font-weight: 500; margin: 16px 20px 12px; line-height: 1.6; }
.voice_list p { margin: 0 20px 1em; font-size: .95rem; font-weight: 500; }

/* Grids */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 32px auto 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.grid3 img { border-radius: 4px; }

/* Table */
.table_wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th, td { border: 1px solid #ccc; padding: 12px 16px; text-align: left; vertical-align: top; }
th { background: var(--color-main); color: #fff; }
td:first-child { width: 28%; font-weight: 700; background: #f5fbff; }
thead th:first-child { width: 28%; }

/* Contact */
.contact {
  margin: 64px -40px 0;
  background: url("images/contact-bg.jpg") center/cover no-repeat;
  position: relative; color: #fff; text-align: center;
}
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.contact_inner { position: relative; padding: 64px 24px; }
.contact h2 { margin: 0 0 12px; font-size: 2rem; }
.contact_address { font-size: 14px; }
.contact_btns { display: flex; justify-content: center; align-items: stretch; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.contact_tel, .contact_mail {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-width: 300px; padding: 16px 24px; text-decoration: none; border-radius: 4px;
}
.contact_tel { color: #fff; border: 1px solid #fff; }
.contact_tel_no { font-family: "Roboto", sans-serif; display: flex; align-items: baseline; gap: 6px; }
.contact_tel_no .small { font-size: 16px; }
.contact_tel_no .big { font-size: 32px; font-weight: 700; letter-spacing: .03em; }
.contact_tel p { margin: 0; font-size: 12px; }
.contact_mail { flex-direction: row; gap: 10px; background: #0073aa; color: #fff; font-weight: 700; font-size: 1.05rem; }
.contact_mail svg { width: 26px; height: 26px; fill: #fff; }

/* Step */
.step { list-style: none; max-width: 800px; margin: 0 auto; counter-reset: step; }
.step li {
  position: relative; border: 1px solid var(--color-main); margin-bottom: 44px;
  counter-increment: step;
}
.step li:last-child { margin-bottom: 0; }
.step h3 {
  margin: 0; padding: 10px 20px; background: var(--color-main); color: #fff; font-size: 1.15rem;
}
.step h3::before { content: "STEP" counter(step, decimal-leading-zero); font-family: "Montserrat", sans-serif; font-size: .85rem; margin-right: 12px; opacity: .85; }
.step p { margin: 16px 20px; }
.step li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  border: 14px solid transparent; border-top: 16px solid var(--color-main); border-bottom: 0;
}

/* Q&A */
.qa details { border-bottom: 1px solid #ddd; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px; padding: 18px 48px 18px 8px; position: relative;
  font-weight: 700;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 16px; height: 2px;
  background: var(--color-main); transition: transform .25s;
}
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa_label {
  flex: 0 0 auto; font-family: "Roboto", sans-serif; font-weight: 700; font-size: 1.6rem;
  line-height: 1; padding-bottom: 4px; border-bottom: 3px solid var(--color-main);
}
.qa_a { display: flex; gap: 16px; padding: 4px 8px 20px; }
.qa_a .qa_label { color: var(--color-main); }
.qa_a p { margin: 0; }

/* Gallery */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* CTA free */
.cta_free { position: relative; margin-top: 56px; display: flex; min-height: 280px; border-radius: 8px; overflow: hidden; }
.cta_free_inner {
  position: relative; z-index: 2; flex: 0 0 55%;
  background: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center;
  border: 1px solid #ddd; border-right: 0;
}
.cta_free h2 { margin: 0 0 8px; font-size: 1.8rem; }
.cta_free_btn {
  display: block; max-width: 240px; text-align: center; margin-top: 8px;
  padding: 14px; background: var(--color-main); color: #fff; text-decoration: none;
  border: 1px solid #000; font-weight: 700; transition: opacity .2s;
}
.cta_free_btn:hover { opacity: .85; }
.cta_free_img { flex: 1; position: relative; background: #bebebe; }
.cta_free_img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Footer ===== */
.footer { background: #fff; border-top: 1px solid #e5e5e5; padding: 32px 16px 0; text-align: center; }
.sns { list-style: none; display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; }
.sns a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #f1f1f1; transition: .2s; }
.sns a:hover { background: var(--color-main); }
.sns svg { width: 22px; height: 22px; fill: #333; }
.sns a:hover svg { fill: #fff; }
.copyright { margin: 0; padding: 16px; font-size: 13px; color: #000; }

.page_top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.page_top::before {
  content: ""; position: absolute; left: 50%; top: 56%; width: 14px; height: 14px;
  border-top: 3px solid #fff; border-left: 3px solid #fff; transform: translate(-50%, -50%) rotate(45deg);
}
.page_top.show { opacity: 1; pointer-events: auto; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .header_tel, .header_nav { display: none; }
  .ham_btn { display: flex; }
  :root { --header-h: 64px; }
  .logo { font-size: 24px; }
  .header_inner { padding: 0 16px; }
  .voice_list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; }
  .fv_inner { flex-direction: column-reverse; min-height: 0; }
  .fv_image { height: 64vw; }
  .fv_image img { clip-path: none; }
  .fv_text { padding: 28px 16px 8px; }
  .fv_lead { font-size: 16px; }
  .fv_btm.sp { padding: 0 16px 28px; background: #fff; }
  .fv_tags li span { width: 64px; height: 64px; font-size: 14px; }

  .content { padding: 28px 16px 56px; }
  .h2 { font-size: 1.2rem; margin-top: 48px; padding: 16px 22px; border-radius: 28px; }
  .h2--strong { margin-top: 0; }
  .fs-l { font-size: 1.2rem; }
  .fs-m { font-size: 1rem; }

  .cta_tel_box { flex-direction: column-reverse; }
  .cta_tel_img { height: 180px; }
  .cta_tel_text { padding: 24px 20px; }
  .cta_tel_tap { display: block; }
  .btn { padding: 16px 24px; font-size: .95rem; }

  .voice { padding: 28px 16px; }
  .grid2 { gap: 12px; }
  .grid3 { grid-template-columns: 1fr; }
  td:first-child, thead th:first-child { width: 34%; }
  th, td { padding: 10px; font-size: .95rem; }

  .contact { margin: 48px -16px 0; }
  .contact h2 { font-size: 1.5rem; }
  .contact_tel, .contact_mail { min-width: 0; width: 100%; }
  .contact_tel_no .big { font-size: 28px; }

  .gallery { grid-template-columns: 1fr; }
  .cta_free { flex-direction: column-reverse; }
  .cta_free_img { height: 200px; flex: none; }
  .cta_free_inner { padding: 28px 20px; border-right: 1px solid #ddd; border-top: 0; }
  .cta_free h2 { font-size: 1.5rem; }
}

/* ===== Contact form (Flask) ===== */
.h2--page { margin-top: 0; }
.form { max-width: 720px; margin: 32px auto 0; }
.form_row { margin-bottom: 24px; }
.form_row > label { display: block; font-weight: 700; margin-bottom: 8px; }
.req {
  display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 3px;
  background: var(--color-accent); color: #fff; font-size: 12px; font-weight: 500; vertical-align: 2px;
}
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1px solid #bbb; border-radius: 4px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--color-main); outline-offset: 1px; border-color: var(--color-main); }
.form_radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--color-main); }
.form_note { font-size: 13px; color: #666; margin: 6px 0 0; }
.form_error { color: var(--color-red); font-size: 14px; margin: 6px 0 0; }
.form_error_summary {
  background: #fdecec; border-left: 4px solid var(--color-red); color: var(--color-red);
  padding: 12px 16px; font-weight: 700;
}
.form .btn { border: 0; cursor: pointer; font: inherit; padding: 18px 64px; }
.done { text-align: center; }
