@charset "UTF-8";

/*
 * LP共通スタイル
 *
 * 各LP固有の配色やセクション装飾は、ページスラッグと同名のCSSへ記述します。
 */

:root {
  --lp-content-width: 1200px;
  --lp-side-padding: clamp(16px, 4vw, 40px);
  --lp-border-color: var(--gray-kei-color, #d5d5d5);
  --lp-cta-radius: 12px;
}

.tenohira-lp-page {
  min-width: 320px;
}

/* 写真＋重ねる説明カード。is-reverseでPCの左右を反転。 */
.tenohira-lp-page .lp-photo-card {
  --lp-photo-card-overlap: 60px;
  --lp-photo-card-edge: var(--lp-side-padding);
  display: grid;
  grid-template-columns: 55% minmax(0, 1fr);
  align-items: center;
  width: 100%;
  isolation: isolate;
}

.tenohira-lp-page .lp-photo-card__media {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
}

.tenohira-lp-page .lp-photo-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tenohira-lp-page .lp-photo-card__body {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 32px var(--lp-photo-card-edge) 32px calc(-1 * var(--lp-photo-card-overlap));
  padding: clamp(28px, 3vw, 52px);
  background: var(--lp-photo-card-background, #e9f6ff);
  color: var(--lp-photo-card-color, #16345c);
  box-shadow: 0 12px 36px rgba(7, 52, 111, 0.06);
}

.tenohira-lp-page .lp-photo-card.is-reverse {
  grid-template-columns: minmax(0, 1fr) 55%;
}

.tenohira-lp-page .lp-photo-card.is-reverse > .lp-photo-card__media {
  grid-column: 2;
}

.tenohira-lp-page .lp-photo-card.is-reverse > .lp-photo-card__body {
  grid-column: 1;
  margin-right: calc(-1 * var(--lp-photo-card-overlap));
  margin-left: var(--lp-photo-card-edge);
}

@media screen and (max-width: 768px) {
  .tenohira-lp-page .lp-photo-card,
  .tenohira-lp-page .lp-photo-card.is-reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .tenohira-lp-page .lp-photo-card > .lp-photo-card__media,
  .tenohira-lp-page .lp-photo-card.is-reverse > .lp-photo-card__media {
    grid-column: 1;
    grid-row: 1;
  }

  .tenohira-lp-page .lp-photo-card > .lp-photo-card__body,
  .tenohira-lp-page .lp-photo-card.is-reverse > .lp-photo-card__body {
    grid-column: 1;
    grid-row: 2;
    margin: -24px var(--lp-side-padding) 0;
    padding: 28px 24px;
  }
}

/* ============================================
    PC only line break
    ============================================ */	
.sp { display: none; }
.pc { display: block;margin:0; }


/* トップページのオンライン診療フローをLP共通部品として移植 */
.lp-online-flow {
  color: var(--base-primary-color, #3064f4);
  margin: 0 0 64px;
  padding-top: 32px;
}
.lp-online-flow .lp-online-flow__steps {
  display: flex;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 0 32px;
  list-style: none;
}
.lp-online-flow .lp-online-flow__step {
  position: relative;
  flex: 0 1 20%;
  min-width: 0;
}
.lp-online-flow .lp-online-flow__badge {
  position: absolute;
  z-index: 1;
  left: -32px;
  top: -32px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--base-primary-on_txtcolor, #fff);
  background-color: var(--base-primary-color, #3064f4);
  font-size: clamp(0.875rem, 0.8091603053rem + 0.2544529262vw, 1rem);
  font-weight: 700;
  line-height: 1;
}
.lp-online-flow .lp-online-flow__badge span {
  font-size: clamp(1.125rem, 0.927480916rem + 0.7633587786vw, 1.5rem);
}
.lp-online-flow .lp-online-flow__image {
  display: block;
  width: 100%;
  height: auto;
}
.lp-online-flow .lp-online-flow__title {
  margin: 5px 0 0;
  color: var(--base-primary-color, #3064f4);
  font-size: clamp(1rem, 0.8683206107rem + 0.5089058524vw, 1.25rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.lp-online-flow .lp-online-flow__text {
  margin: 5px 0 0;
  color: var(--base-primary-color, #3064f4);
  font-size: clamp(0.8125rem, 0.7466603053rem + 0.2544529262vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.3;
}
.lp-online-flow .lp-online-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -31%;
  width: 32%;
  height: 100%;
  background-color: var(--base-primary-color, #3064f4);
  -webkit-mask: url("../images/ico_yaji_101.svg") 50% 30% / 80% auto no-repeat;
  mask: url("../images/ico_yaji_101.svg") 50% 30% / 80% auto no-repeat;
}
.lp-online-flow .lp-online-flow__requirements {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: fit-content;
  margin: 48px auto 0;
  color: var(--base-text-color, #333);
}
.lp-online-flow .lp-online-flow__requirements h3 {
  flex-shrink: 0;
  margin: 0;
  padding: 5px 12px;
  border: 2px solid var(--base-primary-color, #3064f4);
  background: var(--base-primary-on_txtcolor, #fff);
  color: var(--base-primary-color, #3064f4);
  font-size: clamp(0.875rem, 0.8091603053rem + 0.2544529262vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
}
.lp-online-flow .lp-online-flow__requirements p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
@media screen and (max-width: 768px) {
  .lp-online-flow .lp-online-flow__steps {
    flex-direction: column;
    padding: 0;
  }
  .lp-online-flow .lp-online-flow__step {
    flex: 0 1 auto;
    width: 220px;
    max-width: calc(100% - 64px);
    margin: 0 auto 72px;
  }
  .lp-online-flow .lp-online-flow__step:last-child {
    margin-bottom: 0;
  }
  .lp-online-flow .lp-online-flow__step:not(:last-child)::after {
    top: calc(100% + 8px);
    right: auto;
    left: 0;
    width: 100%;
    height: 32px;
    -webkit-mask: url("../images/ico_yaji_102.svg") center / auto 90% no-repeat;
    mask: url("../images/ico_yaji_102.svg") center / auto 90% no-repeat;
  }
  .lp-online-flow .lp-online-flow__requirements {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* LP専用ヘッダー */
.tenohira-lp-page .lp-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--lp-border-color);
}

.tenohira-lp-page #header-container.lp-header__inner {
  width: 100%;
  max-width: var(--lp-content-width);
  min-height: 84px;
  margin: 0 auto;
  padding: 12px var(--lp-side-padding);
  gap: clamp(16px, 3vw, 40px);
}

.tenohira-lp-page #header-container .lp-header__logo {
  width: 215px;
  max-width: 215px;
  margin-bottom: 0;
}

.tenohira-lp-page .lp-header__logo a {
  display: block;
}

.tenohira-lp-page .lp-header__menu {
  flex: 1 1 auto;
  min-width: 0;
}

.tenohira-lp-page .lp-header__menu-checkbox {
  display: none;
}

.tenohira-lp-page .lp-header__menu-toggle {
  display: none;
}

.tenohira-lp-page .lp-header__menu-panel {
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 48px);
}

.tenohira-lp-page .lp-header__nav {
  min-width: 0;
}

.tenohira-lp-page .lp-header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tenohira-lp-page .lp-header__nav-list li {
  margin: 0;
  padding: 0;
}

.tenohira-lp-page .lp-header__nav-list a,
.tenohira-lp-page .lp-header__nav-list a:visited {
  display: block;
  padding: 12px 0;
  color: var(--base-text-color, #404040);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tenohira-lp-page .lp-header__nav-list a:hover {
  color: var(--base-primary-color, #2f66ed);
  text-decoration: none;
}

.tenohira-lp-page .lp-header__reservation {
  flex: 0 1 340px;
  width: min(340px, 28vw);
}

.tenohira-lp-page .lp-header__reservation a,
.tenohira-lp-page .lp-header__reservation a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 24px;
  color: var(--base-primary-on_txtcolor, #fff);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background-color: var(--base-primary-color, #2f66ed);
  border-radius: var(--lp-cta-radius);
  transition: opacity 0.2s ease;
}

.tenohira-lp-page .lp-header__reservation a:hover {
  color: var(--base-primary-on_txtcolor, #fff);
  text-decoration: none;
  opacity: 0.82;
}

.tenohira-lp-page .lp-header__logo a:focus-visible,
.tenohira-lp-page .lp-header__nav-list a:focus-visible,
.tenohira-lp-page .lp-header__reservation a:focus-visible {
  outline: 3px solid var(--base-primary-color, #2f66ed);
  outline-offset: 3px;
}

@media screen and (min-width: 769px) {
  .tenohira-lp-page .lp-header__menu-panel {
    display: flex !important;
  }
}

/* ============================================
    SP only line break
    ============================================ */	
@media screen and (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; margin: 0; }
}



/* LP本文 */
.tenohira-lp-page #contents-container.tenohira-lp {
  width: 100%;
  margin: 0;
  background-color: var(--base-background-color, #fff);
}

.tenohira-lp__content {
  width: 100%;
}

.tenohira-lp__content > :where(:not(.alignfull)) {
  width: 100%;
  max-width: var(--lp-content-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--lp-side-padding);
  padding-left: var(--lp-side-padding);
}

.tenohira-lp__content > .alignfull {
  width: 100%;
  max-width: none;
}

.tenohira-lp__content img {
  max-width: 100%;
  height: auto;
}

/* LP専用フッター */
.tenohira-lp-page .lp-footer {
  color: var(--base-text-color, #404040);
  background-color: #e9f0fd;
}

.tenohira-lp-page .lp-footer__inner {
  width: 100%;
  max-width: var(--lp-content-width);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--lp-side-padding) 40px;
}

.tenohira-lp-page .lp-footer__logo {
  width: 215px;
  max-width: 215px;
  margin-bottom: 28px;
}

.tenohira-lp-page .lp-footer__logo a {
  display: block;
}

.tenohira-lp-page .lp-footer__logo p {
  height: 55px;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  background-image: var(--site-logo-url);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: contain;
}

.tenohira-lp-page .lp-footer__information p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.tenohira-lp-page .lp-footer__nav {
  margin-top: 28px;
}

.tenohira-lp-page .lp-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tenohira-lp-page .lp-footer__nav-list li {
  margin: 0;
  padding: 0 20px;
  line-height: 1.5;
}

.tenohira-lp-page .lp-footer__nav-list li:first-child {
  padding-left: 0;
}

.tenohira-lp-page .lp-footer__nav-list li + li {
  border-left: 1px solid var(--lp-border-color);
}

.tenohira-lp-page .lp-footer__nav-list a,
.tenohira-lp-page .lp-footer__nav-list a:visited {
  color: var(--base-text-color, #404040);
  text-decoration: none;
}

.tenohira-lp-page .lp-footer__nav-list a:hover {
  color: var(--base-primary-color, #2f66ed);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tenohira-lp-page .lp-footer__nav-list a:focus-visible {
  outline: 3px solid var(--base-primary-color, #2f66ed);
  outline-offset: 3px;
}

.tenohira-lp-page .lp-footer__logo a:focus-visible {
  outline: 3px solid var(--base-primary-color, #2f66ed);
  outline-offset: 3px;
}

.tenohira-lp-page .lp-footer__copyright {
  margin: 28px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: left;
}

.tenohira-lp-page .lp-footer__copyright small {
  font-size: inherit;
  font-style: normal;
}

/* LPごとのページ末尾CTA */
.tenohira-lp-page .lp-after-footer-cta {
  color: var(--base-text-color, #404040);
  background-color: var(--base-background-color, #fff);
}

.tenohira-lp-page .lp-after-footer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: var(--lp-content-width);
  min-height: 88px;
  margin: 0 auto;
  padding: 14px var(--lp-side-padding);
}

.tenohira-lp-page .lp-after-footer-cta__text {
  margin: 0;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.7;
}

.tenohira-lp-page .lp-after-footer-cta__button,
.tenohira-lp-page .lp-after-footer-cta__button:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 24px;
  color: var(--base-primary-on_txtcolor, #fff);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background-color: var(--wp--preset--color--tertiary, #ff8c00);
  border-radius: var(--lp-cta-radius);
  transition: opacity 0.2s ease;
}

.tenohira-lp-page .lp-after-footer-cta__button:hover {
  color: var(--base-primary-on_txtcolor, #fff);
  text-decoration: none;
  opacity: 0.82;
}

.tenohira-lp-page .lp-after-footer-cta__button:focus-visible {
  outline: 3px solid var(--wp--preset--color--tertiary, #ff8c00);
  outline-offset: 3px;
}

@media screen and (max-width: 768px) {
  .tenohira-lp-page #header-container.lp-header__inner {
    position: relative;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: clamp(8px, 3vw, 16px);
  }

  .tenohira-lp-page #header-container .lp-header__logo {
    width: clamp(120px, 38vw, 165px);
  }

  .tenohira-lp-page #header-container .lp-header__logo p {
    height: 48px;
  }

  .tenohira-lp-page .lp-header__menu {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .tenohira-lp-page .lp-header__menu-checkbox {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
  }

  .tenohira-lp-page .lp-header__menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--base-text-color, #404040);
    background: transparent;
    border: 0;
    cursor: pointer;
    list-style: none;
  }

  .tenohira-lp-page .lp-header__menu-checkbox:focus-visible + .lp-header__menu-toggle {
    outline: 3px solid var(--base-primary-color, #2f66ed);
    outline-offset: 2px;
  }

  .tenohira-lp-page .lp-header__menu-icon {
    position: relative;
    display: block;
    width: 26px;
    height: 18px;
  }

  .tenohira-lp-page .lp-header__menu-icon > span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .tenohira-lp-page .lp-header__menu-icon > span:nth-child(1) {
    top: 0;
  }

  .tenohira-lp-page .lp-header__menu-icon > span:nth-child(2) {
    top: 8px;
  }

  .tenohira-lp-page .lp-header__menu-icon > span:nth-child(3) {
    top: 16px;
  }

  .tenohira-lp-page .lp-header__menu-checkbox:checked + .lp-header__menu-toggle .lp-header__menu-icon > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .tenohira-lp-page .lp-header__menu-checkbox:checked + .lp-header__menu-toggle .lp-header__menu-icon > span:nth-child(2) {
    opacity: 0;
  }

  .tenohira-lp-page .lp-header__menu-checkbox:checked + .lp-header__menu-toggle .lp-header__menu-icon > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .tenohira-lp-page .lp-header__menu-checkbox:not(:checked) ~ .lp-header__menu-panel {
    display: none;
  }

  .tenohira-lp-page .lp-header__menu-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px var(--lp-side-padding) 24px;
    background-color: var(--base-background-color, #fff);
    border-top: 1px solid var(--lp-border-color);
    border-bottom: 1px solid var(--lp-border-color);
    box-shadow: 0 12px 24px rgb(0 0 0 / 10%);
  }

  .tenohira-lp-page .lp-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .tenohira-lp-page .lp-header__nav-list li + li {
    border-top: 1px solid var(--lp-border-color);
  }

  .tenohira-lp-page .lp-header__nav-list a,
  .tenohira-lp-page .lp-header__nav-list a:visited {
    padding: 14px 4px;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .tenohira-lp-page .lp-header__reservation {
    width: 100%;
  }

  .tenohira-lp-page .lp-header__reservation a,
  .tenohira-lp-page .lp-header__reservation a:visited {
    min-height: 48px;
    padding: 8px 10px;
    font-size: clamp(0.6875rem, 3vw, 0.875rem);
    white-space: nowrap;
  }

  .tenohira-lp-page .lp-footer__inner {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .tenohira-lp-page .lp-footer__logo {
    width: 165px;
    margin-bottom: 24px;
  }

  .tenohira-lp-page .lp-footer__logo p {
    height: 48px;
  }

  .tenohira-lp-page .lp-footer__information p {
    font-size: 0.9375rem;
  }

  .tenohira-lp-page .lp-footer__nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tenohira-lp-page .lp-footer__nav-list li,
  .tenohira-lp-page .lp-footer__nav-list li:first-child,
  .tenohira-lp-page .lp-footer__nav-list li + li {
    padding: 12px 0;
    border-left: 0;
    border-bottom: 1px solid var(--lp-border-color);
  }

  .tenohira-lp-page .lp-footer__copyright {
    margin-top: 24px;
  }

  .tenohira-lp-page .lp-after-footer-cta__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .tenohira-lp-page .lp-after-footer-cta__text {
    text-align: center;
  }

  .tenohira-lp-page .lp-after-footer-cta__button,
  .tenohira-lp-page .lp-after-footer-cta__button:visited {
    width: min(100%, 340px);
    min-height: 52px;
    margin: 0 auto;
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tenohira-lp-page .lp-header__nav-list a,
  .tenohira-lp-page .lp-header__reservation a,
  .tenohira-lp-page .lp-header__menu-icon > span,
  .tenohira-lp-page .lp-after-footer-cta__button {
    transition: none;
  }
}
