@charset "UTF-8";
/* =========================================================
   和泉シッターサービスこころ
   元サイト（WordPress / Lightning）の見た目に合わせて再構成
========================================================= */

:root {
  --primary: #2b5104;          /* メイングリーン */
  --green-bg: #edf5eb;         /* セクション背景 */
  --green-bg2: #f3f7f1;        /* お問い合わせボックス背景 */
  --pink: #e95d8b;             /* 電話番号・ステップ番号 */
  --pink-border: #f78da7;      /* ステップ枠 */
  --pink-bg: #fceaf0;          /* エリアラベル背景 */
  --red: #cf2e2e;              /* エリアラベル文字 */
  --rose: #b86b80;             /* REPRESENTATIVE */
  --rep-bg: #fffaf8;           /* 代表者ブロック背景 */
  --text: #333;
  --text-sub: #666;
  --line: rgba(0, 0, 0, .06);
  --gray-fill: #efefef;
  --radius: 15px;
  --container: 1140px;
  --font: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --header-h: 108px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
img, video { max-width: 100%; height: auto; display: block; margin: 0 auto;}
a { color: var(--primary); }
a:hover { opacity: .85; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1.2em; }
figure { margin: 0; }
ul { margin: 0 0 1.2em; padding-left: 24px; }
li { margin-bottom: .4em; }
.is-hidden { display: none !important; }
.center { text-align: center; }
.small { font-size: 14px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* =========================================================
   Header
========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.header-top {
  background: #f9f9f9;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  color: var(--text-sub);
  font-size: 12px;
}
.header-top-description { margin: 0; padding: 9px 15px 12px; text-align: center; line-height: 1.4; }

.site-header-container {
  max-width: var(--container); margin: 0 auto; padding: 0 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header-logo { font-size: 24px; font-weight: 700; margin: 0; padding: 14px 0; line-height: 1.4; }
.site-header-logo a { color: var(--text); text-decoration: none; }

.global-nav-list { list-style: none; margin: 0; padding: 0; display: flex; }
.global-nav-list li { margin: 0; position: relative; }
.global-nav-list a {
  display: block; padding: 14px 18px; font-size: 14px; line-height: 1.4;
  color: var(--text); text-decoration: none; text-align: center; position: relative;
}
.global-nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--primary); transform: scaleX(0); transition: transform .3s;
}
.global-nav-list a:hover { opacity: 1; }
.global-nav-list a:hover::after,
.global-nav-list .current a::after { transform: scaleX(1); }

/* hamburger */
.menu-btn {
  display: none; width: 34px; height: 34px; padding: 6px; margin-right: 10px;
  border: 1px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-btn span { display: block; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile nav (左からスライド) */
.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1100;
  width: 300px; max-width: 85%; background: #fff; overflow-y: auto;
  padding: 24px 20px; transform: translateX(-100%); transition: transform .3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .15);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-title { font-size: 12px; letter-spacing: .1em; color: var(--text-sub); margin-bottom: 10px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid #eee; }
.mobile-nav li { margin: 0; border-bottom: 1px solid #eee; }
.mobile-nav a { display: block; padding: 12px 6px; color: var(--text); text-decoration: none; font-size: 14px; }
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 1050; background: rgba(0, 0, 0, .4);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

/* =========================================================
   Main slider
========================================================= */
.main-slider { position: relative; overflow: hidden; background: #f5f5f5; }
.main-slider .slides { position: relative; aspect-ratio: 1265 / 846; }
.main-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.main-slider .slide.is-active { opacity: 1; z-index: 1; }
.main-slider .slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-arrow {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px;
  border: none; background: transparent; cursor: pointer; padding: 0;
}
.slider-arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .4));
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slider-arrow.next { right: 10px; }
.slider-arrow.next::before { transform: translate(-70%, -50%) rotate(45deg); }

.slider-pagination {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  display: flex; justify-content: center; gap: 6px;
}
.slider-pagination button {
  width: 30px; height: 5px; padding: 0; border: none; border-radius: 0; cursor: pointer;
  background: #fff; opacity: .5;
}
.slider-pagination button.is-active { opacity: 1; }

/* =========================================================
   Sections / 共通パーツ
========================================================= */
.sec { padding: 60px 0; }
.sec-green { background: var(--green-bg); }
.sec-intro { padding: 60px 0 70px; }

.sec-title {
  font-size: 28px; color: var(--primary); text-align: center; margin-bottom: 1em;
}
.sec-lead { color: var(--primary); text-align: center; margin-bottom: 2.5em; }
.en-label { color: var(--rose); text-align: center; letter-spacing: .15em; margin-bottom: .6em; }

/* カラム */
.cols { display: flex; gap: 2em; margin-bottom: 2.4em; }
.cols > .col { flex: 1 1 0; min-width: 0; }
.cols-center { align-items: center; }
.cols-intro { align-items: center; margin-bottom: 0; }

/* 枠 */
.box-line { border: 1px solid var(--primary); border-radius: var(--radius); padding: 24px; }
.box-white { background: #fff; border-radius: var(--radius); padding: 24px; }
.box-line > :last-child, .box-white > :last-child { margin-bottom: 0; }
.box-title { font-size: 24px; color: var(--primary); margin-bottom: .8em; }
.box-title-center { text-align: center; color: var(--text); }

.box-dotted {
  border: 1px dotted #000; border-radius: var(--radius); padding: 1.8em;
}
.box-dotted > :last-child { margin-bottom: 0; }
.box-dotted-white { background: #fff; padding: 12px; margin-bottom: 1.2em; text-align: center; }

.about-box { max-width: 743px; margin: 2.4em auto 0; color: #000; }

/* 画像 */
.img-rounded img { border-radius: 8px; }
.img-center { margin-left: auto; margin-right: auto; }
.img-500 { max-width: 500px; }
.img-700 { max-width: 500px; }
.sec-green .img-500 { margin-bottom: 4em; }

.note { font-size: 14px; }
.note-center { font-size: 14px; text-align: center; color: #000; margin: 1.2em 0 2.4em; }
.box-line .note-center { margin: 1em 0 0; color: var(--text); }

/* ---------- Intro ---------- */
.pill-label {
  display: inline-block; margin-bottom: 1.6em;
  background: var(--pink-bg); color: var(--red);
  border-radius: 30px; padding: 8px 24px; font-size: 14px; line-height: 1.5; text-align: center;
}
.intro-title { font-size: 2.6rem; color: var(--primary); line-height: 1.4; margin-bottom: .6em; }
.sec-intro p { color: #000; }
.btn-wrap { margin: 1.6em 0 0; }
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff !important; text-decoration: none;
  border-radius: 30px; padding: 12px 24px; font-size: 20px; line-height: 1.5; text-align: center;
  transition: opacity .2s;
}

/* ---------- Service ---------- */
.service-video video { width: 100%; aspect-ratio: 320 / 568; object-fit: cover; }
.sec-green .box-line { background: transparent; color: #000; }

/* ---------- Table ---------- */
.tbl {
  width: 100%; border-collapse: collapse; table-layout: fixed;
  font-size: 14px; margin-bottom: 0;
  border-top: 1px solid var(--line);
}
.tbl th, .tbl td {
  padding: 7px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; line-height: 1.6;
}
.tbl thead th { font-weight: 700; text-align: center; border-bottom: 3px solid var(--line); }
.tbl-center td { text-align: center; }
.tbl-center td.tl { text-align: left; }
.tbl-company { margin-top: 2.4em; }
.tbl-company td:first-child { width: 26%; }

/* ---------- Flow ---------- */
.flow-list {
  list-style: none; padding: 0; margin: 0 0 3em;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2em;
}
.flow-list li { margin: 0; border: 1px solid var(--pink-border); border-radius: var(--radius); padding: 12px; text-align: center; }
.flow-num { color: var(--pink); font-size: 24px; margin-bottom: .2em; line-height: 1.7; }
.flow-txt { font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: flex; gap: 2em; align-items: center;
  background: var(--green-bg2); border-radius: var(--radius); padding: 38.4px;
}
.contact-wrap > div { flex: 1 1 0; min-width: 0; }
.contact-info > :last-child { margin-bottom: 0; }
.contact-tel { font-size: 36px; line-height: 1.7; margin-bottom: .2em; }
.contact-tel a { color: var(--pink); text-decoration: none; }
.insta-icon { width: 87px; }
.contact-line { background: #fff; border-radius: var(--radius); padding: 24px; }
.title-gray {
  background: var(--gray-fill); border-radius: 4px; text-align: center;
  font-size: 24px; padding: 14.4px 16.8px 12px; margin-bottom: 1em;
}
.line-cols { display: flex; gap: 1.5em; margin-bottom: 1.2em; }
.line-cols > div { flex: 1 1 0; min-width: 0; }
.line-label { text-align: center; margin-bottom: .6em; }
.img-border img { border: 1px solid #ccc; width: 100%; }
.img-border figcaption { font-size: 12px; text-align: center; color: var(--text-sub); margin-top: .6em; }
.contact-line > :last-child { margin-bottom: 0; }

/* =========================================================
   下層ページ
========================================================= */
.page-header { background: var(--primary); color: #fff; text-align: center; padding: 44px 0; }
.page-header-title { font-size: 32px; line-height: 1.3; }
.breadcrumb { font-size: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-wrap: wrap; }
.breadcrumb li { margin: 0; color: var(--text-sub); }
.breadcrumb li + li::before { content: "/"; margin: 0 .5em; color: #999; }
.breadcrumb a { color: var(--text-sub); text-decoration: none; }
.icon-home { display: inline-block; width: 12px; height: 10px; margin-right: 4px; vertical-align: -1px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 45%, 85% 45%, 85% 100%, 60% 100%, 60% 65%, 40% 65%, 40% 100%, 15% 100%, 15% 45%, 0 45%);
}
.page-main { padding: 48px 0 60px; }
.rep-group { background: var(--rep-bg); border-radius: var(--radius); padding: 38.4px; margin-bottom: 1em; }
.rep-group .img-700 { margin-bottom: 1em; }
.spacer { height: 100px; }

.sitemap .link-list { list-style: none; padding: 0; }
.sitemap .link-list li { position: relative; padding-left: 1em; font-size: 14px; }
.sitemap .link-list li::before { content: "・"; position: absolute; left: 0; }
.sitemap .link-list a { color: var(--text); text-decoration: none; }
.sitemap .link-list a:hover { text-decoration: underline; }

/* =========================================================
   Footer
========================================================= */
.site-footer { border-top: 1px solid var(--primary); font-size: 12px; margin-top: 0; }
.footer-nav { border-bottom: 1px solid var(--line); padding: 12px 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5em; }
.footer-nav li { margin: 0; }
.footer-nav a { color: var(--text); text-decoration: none; }
.site-footer-content { padding-top: 48px; text-align: center; }
.site-footer-content p { margin-bottom: 1em; }
.footer-name { font-size: 14px; }
.site-footer-copyright { text-align: center; padding: 16px 15px; }
.site-footer-copyright p { margin: 0; }
.credit { font-size: 10px; }
.credit a { color: var(--text-sub); text-decoration: none; }

/* page top */
.page-top {
  position: fixed; right: 15px; bottom: 15px; z-index: 900;
  width: 40px; height: 40px; background: rgba(0, 0, 0, .8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 2px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.page-top::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 10px; height: 10px;
  border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg);
}
.page-top.is-show { opacity: 1; visibility: visible; }

/* =========================================================
   Lightbox
========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .8);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 90vh; width: auto; background: #fff; padding: 10px; border-radius: 4px; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 991.98px) {
  :root { --header-h: 48px; }
  .header-top { display: none; }
  .global-nav { display: none; }
  .menu-btn { display: flex; }
  .site-header-container { justify-content: flex-start; }
  .site-header-logo { font-size: 18px; padding: 8px 0; }
  .flow-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 781px) {
  .cols, .contact-wrap { flex-direction: column; gap: 1.5em; }
  .cols > .col, .contact-wrap > div { flex-basis: auto; width: 100%; }
  .service-video { max-width: 320px; margin: 0 auto; }
  .intro-title { font-size: 2rem; }
  .sec-title { font-size: 24px; }
  .box-title, .title-gray { font-size: 20px; }
  .contact-wrap { padding: 24px; }
  .contact-tel { font-size: 30px; }
  .rep-group { padding: 24px; }
  .flow-list { grid-template-columns: 1fr; gap: 1em; }
  .page-header { padding: 32px 0; }
  .page-header-title { font-size: 24px; }
  .spacer { height: 60px; }
}

@media (max-width: 480px) {
  .line-cols { gap: 1em; }
  .btn-primary { font-size: 17px; }
}
