/* 変数定義 */
:root {
  --color-background: #fcfbf9;
  --color-text: #000;
  --color-accent: #4682c3;
  --color-title: #000;
  --color-highlight: #FFF;
  --color-border: #4682c3;

  --font-base-size: 19px;
  
  --content-width: 750px;
  --content-padding: 1.8%;
  --content-padding-2: 6.25%;
  --title-spacing: 35px;
  --subtitle-spacing: 30px;
  --section-spacing: 4%;
  --section-spacing-2: 25px;
}

/* ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "小塚明朝 Pr6N", "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-base-size);
  line-height: 1.6;
  color: var(--color-text);
  overflow-x: hidden;
  background-color: var(--color-background);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

li {
  list-style: none;
}

/* レイアウト */
.product {
  max-width: var(--content-width);
  margin: 0 auto;
  overflow-x: visible;
  padding: 40px 1.5vw 0 1.5vw;
}

/* メインヘッダー */
.product__header {
  margin-bottom: var(--title-spacing);
  padding: 0 7px;
}

.product__header-large {
  padding: 10px 35px 0 35px;
  margin-bottom: 30px;
}

.product__header--fv{
  margin-bottom: 5.5%;
}

.product__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* サブヘッダー */
.product__subheader {
  margin-bottom: var(--subtitle-spacing);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  position: relative;
  padding: 0 7px;
}

/* サブヘッダー h2 width variations */
.h2-width--78 h2 { width: 78%; }
.h2-width--61 h2 { width: 61%; }
.h2-width--50 h2 { width: 50%; }
.h2-width--46 h2 { width: 46%; }

/* サブヘッダー width variations */
.width-extraLarge {
  width: 761px;
  padding: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 丸型申し込みボタンのスタイル */
.product__order-button {
  display: inline-block;
  width: 25vw;
  height: 25vw;
  max-width: 180px;
  max-height: 180px;
  background-color: #4682c3;
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  position: relative;
  border: 1px solid #000;
  box-shadow: 0px 0px 15.73px 1.573px rgba(70, 130, 195, 0.5);
  transition: all 0.3s ease;
}

/* ホバー時のエフェクト */
.product__order-button:hover {
  transform: translateY(-3px);
  background-color: #C2EEFF;
  color: #4682c3;
  border: 2px solid #4682c3;
}

/* ボタン内のコンテンツを中央配置 */
.product__order-button-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: 24px;
}

/* テキストのスタイル */
.product__order-button-content span {
  font-size: 24px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: nowrap;
  max-width: 82%;
  display: inline-block;
}

/* 商品画像 */
.product__image-wrapper {
  margin-bottom: var(--section-spacing-2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 0 6px;
}

.width-large {
  width: 748px;
  padding: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.product__image {
  width: 100%;
}

/* 商品説明文  section */
.product__description {
  margin-bottom: var(--section-spacing);
  padding: 0 var(--content-padding);
}

.product__description--notice {
  padding: 0;
}

.product__description--note {
  padding: 0;
}

/* 商品説明文  block */
.description__block{
  margin-bottom: 2em;
}

.description__block--last {
  margin-bottom: 0;
}

/* 商品説明文  text */
.product__text {
  text-indent: 1em;
  font-weight: 500;
  line-height: 1.4;
  text-align: justify;
  font-feature-settings: "palt";
}
.product__text-1 {
  text-indent: 1em;
  font-weight: 500;
  line-height: 1.5;
  font-size: 19px;
  text-align: justify;
  font-feature-settings: "palt";
}

.product__text--no-indent {
  text-align: left;
  text-indent: 0;
}

.product__text--right {
  text-align: right;
  font-feature-settings: "palt";
  text-indent: 0;
}

/* お申し込みボタン */
.product__order-apply {
  margin-bottom: 30px;
  padding: 0 1%;
}

.product__order-apply a:hover img {
  transform: translateY(-3px);
  filter: brightness(1.6) saturate(1.2) contrast(1);
  transition: filter 0.3s ease;
}

/* マージン Margin variations */
.margin-bottom--0 { margin-bottom: 0;}
.margin-bottom--5 { margin-bottom: 5px;}
.margin-bottom--10 { margin-bottom: 10px; }
.margin-bottom--20 { margin-bottom: 20px; }
.margin-bottom--25 { margin-bottom: 25px; }
.margin-bottom--30 { margin-bottom: 30px; }
.margin-top--25 { margin-top: 25px;}

/* 余白 Padding variations */
.padding--50 { padding: 0 5%; }
.padding--0 { padding: 0;}

/* お客様からの声 表示なし */
.voice {
  display: none;
}

/* メディアクエリ - 768px以下の場合 */
@media screen and (max-width: 768px) {
  :root {
    --font-base-size: 18px;
  }
  
  .product__title-wrapper {
    flex-direction: column;
  }
  
  .product__subheader {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    padding-left: 2%;
  }

  .product__order-button{
    width: 23vw;
    height: 23vw;
  }

  .product__order-button-content{
    line-height: 1;
  }

  .product__order-button-content span {
    font-size: calc(10px + (16 - 10) * ((100vw - 320px) / (768 - 320)));
    line-height: 1.2;
  }

  .product__subheader h2{
    width: 75%;
  }

  .product__image-wrapper {
    margin-bottom: 15px;
    padding: 0 3px;
  }

  .width-large {
    width: 100%;
  }

  .width-extraLarge {
    width: 95%;
  }

  .h2-width--46 h2 { 
    width: 60%;
  }

  .h2-width--78 h2 { 
    width: 100%;
  }

}