@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  border: 0;
  font-size: 100%;
  font-weight: normal;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  margin: 0;
  padding: 0;
}

input,
select,
textarea {
  color: inherit;
  font: inherit;
  vertical-align: top;
}

body {
  background: #FDFAF6;
  color: #222;
  font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 500;
  overflow-x: hidden;
}

@media (hover: hover) {
  a:-moz-any-link:hover, a:-moz-any-linkfocus {
    opacity: 0.8;
  }
  a:any-link:hover, a:any-linkfocus {
    opacity: 0.8;
  }
}
.l-header {
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
  height: 60px;
  width: 100%;
}

.l-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  padding-inline: 10px;
}

.l-header__logo {
  height: auto;
  width: 67px;
}

.l-main {
  background-color: #FDFAF6;
  border-radius: 20px;
  position: relative;
  top: 0;
  width: 100%;
  z-index: -3;
}
@media screen and (min-width: 390px) {
  .l-main {
    margin-inline: auto;
    max-width: 390px;
  }
}
@media screen and (min-width: 768px) {
  .l-main {
    margin-bottom: 68px;
    margin-bottom: 68px;
    top: 40px;
  }
}

.l-wrapper {
  height: 100%;
  position: relative;
  width: 100%;
  z-index: 1;
}

.l-section {
  padding-bottom: 60px;
  padding-top: 40px;
}

.l-inner {
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  text-align: center;
}

.c-button1 {
  width: 160px;
}
.c-button1 a {
  background-color: #CF000C;
  color: #fff;
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  padding: 8px 20px;
  text-align: center;
  width: auto;
}
@media (hover: hover) {
  .c-button1:hover a {
    background-color: #A5000A; /* より濃い赤 */
    opacity: 1;
  }
}
.c-button1:focus a {
  background-color: #A5000A; /* より濃い赤 */
  opacity: 1;
}

.c-button2 a {
  background-color: #CF000C;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  padding: 16px 80px 18px;
  position: relative;
  transition: background-color 0.3s ease;
}
.c-button2 a::before {
  background: url(../img/button-icon.svg) no-repeat center center/contain;
  content: "";
  height: 5px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
  width: 16px;
}
@media (hover: hover) {
  .c-button2:hover a {
    background-color: #A5000A;
    opacity: 1;
    transition: background-color 0.3s ease;
  }
  .c-button2:hover a::before {
    right: -4px;
  }
}
.c-button2:focus a {
  background-color: #A5000A;
  opacity: 1;
  transition: background-color 0.3s ease;
}
.c-button2:focus a::before {
  right: -4px;
}

.c-heading__en {
  position: relative;
}

.c-heading__ja {
  left: 32px;
  position: absolute;
  right: 32px;
  top: 41px;
}
.c-heading__ja h2 {
  font-size: 24px; /* 36px */
}
.c-heading__ja h2,.c-heading__ja p {
  font-weight: 700;
  line-height: 150%;
}
.c-heading__ja p {
  font-size: 16px;
  padding-top: 8px;
}

.highlight {
  color: #CF000C;
  font-size: 24px;
  font-weight: 700;
  line-height: 150%; /* 36px */
}

.c-heading2 {
  position: relative;
}
.c-heading2 .c-heading__ja {
  left: 23px;
  position: absolute;
  top: 53px;
}
.c-heading2 .c-heading__ja p {
  font-size: 12px;
  font-weight: 500;
  padding-left: 10px;
  padding-top: 0;
  position: relative;
  text-align: left;
}
.c-heading2 .c-heading__ja p::before {
  background: #DAC0A2;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
}

.c-label {
  background: #EADBC8;
  border-radius: 4px;
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  line-height: 150%; /* 15px */
  padding: 1px 4px;
  white-space: nowrap;
}

.c-phone-number .c-phone-link {
  display: block;
}
.c-phone-number .c-phone-link:focus, .c-phone-number .c-phone-link:hover {
  text-decoration: underline;
}
.c-phone-number .c-phone-text {
  display: none;
}

@media screen and (min-width: 768px) {
  .c-phone-number .c-phone-link {
    display: none;
  }
  .c-phone-number .c-phone-text {
    display: block;
  }
}
.p-bg__wrap {
  display: none;
}
@media screen and (min-width: 390px) {
  .p-bg__wrap {
    display: block;
    height: 100vw;
    position: fixed;
    width: 100vw;
    z-index: -999;
  }
}

.p-bg-wrap__inner {
  padding-inline: 40px;
}

.p-bg__wrap-image {
  display: none;
}
@media screen and (min-width: 390px) {
  .p-bg__wrap-image {
    background: url(../img/shadow-leaves-design-element.png) repeat top center/contain;
    display: block;
    height: 100vh;
    width: 100%;
  }
}

.p-bg__logo {
  height: 83px;
  left: 5vw;
  position: absolute;
  top: 27px;
  width: 93px;
  z-index: 1;
}

.p-bg__wrap-text {
  display: flex;
  margin-inline: calc(50% - 50vw);
  position: absolute;
  top: 605px;
  width: 100vw;
}
@keyframes MoveLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes MoveLeft2 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

.p-bg__wrap-item {
  flex-shrink: 0;
  padding-left: 100px;
  white-space: nowrap;
}
.p-bg__wrap-item:nth-child(odd) {
  animation: MoveLeft 24s -12s infinite linear;
}
.p-bg__wrap-item:nth-child(even) {
  animation: MoveLeft2 24s infinite linear;
}

.p-bg__content {
  align-items: center;
  display: flex;
  gap: 390px;
  justify-content: space-between;
  left: 50%;
  margin-inline: auto;
  max-height: 308px;
  position: absolute;
  top: 347px;
  transform: translateX(-50%);
  width: 100%;
}

.p-bg__nav {
  padding-left: 25px;
  width: 260px;
}
@media screen and (min-width: 960px) {
  .p-bg__nav {
    margin-left: 6.1vw;
    padding-left: 0;
  }
}
@media screen and (min-width: 1440px) {
  .p-bg__nav {
    margin-left: 13.1vw;
  }
}

.p-bg__list {
  align-items: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 30px;
  padding-top: 10px;
}

.p-bg__link {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  padding-left: 14px;
  position: relative;
  transition: color 0.3s ease;
}
.p-bg__link:focus, .p-bg__link.is-active {
  color: #CF000C;
}
.p-bg__link:focus::before, .p-bg__link.is-active::before {
  background: #CF000C;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: -8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
}

@media screen and (min-width: 960px) {
  .p-bg__right {
    margin-right: 6.1vw;
    margin-top: 52px;
  }
}
@media screen and (min-width: 1440px) {
  .p-bg__right {
    margin-right: 13.1vw;
  }
}
.p-bg__right__button,.p-bg__right__button a {
  text-align: center;
  width: 100%;
}
.p-bg__right__button a {
  display: block;
  padding: 12px 21px;
}
@media screen and (min-width: 1440px) {
  .p-bg__right__button a {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 14px 34px;
  }
}

.p-mv {
  position: relative;
  width: 100%;
  z-index: 4;
}

.p-mv__image {
  height: 357px;
  width: 100%;
}
.p-mv__image img {
  aspect-ratio: 390/357;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
}

.p-mv__sub-text {
  height: 48px;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 87px;
}
.p-mv__sub-text p {
  color: #FDFAF6;
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 8px;
  font-weight: 400;
  line-height: 170%; /* 13.6px */
  text-align: right;
}

.p-mv__text {
  bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  left: 20px;
  position: absolute;
}
.p-mv__text p {
  color: #FDFAF6;
  font-weight: 500;
  line-height: 100%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.p-mv__text p:nth-child(1) {
  font-size: 24px;
}
.p-mv__text p:nth-child(2) {
  background-color: #FDFAF6;
  color: #CF000C;
  display: inline-block;
  font-size: 44px;
  padding: 0 12px 5px;
}
.p-mv__text p:nth-child(3) {
  font-size: 44px;
}

.p-concept__inner {
  z-index: 3;
}

.p-concept__inner,.p-concept__bg {
  position: relative;
}
.p-concept__bg::before {
  background: url(../img/concept-bg1.png) repeat-y center center/contain;
  content: "";
  height: 688px;
  left: -32px;
  position: absolute;
  top: -165px;
  width: 314px;
  z-index: -2;
}

.p-concept__text {
  padding: 105px 32px 60px;
}
.p-concept__text p {
  font-size: 15px;
  font-weight: 500;
  line-height: 200%; /* 30px */
}

.p-concept__bottom {
  height: 484px;
  position: relative;
  width: 390px;
}

.p-concept__bottom-bg {
  position: absolute;
  right: 0;
  top: 30px;
}
.p-concept__bottom-bg img {
  aspect-ratio: 390/484;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-concept__bottom__img1 {
  height: 252px;
  left: 37px;
  position: absolute;
  top: 0;
  width: 180px;
}
.p-concept__bottom__img1 img {
  aspect-ratio: 180/252;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-concept__bottom__img2 {
  height: 152px;
  position: absolute;
  right: 29px;
  top: 154px;
  width: 111px;
}
.p-concept__bottom__img2 img {
  aspect-ratio: 111/152;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-concept__bottom__img3 {
  bottom: 0;
  height: 148px;
  left: 0;
  position: absolute;
  width: 305px;
}
.p-concept__bottom__img3 img {
  aspect-ratio: 305/148;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-cta {
  background: url(../img/cta-bg.png) no-repeat center center/cover;
  padding: 35px 0 52px;
}

.p-cta__inner {
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.p-cta__title {
  color: #fff;
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
}

.p-cta__text {
  margin-top: 7px;
}
.p-cta__text p {
  color: #FDFAF6;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%; /* 27px */
}

.p-cta__button {
  display: inline-block;
  margin-top: 34px;
}

.p-price {
  padding-bottom: 40px;
}
.p-price .c-heading__en {
  margin-left: 10px;
}

.p-price__inner {
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
}

.p-price__cards {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 70px;
}

.p-price__card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
  padding: 40px 23px;
  text-align: center;
  width: 100%;
}

.p-price__card-title-en {
  color: #DAC0A2;
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 138%;
  text-align: center;
}

.p-price__card-title-ja {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%; /* 30px */
}

.p-price__card-text {
  margin-top: 10px;
}
.p-price__card-text span {
  background: #EADBC8;
  border-radius: 4px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  padding: 6px 8px;
}
.p-price__card-text span:nth-of-type(1) {
  margin-right: 24px;
  position: relative;
}
.p-price__card-text span:nth-of-type(1)::before {
  background: url("../img/pulus.svg") no-repeat center center/contain;
  content: "";
  height: 10px;
  position: absolute;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
}

.p-price__card__bottom {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.p-price__box {
  flex-shrink: 1;
}

.p-price__box-image {
  height: 117px;
  width: 141px;
}
.p-price__box-image img {
  aspect-ratio: 155/117;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.p-price__box-detail {
  margin-top: 15px;
  width: 100%;
}
.p-price__box-detail tbody tr {
  align-items: start;
  border-top: 1px solid #efefef;
  display: flex;
  gap: 6px;
  justify-content: start;
  padding-bottom: 11px;
  padding-top: 12px;
  -moz-text-align-last: left;
       text-align-last: left;
  width: 100%;
}
.p-price__box-detail tbody tr:last-child {
  border-bottom: 1px solid #efefef;
}

.p-price__box-list {
  flex: 1;
  width: 100%;
}
.p-price__box-list td {
  display: block;
}
.p-price__box-list:last-child .p-price__box-title {
  margin-top: 5.5px;
}

.p-price__box-text {
  font-size: 10px;
  font-weight: 500;
  line-height: 150%; /* 15px */
}
.p-price__box-text span {
  display: block;
}

.p-price__box-text-strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 113%;
}

.p-price__box-normal {
  letter-spacing: -0.4px;
}

.p-price__box-price {
  font-size: 20px;
  font-weight: 500;
  line-height: 99%;
}

.p-price__box-small {
  font-size: 8px;
  font-weight: 500;
  line-height: 150%;
}

.p-price__construction-details-bottom {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 18px */
}

.p-price__construction-details {
  border-bottom: 1px solid #efefef;
  padding-bottom: 9px;
  width: 100%;
}

.p-price__construction-details-list {
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: left;
  text-align: left;
}

.p-price__construction-details-item {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%; /* 18px */
  padding-block: 9px;
  padding-left: 9px;
  position: relative;
  width: 146px;
}
.p-price__construction-details-item span {
  display: block;
}
.p-price__construction-details-item::before {
  background: #DAC0A2;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
}
.p-price__construction-details-item:nth-of-type(1) {
  padding-right: 10px;
}

.p-construction__option {
  margin-top: 24px;
}

.p-construction__option-title {
  align-self: stretch;
  font-size: 16px;
  font-weight: 700;
}

.p-construction__details {
  margin-top: 10px;
}
.p-construction__details:not(:first-child) .p-construction__details-list {
  margin-top: 8px;
}

.p-construction__details-list {
  display: flex;
}

.p-construction__details-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 150%; /* 18px */
  padding-left: 10px;
  position: relative;
  text-align: left;
}
.p-construction__details-text span {
  display: block;
}
.p-construction__details-text::before {
  background: #DAC0A2;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
}
.p-construction__details-text a {
  color: #363E5A;
  font-weight: 700;
  text-decoration: underline;
}

.p-feature {
  background: url(../img/future-bg.png) no-repeat center center/cover;
  padding-bottom: 39px;
  padding-top: 38px;
}
.p-feature .c-heading__en {
  margin-left: 10px;
}

.p-feature__heading {
  padding-inline: -24px;
}

.p-feature__boxes {
  margin-top: 68px;
}

.p-feature__box {
  padding-block: 24px;
}

.p-feature__box-head {
  align-items: end;
  display: flex;
  gap: 8px;
  text-align: left;
}

.p-feature__box-number {
  -webkit-text-stroke: 1.1px #222; /* ベンダープレフィックス */
  color: transparent;
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 91%; /* 60px */
  text-transform: uppercase;
}

.p-feature__box-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 160%; /* 28.8px */
}

.p-feature__box-text {
  font-weight: 500;
  line-height: 160%; /* 22.4px */
  margin-top: 7px;
  text-align: left;
}

.p-feature__box-image {
  margin-top: 17px;
  position: relative;
}
.p-feature__box-image::before {
  border: 1px solid #fff;
  bottom: -10px;
  content: "";
  height: 180px;
  left: calc(50% - 181px);
  position: absolute;
  width: 342px;
  z-index: 3;
}
.p-feature__box-image img {
  position: relative;
  z-index: 1;
}

.p-works {
  background: #DAC0A2;
  padding-bottom: 40px;
}

.p-works__inner {
  text-align: center;
}

.p-works__heading {
  text-align: left;
}
.p-works__heading .c-heading__en {
  opacity: 0.2;
}
.p-works__heading .c-heading__ja {
  left: 24px;
}

.p-works__image {
  height: 370px;
  margin-top: 68px;
  width: 342px;
}
.p-works__image img {
  aspect-ratio: 342/370;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-works__table {
  margin-top: 23px;
}

.p-works__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.p-works__item {
  align-items: center;
  display: flex;
  gap: 6px;
}
.p-works__item .c-label {
  padding: 2px 4px;
  text-align: center;
  width: 56px;
}

.p-works__item-text {
  font-weight: 500;
  line-height: 150%; /* 21px */
}

.p-works__item-price {
  font-size: 20px;
  font-weight: 500;
  line-height: 150%; /* 30px */
  text-align: left;
}
.p-works__item-price .price-small {
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-left: -4px;
}

.p-works__text {
  line-height: 180%; /* 25.2px */
  margin-top: 15px;
  text-align: left;
}

.p-about-us {
  padding-bottom: 80px;
}

.p-about-us__cards {
  gap: 32px;
  margin-top: 72px;
}

.p-about-us__cards,.p-about-us__card {
  display: flex;
  flex-direction: column;
}

.p-about-us__card {
  background: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.08);
  gap: 17px;
  padding: 28px;
  text-align: center;
}

.p-about-us__card-head {
  text-align: left;
}

.p-about-us__card-head-en {
  color: #DAC0A2;
  font-family: "Avenir Next", "Lato", sans-serif;
  font-weight: 600;
  line-height: 150%; /* 21px */
}

.p-about-us__card-head-ja {
  color: #363E5A;
  font-size: 18px;
  font-weight: 700;
  line-height: 160%; /* 28.8px */
  margin-top: 8px;
}
.p-about-us__card-head-ja:last-of-type {
  margin-top: 6px;
}

.p-about-us__card-text {
  font-weight: 500;
  line-height: 180%; /* 25.2px */
  padding-bottom: 5px;
  text-align: left;
}

.p-about-us__card-image {
  height: 180px;
  width: 286px;
}
.p-about-us__card-image img {
  aspect-ratio: 286/180;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-faq__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-details-summary {
  background-color: #EADBC8;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%; /* 24px */
  padding: 12px 56px 12px 43px;
  position: relative;
  text-align: left;
}
.p-details-summary:hover {
  cursor: pointer;
  opacity: 0.8;
}
.p-details-summary:before {
  content: "Q";
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 24px;
  font-weight: 400;
  height: 24px;
  left: 12px;
  line-height: 100%; /* 24px */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
}
.p-details-summary.is-active .btn::after {
  transform: rotate(90deg);
}
.p-details-summary .btn {
  cursor: pointer;
  height: 14px;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
}
.p-details-summary .btn::before, .p-details-summary .btn::after {
  background-color: #222;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 6px;
  transition: transform 0.2s ease;
  width: 14px;
}
.p-details-summary .btn::after {
  content: "";
  height: 14px;
  left: 6px;
  top: 0;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  width: 2px;
}

.p-details-summary::-webkit-details-marker {
  display: none;
}

.p-details-content {
  padding: 13px 7px 20px 42px;
  position: relative;
}
.p-details-content p {
  font-weight: 500;
  line-height: 170%; /* 23.8px */
  text-align: left;
}
.p-details-content::before {
  color: #DAC0A2;
  content: "A";
  font-family: "Avenir Next", "Lato", sans-serif;
  font-size: 24px;
  font-weight: 400;
  height: 24px;
  left: 13px;
  line-height: 100%; /* 24px */
  position: absolute;
  top: 13px;
  width: 16px;
}

.p-faq {
  padding-bottom: 40px;
}

.p-faq__heading {
  margin-left: 10px;
}
.p-faq__heading .c-heading__ja {
  left: 15px;
  top: 51px;
}

.p-fqa__contents {
  margin-top: 58px;
}

.p-contact {
  background-color: #363E5A;
  border-radius: 0 0 20px 20px;
}

.p-contact__heading .c-heading__en {
  opacity: 0.1;
}
.p-contact__heading .c-heading__ja {
  color: #FDFAF6;
}

.p-contact__contact {
  margin-inline: 12px;
  margin-top: 56px;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}
.wpcf7-form .form-group:nth-of-type(5) dt {
  margin-bottom: 3px;
}
.wpcf7-form .form-group:nth-of-type(6) dt {
  margin-bottom: -3px;
}

/* フォームグループのスタイル */
.form-group {
  position: relative;
}
.form-group:first-of-type .form-control {
  margin-top: 12px;
}
.form-group dt {
  align-items: center;
  display: flex;
  margin-bottom: 8px;
}

/* ラベルのスタイル */
.form-group label {
  color: #FDFAF6;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 18px */
  margin-bottom: 5px;
  margin-right: 8px;
}

.wpcf7-form-control-wrap,.label-text {
  margin-top: 8px;
}

.label-text {
  font-size: 15px;
  font-style: normal;
  line-height: 120%; /* 18px */
  margin-right: 10px;
}

/* 必須マーク */
.label-text,.required {
  color: #FDFAF6;
  font-weight: 700;
}
.required {
  background-color: #CF000C;
  padding: 4px 4px;
}

/* 任意マーク */
.required,.optional {
  border-radius: 4px;
  font-size: 10px;
}
.optional {
  background: #DAC0A2;
  color: #FDFAF6;
  font-weight: 700;
  line-height: 120%; /* 12px */
  padding: 4px;
}

/* テキスト入力フィールド */
.form-input {
  background-color: #FDFAF6;
  border: none;
  color: #222;
  padding: 12px 20px 12px 10px;
  width: 100%;
}

/* プレースホルダーのスタイル */
.form-input::-webkit-input-placeholder {
  color: #C4C4C4;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 14.4px */
}
.form-input::-moz-placeholder {
  color: #C4C4C4;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 14.4px */
}
.form-input::placeholder {
  color: #C4C4C4;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 14.4px */
}

/* ラジオボタングループ */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

/* ラジオボタンのラベル */
.radio-label {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.wpcf7-list-item {
  margin: 0;
}

/* ラジオボタンのカスタマイズ */
.wpcf7-radio input[type=radio] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #FDFAF6;
  border-radius: 50%;
  height: 15px;
  margin-left: 0;
  position: relative;
  width: 15px;
}

.wpcf7-radio input[type=radio]:checked::after {
  background-color: #CF000C;
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 7px;
}

/* ファイルアップロード */
.form-control {
  color: #FDFAF6;
  display: block;
  margin: 6px 0;
  width: 100%;
}

.file-top {
  margin-top: 12px;
}

/* アップロードノート */
.upload-note {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #999;
  display: block;
  font-size: 12px;
  margin: 5px 0 10px;
}

/* ファイル選択ボタン */
input[type=file]::-webkit-file-upload-button {
  background-color: inherit;
  border: 0.5px solid #FDFAF6;
  border-radius: 4px;
  color: #FDFAF6;
  cursor: pointer;
  margin-right: 12px;
  padding: 5px 24px;
}
input[type=file]::file-selector-button {
  background-color: inherit;
  border: 0.5px solid #FDFAF6;
  border-radius: 4px;
  color: #FDFAF6;
  cursor: pointer;
  margin-right: 12px;
  padding: 5px 24px;
}

/* テキストエリア */
.form-textarea {
  background-color: #FDFAF6;
  border: none;
  color: #222;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%; /* 14.4px */
  min-height: 238px;
  padding: 16px 10px;
  resize: vertical;
  width: 100%;
}

.form-textarea::-webkit-input-placeholder {
  color: #C4C4C4;
  font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.form-textarea::-moz-placeholder {
  color: #C4C4C4;
  font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.form-textarea::placeholder {
  color: #C4C4C4;
  font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

/* 送信ボタン */
.submit-button {
  background-color: #CF000C;
  border: none;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  margin: 30px auto 0;
  padding: 16px 80px 18px;
  transition: background-color 0.3s ease;
  width: 223px;
}
.submit-button:focus {
  background-color: #a5000a;
}
@media (hover: hover) {
  .submit-button:hover {
    background-color: #a5000a;
  }
}

/* リンクスタイル */
.form-group a {
  color: #DAC0A2;
  font-size: 10px;
  font-weight: 500;
  line-height: 100%; /* 10px */
  margin-bottom: 16px;
  text-decoration: underline;
}

/* バリデーションエラーメッセージ */
.wpcf7-not-valid-tip {
  color: #ff0000;
  font-size: 12px;
  margin-top: 5px;
}

/* 送信完了（成功）メッセージ */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #EADBC8; /* 枠線の色も合わせて変更する場合 */
  color: #FDFAF6;
}

/* エラーメッセージ */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #EADBC8;
  color: #CF000C;
}

/* 送信中メッセージ */
.wpcf7 form.submitting .wpcf7-response-output {
  border-color: #EADBC8;
  color: #FDFAF6;
}

/* スパム判定メッセージ */
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #EADBC8;
  color: #CF000C;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 15px;
  }
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
.wpcf7-list-item-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
}
.wpcf7-list-item-label:first-of-type {
  margin-right: 14px;
}

.p-company {
  background-color: #EADBC8;
  padding-bottom: 76px;
  padding-top: 80px;
}

.p-company__inner {
  text-align: center;
}

.p-company__table {
  margin-top: 54px;
}

.p-company__list {
  align-items: start;
  display: flex;
  padding-block: 8px;
  text-align: left;
}

.p-company__label {
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 160%; /* 22.4px */
  width: 69px;
}

.p-company__text {
  font-weight: 500;
  line-height: 160%; /* 22.4px */
}
.p-company__text span {
  display: block;
}

.p-company__map {
  margin-top: 37px;
}

.u-sp {
  display: none;
}
@media screen and (min-width: 390px) {
  .u-sp {
    display: block;
  }
}

.u-tab {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-tab {
    display: block;
  }
}