
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
  position: relative;
  background-color: #1a1a1a;
  margin: 0;
  overflow-x: hidden; /* 横揺れ防止 */
    font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;

}
* {
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc {
  display: inline-block;
  @media (width <=740px) {
    display: none;
  }
}
.sp {
  display: none;
  @media (width <=740px) {
    display: block;
  }
}
img {
  max-width: 100%;
  vertical-align: bottom;
}

.page-id-2666 {
  background: url(../img/gwp/gwp_bg.jpg) repeat;
}

.logo_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  @media (width <=740px) {
    flex-direction: column;
  }
}

.container {
  position: relative;
width: 100%;
    max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  @media (width <=1080px) {
    max-width: 840px;
  }
}
.logo_block li {
  margin-bottom: 20px;
}

.hero_bg_main {
  text-align: center;
  position: relative;
}
.hero_bg_main img {
  width: 100%;
}

.hero__top {
  position: relative;
}
.hero__visual-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  max-width: 100%;
  width: 80%;
}
.txt_center {
  text-align: center;
}

.hero__bottom {
  background: #000;
  text-align: center;
  padding: 40px 0;
        @media (width <=768px) {
        padding: 0 0 10px;
        }
}
.hero_text{
    position: absolute;
    left: 20px;
    bottom: 16px;
    font-weight: bold;
    font-size: 17px;
      @media (width <=768px) {
        display: none;
  }
}
.hero_text2 {
  font-size: 13px;
  color: #fff;
  text-align: left;
  padding-left: 20px;
  margin-top: 20px;

}

/* main全体のレイアウト */
.l-main {
  display: flex;
  background-color: #1a1a1a; /* 全体の背景色 */
  width: 100%;
  min-height: 100vh;
overflow-x: hidden;
  background-image: url("../img/gwp/gwp_bg.jpg"); /* 背景テクスチャがある場合 */
  background-repeat: repeat;
  background-size: cover;
}

/* 左右の装飾カラム */
.l-main__side {
  flex: 0 0 100px; /* 装飾エリアの幅（デザインに合わせて調整） */
  position: relative;
  display: flex;
  justify-content: center;
}

/* 縦書きテキストのスタイル */
.side-text-repeat {
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.3); /* 非常に薄い白 */
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  padding-top: 20px;
}

/* 中央のコンテンツエリア */
.l-main__content {
  flex: 1; /* 残りの幅をすべて使用 */
  position: relative;
  z-index: 10;
  padding: 40px 20px 0;
  min-width: 0;
}

/* スマホ表示：左右の装飾を消してコンテンツを全幅にする */
@media (max-width: 768px) {
  .l-main__side {
    display: none;
  }
  .l-main__content {
    padding: 20px 0;
  }
}

.l-main__content {
  max-width: 1500px;
  margin: 50px auto;
  background: rgba(0, 0, 0, 0.5);
  @media (width <=1500px) {
    max-width: 1080px;
  }
}

.movie {
  max-width: 1300px;
  margin: 0 auto;
      @media (width <=768px) {
      padding: 20px;
    }
}

.movie iframe {
  width: 100%;
  /* YouTubeの標準比率 16:9 を指定 */
  aspect-ratio: 16 / 9;
  /* 以前の固定高さを上書き */
  height: auto !important;

  /* デザインを整える（任意） */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* セクション全体 */
.features {
  padding: 60px 0;
  background-color: transparent; /* 背景画像の上に載る想定 */
    @media (width <=768px) {
      padding: 45px 20px 0;
    }
}

/* グリッドレイアウト（PCは横並び） */
.features__grid {
  display: flex;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
}

.features__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left; /* テキストは左寄せ */
  max-width: 30%;
  @media (width <=768px) {
    flex-direction: row;
    gap:20px;
  }
}

/* 2重円のデザイン */
.features__circle {
  width: 240px;
  height: 240px;
  border: 5px solid #fff000; /* 外側の黄色い線 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: transparent;
  @media (width <=768px) {
    width: 120px;
    height: 120px;
      border: 5px solid #fff000; /* 外側の黄色い線 */
      margin: 0;

  }
}

.features__circle-inner {
  width: 100%;
  height: 100%;
  background-color: #4a788a; /* 指定の青色 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
    @media (width <=768px) {
    font-size: 24px;
    }
}

/* 説明テキスト */
.features__text {
  color: #fff;
  font-size: 30px;
      font-weight: bold;  

  line-height: 1.6;
  margin: 0;
  padding: 0 10px;
      @media (width <=768px) {
    font-size: 17px;
    text-align: left;
    padding: 0;
    width: calc(100% - 120px);
    }
}

/* スマホ対応（縦並び） */
@media (max-width: 768px) {
  .features__grid {
    flex-direction: column;
    gap: 10px;
  }

  .features__item {
    max-width: 100%;
    text-align: center; /* スマホでは中央寄せの方が見栄えが良い場合があります */
  }
}

.youtube_bottom_img {
  margin-top: 20px;
  margin-bottom: 140px;
  padding: 0 20px;
}
.youtube_bottom_img img {
  margin-bottom: 40px;
}

.refill {
  background: rgba(14, 0, 0, 0.5);
  padding: 40px 0;
  color: #fff;
}
.refill ._title img {
  width: 100%;
}
.products_list img {
  width: 100%;
  margin-bottom: 60px;
}

.d-flex {
  display: flex;
  justify-content: center;
  gap: 20px;
}
footer .d-flex2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 40px 0 50px;
}

/* ロゴ画像のコンテナ */
.hero__logo-img {
  position: absolute;
  /* ラフの位置を再現（数値はラフに合わせて微調整してください） */
  right: -40%;
  bottom: -12.5vw;
  /* 横幅を可変にします */
  width: 60%;
  max-width: 45%;
  z-index: 110;
   @media (width <=768px) {
     max-width: 100%;
  }
}

/* 中の画像がコンテナに合わせて伸縮するようにする */
.hero__logo-img img {
  width: 100% !important;
  height: auto !important;
}
.hero__inner {
  text-align: center;
  position: relative;
  overflow: hidden; 
    width: 100%;
}

/* スマホ時：位置とサイズの微調整 */
@media (max-width: 1080px) {
  .hero__logo-img {
    right: -5%; /* 端に寄りすぎる場合は調整 */
    bottom: -5%;
    width: 90%; /* スマホでは少し大きく見せる */
    @media (width <=740px) {
      position: unset;
      text-align: center;
      width: 85%;
      margin: 0 0 0 45px;

    }
  }
}

.l-main__side {
  flex: 0 0 120px;
  background-color: transparent; /* 背景画像が必要ならここに指定 */
  overflow: hidden;
}

/* 文字を画像のようにリピートさせる設定 */
.side-text-repeat {
  width: 100px;
  height: 100%; /* 親の高さ（コンテンツの長さ）に合わせる */

  /* 縦書き設定 */
  writing-mode: vertical-rl;
  text-orientation: mixed;

  /* 文字のデザイン */
  font-size: 60px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5em;
  text-align: center;

  /* 無限リピートを実現する背景設定 */
  /* 文字そのものを表示するのではなく、文字を背景に変換します */
  display: flex;
  justify-content: center;

  /* 背景として自分自身のテキストを繰り返すことはできないので、
       確実に文字が欠けないように「長い文字列」を流し込むか、
       以下の「背景パターン」の手法を使います */
}

/* 確実な方法：背景画像（リピート専用）として指定 */
.l-main__side--left,
.l-main__side--right {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="800"><text x="50" y="400" font-family="Arial, sans-serif" font-size="60" font-weight="900" fill="rgba(0,0,0,0.3)" transform="rotate(90, 50, 400)" text-anchor="middle" letter-spacing="10">GWP DIFFUSER</text></svg>');
  background-repeat: repeat-y;
  background-position: center top;
}

.youtube_block h2 {
  @media (width <=740px) {
    max-width: 80%;
    margin: 0 auto;
  }
}

.link_block {
  position: relative;
}

.absolute {
  position: absolute;
  bottom: 2%;
  left: 51%;
  transform: translateX(-30%);
  width: 100%;
    @media (width <=740px) {
      transform: translateX(-40%);
  bottom: -1%;

    }
}
.absolute img {
  width: 530px;
      @media (width <=740px) {
      width: 80%;
        }
}

.shop_link .d-flex {
  @media (width <=740px) {
    flex-direction: column;
    gap: 0;
  }
}
.shop_link .d-flex li{
    text-align: center;
}


footer img {
  @media (width <=740px) {
    width: 80%;
  }
}
.f_right {
  text-align: right;
}

#qa_block {
  max-width: 1500px;
  margin: 50px auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 60px;
  color: #fff;
  @media (width <=740px) {
    flex-direction: column;
    padding: 20px;
  }
}
#qa_block .d-flex {
  display: flex;
  column-gap: 50px;

  @media (width <=740px) {
    flex-direction: column;
  }
}

#qa_block h2 {
  text-align: center;
  background-color: #4a788a; /* カテゴリの背景色 */
  padding: 20px 0;
  border-radius: 10000px;
  line-height: 1;
  font-size: 60px;
  @media (width <=740px) {
    font-size: 24px;
  }
}

.faq__category {
  margin-bottom: 40px;
}

.faq__category-title {
  display: inline-block;
  background-color: #4a788a; /* カテゴリの背景色 */
  padding: 5px 20px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* 2カラムレイアウトの設定 */
.faq__list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px 4%; /* 横の隙間を4%にして調整 */
}

.faq__item {
  margin: 0 0 20px 0;
}

.faq__item dt {
  font-size: 23px;

  color: #fff000; /* 質問の黄色 */
  font-weight: bold;
  margin-bottom: 5px;
  @media (width <=740px) {
    font-size: 18px;
  }
}

.faq__item dd {
  font-size: 23px;
  margin-left: 12px;
  line-height: 1.6;
  color: #fff; /* 回答の白 */
  @media (width <=740px) {
    font-size: 18px;
  }
}
.faq__category p {
  font-size: 23px;
  @media (width <=740px) {
    font-size: 18px;
  }
}

/* 【スマホ対応】768px以下で1カラムに切り替え */
@media (max-width: 768px) {
  .faq__item {
    width: 100%;
  }

  .faq__category-title {
    box-sizing: border-box;
    text-align: center;
  }
}
