@charset "UTF-8";

:root {
  /* --base_color: #fff1d7; */
  --base_color: #cbf863;
  --sub_base_color: #92ce05;
  --accent_color: #f41f14;
}

html {
  scroll-behavior: smooth;
  /* ページ内リンクでスムーズにスクロールする */
}

body {
  font-family: sans-serif;
  letter-spacing: 0.03em;
  background-color: var(--sub_base_color);
}





/* コンテンツエリア */


.content_area {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

main {
  padding-top: 1rem;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
}

/* タイトル */
h1 {
  font-size: 1.7rem;
  position: relative;
  text-align: center;
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  background-color: #ff3700;
  width: fit-content;
  margin: 3rem auto 4rem;
  padding: 5px 25px 8px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

h1::before,
h1::after {
  content: '';
  display: block;
  height: 100%;
  width: 50px;
  background-color: inherit;
  position: absolute;
  top: 15px;
  left: -55px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

h1::after {
  position: absolute;
  left: auto;
  right: -55px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%);
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 2rem 0 2rem 0;
  letter-spacing: 0.08em;
  color: #96043c;
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin: 2rem 0;
}

/* === 日付 =============== */
.top_date p {
  text-align: center;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  text-align: center;
  background-color: #96043c;
  color: #fff;
  letter-spacing: 0.05em;
  font-size: min(3.5vw, 1.1rem);
}

.top_date p em {
  font-style: normal;
  font-size: 1.5em;
  font-weight: bold;
}

.top_date p small {
  font-size: 0.7em;
  margin-left: 5px;
}

.top_date img {
  margin: 0 auto;
  width: 200px;
}


/* === ヘッダー =============== */

header br {
  display: none;
}

header br.br_sp {
  display: inline;
}

/* webガス展2025 */
header .tit_sp {
  display: block;
  width: min(80%, 400px);
  margin: 0 auto;
}

.menu_area .tit_pc {
  display: none;
}


/* フッター */

footer {
  background-color: #fff;
  color: #333;
  padding: 2rem 0 2rem 0;
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
}

footer a {
  color: #333 !important;
}

footer address img {
  width: min(80%, 300px);
  margin: 0 auto;
}

.admin_name {
  font-size: 1.2rem;
  padding: 0 0 1rem 0;
}

.copyright {
  font-size: 0.8rem;
  color: #999;
  padding: 1rem 0;
}


/* ボタン */
a {
  transition: all 0.3s;
}

.more_btn {
  margin: 60px 0;
  text-align: center;
}

.more_btn a {
  display: inline-block;
  padding: 20px 25px;
  line-height: 1;
  color: #fff;
  background-color: #333;
  border-radius: 5px;
}

.more_btn a:hover {
  background-color: #36f;
}

.more_btn a:active {
  background-color: #f30;
}

/* 戻るボタン */

.back_btn {
  margin: 60px 0;
  text-align: center;
}

.back_btn a {
  display: inline-block;
  padding: 20px 25px;
  line-height: 1;
  color: #333;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 5px;
}

.back_btn a:hover {
  background-color: #333;
  color: #fff;
}

.back_btn a:active {
  background-color: #fff;
  color: #333;
}
/* ボタン */
.acnt_btn {
  background-color: var(--accent_color);
  padding: 10px 0;
  display: block;
  border-radius: 50vh;
}

.acnt_btn:link,
.acnt_btn:visited {
  color: #fff;
}

.acnt_btn:hover {
  opacity: 0.8;
}


/* 文字 */

.catch {
  font-size: 1.4rem;
}

.text_center {
  text-align: center;
}

.aka {
  color: #ff0000;
}

/* 表示・非表示 */

.disp_pc {
  display: none;
}

.disp_tb {
  display: none;
}

@media (min-width:600px) {

  .disp_sp {
    display: none;
  }

  .disp_pc {
    display: inline;
  }

  .disp_tb {
    display: block;
  }

}

@media (min-width:992px) {

  .disp_tb {
    display: none;
  }

}


/* === 内部コンテンツ =============== */



/* WEBガス展限定セール */

/* セール枠 */
.sale_content {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  border: 5px solid #308f00;
  overflow: hidden;
}

.sale_content h2 {
  background-color: #308f00;
  color: #fff;
  padding: 5px 0;
  margin: -20px -20px 2rem;
}
/* 特典の枠 */

.sale_content.tokuten {
  border: none;
}
.sale_content.tokuten h2 {
  background-color: transparent;
  color: #96043c;
  border-bottom: #96043c 5px dotted;
  margin: 0 0 2rem;
  padding-top: 0;
}

.sale_tokuten_card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  align-items: center;
  margin-bottom: 3rem;
  
}

.sale_tokuten_card>div {
  flex-basis: 45%;
}

.sale_card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-items: center;
  margin-bottom: 3rem;
  
}



#month12+.sale_card,
#month11+.sale_card {
  grid-template-columns: repeat(1, 1fr);
}

.sale_content .sale_card {
  margin-bottom: 0.5rem;
}

.sale_content>div a {
  border: #333 solid 1px;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}

.sale_content>div a span {
  text-align: center;
  display: block;
  padding: 15px 0;
  font-size: min(3.4vw,1rem)
}

.sale_content>div a span::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: translateY(-2px) rotate(-45deg);
  margin-left: 7px;

}

.sale_content>div a:link,
.sale_content>div a:visited {
  color: #333;
}

.sale_content>div a:hover {
opacity: 0.7;
}



/* カード */
.sale_card>div {
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sale_card {
  width: 100%;
}

.sale_card.special {
  width: 100%;
}

/* ガス機器の種類 */
.sale_card>div h3 {
  font-size: 1.1rem;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0px;
  background-color: #1a4903;
  color: #fff;
  padding: 0 20px;
}
/* 商品説明 */
.sale_card>div>div {
  padding: 10px 15px;
  position: relative;
}
/* 限定台数 */
.sale_card>div>div .quantity {
  position: absolute;
  right: 15px;
  line-height: 1;
  text-align: center;
  background-color: #e50c3f;
  color: #fff;
  width: 60px;
  height: 60px;
  padding-top: 12px;
  top: -30px;
  border-radius: 50%;
  font-size: 0.9rem;
}

.sale_card>div>div .quantity strong {
  font-size: 1.5em;
}

.sale_card .price {
  color: #e50c3f;
  font-weight: bold;
  line-height: 1.2;
}

.sale_card .price strong {
  font-size: 2em;
}
.sale_card .gas_type {
  color: #1a4903;
  width: fit-content;
  border: 2px dotted #1a4903;
  margin: 0;
  padding: 3px 7px;
  margin: auto 15px 15px auto;

}

 /* 売り切れの商品 */
.sale_card>.soldout {
  position: relative;
}

.sale_card>.soldout::after {
  position: absolute;
  content: 'SOLD OUT';
  font-size: 1.5em;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(51, 51, 51, 0.65);
  inset: 0;
}

/* .full_bg {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #f1f1f1;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
} */

.mitsumori_nebiki {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.mitsumori_nebiki.marker span .zeikomi {
  font-size: 0.7em;
}

.mitsumori_nebiki strong {
  color: #333;
  
}

.mitsumori_nebiki.marker span {
  font-size: 1.4rem;
  /* color: #ff0000; */
}

.mitsumori_nebiki.marker span {
  font-size: min(7vw, 2rem);
  color: #f00a0a;
  background: linear-gradient(transparent 60%, #ffff00 60%);
}

.nikuken {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  line-height: 2;
}

.nikuken strong {
  font-size: 2rem;
  
  /* color: #ff0000; */
  background: linear-gradient(transparent 60%, #ffff00 60%);
}

.nikuken strong .price {
  font-size: 2rem;
}

.small {
  font-size: 0.9rem;
}

.nikuken_box img {
  /* width: 250px; */
  margin: 1.5rem auto 0;
}

.saleshohin_main img {
  margin-bottom: 2rem;
}

.saleshohin_main .price {
  color: #f00;
  font-size: 1.4rem;
  font-weight: bold;
}

.saleshohin_main .price span {
  color: #f00;
  font-size: 2rem;
  font-weight: bold;
}

/* 見積依頼ボタン */

.mitsumori_btn {
  margin: 35px 0 10px;
  text-align: center;
}

.mitsumori_btn a {
  display: inline-block!important;
  line-height: 1.4;
  padding: 15px 40px;
  color: #fff!important;
  background-color: var(--accent_color);
  border-radius: 50vh!important;
  font-size: 1.4rem;
  box-shadow: 4px 5px #96043c;
  transition: all 0.3s;
  border: none!important;
}

.mitsumori_btn a:hover {
  box-shadow: 0 0 #96043c;
  transform: translate(3px, 3px);
}

/* その他画像のない商品の一覧 */

.other_sale>div {
  background-color: #fff;
  margin-bottom: 3rem;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.other_sale h2 {
  margin: 0 0 1rem;
  line-height: 1;
  text-align: center;
  
}

.other_sale p {
  text-align: center;
  margin-bottom: 1rem;
}

.other_sale p strong {
  font-size: 1.5rem;
  background: linear-gradient(transparent 50%, #ff0 50%);
  padding: 0 5px 2px;
}

.other_sale a {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  background-color: #96043c;
  padding: 10px 30px;
  border-radius: 50vh;

}

.other_sale a:link,
.other_sale a:visited {
  color: #fff;
}

.other_sale a:hover {
  opacity: 0.8;
}
/* アンケート */
body:has(.enquete_area) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body:has(.enquete_area) footer {
  margin-top: auto;
}
.enquete_area {
  background-color: #fff;
  padding: 20px;
  border-radius: 1.5rem;
  margin-bottom: 4rem;
}

.enquete_area h2 {
  font-family: sans-serif;
  font-weight: 700;
  margin-top: 1rem;
}


.enquete_area textarea {
  border: 1px solid #888;
  width: 100%;
  background-color: #ffd;
  border-radius: 3px;
  padding: 3px 5px;
}

.enquete_area input[type="submit"] {
  background-color: var(--accent_color);
  padding: 20px 45px;
  border-radius: 50vh;
  margin: 2rem auto 0.5rem;
  display: block;
  width: fit-content;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  
}

.enquete_area input[type="submit"]:hover {
  opacity: 0.8;
}

@media (min-width:600px) {


  /* webガス展2025 */
  header .tit_sp {
    display: block;
  }

  .menu_area .tit_pc {
    display: none;
  }

  /* WEBガス展限定セール */

/* セール枠 */
.sale_content {
  padding: 30px;
}

.sale_content h2 {
  padding: 10px 0 13px;
  margin: -30px -30px 2rem;
}

  .sale_tokuten_card {
   flex-wrap: nowrap;
   justify-content: space-between;
  }



  .sale_card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  #month12+.sale_card,
#month11+.sale_card {
  grid-template-columns: repeat(3, 1fr);
}

  .sale_card .frame2 {
    grid-column: span 2;
  }

  .sale_card.colume_2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sale_card.table_conro {
    display: flex;
    justify-content: center;
  }

  .sale_card.table_conro>div {
    flex-basis: 50%;
  }

  /* カード */

  .sale_card>div>div {
  padding: 20px 25px;
}

  .nikuken_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 10px;
    margin: 2rem 0 0;
  }

  .saleshohin_main {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .saleshohin_detail01 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 5fr 7fr;
    margin-bottom: 2rem;
  }

  .saleshohin_detail02 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 7fr 5fr;
    margin-bottom: 2rem;
  }

  /* 順序 */

  .order_1 {
    order: 1;
  }

  .order_2 {
    order: 2;
  }


}

@media (min-width:750px) {

  h1 {
    font-size: 2.4rem;
    margin-bottom: 4rem;
    padding: 8px 45px 11px;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
  }

  h1::before,
h1::after {
  width: 70px;
  top: 15px;
  left: -75px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30px 50%);
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

h1::after {
  position: absolute;
  left: auto;
  right: -75px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 50%, 100% 100%, 0 100%);
}

.nikuken {
  font-size: 1.7rem;
}

.nikuken strong {
  font-size: 2.4rem;
  
  /* color: #ff0000; */
  background: linear-gradient(transparent 60%, #ffff00 60%);
}

  .mitsumori_nebiki.marker span {
    font-size: 2.5rem;
  }

  /* アンケート */
.enquete_area {
  padding: 30px 35px;
}
}

@media (min-width:992px) {


  /* メニューエリア */
  .menu_area {
    position: relative;
    top: 0;
    left: 0;
    background-color: var(--base_color);
    z-index: 999;
  }

  .menu_area .name_area,
  .menu_area .kikan {
    display: none;
  }

  .menu_area .tit_pc {
    display: block;
    transform: translateX(20px);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  }

  /* コンテンツエリア */
  .content_area {
    grid-template-columns: 100%;
  }

  /* その他画像のない商品の一覧 */

  .other_sale {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .other_sale>div {
    padding: 45px 30px;
  }

}

@media (min-width:1025px) {
  .container {
    max-width: 1025px;
    margin: 0 auto;
  }
}

/* デフォルト：モバイルは縦積みで安全に */
.box-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* 少しギャップ縮めて詰まり感↓ */
  flex-wrap: nowrap;
  /* モバイルは縦なので不要だが明示 */
}

.box {
  flex: 1 1 auto;
  max-width: 100%;
  /* 46vw を撤廃：溢れの主因 */
  margin: 0;
  /* 中央寄せ不要 */
}

/* 小さめタブレット：2列OK（溢れない計算幅） */
@media (min-width: 600px) and (max-width: 768px) {
  .block.left .box-group {
    flex-direction: row;
    flex-wrap: wrap;
    /* はみ出す前に折り返す */
    gap: 16px;
  }

  .block.left .box {
    flex: 1 1 calc(50% - 8px);
    /* gap/2ぶん引いてジャスト2列 */
    max-width: calc(50% - 8px);
  }
}

/* PC：左2枚横並び・右は1枚のまま、余白広め */
@media (min-width: 769px) {
  .box-group {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .block.left .box {
    flex: 1 1 0;
    max-width: none;
    /* コンテナ幅に任せる */
  }
}

@media (min-width:1200px) {
  /* === 日付 =============== */

  .top_date p {
    flex-basis: 78%;
  }

  .top_date>div {
    flex-basis: 22%;
  }
}

@media (min-width: 1300px) {

  /* === ヘッダー =============== */
  .menu_area .tit_pc {
    min-width: 280px;
  }
}