@charset "utf-8";

:root {
  --black: #393E46;
  --white: #ffffff;
  --gray: #CCCCCC;
  --blue: #0152EF;
  --sky-blue: #F0F7FC;
  --navy: #092987;
  --title-blue: #2D50CC;
  --pink: #FF386A;
  --bg-contact: linear-gradient(90deg, #FF3264, #FF76A2);
  --bg-blue-gr: linear-gradient(90deg, #3071EF 0%, #29A1F2 100%);
  --shadow-card: 0 4.5px 6px rgba(0, 0, 0, 0.1);
  --shadow-card-lg: 0 6px 8px 0 rgba(0, 0, 0, 0.1);
  --header-h: 65px;
}

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

html {
  height: 100%;
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.6;
  font-feature-settings: "palt";
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, p, dl, dd, figure, table { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.6; }
button { font: inherit; cursor: pointer; }
figure { overflow: hidden; }
input, textarea, select { font-family: inherit; color: var(--black); }

@media (min-width: 768px) {
  :root { --header-h: 90px; }
  html { scroll-padding-top: 100px; }
}
@media (min-width: 992px) {
  body { font-size: 1.6rem; }
}

/*** utilities ***/
.container { max-width: 1200px; width: 100%; padding: 0 15px; margin: 0 auto; }
.ff-min { font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; }
.ff-ja { font-family: "Noto Sans JP", sans-serif; }
.fc-blue { color: var(--blue); }
.fc-white { color: var(--white); }
.text-center { text-align: center; }
.d-inline-block { display: inline-block; }
.mb-3 { margin-bottom: 20px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pc-none { display: block; }
.sp-none { display: none; }
br.pc-none { display: inline; }
@media (min-width: 992px) {
  .pc-none, br.pc-none { display: none; }
  .sp-none { display: block; }
}

[class^="sec-"] { padding: 50px 0; }
@media (min-width: 768px) { [class^="sec-"] { padding: 80px 0; } }

.img-wrap { position: relative; width: auto; overflow: hidden; border-radius: 8px; }
.img-wrap::before { content: ""; display: block; padding-top: 75%; }
.img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 1024px) { a[href^="tel:"] { pointer-events: none; } }

/*** 大見出し ***/
.main-heading {
  font-size: 2rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.4;
  text-align: center; margin-bottom: 30px;
}
.main-heading_bg { display: block; font-size: 2.2rem; padding-top: 5px; }
.main-heading_bg .round {
  display: inline-block; white-space: nowrap; font-size: 2.8rem; color: var(--navy); border: 1.5px solid var(--navy);
  background: var(--white); padding: 0 10px; margin-left: 5px;
}
@media (min-width: 768px) {
  .main-heading { font-size: 2.4rem; }
  .main-heading_bg { font-size: 2.8rem; }
  .main-heading_bg .round { font-size: 3.6rem; }
}
@media (min-width: 1024px) {
  .main-heading { font-size: 2.8rem; margin-bottom: 50px; }
  .main-heading_bg { font-size: 3.4rem; }
  .main-heading_bg .round { font-size: 4.8rem; }
}
@media (min-width: 1200px) {
  .main-heading { font-size: 3.2rem; }
  .main-heading_bg { font-size: 4rem; }
  .main-heading_bg .round { font-size: 5.6rem; }
}

/*** 中見出し ***/
.medium-heading {
  font-size: 2.8rem; font-weight: 600; letter-spacing: 0.008em; line-height: 1.5;
  text-align: center; margin-bottom: 30px;
}
.medium-heading .ff-min {
  display: block; font-size: 1.4rem; letter-spacing: 0; line-height: 1;
  color: var(--title-blue); margin-bottom: 8px;
}
@media (min-width: 768px) {
  .medium-heading { font-size: 3.2rem; }
  .medium-heading .ff-min { font-size: 1.6rem; }
}
@media (min-width: 992px) {
  .medium-heading { font-size: 3.8rem; }
  .medium-heading .ff-min { font-size: 1.8rem; }
}
@media (min-width: 1200px) {
  .medium-heading { font-size: 4rem; }
  .medium-heading .ff-min { font-size: 2rem; }
}

/*** ボタン ***/
.contact_btn {
  display: flex; align-items: center; justify-content: center;
  max-width: 260px; width: 260px; height: 60px;
  background: var(--bg-contact); border-radius: 5px; color: var(--white);
  font-size: 1.6rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.8;
  padding: 20px; margin: 0 auto; position: relative; transition: 0.3s;
}
.contact_btn::after {
  content: ""; display: inline-block; flex: none;
  background: url(../images/icon-contact.svg) center / contain no-repeat;
  width: 20px; height: 20px; margin-left: 10px;
}
.contact_btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/*** header ***/
.common-header {
  width: 100%; height: var(--header-h); position: fixed; top: 0; z-index: 50;
  background: var(--white); box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
}
.common-header__inner {
  max-width: 1200px; width: 100%; height: 100%; padding: 10px 15px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.common-header__logo { display: block; max-width: 190px; width: 100%; }
.common-header_link { display: none; }
.common-header_tel { display: flex; align-items: center; width: max-content; }
.common-header_tel img { max-width: 32px; }
.common-header_tel .text {
  font-size: 1rem; font-weight: 600; letter-spacing: 0; text-align: center; margin-left: 10px;
}
.common-header_tel .text .fs-bg { display: block; font-size: 2.2rem; line-height: 1; }
.common-header_contact { height: 46px; width: 180px; max-width: 180px; padding: 10px; font-size: 1.4rem; }
@media (min-width: 768px) {
  .common-header__inner { justify-content: space-between; }
  .common-header_link { display: flex; align-items: center; gap: 0 15px; }
}
@media (min-width: 992px) {
  .common-header_link { gap: 0 25px; }
  .common-header_tel { pointer-events: none; }
  .common-header_tel .text { font-size: 1.3rem; }
  .common-header_tel .text .fs-bg { font-size: 2.8rem; }
}

.common-main { padding-top: var(--header-h); }

/*** footer ***/
.common-footer { padding-bottom: 65px; }
.copyright {
  padding: 25px 15px; text-align: center; background: var(--navy);
  font-size: 1.6rem; letter-spacing: 0.075em; line-height: 1.4; color: var(--white);
}
@media (min-width: 992px) { .common-footer { padding-bottom: 0; } }

/*** floating ***/
.floating {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 65px;
  align-items: center; z-index: 50;
}
.floating.is-fixed { display: flex; }
.floating-btn_contact {
  display: flex; align-items: center; justify-content: center;
  width: 50%; height: 65px; background: var(--bg-contact); color: var(--white);
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.8; padding: 0 15px;
}
.floating-btn_contact::after {
  content: ""; display: inline-block; flex: none;
  background: url(../images/icon-contact.svg) center / contain no-repeat;
  width: 20px; height: 20px; margin-left: 10px;
}
.floating-btn_tel {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  width: 50%; height: 100%; background: var(--white); border: 1px solid var(--pink);
  font-size: 2rem; font-weight: 600; letter-spacing: 0; line-height: 1; color: var(--black); padding: 0 12px;
}
.floating-btn_tel .fs-sm {
  display: block; width: 100%; font-size: 0.87rem; font-weight: 400; text-align: center; margin-bottom: 5px;
}
.floating-btn_tel img { display: inline-block; width: 18px; margin-right: 3.5px; }
.floating-btn_tel > span:last-child { display: flex; align-items: center; }

.floating-banner_pc { display: none; position: fixed; width: 250px; bottom: 80px; right: 20px; z-index: 50; }
.floating.is-fixed ~ .floating-banner_pc { display: none; }
@media (min-width: 992px) {
  /* PCでは下部バーを出さない。空の固定領域がクリックを奪わないよう無効化する */
  .floating { pointer-events: none; }
  .floating .floating-btn_contact, .floating .floating-btn_tel { display: none; }
  .floating.is-fixed ~ .floating-banner_pc { display: block; width: 210px; bottom: 30px; right: 16px; }
}
.floating-banner_pc_inner {
  display: block; background: var(--white); border: 2px solid var(--pink); border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); padding: 14px 16px; text-align: center;
}
.floating-banner_pc .lead { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.floating-banner_pc .contact_btn { width: 100%; max-width: none; height: 48px; font-size: 1.4rem; padding: 10px; }
.floating-banner_pc .tel { display: block; font-size: 2rem; font-weight: 600; line-height: 1.2; margin-top: 8px; }
.floating-banner_pc .tel .fs-sm { display: block; font-size: 1rem; font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
