@charset "utf-8";
/*
Theme Name: 2025-amazones
Description: This is our original theme.
*/

/* override column & information detail */
.p-column-slag__wrapper img,
.p-information__content img{
  max-width: 100%;
  height: auto;
}
.p-column-slag__info-wrapper > * + *,
.p-information__content > * + *{
  margin-top: 1em;
}
/* hacomono予約バナー画像の上に共通で余白(約20px)を確保（imgはreset で display:block） */
.p-column-slag__info-wrapper a[href*="hacomono"] img,
.p-information__content a[href*="hacomono"] img{
  margin-top: 20px;
}
.p-column-slag__info-wrapper h2,
.p-information__content .title-style1{
  font-size: var(--fs-lg); /* 本文(16px)より小さかったため見出しサイズに拡大（sm2 15px→lg 20px。デザインカンプ準拠） */
  font-weight: 500;
  color: var(--base-white);
  background-color: var(--base-grayBlue);
  background-image: url("assets/img/column-slag/p-article-body__heading.webp");
  padding: 14px 20px;
  position: relative;
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 2em auto 1.3em;
}
.p-column-slag__info-wrapper h3,
.p-column-slag__info-wrapper h4,
.p-column-slag__info-wrapper h5,
.p-column-slag__info-wrapper h6,
.p-information__content h2,
.p-information__content h3,
.p-information__content h4,
.p-information__content h5,
.p-information__content h6{
  margin: 1.6em auto 1em;
}
.p-column-slag__info-wrapper ol,
.p-column-slag__info-wrapper ul,
.p-information__content ol,
.p-information__content ul{
  padding-left: 1.3em;
}
.p-column-slag__info-wrapper hr,
.p-information__content hr{
  margin: 2em auto;
}
.p-column-slag__info-wrapper a[href],
.p-information__content a[href]{
  color: var(--base-lightBlue);
  border-bottom: solid 2px var(--base-lightBlue);
}
.p-column-slag__info-wrapper a[href]:hover,
.p-information__content a[href]:hover{
  border-bottom: none;
}
.p-column-slag__info-wrapper  a[target="_blank"] svg,
.p-information__content a[target="_blank"] svg{
  vertical-align: -.15em;
  margin-left: .3em;
}
.p-column-slag__info-wrapper [style*="border-radius"][style*="background"],
.p-column-slag__info-wrapper [style*="border-left"][style*="padding-left"],
.p-information__content .title-style2{
  position: relative !important;
  background-color: var(--base-gray) !important;
  padding: 20px !important;
  width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 1em auto;
}
.p-column-slag__info-wrapper [style*="border-radius"][style*="background"]:before,
.p-column-slag__info-wrapper [style*="border-left"][style*="padding-left"]:before,
.p-information__content .title-style2:before{
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  width: 5px;
  height: 100%;
  background-image: url("assets/img/column-slag/p-article-body__content-gray-item.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.p-column-slag__info-wrapper [style*="border: 2px"][style*="background"],
.p-information__content .box-style1{
  padding: 20px !important;
  width: 100% !important;
  border: 1px solid var(--base-lightBlue) !important;
  background: #E6FAF8 !important;
}
.p-column-slag__info-wrapper [style*="background: linear-gradient"],
.p-information__content .text-line1{
  background: linear-gradient(to top,
  #acf2f0 50%,
  transparent 50%) !important; /* マーカー色: デザインカンプ実測の淡teal(#acf2f0)。#81d8d0は濃く読みにくいため差し替え */
}

/* override column detail */
.p-column-slag__info-wrapper [style*="border: 2px"][style*="background"]:before{
  background: none !important;
}
/* 入れ子ボックス(ボックス内ボックス)の左・迷彩ストリップ(::before)を非表示にし、左の線の二重を解消 */
.p-column-slag__info-wrapper [style*="background"] [style*="border-radius"][style*="background"]:before,
.p-information__content [style*="background"] [style*="border-radius"][style*="background"]:before{
  display: none !important;
}

/* override information detail */
.p-information__title{
  display: flex;
  align-items: baseline;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1.2em;
}
@media screen and (max-width: 767px){
  .p-information__title{
    flex-wrap: wrap;
  }

  .p-column-slag__info-wrapper h2{
    font-size: var(--fs-base);
    line-height: 1.5;
    padding: 0.875rem 5rem 0.875rem 1rem;
    background-image: none;
  }

  .p-column-slag__info-wrapper h2::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 5rem;
    height: 50%;
    background-image: url("assets/img/protein/img_protein_pattern_cutout.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
  }
}
.p-information__title > *{
  flex: 0 0 auto;
}
.p-information__title .p-information__attr,
.p-information__title .p-information__text1{
  margin-right: 1.4em;
}
.p-information__title .p-information__attr{
  background: var(--base-gray);
  font-weight: 500; /* 一覧ページ .c-news__label と揃える */
  font-size: .7em;
  padding: .1em 1.4em;
}
.p-information__title .p-information__text1{
  color: var(--base-lightBlue);
  font-size: .8em;
  font-weight: 500; /* 親.p-information__titleのbold継承を打ち消し、一覧 .c-news-info__date と揃える */
}
.p-information__title .p-information__text2{
  flex: 1 1 100%;
  font-weight: bold;
  white-space: wrap;
}
@media screen and (max-width: 767px){
  .p-information__title .p-information__text2{
    margin-top: .6em;
  }
}
.p-information__content{
  padding: 2em 0;
  border-top: solid 1px var(--base-gray);
  border-bottom: solid 1px var(--base-gray);
  margin-bottom: 60px;
}
@media screen and(max-width: 767px){
  .p-information__content{
    margin-bottom: 40px;
  }
}

/* override contact */
.smf-form input,
.smf-form select,
.smf-form textarea,
.smf-form button{
  appearance: none;
  font-family: inherit;
  font-size: inherit;
}
.smf-form input:not([type=submit]),
.smf-form select,
.smf-form textarea {
  font-size: 16px;
}
.smf-form label,
.smf-form select,
.smf-form input[type=submit],
.smf-form input[type=reset],
.smf-form button{
  cursor: pointer;
}
.smf-form .smf-select-control,
.smf-form input:not([type=checkbox],
[type=radio],
[type=submit],
[type=reset]),
.smf-form select,
.smf-form textarea,
.smf-form button {
  background: var(--base-white);
  line-height: 1.8;
  padding: 0.6em 1em;
  border: solid 1px var(--base-inputGray);
  border-radius: 0 !important;
}
.smf-form .smf-select-control::-moz-placeholder,
.smf-form input:not([type=checkbox],
[type=radio],
[type=submit],
[type=reset])::-moz-placeholder,
.smf-form select::-moz-placeholder,
.smf-form textarea::-moz-placeholder,
.smf-form button::-moz-placeholder {
  color: #dcdddd;
}
.smf-form .smf-select-control::placeholder,
.smf-form input:not([type=checkbox],
[type=radio],
[type=submit],
[type=reset])::placeholder,
.smf-form select::placeholder,
.smf-form textarea::placeholder,
.smf-form button::placeholder {
  color: #dcdddd;
}

[data-screen=input] #form-back,
[data-screen=input] #form-submit,
[data-screen=invalid] #form-back,
[data-screen=invalid] #form-submit,
[data-screen=back] #form-back,
[data-screen=back] #form-submit {
  display: none;
}

[data-screen=confirm] .js-autoAddr,
[data-screen=complete] .js-autoAddr {
  display: none;
}

[data-screen=confirm] label {
  pointer-events: none;
}
[data-screen=confirm] #form-confirm {
  display: none;
}
[data-screen=confirm] .custom-confirm-error {
  display: none !important;
}
[data-screen=confirm] .c-form__head1 {
  margin-top: 0 !important;
}

.smf-form [style*="pointer-events: none;"] {
  cursor: not-allowed;
  background: #898989 !important;
}
.smf-form input:not([type=checkbox],
[type=radio],
[type=submit],
[type=reset]),
.smf-form select,
.smf-form textarea {
  width: 100%;
}
.smf-form textarea {
  resize: vertical;
  display: block;
  min-height: 17em;
  /* border: solid 1px var(--base-lightBlue) !important; */
  border: solid 1px var(--base-inputGray) !important;
}
.smf-form label {
  display: inline-block;
  position: relative;
}
.smf-form .smf-radio-button-control,
.smf-form .smf-checkbox-control {
  display: inline-block !important;
  gap: 0 !important;
  position: relative;
}
.smf-form .smf-radio-button-control__control,
.smf-form .smf-checkbox-control__control {
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  border: 0 !important;
  position: absolute !important;
}
.smf-form .smf-radio-button-control__label,
.smf-form .smf-checkbox-control__label {
  padding-left: 2em;
  position: relative;
}
.smf-form .smf-radio-button-control__label:before,
.smf-form .smf-checkbox-control__label:before {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  width: 1.4em;
  height: 1.4em;
  z-index: 1;
  /* border: solid 1px var(--base-lightBlue); */
  border: solid 1px var(--base-inputGray);
}
.smf-form .smf-checkbox-control__control:checked + .smf-checkbox-control__label:before {
  background: url("assets/img/common/icon_check1.svg") no-repeat center;
  background-size: cover;
}
.smf-form .smf-radio-button-control__control:checked + .smf-radio-button-control__label:before {
  background: var(--base-lightBlue);
}
.smf-form .smf-radio-button-control__control:checked + .smf-radio-button-control__label:after {
  background: var(--base-white);
}
.smf-form .smf-radio-button-control__label:before,
.smf-form .smf-radio-button-control__label:after {
  border-radius: 50%;
}
.smf-form .smf-radio-button-control__label:after {
  content: "";
  position: absolute;
  top: .1em;
  left: 0;
  width: 1.4em;
  height: 1.4em;
  z-index: 1;
  transform: scale(0.45);
}
.smf-form .smf-select-control {
  display: block !important;
  padding: 0;
  position: relative;
}
.smf-form .smf-select-control:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1em;
  width: 0;
  height: 0;
  z-index: 0;
  /* border-top: solid 0.6em var(--base-lightBlue); */
  border-top: solid 0.6em var(--base-inputGray);
  border-left: solid 0.4em transparent;
  border-right: solid 0.4em transparent;
  transform: translateY(-50%);
}
.smf-form .smf-select-control__toggle {
  display: none !important;
}
.smf-form .smf-action {
  width: 0;
  height: 0;
  overflow: hidden;
}
.smf-form .smf-error-messages {
  line-height: 1.6;
}
.smf-form .smf-error-messages.custom-confirm-error {
  display: none;
}
.smf-form .smf-error-messages.custom-confirm-error.is-visible {
  display: inline-block;
}
.smf-form .wp-block-group.is-nowrap.is-layout-flex .smf-placeholder {
  flex: 1 1 auto;
}
.smf-form .wp-block-group.is-nowrap.is-layout-flex .prefixText {
  padding-right: 1.4em;
}
.smf-form .wp-block-group.is-nowrap.is-layout-flex .suffixText {
  padding-left: 1.4em;
}
.smf-form #form-back,
.smf-form #form-confirm,
.smf-form #form-submit {
  flex: 0 1 auto;
}
@media screen and (max-width: 599px) {
  .smf-form #form-back,
  .smf-form #form-confirm,
  .smf-form #form-submit {
    flex: 1 1 100%;
  }
}
[class*="c-form__block"][class*="py0"]{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.u-flexNw,
.c-form__block1 > .wp-block-group__inner-container,
.c-form__block1--nobdr > .wp-block-group__inner-container,
.c-form__block1--inblock > .wp-block-group__inner-container,
.c-form__block3,
.c-form__head1 {
  display: flex;
}
.u-flexNw > *,
.c-form__block1 > .wp-block-group__inner-container > *,
.c-form__block1--nobdr > .wp-block-group__inner-container > *,
.c-form__block1--inblock > .wp-block-group__inner-container > *,
.c-form__block3 > *,
.c-form__head1 > * {
  flex: 1 1 auto;
}

.c-form__block1,
.c-form__block1--nobdr,
.c-form__block1--inblock {
  padding-bottom: 1.4em;
  /* border-bottom: solid 1px;
  border-color: var(--base-lightBlue); */
  position: relative;
}
@media screen and (max-width: 767px) {
  /* SP: カテゴリ同士の余白を縮小（旧1.4em）。住所内(--nobdr)はさらに狭く */
  .c-form__block1,
  .c-form__block1--inblock {
    padding-bottom: 0.7em;
  }
  .c-form__block1--nobdr {
    padding-bottom: 0.35em;
  }
}
/* .c-form__block1:before,
.c-form__block1--nobdr:before,
.c-form__block1--inblock:before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 7.5em;
  height: 0;
  z-index: 1;
  border-bottom: solid 2px var(--base-lightBlue);
} */
.c-form__block1:nth-child(n+2),
.c-form__block1--nobdr:nth-child(n+2),
.c-form__block1--inblock:nth-child(n+2) {
  padding-top: 1.4em;
}
@media screen and (max-width: 767px) {
  /* SP: 2ブロック目以降の上パディングも同様に縮小（カテゴリ間=0.7em+0.7em、住所内=0.35em+0.35em） */
  .c-form__block1:nth-child(n+2),
  .c-form__block1--inblock:nth-child(n+2) {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
  }
  .c-form__block1--nobdr:nth-child(n+2) {
    padding-top: 0.35em;
    padding-bottom: 0.35em;
  }
}
.c-form__block1 > .wp-block-group__inner-container,
.c-form__block1--nobdr > .wp-block-group__inner-container,
.c-form__block1--inblock > .wp-block-group__inner-container {
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .c-form__block1 > .wp-block-group__inner-container,
  .c-form__block1--nobdr > .wp-block-group__inner-container,
  .c-form__block1--inblock > .wp-block-group__inner-container {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 767px) {
  .c-form__block1 > .wp-block-group__inner-container > *,
  .c-form__block1--nobdr > .wp-block-group__inner-container > *,
  .c-form__block1--inblock > .wp-block-group__inner-container > * {
    flex: 1 1 100%;
  }
}
.c-form__block1--nobdr,
.c-form__block1--inblock {
  border-bottom: none;
}
.c-form__block1--nobdr:before,
.c-form__block1--inblock:before {
  content: none;
}
.c-form__block1--nobdr:nth-child(n+2) {
  padding-top: 0;
}
.c-form__block1--inblock > .wp-block-group__inner-container {
  flex-wrap: wrap;
}
.c-form__block1--inblock > .wp-block-group__inner-container > * {
  flex: 1 1 100%;
}
.c-form__block1 .smf-placeholder,
.c-form__block1--nobdr .smf-placeholder,
.c-form__block1--inblock .smf-placeholder,
.c-form__block1 .block-placeholder,
.c-form__block1--nobdr .block-placeholder,
.c-form__block1--inblock .block-placeholder {
  max-width: 750px;
}
.c-form__block2 > * {
  flex: 0 1 auto !important;
}
.c-form__block3 {
  justify-content: center;
  margin: 3em -0.5em 0;
}
@media screen and (max-width: 767px) {
  .c-form__block3 {
    margin-top: 2em;
  }
}
@media screen and (max-width: 599px) {
  .c-form__block3 {
    flex-wrap: wrap;
  }
}
.c-form__block3 > * {
  flex: 0 1 auto;
  margin: 0 0.5em;
}
@media screen and (max-width: 599px) {
  .c-form__block3 > * {
    flex: 1 1 100%;
    max-width: 300px;
  }
}
.c-form__block3 > *:nth-child(n+2) {
  margin-top: 1.6em;
}
.c-form__block4 {
  gap: 0;
  margin: -10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.c-form__block4 > * {
  margin: 10px !important;
  margin-bottom: 0 !important;
}
@media screen and (min-width: 768px) {
  .c-form__head1 {
    flex: 0 0 auto !important;
    min-width: calc(170px - 1em);
    margin-top: 0.4em;
  }
}
.c-form__head1 > * {
  flex: 0 1 auto;
}
@media screen and (min-width: 768px) {
  .c-form__head1 + * {
    margin-left: 1.6em;
  }
}
/* 項目名と入力欄が離れすぎる問題（justify-content:space-between + 短い項目名で右に寄る）を解消。
   項目名列を固定幅化し、入力欄を左詰めで残り幅いっぱいにしてデザインに寄せる（項目名と入力欄を近づける）。 */
@media screen and (min-width: 768px) {
  .c-form__block1 > .wp-block-group__inner-container,
  .c-form__block1--nobdr > .wp-block-group__inner-container,
  .c-form__block1--inblock > .wp-block-group__inner-container {
    justify-content: flex-start;
  }
  .c-form__block1 > .wp-block-group__inner-container > .c-form__head1,
  .c-form__block1--nobdr > .wp-block-group__inner-container > .c-form__head1,
  .c-form__block1--inblock > .wp-block-group__inner-container > .c-form__head1 {
    flex: 0 0 26% !important;
    max-width: 340px;
  }
  .c-form__block1 .smf-placeholder,
  .c-form__block1--nobdr .smf-placeholder,
  .c-form__block1--inblock .smf-placeholder,
  .c-form__block1 .block-placeholder,
  .c-form__block1--nobdr .block-placeholder,
  .c-form__block1--inblock .block-placeholder {
    max-width: none;
  }
}
/* 住所欄: 「ご住所」ラベルとサブ項目名(郵便番号/都道府県/番地)を狭くし、
   サブ入力欄を上の項目(メール等)の入力欄と同じ位置(左28%)に揃える（デザイン準拠）。
   :has() で住所行（inblockを内包する行）だけを対象にする。 */
@media screen and (min-width: 768px) {
  .c-form__block1:has(> .wp-block-group__inner-container > .c-form__block1--inblock) > .wp-block-group__inner-container > .c-form__head1 {
    flex: 0 0 auto !important;
    width: 105px;
    min-width: 0;
    max-width: none;
  }
  .c-form__block1--nobdr > .wp-block-group__inner-container > .c-form__head1 {
    flex: 0 0 auto !important;
    width: 205px;
    min-width: 0;
    max-width: none;
  }
}
.c-form__select1 {
  background: transparent !important;
  padding-right: 2.6em !important;
  border: none !important;
  position: relative;
  z-index: 2;
}
.c-form__marker1 {
  background: var(--base-lightBlue);
  align-self: center;
  font-size: 0.875rem;
  color: var(--base-white);
  line-height: 1;
  padding: 2px 6px; /* 正(p-contact__badge--required)に合わせて左右余白を縮小(旧 0.4em 1.4em) */
  margin-left: 15px; /* 旧 1.6em */
}
.c-btn--light-blue.js-autoAddr{
  min-width: auto;
  min-width: initial;
  padding: .6em 1.6em;
}

/* override google review plugin */
.grw-header-inner{
  background: var(--base-white) !important;
}
