@import url("https://fonts.googleapis.com/earlyaccess/notosansjp.css");

html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
p,
section,
header,
footer,
nav,
main,
article,
aside {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-size: 1.3rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  color: #5d5d5d;
  background: #fff;
  overflow-x: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a:link,
a:visited {
  color: #6e6e6e;
  text-decoration: none;
}

a:hover,
a:active {
  color: #f47e7c;
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

.is_sp {
  display: none;
}

#wrapper {
  text-align: center;
}

header#global_header {
  width: 1160px;
  margin: 0 auto;
  padding: 16px 0 0;
}

header#global_header .flex_gh_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#siteId {
  width: 309px;
  flex: 0 0 auto;
}

#siteId a {
  display: block;
}

#siteId img {
  width: 100%;
  height: auto;
}

#groupNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: max-content;
  font-family: "Noto Sans JP", Meiryo, sans-serif;
}

#groupNav li {
  font-size: 1.2rem;
  text-align: center;
}

#groupNav a {
  display: block;
  padding: 4px 14px;
  border-left: 1px solid #e4e4e4;
  line-height: 1.1;
}

#groupNav li:first-child a {
  padding-left: 0;
  border-left: none;
}

#groupNav li:last-child a {
  padding-right: 0;
}

#nav_global {
  margin-top: 20px;
}

#nav_global #nav_con,
#nav_global .groupNav2 {
  display: none;
}

#gnav {
  width: 100%;
  text-align: center;
  font-family: "Noto Sans JP", Meiryo, sans-serif;
}

#gnav ul {
  width: 100%;
  display: table;
  border-right: 1px solid #e4e4e4;
}

#gnav li {
  display: table-cell;
  width: 16.666%;
}

#gnav a {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  padding: 16px 12px 21px;
  border-left: 1px solid #e4e4e4;
  background: #fff;
}

.viewer_pc,
.viewer_sp {
  position: relative;
  overflow: hidden;
}

.hero-view {
  scroll-margin-top: 20px;
}

.viewer_pc {
  min-height: 470px;
  background:
    linear-gradient(90deg, rgba(41, 52, 75, 0.56) 0%, rgba(41, 52, 75, 0.2) 42%, rgba(41, 52, 75, 0) 100%),
    url("./images/①ファーストビュー/①山口本院/hiru_1280-768.jpg") center center / cover no-repeat;
}

.viewer_sp {
  display: none;
  min-height: 420px;
  background:
    linear-gradient(0deg, rgba(20, 30, 50, 0.40) 0%, rgba(20, 30, 50, 0.20) 55%, rgba(255, 255, 255, 0.25) 100%),
    url("./images/①ファーストビュー/②下関院/IMG_1981.JPG") center center / cover no-repeat;
}

.viewer_copy {
  width: 1000px;
  margin: 0 auto;
  padding: 96px 0 72px;
  text-align: left;
}

.viewer_kicker {
  display: inline-block;
  color: #fff;
  font-size: 1.4rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", Meiryo, sans-serif;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.viewer_title {
  max-width: 680px;
  color: #fff;
  font-size: 4.4rem;
  font-weight: 700;
  font-family: "Zen Maru Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.viewer_text {
  max-width: 620px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.8;
}

.viewer_lead {
  max-width: 700px;
}

.viewer_lead p {
  color: #fff;
  font-size: 1.7rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.viewer_lead p:last-child {
  margin-bottom: 0;
}

#contents {
  position: relative;
}

#mainContents {
  text-align: left;
  padding-top: 45px;
}

#babysalon {
  width: 1000px;
  margin: 0 auto;
}

.content-section {
  width: 740px;
  margin: 0 auto;
}

.content-section {
  margin-top: 10px;
  padding-top: 50px;
}

.content-section:first-of-type {
  padding-top: 20px;
}

.introduction p {
  line-height: 2;
  letter-spacing: 0.05em;
}

.section-number {
  color: #f47e7c;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

#mainContents h2 {
  position: relative;
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
  padding-left: 18px;
}

#mainContents h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  height: 2px;
  background: #f47e7c;
}

#mainContents h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.lead-block {
  background: #fdf3f0;
  border: 1px solid #fed4cd;
  padding: 22px 26px;
}

.section-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.section-visual-photo,
.plan-card-media,
.feature-gallery figure,
.instagram-gallery figure,
.voice-visual,
.closing-visual {
  margin: 0;
}

.section-visual-photo img,
.plan-card-media img,
.feature-gallery img,
.instagram-gallery img,
.voice-visual img,
.closing-visual img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.section-visual-photo figcaption,
.voice-visual figcaption {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #7a7a7a;
  margin-top: 8px;
}

.frameBox {
  border: 3px solid #ffb8b4;
  padding: 18px 20px;
  margin: 28px 0;
}

.memo-box,
.pink_band {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 12% 0%, rgba(255, 200, 215, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 70% 55% at 88% 100%, rgba(255, 178, 198, 0.35) 0%, transparent 70%),
    #fff5f7;
  padding: 52px 52px 48px;
  border: 1.5px solid #f2b8c0;
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(244, 126, 124, 0.13),
    0 2px 8px rgba(244, 126, 124, 0.07),
    inset 0 0 0 6px rgba(255, 255, 255, 0.65);
  margin: 36px 0;
  text-align: center;
  overflow: hidden;
}

.memo-box::before,
.pink_band::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10rem;
  color: rgba(244, 126, 124, 0.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.memo-box::after,
.pink_band::after {
  content: "\201D";
  position: absolute;
  bottom: 2px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10rem;
  color: rgba(244, 126, 124, 0.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.memo-box p,
.pink_band p {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-family: "Zen Maru Gothic", "Noto Sans JP", Meiryo, sans-serif;
  font-weight: 700;
  color: #b04060;
  line-height: 2.2;
  letter-spacing: 0.1em;
}

.disc-list,
.step-list,
.feature-list,
.voice-list,
.cta-list {
  margin-bottom: 20px;
}

.disc-list li,
.step-list li,
.feature-list li,
.voice-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  letter-spacing: 0.05em;
}

.disc-list li::before,
.feature-list li::before,
.voice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f47e7c;
}

.step-list {
  counter-reset: steps;
}

.step-list li {
  padding-left: 56px;
  min-height: 40px;
  margin-bottom: 16px;
}

.step-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f47e7c;
  color: #fff;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.plan-list li,
.feature-list li,
.voice-list li,
.faq-item,
.closing-box,
.company-name {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 10px 24px rgba(244, 126, 124, 0.08);
  border-radius: 4px;
}

.plan-list li {
  padding: 20px 20px 18px;
}

.plan-card-media {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 6px;
}

.plan-schedule-panel {
  padding: 10px;
  overflow: hidden;
}

.plan-schedule-stack {
  display: grid;
  gap: 10px;
}

.plan-schedule-frame {
  overflow: hidden;
  border-radius: 4px;
}

.plan-schedule-stack img {
  display: block;
  width: 100%;
}

.plan-list li:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(244, 126, 124, 0.14), rgba(255, 184, 182, 0.14)),
    #fff;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.feature-gallery,
.instagram-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-gallery {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.instagram-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instagram-gallery-wide {
  grid-column: 1 / -1;
}

.feature-list li {
  padding: 20px;
}

.feature-list p,
.plan-list p,
.voice-list li,
.faq-item p,
.closing-box p,
.company-name p {
  line-height: 1.85;
}

.cta-inline {
  margin: 24px 0 10px;
}

.cta-inline a,
.cta-list a {
  display: inline-block;
  color: #fff;
  background: #f47e7c;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.18);
}

.cta-inline a {
  padding: 14px 26px;
}

.cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-list a {
  padding: 14px 22px;
}

.mediaPublication dl {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}

.mediaPublication dl:last-child {
  margin-bottom: 0;
}

.mediaPublication dt {
  flex: 0 0 7.5em;
  color: #f47e7c;
  font-weight: 700;
}

.mediaPublication dd {
  flex: 1;
  margin: 0;
}

.mediaPublication dd a {
  text-decoration: underline;
}

.youtube-embed {
  margin-top: 12px;
  max-width: 560px;
}

.youtube-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 6px;
}


.afterCaption {
  font-size: 1.1rem;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.staff_unit {
  margin-bottom: 28px;
}

.staff_profile {
  border-top: 1px solid #f1d2cb;
  border-bottom: 1px solid #f1d2cb;
  padding: 20px 0;
}

.staff_photo {
  margin: 0 0 20px;
}

.staff_photo img {
  display: block;
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 4px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item h3 {
  color: #f47e7c;
}

.voice-list li {
  padding: 20px 20px 20px 48px;
}

.voice-list li::before {
  left: 20px;
}

.voice-visual {
  margin-bottom: 20px;
}

.closing-visual {
  margin-bottom: 20px;
}

.closing-box {
  background:
    linear-gradient(135deg, rgba(253, 243, 240, 0.9), rgba(255, 255, 255, 1)),
    #fff;
  padding: 24px 26px;
  margin-bottom: 24px;
}

.company-name {
  padding: 20px;
  margin-bottom: 24px;
}

#basicData_wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.basicData {
  width: 100%;
  background: #f6f6f6;
  margin-top: 10px;
  padding: 20px 20px 22px;
}

.basicData h3 {
  color: #f47e7c;
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

footer {
  background: #fdf3f0;
  border-top: 3px solid #ffb8b6;
  display: block;
  padding: 16px 0;
  margin-top: 44px;
}

#footerInner {
  width: 1000px;
  margin: 0 auto;
}

.footerLink {
  border-bottom: 1px dotted #fed4cd;
  padding-bottom: 15px;
}

.footerLink ul {
  text-align: center;
}

.footerLink li {
  display: inline-block;
  border-right: 1px dotted #fed4cd;
  padding: 6px 20px;
}

.footerLink li:last-child {
  border-right: none;
}

.copyright {
  color: #777;
  margin: 24px 0 12px;
  text-align: center;
}

#web_reserv,
#url_insta {
  position: absolute;
  display: block;
  font-family: "Noto Sans JP", Meiryo, sans-serif;
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-radius: 5px 0 0 5px;
}

#web_reserv a,
#url_insta a {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  transition: all 0.2s ease;
  padding: 14px 13px;
}

#web_reserv a:hover,
#url_insta a:hover {
  text-decoration: none;
  opacity: 0.85;
  padding: 14px 18px 14px 13px;
}

#web_reserv {
  top: 292px;
  right: 0;
  background: #ee6191;
  height: 113px;
}

#url_insta {
  top: 414px;
  right: 0;
  background: #f48280;
  height: 181px;
}

#pageTop a {
  bottom: 136px;
  display: block;
  position: fixed;
  right: 40px;
  color: #fff;
  background: #f47e7c;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#pageTop a:hover {
  opacity: 0.85;
  text-decoration: none;
}

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

@media screen and (max-width: 736px) {
  img {
    max-width: 100%;
    height: auto;
  }

  iframe {
    max-width: 100%;
    height: auto;
  }

  .is_sp {
    display: block;
  }

  header#global_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    position: relative;
  }

  header#global_header .flex_gh_nav {
    display: block;
    width: auto;
    padding: 0;
  }

  #siteId {
    width: 93px;
    margin: 10px;
  }

  #siteId a {
    width: 100%;
    height: auto;
  }

  #siteId img {
    width: 100%;
    height: auto;
  }

  #groupNav {
    display: none;
  }

  #nav_global {
    margin-top: 0;
  }

  #nav_global #nav_con {
    display: block;
    position: relative;
    text-align: right;
    padding: 0 10px;
  }

  #nav_global #nav_con li {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 1.2rem;
    color: #f47e7c;
    border: 1px solid #f47e7c;
    font-weight: 700;
    border-radius: 5px;
    padding: 4px 17px;
    margin: 0;
    line-height: 1.2;
  }

  #gnav {
    display: none;
    width: auto;
    margin: 0;
  }

  #gnav ul {
    display: block;
    font-size: 1.3rem;
    border: none;
  }

  #nav_global .nav_box {
    display: none;
  }

  #global_header.is_open #nav_global .nav_box {
    position: absolute;
    top: 49px;
    left: 0;
    z-index: 100;
    display: block;
    width: 100vw;
    height: 100%;
    background-color: #fff;
    padding: 5px 0;
  }

  #global_header.is_open #nav_global .nav_box #gnav {
    display: block;
  }

  #global_header.is_open #nav_global .nav_box #gnav li {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding: 6px 10px;
  }

  #global_header.is_open #nav_global .nav_box #gnav li a {
    position: relative;
    display: block;
    border: none;
    padding: 16px 15px;
    background: #fff;
  }

  #global_header.is_open #nav_global .nav_box #gnav li a::after {
    content: "";
    position: absolute;
    right: 15px;
    display: inline-block;
    top: 50%;
    width: 7px;
    height: 12px;
    background: #5d5d5d;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translateY(-50%);
  }

  #global_header.is_open #nav_global .nav_box .groupNav2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 90%;
    font-size: 1.2rem;
    margin: 10px auto;
  }

  #global_header.is_open #nav_global .nav_box .groupNav2 li {
    width: 48%;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
  }

  #global_header.is_open #nav_global .nav_box .groupNav2 li a {
    display: block;
    padding: 10px 0;
  }

  .viewer_pc {
    display: none;
  }

  .viewer_sp {
    display: block;
  }

  .viewer_copy {
    width: auto;
    padding: 60px 18px 24px;
  }

  .viewer_kicker {
    font-size: 1.1rem;
    padding-bottom: 8px;
    margin-bottom: 14px;
  }

  .viewer_title {
    font-size: 2.7rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .viewer_text {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .viewer_lead p {
    font-size: 1.4rem;
    line-height: 1.75;
    margin-bottom: 10px;
  }

  #mainContents {
    width: 90%;
    margin: 0 auto;
  }

  #second #mainContents {
    padding: 2em 0 0;
  }

  #babysalon,
  .content-section,
  #footerInner,
  #basicData_wrap {
    width: auto;
  }

  .content-section {
    margin-top: 0;
    padding-top: 36px;
  }

  .content-section:first-of-type {
    padding-top: 18px;
  }

  #mainContents h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .lead-block,
  .frameBox,
  .faq-item,
  .company-name,
  .closing-box,
  .plan-list li,
  .feature-list li,
  .voice-list li {
    padding: 16px;
  }

  .memo-box,
  .pink_band {
    padding: 40px 24px 36px;
    border-radius: 14px;
  }

  .plan-list,
  .feature-list,
  .faq-list,
  .feature-gallery,
  .instagram-gallery {
    grid-template-columns: 1fr;
  }

  .section-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-schedule-panel {
    width: calc(100vw - 12px);
    margin-left: calc(50% - 50vw + 6px);
    padding: 6px;
    box-sizing: border-box;
  }

  .plan-schedule-stack {
    gap: 6px;
  }

  .plan-schedule-frame {
    border-radius: 2px;
  }

  .plan-schedule-stack img {
    width: 100%;
  }

  .mediaPublication dl {
    display: block;
  }

  .mediaPublication dt {
    margin-bottom: 4px;
  }

  .step-list li {
    padding-left: 48px;
  }

  .cta-list {
    display: block;
  }

  .cta-list li + li {
    margin-top: 12px;
  }

  .cta-list a,
  .cta-inline a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  #basicData_wrap {
    display: block;
  }

  .basicData {
    margin-top: 16px;
  }

  .footerLink {
    display: none;
  }

  .copyright {
    margin: 0;
    word-break: break-all;
  }

  #web_reserv,
  #url_insta {
    position: fixed;
    width: 50%;
    height: auto;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-radius: 0;
  }

  #web_reserv a,
  #url_insta a {
    font-size: 1.5rem;
    line-height: 1.35;
    text-align: center;
    padding: 13px;
  }

  #web_reserv a:hover,
  #url_insta a:hover {
    padding: 13px;
  }

  #web_reserv {
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
    border-right: 1px solid #fff;
  }

  #url_insta {
    top: auto;
    right: 0;
    bottom: 0;
  }

  #pageTop {
    display: none;
  }
}
