@charset "utf-8";
/* Final layout layer: retain the site's pink palette, illustrations and typography. */
:root { --polepole-ink: #660C30; --polepole-paper: #FFF3F8; }
main { line-height: 1.85; }
main [id] { scroll-margin-top: 28px; }
main .section-container { width: 100%; max-width: 1100px; padding: 80px 32px; margin-inline: auto; }
main .sub-title { width: min(620px, 100%); max-width: 100%; font-size: clamp(28px, 4vw, 46px); line-height: 1.4; padding: 16px 24px; }
main .small-title { margin-top: 6px; font-size: 18px; line-height: 1.6; }
main .text { width: 100%; margin-top: 36px; line-height: 1.9; }
main .button-container { width: max-content; max-width: 100%; margin: 32px auto 0; }
main .button-container a { padding: 12px 36px; }
main img { max-width: 100%; }
main a:focus-visible, main button:focus-visible, main input:focus-visible, main textarea:focus-visible { outline: 3px solid var(--polepole-ink); outline-offset: 5px; }
/* Home: consistent grids and compact blocks. */
.page-home .about-us-text { padding: 110px clamp(24px, 5vw, 64px) 40px; }
.page-home .about-us-text p { line-height: 2.05; }
.page-home .about-text-inner { margin-top: 28px; }
.page-home .about-text-inner img { height: 230px; object-fit: contain; }
.page-home .circle-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 40px auto; padding: 12px; }
.page-home .circle, .page-home .circle-none { min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.page-home .circle a, .page-home .circle-none p { width: 100%; padding: 32px 12px; }
.page-home .hattatsu-sien-container { margin: 40px auto; }
.page-home .hattatsu-sien, .page-home .day-service { gap: 28px; align-items: stretch; }
.page-home .hattatsu-sien li, .page-home .day-service li { flex: 1; min-width: 0; }
.page-home .list-box { margin-top: 40px; }
.page-home .list-01 { width: 100%; }
.page-home .list-box ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 20px 0; }
.page-home .list-box li { display: flex; padding: 0; font-size: 19px; }
.page-home .list-box li a { width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
/* Business cards are scoped away from the schedule's identically named classes. */
.page-business #business .business-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.page-business #business .sub-title, .page-business #business .text { grid-column: 1 / -1; }
.page-business #business .sien-container { margin: 0; padding: 32px; width: 100%; max-width: none; display: flex; flex-direction: column; align-items: stretch; border-radius: 80px 20px 80px 20px; gap: 24px; }
.page-business #business .left-img { position: static; display: flex; margin: 0 auto; width: 100px; height: 100px; }
.page-business #business .left-img img { height: 90px; }
.page-business #business .sien-text { padding: 0; }
.page-business #business .sien-text dt { padding: 0; margin: 0 0 16px; text-align: center; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; }
.page-business #business .sien-text dd { padding: 0; line-height: 1.95; }
.page-business #business .sien-img { margin: auto auto 0; }
.page-business #soudanshienzigyousyo { max-width: 1100px; padding-bottom: 160px; }
.page-business .office-table { width: 100%; margin: 40px auto 0; }
.page-business .office-table th, .page-business .office-table td { padding: 18px 22px; }
/* Schedule: two independent timelines, without the service-card background. */
.page-business #schedule { max-width: 1200px; }
.page-business #schedule .sien-section-container { width: 100%; margin: 40px auto; padding: 36px 28px; }
.page-business #schedule .sien-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; width: 100%; margin: 32px auto 0; padding: 0; background: transparent; border-radius: 0; }
.page-business #schedule .sien-container:has(.saturday-container) { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.page-business #schedule .am-container, .page-business #schedule .pm-container, .page-business #schedule .saturday-container { min-width: 0; width: 100%; margin: 0; }
.page-business #schedule .sub-content-title { left: 0; text-align: center; }
.page-business #schedule .time-schedule { min-width: 0; max-width: none; width: calc(100% - 5rem); margin: 0 0 0 5rem; padding-left: 14px; }
.page-business #schedule .time-schedule span.time { margin-left: -6.5em; }
.page-business #schedule .time-schedule span.time::after { right: -22px; }
.page-business #schedule .time-schedule .sch_box { width: calc(100% - 14px); margin-left: 14px; }
/* Guide: align information blocks, staff cards and the form. */
.page-guide .guidance-overview { max-width: 1000px; padding: 64px 40px; margin: 40px auto; background: #FFF3F8; border: 1px dashed var(--polepole-ink); border-radius: 60px 16px 60px 16px; }
.page-guide .guidance-overview > .sub-title { margin-bottom: 36px; }
.page-guide .guidance-overview > p { margin: 16px 0; }
.page-guide .guidance-overview a { color: var(--polepole-ink); text-decoration: underline; text-underline-offset: 4px; }
.page-guide .guidance-details { gap: 0; border-top: 1px solid #E5AEC7; margin-top: 28px; }
.page-guide .guidance-details dt, .page-guide .guidance-details dd { padding: 18px 16px; border-bottom: 1px solid #E5AEC7; }
.page-guide .guidance-details dt { background: #EFD0DC; }
.page-guide #staff { max-width: 1100px; }
.page-guide .staff-container { width: 100%; }
.page-guide .staff-list-container { padding: 24px 0; margin: 36px 0; }
.page-guide .grid-area, .page-guide .grid-area2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.page-guide .grid-area > li { min-width: 0; }
.page-guide .grid-item { max-width: 640px; }
.page-guide .grid-area section { padding: 20px; background: #FFF3F8; border: 1px dashed var(--polepole-ink); border-radius: 24px; }
.page-guide .staff-list { line-height: 1.9; padding: 20px; }
.page-guide .staff-list img { max-width: 340px; }
.page-guide .howto-list { margin: 40px auto 0; }
.page-guide .howto-list ul { gap: 28px; margin-bottom: 24px; padding: 24px 32px; }
.page-guide .howto-list ul li:first-child { flex-shrink: 0; }
.page-guide .howto-list ul li:last-of-type { margin: 0; line-height: 1.9; }
#contact { max-width: 100%; background: #fff; }
.contact-container { max-width: 1000px; margin: auto; }
.contact-phone { margin: 32px auto 0; text-align: center; }
.contact-phone a { color: var(--polepole-ink); font-size: 24px; font-weight: bold; text-decoration: underline; }
#mailform { width: 100%; max-width: 880px; margin: 40px auto; padding: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
#mailform .input-container { min-width: 0; margin: 0; }
#mailform .input-container:has(#address), #mailform .input-container:has(#message), #mailform .privacy-area, #mailform .check-button, #mailform .submit-button { grid-column: 1 / -1; }
#mailform .form-input, #mailform textarea { font: inherit; max-width: 100%; }
#mailform textarea { min-height: 180px; resize: vertical; }
#mailform .privacy-area { width: 100%; margin: 12px auto; }
#mailform .submit-button { margin-top: 8px; }
#mailform .submit-button button { min-width: 180px; min-height: 48px; font: inherit; }
#mailform .contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-error { width: min(720px, 90%); margin: 10vh auto; background: #FFF3F8; padding: 36px; border-radius: 24px; line-height: 2; }
.contact-error h1 { font-size: 26px; }
.contact-error a { text-decoration: underline; }
/* Consistent footer and facility cards. */
.footer-address-container { max-width: 1100px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.footer-map { min-width: 0; }
.footer-map iframe { width: 100%; height: 100%; min-height: 340px; }
.related-facilities-title { display: block; }
.related-facility { min-width: 0; justify-content: center; }
@media (max-width: 800px) {
  main .section-container { padding: 56px 24px; }
  .page-business #business .business-container, .page-business #schedule .sien-container { grid-template-columns: minmax(0, 1fr); }
  .page-guide .guidance-overview { width: calc(100% - 32px); padding: 40px 24px; }
  .page-guide .grid-area, .page-guide .grid-area2 { grid-template-columns: minmax(0, 1fr); }
  .page-guide .grid-item { max-width: 100%; }
  .footer-address-container { width: 90%; }
}
@media (max-width: 600px) {
  main .section-container { padding: 48px 20px; }
  main .sub-title { padding: 14px 16px; }
  .page-home .circle-container { gap: 18px; padding: 0; }
  .page-home .circle, .page-home .circle-none { padding: 8px; }
  .page-home .circle a, .page-home .circle-none p { padding: 24px 8px; font-size: 15px; }
  .page-home .hattatsu-sien, .page-home .day-service { flex-direction: column; }
  .page-home .hattatsu-sien li, .page-home .day-service li { width: 100%; }
  .page-home .list-box ul { grid-template-columns: minmax(0, 1fr); }
  .page-business #business .sien-container { padding: 28px 22px; }
  .page-business #schedule .sien-section-container { padding: 28px 16px; }
  .page-guide .howto-list ul { flex-direction: column; padding: 24px; border-radius: 48px; gap: 18px; }
  .page-guide .howto-list li:last-child { margin-top: 0; }
  .page-guide .guidance-details { grid-template-columns: minmax(0, 1fr); }
  .page-guide .guidance-details dd { margin-bottom: 0; }
  #mailform { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 24px; border-radius: 60px 16px 60px 16px; }
  .contact-phone a { display: block; }
  .footer-map iframe { height: 320px; min-height: 0; }
}
/* Schedule spans the viewport; its reading column stays centered. */
.page-business #schedule { width: 100%; max-width: none; background: #fff; }
.page-business #schedule .schedule-container { max-width: 1136px; margin: 0 auto; }
.page-business #schedule .sien-section-container { background-color: #fff; box-shadow: none; }
/* Consultation: pink section with individually framed content. */
.page-business #soudanshienzigyousyo { width: 100%; max-width: none; background-color: #EFD0DC; padding-bottom: 160px; }
.page-business #soudanshienzigyousyo > .business-container { max-width: 1040px; margin: 0 auto; }
.page-business #soudanshienzigyousyo .guidance-intro { max-width: none; padding: 0; margin: 48px auto 40px; }
.consultation-card { min-width: 0; padding: 32px; background: #fffafc; border: 2px dashed #B87995; border-radius: 36px 14px 36px 14px; box-shadow: 0 5px 0 rgba(102, 12, 48, .05); }
.consultation-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; align-items: stretch; }
.page-business #soudanshienzigyousyo .consultation-card h4 { margin: 0 0 20px; color: #660C30; font-family: 'Kiwi Maru'; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.6; }
.consultation-lead { text-align: left; padding: 40px; }
.consultation-card p, .consultation-card li { line-height: 1.95; }
.consultation-card .guidance-list { padding-left: 22px; }
.consultation-card .guidance-list li { list-style: disc; margin: 12px 0; padding-left: 4px; }
.consultation-card .guidance-note { margin-top: 20px; }
.consultation-action { text-align: center; margin-top: 32px; }
.page-business #soudanshienzigyousyo .guidance-link { background: #660C30; color: #fff; border: 2px solid #660C30; padding: 14px 28px; margin-top: 0; border-radius: 30px; }
.page-business #soudanshienzigyousyo .guidance-link:hover { background: #fffafc; color: #660C30; }
.page-business #soudanshienzigyousyo .office-table { width: 100%; max-width: 900px; margin: 0 auto; background: #fffafc; border: 1px solid #B87995; border-radius: 18px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.page-business #soudanshienzigyousyo .office-table th { width: 28%; text-align: left; background: #F8E4ED; color: #660C30; padding: 18px 24px; border-bottom: 1px solid #E5AEC7; }
.page-business #soudanshienzigyousyo .office-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid #E5AEC7; line-height: 1.9; }
.page-business #soudanshienzigyousyo .office-table tr:last-child th, .page-business #soudanshienzigyousyo .office-table tr:last-child td { border-bottom: 0; }
.consultation-training-note { max-width: 900px; margin: 16px auto 0; font-size: 14px; line-height: 1.8; }
@media (max-width: 700px) {
  .consultation-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
  .consultation-card, .consultation-lead { padding: 28px 22px; }

  .page-business #soudanshienzigyousyo { padding-bottom: 110px; }
}

@media (max-width: 600px) {
  .page-business #soudanshienzigyousyo .office-table th, .page-business #soudanshienzigyousyo .office-table td { display: table-cell; padding: 14px 12px; }
  .page-business #soudanshienzigyousyo .office-table th { width: 30%; }
}

.consultation-office-intro { max-width: 900px; margin: 0 auto 28px; line-height: 1.95; }
.consultation-addition { margin-top: 24px; }

/* Facility details and map share one section and one visual frame. */
.page-guide .facility-overview { width: 100%; max-width: none; margin: 0; padding: 64px 32px; background: #fff; border: 0; border-radius: 0; }
.facility-overview-inner { max-width: 1020px; margin: 0 auto; }
.facility-overview-inner > .sub-title { margin-bottom: 36px; }
.facility-overview-inner > p { margin: 16px 0; }
@media (max-width: 800px) {
  .page-guide .facility-overview { width: 100%; padding: 48px 20px; margin: 0; }
}
.facility-overview-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 32px; align-items: stretch; }
.facility-overview-details, .facility-overview-map { min-width: 0; }
.page-guide .facility-overview .guidance-details { grid-template-columns: 100px minmax(0, 1fr); margin: 0; }
.page-guide .facility-overview .guidance-details dt, .page-guide .facility-overview .guidance-details dd { padding: 16px 14px; overflow-wrap: anywhere; }
.facility-overview-map { overflow: hidden; border: 1px solid #E5AEC7; border-radius: 20px; background: #fff; }
.facility-overview-map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (max-width: 850px) {
  .facility-overview-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .facility-overview-map iframe { height: 320px; min-height: 0; }
}
@media (max-width: 450px) {
  .page-guide .facility-overview .guidance-details { grid-template-columns: minmax(0, 1fr); }
}
