@charset "UTF-8";

@media screen and (max-width:480px){
.p-contact__radio{flex-direction:column;    align-items: flex-start;}
.wpcf7-form-control-wrap{width:100%;}
}

/* ------------------------------------------------
  Main visual (p-mv2)
------------------------------------------------- */
.p-mv2 {
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: clip;
}

.p-mv2-copy-lead {
  font-size: clamp(16px, calc(12.345px + 0.69vw), 26px);
}

.p-mv2-copy-title {
  font-size: clamp(24px, calc(12.69px + 1.379vw), 40px);
}

.p-mv2-copy-title-sp {
  display: none;
}

.p-mv2-copy-text,
.p-mv2-copy-text span {
  font-size: clamp(18px, calc(4.69px + 1.379vw), 32px);
}

.p-mv2-copy-text-sp {
  display: none;
}

.p-mv2 .p-mv2-main-img {
  height: 100%;
}

.p-mv2 .p-mv2-generator {
  position: absolute;
  bottom: 50%;
  left: clamp(10px, 2.5vw, 40px);
  transform: translate(0%, 50%);
  left: 0;
  z-index: 1;
  display: block;
  width: clamp(560px, 42vw, 700px);
  height: auto;
  object-fit: contain;
}

.p-mv2-copy {
  bottom: 50%;
  z-index: 2;
  transform: translateY(50%);
}

.p-mv2 .p-mv-contact__head,
.p-mv2 .p-mv-contact__note,
.p-mv2 .p-mv-contact__description {
  font-size: clamp(14px, calc(10.7px + 0.28vw), 16px);
}

.p-mv2 .p-mv-contact__tel-number {
  font-size: clamp(26px, calc(18.52px + 0.98vw), 38px);
}

.p-mv2 .p-mv-contact__title {
  font-size: clamp(22px, calc(12.03px + 1.31vw), 38px);
}

@media screen and (max-width: 1399px) {
  .p-mv2 {
    padding: 12px clamp(20px, 3vw, 40px) 32px;
  }

  .p-mv2-main {
    height: clamp(540px, 55vw, 700px);
  }

  .p-mv2-copy {
    right: clamp(20px, 3vw, 40px);
    bottom: 50%;
    width: min(690px, calc(100% - 40px));
    transform: translateY(50%);
  }

  .p-mv2-copy-lead,
  .p-mv2-copy-title,
  .p-mv2-copy-text {
    max-width: 100%;
  }

  .p-mv2-copy-lead {
    padding: 10px 16px;
  }

  .p-mv2-copy-title,
  .p-mv2-copy-text {
    padding: 11px 13px;
  }

  .p-mv2 .p-mv-contact {
    width: 100%;
    margin-top: 32px;
    padding: 0 18px 20px;
  }

  .p-mv2 .p-mv-contact__list {
    gap: 16px;
  }

  .p-mv2 .p-mv-contact__item {
    min-width: 0;
    padding: 18px clamp(14px, 2vw, 24px);
  }
}

@media screen and (min-width: 768px) and (max-width: 1370px) {
  .p-mv2-main {
    height: clamp(760px, 70vw, 920px);
  }

  .p-mv2 .p-mv2-generator {
    top: clamp(30px, 4vw, 50px);
    right: auto;
    bottom: auto;
    left: 50%;
    width: clamp(500px, 55vw, 720px);
    max-height: 540px;
    transform: translateX(-50%);
  }

  .p-mv2-copy {
    right: auto;
    bottom: clamp(24px, 3vw, 38px);
    left: 50%;
    width: min(900px, calc(100% - 40px));
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 767px) {
  .p-mv2 {
    padding: 8px 12px 24px;
    background: linear-gradient(to bottom, #fff 0, #fff 18%, #07985a 18%, #07985a 100%);
  }

  .p-mv2-main {
    display: block;
    height: auto;
    min-height: 600px;
    border-radius: 12px;
    background: #f3faf7;
  }

  .p-mv2 .p-mv2-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .p-mv2 .p-mv2-generator {
    top: clamp(32px, 9vw, 58px);
    top: 10px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: clamp(280px, 88%, 440px);
    max-height: 300px;
    transform: translateX(-50%);
  }

  .p-mv2-copy {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: auto;
    margin: 0 10px;
    padding: clamp(220px, 65vw, 350px) 0 14px;
    gap: 8px;
    transform: none;
  }

  .p-mv2-copy-lead,
  .p-mv2-copy-title,
  .p-mv2-copy-text {
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    border-radius: 7px;
    box-shadow: 0 3px 10px rgba(0, 31, 63, 0.08);
  }

  .p-mv2-copy-lead {
    padding: 9px 11px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.55;
  }

  .p-mv2-copy-title {
    padding: 10px 11px;
    font-size: clamp(17px, 5.1vw, 24px);
    line-height: 1.45;
  }

  .p-mv2-copy-title-pc {
    display: none;
  }

  .p-mv2-copy-title-sp {
    display: block;
  }

  .p-mv2-copy-title .p-mv2-copy-title-line-sp {
    color: #111;
    white-space: nowrap;
  }

  .p-mv2-copy-title .p-mv2-copy-title-line-sp span {
    color: #07985a;
  }

  .p-mv2-copy-text,
  .p-mv2-copy-text span {
    font-size: clamp(15px, 4.5vw, 18px);
  }

  .p-mv2-copy-text {
    padding: 10px 11px;
    line-height: 1.55;
  }

  .p-mv2-copy-text-pc {
    display: none;
  }

  .p-mv2-copy-text-sp {
    display: block;
  }

  .p-mv2 .p-mv-contact {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border-radius: 9px;
  }

  .p-mv2 .p-mv-contact__list {
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
  }

  .p-mv2 .p-mv-contact__item {
    flex: none;
    width: 100%;
    min-height: 0;
    padding: 18px 46px 18px 18px;
  }

  .p-mv2 .p-mv-contact__item:hover {
    transform: none;
  }

  .p-mv2 .p-mv-contact__head {
    gap: 8px;
    line-height: 1.45;
  }

  .p-mv2 .p-mv-contact__head-icon {
    width: 25px;
  }

  .p-mv2 .p-mv-contact__tel-number {
    margin: 10px 0 8px;
  }

  .p-mv2 .p-mv-contact__title {
    margin: 9px 0 7px;
  }

  .p-mv2 .p-mv-contact__arrow {
    top: 50%;
    right: 12px;
    bottom: auto;
    width: 29px;
    height: 29px;
    transform: translateY(-50%);
  }
}

@media screen and (max-width: 380px) {
  .p-mv2 {
    padding-inline: 8px;
  }

  .p-mv2-copy {
    margin-inline: 7px;
    padding-top: 270px;
  }

  .p-mv2 .p-mv-contact__item {
    padding-left: 12px;
  }
}

/* ------------------------------------------------
  Responsive header / drawer
------------------------------------------------- */
body.is-drawer-open {
  overflow: hidden;
}

.p-mv2-header-specialty-sp {
  display: none;
}

@media screen and (max-width: 1370px) {
  .p-mv2-header {
    position: relative;
    z-index: 30;
  }

  .p-mv2-header-inner {
    width: 100%;
    max-width: none;
    min-height: 118px;
    padding: 16px 24px;
    align-items: center;
    gap: 20px;
  }

  .p-mv2-logo {
    flex: 0 1 auto;
    gap: 14px;
    padding-top: 0;
  }

  .p-mv2-logo img {
    width: clamp(190px, 22vw, 250px);
  }

  .p-mv2-logo span {
    display: none;
  }

  .p-mv2-header-specialty-sp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(175px, 18vw, 220px);
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #07985a;
    border-radius: 9px;
    color: #07985a;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    margin-right: auto;
  }

  .p-mv2-header-right {
    flex: 1 1 auto;
    align-items: center;
    gap: 0;
  }

  .p-mv2-header-top {
    display: none;
  }

  .p-mv2-header-btn,
  .p-mv2-nav {
    display: none;
  }

  .p-mv2-tel {
    align-items: center;
  }

  .p-mv2-tel-main {
    font-size: clamp(26px, 3vw, 34px);
  }

  .p-mv2-tel-main span {
    width: 30px;
    margin-right: 8px;
  }

  .p-mv2-tel-sub {
    font-size: clamp(11px, 1.2vw, 14px);
    text-align: center;
    white-space: nowrap;
  }

  .p-mv2-header .sp-menu-btn {
    position: static;
    z-index: auto;
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .p-mv2-header .sp-menu-btn__lines {
    width: 48px;
    height: 31px;
    margin-bottom: 7px;
  }

  .p-mv2-header .sp-menu-btn__lines span {
    height: 5px;
    background: #07985a;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(1) {
    top: 0;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(2) {
    top: 13px;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(3) {
    top: 26px;
  }

  .p-mv2-header .sp-menu-btn__text {
    color: #07985a;
    font-size: 15px;
  }

  .p-mv2-drawer.sp-drawer {
    z-index: 9990;
    overscroll-behavior: contain;
    background: #eef9f5;
    color: #071a38;
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  }

  .p-mv2-drawer .sp-drawer__inner {
    padding: 0 0 45px;
    background: linear-gradient(180deg, #fff 0 120px, #eef9f5 120px 100%);
  }

  .p-mv2-drawer__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 76px;
    align-items: center;
    gap: 20px;
    min-height: 120px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 69, 42, 0.06);
  }

  .p-mv2-drawer__logo {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    color: inherit;
    text-decoration: none;
  }

  .p-mv2-drawer__logo img {
    width: 150px;
    height: auto;
  }

  .p-mv2-drawer__head-tel {
    justify-self: start;
    text-align: center;
  }

  .p-mv2-drawer__head-specialty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid #07985a;
    border-radius: 10px;
    color: #07985a;
    font-size: clamp(17px, 2.2vw, 23px);
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
  }

  .p-mv2-drawer .sp-drawer__close {
    position: relative;
    display: flex;
    width: 70px;
    height: 78px;
    flex: 0 0 70px;
  }

  .p-mv2-drawer .sp-drawer__close span {
    top: 26px;
    left: 8px;
    width: 54px;
    height: 5px;
    background: #07985a;
  }

  .p-mv2-drawer .sp-drawer__close small {
    bottom: 2px;
    width: 70px;
    color: #07985a;
    font-size: 14px;
  }

  .p-mv2-drawer__body {
    padding: 28px clamp(24px, 5vw, 55px) 0;
  }

  .p-mv2-drawer__nav {
    padding: 12px 38px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 25px rgba(0, 69, 42, 0.06);
  }

  .p-mv2-drawer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .p-mv2-drawer__nav li + li {
    border-top: 1px solid #d5e8e0;
  }

  .p-mv2-drawer__nav a {
    display: grid;
    grid-template-columns: 62px 1fr 32px;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    color: #071a38;
    font-size: clamp(20px, 2.8vw, 29px);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
  }

  .p-mv2-drawer__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #07985a;
  }

  .p-mv2-drawer__nav-icon svg {
    display: block;
    width: 45px;
    height: 45px;
    fill: currentColor;
  }

  .p-mv2-drawer__nav li:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .p-mv2-drawer__nav li:nth-child(5) path {
    fill-rule: evenodd;
  }

  .p-mv2-drawer__nav b {
    color: #07985a;
    font-family: Arial, sans-serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    text-align: right;
  }

  .p-mv2-drawer__contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 30px 0 22px;
    color: #07985a;
    font-size: clamp(17px, 2.6vw, 25px);
    font-weight: 700;
    text-align: center;
  }

  .p-mv2-drawer__contact-title span {
    width: 55px;
    height: 2px;
    background: #07985a;
  }

  .p-mv2-drawer__contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .p-mv2-drawer__contact-card {
    position: relative;
    display: grid;
    grid-template-columns: 85px 1fr 50px;
    align-items: center;
    gap: 20px;
    min-height: 125px;
    padding: 18px 24px;
    border: 2px solid #07985a;
    border-radius: 11px;
    background: #fff;
    color: #071a38;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 69, 42, 0.08);
  }

  .p-mv2-drawer__contact-icon {
    display: block;
    width: 64px;
    height: 64px;
    justify-self: center;
    object-fit: contain;
  }

  .p-mv2-drawer__contact-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .p-mv2-drawer__contact-content > small {
    color: #07985a;
    font-size: clamp(14px, 1.8vw, 19px);
    font-weight: 700;
    line-height: 1.35;
  }

  .p-mv2-drawer__contact-content strong {
    color: #07985a;
    font-size: clamp(27px, 4vw, 42px);
    font-style: normal;
    line-height: 1.15;
  }

  .p-mv2-drawer__contact-content strong small {
    font-size: 0.55em;
  }

  .p-mv2-drawer__contact-content em {
    margin-top: 3px;
    color: #071a38;
    font-size: clamp(12px, 1.55vw, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
  }

  .p-mv2-drawer__contact-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #07985a;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 38px;
    line-height: 1;
  }

  .p-mv2-drawer__contact-arrow img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
  }

  .p-mv2-drawer__contact-card--inquiry {
    border-color: #f09813;
  }

  .p-mv2-drawer__contact-card--inquiry .p-mv2-drawer__contact-content > small,
  .p-mv2-drawer__contact-card--inquiry .p-mv2-drawer__contact-content strong {
    color: #f09813;
  }

  .p-mv2-drawer__contact-card--inquiry .p-mv2-drawer__contact-arrow {
    background: #f09813;
  }

  .p-mv2-header a:focus-visible,
  .p-mv2-header button:focus-visible,
  .p-mv2-drawer a:focus-visible,
  .p-mv2-drawer button:focus-visible {
    outline: 3px solid #f09813;
    outline-offset: 3px;
  }
}

@media screen and (max-width: 767px) {
  .p-mv2-header-inner {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 50px;
    align-items: center;
    min-height: 132px;
    padding: 10px 10px;
    gap: 6px;
  }

  .p-mv2-logo {
    align-items: center;
    flex-direction: column;
    gap: 5px;
  }

  .p-mv2-logo img {
    width: 150px;
  }

  .p-mv2-logo span {
    display: none;
  }

  .p-mv2-header-specialty-sp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(125px, 35vw, 175px);
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #07985a;
    border-radius: 9px;
    color: #07985a;
    font-size: clamp(12px, 3.3vw, 16px);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .p-mv2-header-right {
    min-width: 0;
    justify-self: start;
  }

  .p-mv2-header-top {
    display: none;
  }

  .p-mv2-tel-main {
    font-size: clamp(19px, 5.2vw, 29px);
  }

  .p-mv2-tel-main span {
    width: clamp(21px, 6vw, 29px);
    margin-right: 5px;
  }

  .p-mv2-tel-sub {
    max-width: 190px;
    font-size: clamp(8px, 2.15vw, 11px);
    line-height: 1.55;
    white-space: normal;
  }

  .p-mv2-header .sp-menu-btn {
    flex-basis: clamp(42px, 12vw, 55px);
  }

  .p-mv2-header .sp-menu-btn__lines {
    width: clamp(36px, 10vw, 46px);
    height: 28px;
    margin-bottom: 6px;
  }

  .p-mv2-header .sp-menu-btn__lines span {
    height: 4px;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(1) {
    top: 0;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(2) {
    top: 12px;
  }

  .p-mv2-header .sp-menu-btn__lines span:nth-child(3) {
    top: 24px;
  }

  .p-mv2-header .sp-menu-btn__text {
    font-size: clamp(11px, 3vw, 14px);
  }

  .p-mv2-drawer .sp-drawer__inner {
    padding: 0 0 28px;
    background: linear-gradient(180deg, #fff 0 112px, #eef9f5 112px 100%);
  }

  .p-mv2-drawer__head {
    grid-template-columns: 150px minmax(0, 1fr) 50px;
    gap: 6px;
    min-height: 112px;
    padding: 10px 9px;
  }

  .p-mv2-drawer__logo img {
    width: 150px;
  }

  .p-mv2-drawer__head-specialty {
    min-width: 0;
    width: clamp(115px, 32vw, 160px);
    padding: 7px 9px;
    border-radius: 8px;
    font-size: clamp(12px, 3.6vw, 17px);
    line-height: 1.35;
  }

  .p-mv2-drawer .sp-drawer__close {
    width: 48px;
    height: 62px;
    flex-basis: 48px;
  }

  .p-mv2-drawer .sp-drawer__close span {
    top: 18px;
    left: 5px;
    width: 38px;
    height: 4px;
  }

  .p-mv2-drawer .sp-drawer__close small {
    bottom: 0;
    width: 48px;
    font-size: 10px;
  }

  .p-mv2-drawer__body {
    padding: 18px 12px 0;
  }

  .p-mv2-drawer__nav {
    padding: 5px 20px;
    border-radius: 16px;
  }

  .p-mv2-drawer__nav a {
    grid-template-columns: 40px 1fr 20px;
    gap: 12px;
    min-height: 67px;
    font-size: clamp(16px, 4.7vw, 21px);
  }

  .p-mv2-drawer__nav-icon svg {
    width: 31px;
    height: 31px;
  }

  .p-mv2-drawer__nav b {
    font-size: 32px;
  }

  .p-mv2-drawer__contact-title {
    gap: 13px;
    margin: 22px 0 15px;
    font-size: clamp(14px, 4vw, 18px);
  }

  .p-mv2-drawer__contact-title span {
    width: clamp(25px, 9vw, 42px);
  }

  .p-mv2-drawer__contact {
    gap: 10px;
  }

  .p-mv2-drawer__contact-card {
    grid-template-columns: 48px 1fr 34px;
    gap: 10px;
    min-height: 92px;
    padding: 12px 10px;
    border-radius: 8px;
  }

  .p-mv2-drawer__contact-icon {
    width: 42px;
    height: 42px;
  }

  .p-mv2-drawer__contact-content > small {
    font-size: clamp(11px, 3.3vw, 14px);
    font-size: 14px;
    margin-bottom: 8px;
  }

  .p-mv2-drawer__contact-content strong {
    font-size: clamp(22px, 6.3vw, 29px);
    margin-bottom: 8px;
  }

  .p-mv2-drawer__contact-content em {
    font-size: clamp(9px, 2.8vw, 12px);
    font-size: 14px;
  }

  .p-mv2-drawer__contact-arrow {
    width: 33px;
    height: 33px;
    font-size: 29px;
  }
}

@media screen and (max-width: 380px) {
  .p-mv2-header-inner {
    grid-template-columns: 150px minmax(100px, 1fr) 42px;
    gap: 2px;
    min-height: 116px;
    /* padding-inline: 3px; */
  }

  .p-mv2-logo img {
    width: 150px;
  }

  .p-mv2-logo span {
    display: none;
  }

  .p-mv2-header-specialty-sp {
    width: 100%;
    padding: 6px 4px;
    font-size: 12px;
  }

  .p-mv2-tel-main {
    font-size: 17px;
  }

  .p-mv2-drawer__head {
    grid-template-columns: 150px minmax(100px, 1fr) 38px;
    gap: 2px;
    padding-inline: 3px;
  }

  .p-mv2-drawer__logo img {
    width: 150px;
  }

  .p-mv2-drawer .sp-drawer__close {
    width: 42px;
    flex-basis: 42px;
  }

  .p-mv2-drawer .sp-drawer__close span {
    left: 4px;
    width: 34px;
  }

  .p-mv2-drawer__nav {
    padding-inline: 14px;
  }

  .p-mv2-drawer__contact-card {
    grid-template-columns: 40px 1fr 30px;
    gap: 16px;
    padding-inline: 8px;
  }

  .p-mv2-drawer__contact-icon {
    width: 36px;
    height: 36px;
  }

  .p-mv2-drawer__contact-arrow {
    width: 29px;
    height: 29px;
  }
}
