@charset "utf-8";
/* リセット */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote {
  margin:0;
  padding:0;
}
h1,h2,h3,h4,h5{font-size:100%;}
ol,ul{list-style:none;}
*, *::before, *::after { box-sizing:border-box; }


html, body {
  height: 100%;
}


html{
  font-size: 62.5%;
}

body {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  background: #fff;
  color: #3d3c3f;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.3rem;
  font-size: 1.5rem;
  font-feature-settings: "palt";
  line-height: 3rem;
  width: 100%;
  overflow-x: hidden;
  font-style: italic;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}


main,
footer {
  scroll-snap-align: start;
}

a { text-decoration: none; color: #3d3c3f; }
a:hover { color: #e01b17; }

h2{
  font-size: 3rem;
  line-height: 6rem;
  font-weight: 900;
}


@media (max-width: 550px) {
  body {
    font-size: 1.2rem;
  }


    h2{
  font-size: 2rem;
  line-height: 4rem;
  }
}


#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.home) {
  scroll-snap-type: none;
}

a.link_line{
  text-decoration: underline;
}


/* --- クーポンボタン：ベース --- */
#coupon-float {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 12px 24px;
    transform-origin: right bottom;
    cursor: pointer;
}

/* --- 通常時 --- */
.coupon-large {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}



/* -----------------------------
ヘッダー
----------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease;
}

.header.fixed {
  background: #fff;
}

.logo {
  position: relative;
  z-index: 2;
  background: #e01b17;
  width: 350px;
  height: 100px;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  display: flex;
  align-items: center;
}
.logo img {
  max-width: 200px;
  margin-left: 40px;
}


@media (max-width: 1000px) {
    .logo  {
      width: 300px;
      height: 80px;
  }

  .logo img {
  max-width: 150px;
  margin-left: 40px;
  }
}


@media (max-width: 650px) {
    .logo  {
      width: 300px;
      height: 60px;
      padding-top: 10px;
  }

  .logo img {
  max-width: 150px;
  margin-left: 40px;
  }
}


@media (max-width: 430px) {
    .logo  {
      width: 250px;
      height: 50px;
      padding-top: 10px;
  }

  .logo img {
  max-width: 130px;
  margin-left: 30px;
  }
}

/* PC用メニュー（1170px以上で表示） */
.menu {
  position: relative;
  z-index: 2; 
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
  background: #fff;
  transition: background 0.3s ease, clip-path 0.3s ease;
}

.header.fixed .menu {
  clip-path: none;
  background: #fff;
}

.menu a {
  margin-left: 30px;
  color: #3d3c3f;
  font-weight: bold;
  font-size: 1.2rem;
}

.menu a:hover{
  color: #e01b17;
}

/* モバイル用メニューとハンバーガーアイコンはPCでは非表示 */
.nav-menu,
.hamburger {
  display: none;
}


/* -----------------------------
1170px以下でのスタイル（モバイル）
----------------------------- */
@media (max-width: 1170px) {
  /* PC用メニューを非表示 */
  .menu {
    display: none;
  }

  /* ハンバーガーアイコンを表示 */
  .hamburger {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 999;
  }

  .hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #3d3c3f;
    transition: all 0.3s;
  }

  /* ハンバーガーメニューがアクティブになった時のスタイル */
  .hamburger.is-active span {
    background-color: #fff; /* アイコンの色を白に変更 */
  }

  .hamburger span:nth-of-type(1) { top: 0; }
  .hamburger span:nth-of-type(2) { top: 11px; }
  .hamburger span:nth-of-type(3) { top: 22px; }

  /* クリック後のスタイル */
  .hamburger.is-active span:nth-of-type(1) {
    top: 11px;
    transform: rotate(45deg);
  }
  .hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger.is-active span:nth-of-type(3) {
    top: 11px;
    transform: rotate(-45deg);
  }

  /* モバイル用メニューを表示 */
  .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: #3d3c3f;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 998;
    display: flex;
  }
  .nav-menu li a {
    color: #fff;
    padding: 15px 0;
    display: block;
    text-align: center;
    font-size: 1.6rem;
  }

  /* マウスオーバー時とクリック時のスタイルを追加 */
  .nav-menu li a:hover,
  .nav-menu li a:active {
    background-color: #e01b17;
  }

  /* メニューが表示された時のスタイル */
  .nav-menu.is-active {
    transform: translateX(0); /* 右からスライドイン */
  }
}




/* -----------------------------
スライダー
----------------------------- */
.slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slick-prev:before, .slick-next:before { content: none !important; }

.slick-prev, .slick-next {
  width: 30px;
  height: 30px;
  background: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  z-index: 10;
}

.slick-prev:hover,
.slick-next:hover {
  background-color: rgba(0, 0, 0, 0.6); 
}


.slick-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}
.slick-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}


@media (max-width: 1000px) {
  /* スライダーの矢印を画面の左右端に配置 */
  .slick-prev {
    left: 20px !important;
  }
  .slick-next {
    right: 20px !important;
  }

  /* 矢印をスライダーの中央に配置し直す */
  .slick-prev, .slick-next {
    top: 40% !important;
    transform: translateY(-40%) !important;
  }
}


@media (max-width: 830px) {
  /* スライダーの矢印を画面の左右端に配置 */
  .slick-prev {
    left: 10px !important;
  }
  .slick-next {
    right: 10px !important;
  }

  /* 矢印をスライダーの中央に配置し直す */
  .slick-prev, .slick-next {
    top: 20% !important;
    transform: translateY(-20%) !important;
  }
}


.slide { position: relative; }
.slider-text {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  text-align: right;
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  z-index: 2;
  line-height: 6rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1000px) {
    .slider-text {
    font-size: 3rem;
    line-height: 5rem;
  }
}

@media (max-width: 700px) {
    .slider-text {
    font-size: 2rem;
    line-height: 4rem;
  }
}


@media (max-width: 480px) {
    .slider-text {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (max-width: 380px) {
    .slider-text {
    font-size: 1.3rem;
    line-height: 2rem;
  }
}

.line {
  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}
.line1 { animation: fadeInUp 1s ease-out 0.2s forwards; }
.line2 { animation: fadeInUp 1s ease-out 0.8s forwards; }
.line3 { animation: fadeInUp 1s ease-out 1.1s forwards; }

.scroll-line {
  opacity: 0;
  transform: translateY(20px);
}

.scroll-section.active .scroll-line {
  animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-section.active .scroll-line1 {
  animation-delay: 0.2s;
}
.scroll-section.active .scroll-line2 {
  animation-delay: 0.5s;
}

.scroll-section.active .scroll-line3 {
  animation-delay: 0.2s;
}
.scroll-section.active .scroll-line4 {
  animation-delay: 0.5s;
}
.scroll-section.active .scroll-line5 {
  animation-delay: 0.2s;
}
.scroll-section.active .scroll-line6 {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9アスペクト比 */
  height: 0;
  overflow: hidden;
  clip-path: inset(0%); 
  transition: clip-path 1.5s ease-out;
  width: 100%;
  margin-top: 50px;
}


.video-wrap iframe,
.video-wrap video.assembly-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* object-fit: cover; を追加 */
  object-fit: cover;
  display: block;
}

.red-section.active .video-wrap {
  clip-path: inset(50%);
}

.red-section.active .video-wrap {
  clip-path: inset(0%);
}

.red-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #3d3c3f;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0px 0px;
  width: 100vw;
}

.red-section .content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 0 20px;
  width: 100%;
}

@media (max-width: 1050px) {
  .red-section .content {
    max-width: 90%;
  }
}


.red-section h2{
  padding-bottom: 30px;
}

.red-section p{
  text-align: left;
}

/* -----------------------------
メイン / スクロールコンテンツ
----------------------------- */
main {
  position: relative;
  z-index: 1;
  width: 100vw;
}

@media (min-width: 831px) {
  .home main {
    margin-top: 100vh;
  }
}


@media (max-width: 830px) {
  .home main {
    margin-top: 50vh; 
  }

}


@media (max-width:550px) {
  .home main {
    margin-top: 40vh; 
  }

}

.bg_white{
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.scroll-bg-text {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  z-index: 20;
}

.scroll-content {
  position: relative;
  z-index: 3;
  padding: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.scroll-section.active .scroll-content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 500px) {
  .scroll-content{
    padding: 0px 50px;
  }

}

.text-and-img{
  display: flex;
  gap:50px;
  padding: 80px 0px;
  max-width: 960px;
  margin: 0 auto;
}

.text-and-img_left{
  flex-basis: 70%;
}

.scroll-bg-text.active .bg-text {
  opacity: 1;
}

.brand-description{
  padding-top: 50px;
}

.photo-wrap {
  width: 100%;
  flex-basis: 30%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.photo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  clip-path: inset(50%);
  transition: clip-path 1.5s ease-out;
}

.photo-wrap.show img {
  clip-path: inset(0%);
}


@media (max-width: 955px) {
    .text-and-img{
      display: block;
      padding: 20px 0px;
    }

    .text-and-img_left{
      width: 100%;
    }

    .text-and-img_left h2{
      text-align: center;
    }

    .photo-wrap{
      flex-basis: 100%;
    }

    .brand-description{
      padding:20px 0px 40px;
    }
}

.black-section {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  transition: background 1s;
  width: 100vw;
}

.black-section.active {
  background: transparent;
}

.mask-container {
  position: relative;
  width: 100vw;
  height: 100%;
  z-index: 10;
}

.mask-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #3d3c3f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 2s ease-out, height 2s ease-out;
  z-index: 1;
}

.black-section.active .mask-bg {
    width: 250vmax;
    height: 250vmax;
}

.section-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  text-align: center;
}

.black-section.active .section-content {
  opacity: 1;
  transform: translateX(0);
}

.features{
  display: flex;
  gap:100px;
  padding: 150px 200px;
}



.features_left{
  width: 50%;
}


.features_left, .features_right {
  width: calc(50% - 20px);
}

.features_left img,.features_right img{
  width: 100%;
  margin-bottom: 50px;
}

.features_right{
  width: 50%;
}

.features h2{
  font-size: 2rem;
  margin-bottom: 30px;
}

.features p{
  text-align: left;
  font-size: 1.6rem;
}

@media (max-width: 1150px) {

  .features{
  display: flex;
  gap:70px;
  padding: 100px;
  }

  .features_left img,.features_right img{
  margin-bottom: 15px;
  }

  .features h2{
  font-size: 1.6rem;
  margin-bottom: 0px;
  }

.features p{
  text-align: left;
  font-size: 1.2rem;
  }

}


@media (max-width: 750px) {
  .features{
    display: block;
    gap:0px;
  }

  .features_left,.features_right{
  width: 100%;
  }


  .features_left, .features_right {
  width: calc(100%);
  }

  .features_left img,.features_right img{
  margin-bottom: 0px;
  }

  .features h2{
  margin: 0px;
  }

.features p{
  margin-bottom: 50px;
  
  }

}


@media (max-width: 500px) {
  .features{
    padding: 50px;
  }
}


/* -----------------------------
商品セクション
----------------------------- */
.products-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #fff;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  margin: 40px auto 0;
  max-width: 960px;
}


@media (max-width: 1050px) {
  .products-container {
    max-width: 90%;
  }
}


@media (max-width: 500px) {
  .products-container {
    gap:50px;
  }
}



.product-item {
  width: calc(33.333% - 20px);
  max-width: 400px;
  text-align: left;
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-item.left-item {
  transform: translateX(-50px);
}

.product-item.right-item {
  transform: translateX(50px);
}

.products-section.active .product-item {
  opacity: 1;
  transform: translateX(0);
}

.product-content {
  flex-grow: 1;
  width: 100%;
  text-align: left;
}

@media (min-width: 768px) {
  .product-item {
    width: calc(33.333% - 20px);
  }
}

@media (min-width: 501px) and (max-width: 767px) {
  .product-item {
    width: calc(50% - 15px); /* 2列表示に */
  }
}

@media (max-width: 500px) {
  .product-item {
    width: 100%; /* 1列表示に */
  }
}

.product-item img{
  width: 100%;
  margin-bottom: 20px;;
}

.product-item h3{
  color: #e01b17;
  font-weight: 900;
  font-size: 1.8rem;
  padding-bottom: 20px;
}

.pa_top{
 margin-top: 30px;
}


@media (max-width: 900px) {
  .pa_top {
    margin-top: 0px;
  }
}

/* -----------------------------
ボタン
----------------------------- */
.btn-detail {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 30px;
  border: 2px solid #e01b17;
  color: #e01b17;
  background-color: transparent;
  font-weight: bold;
  font-size: 1.4rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  
  transform: scale(1);
  opacity: 1;
  
  font-style: normal;
  letter-spacing: normal;
}

.btn-detail:hover {
  background-color: #e01b17;
  color: #fff;
}

.products-section.active .product-item .btn-detail {
  animation: scaleUp 0.8s ease-out 1.2s forwards;
}

@keyframes scaleUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.products-section.active .scroll-line3,
.products-section.active .scroll-line4 {
  animation: fadeInUp 0.8s ease-out forwards;
}


.products-section .scroll-line3,
.products-section .scroll-line4 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
}


@media (max-width: 1050px) {
  .products-section .scroll-line3,
  .products-section .scroll-line4 {
    max-width: 90%;
  }
}

.products-section .scroll-line3{
text-align: center;
}

.products-section .scroll-line4 {
  text-align: left;
}


/* -----------------------------
コンタクトセクション
----------------------------- */
.contact-section {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 0;
    width: 100%;
    background-color: #fff;
}

.contact-section .contact_txt,
.contact-section .contact_btn {
    color: #3d3c3f;
    transition: color 0.5s ease;
}

.contact-section.active .contact_txt,
.contact-section.active .contact_btn {
    color: #fff;
}

/* 赤い背景マスク */
.contact-section .mask-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: url(../images/bg-red.png) center/cover no-repeat;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 2s ease-out, height 2s ease-out;
    z-index: 1;
}

.contact-section.active .mask-bg {
    width: max(150vw, 150vh);
    height: max(150vw, 150vh);
}

/* コンテンツ部分 */
.contact-section .contact-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 1.5s, transform 0.8s ease-out 1.5s;
}

.contact-section.active .contact-content {
    opacity: 1;
    transform: translateY(0);
}

/* 内部レイアウト */
.contact-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
  .contact-inner{
    max-width: 800px;
  }

}


@media (max-width: 900px) {
  .contact-inner{
    display: block;
    max-width:90%;
    margin: 0 auto;
  }

  .contact-inner h2{
    text-align: center;
    padding-bottom: 30px;
  }

}

.contact_txt {
    flex-basis: 60%;
    text-align: left;
    padding-right: 50px;
}

.contact_btn-wrap {
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


@media (max-width: 900px) {
  .contact_txt {
    padding-right: 0px;
    padding-bottom: 20px;
  }

  .contact_btn-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    align-items:center;
    padding-top: 20px;
  }

}

.contact_btn {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ボタン */
.contact_btn .btn-detail {
    font-style: normal;
    letter-spacing: normal;
    width: 300px;
    text-align: center;
    position: relative;
    padding: 10px 30px;
    border: 2px solid;
    color: #3d3c3f;
    background-color: transparent;
    transition: all 0.3s ease;
}

.contact-section.active .contact_btn .btn-detail {
    border: 2px solid;
    color: #fff;
}

.contact-section.active .contact_btn .btn-detail:hover {
    background-color: #fff;
    color: #e01b17;
}

/* ボタンの矢印 */
.contact-btn-arrow::after {
    content: "→";
    font-size: 1.8rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

.contact-btn-arrow:hover::after {
    transform: translate(5px, -50%);
}



/* -----------------------------
 会社概要
----------------------------- */

.content_inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 0px;
}




.company-profile{
  background-color: #f3f3f3;
  padding: 30px 0px;
}

@media (max-width: 1050px) {
  .content_inner {
    max-width: 90%;
  }

  .company-profile{
    margin: 0px 20px;
}

} 

.profile_inner {
  display: flex;
  justify-content: space-between;
  margin: 0px 40px;
  padding: 20px 0;
  
}

@media (max-width: 470px) {
  .profile_inner{
    display: block;
  }
}

.profile_inner:not(:last-child) {
  border-bottom: 1px dotted #dfdfdf;
}

.profile_title {
  font-weight: bold;
  width: 30%;
  text-align: left;
}

.profile_text{
  width: 70%;
  text-align: left;
  font-weight: normal;
}


@media (max-width: 470px) {
  .profile_title {
  width: 100%;
}

.profile_text{
  width: 100%;
}
}

.profile_text ul li{
  padding-bottom: 10px;
}

.profile_text ul li a{
  text-decoration: underline;
}

.font-bold {
  font-weight: 800;
}


.content_inner h2 {
  text-align: center;
  padding-bottom: 30px;
}

/* 会社概要のタイトルアニメーション */
.scroll-section.active .scroll-line {
  animation: fadeInUp 0.8s ease-out forwards;
}


.list-arrow {
  position: relative;
  padding-left: 1.5em;
}

.list-arrow::before {
  content: "▶"; /* 三角の矢印 */
  position: absolute;
  left: 0;
  top: 0%;
  transform: none;
  color: #3d3c3f;
  font-size: 1rem;
}


/* -----------------------------
 フッター
----------------------------- */
footer {
  background-color:#3d3c3f;
  position: relative;
  z-index: 11;
  color: #fff;
  text-align: center;
  padding: 10px 0px;
  font-weight: 600;
}


/* --- モーダル全体の背景 --- */

#coupon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}



/* -----------------------------
スクロール後：右下ボタン
----------------------------- */

.coupon-small {
    transform: scale(0.75);
    bottom: 15px;
    right: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.coupon-small:hover {
    opacity: 1;
    transform: scale(0.8);
}

.coupon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.coupon-icon {
    display: inline-block;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.coupon-text {
    font-size: 1.2rem;
    font-style: normal;
    letter-spacing: 0.1rem;
}

#coupon-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    margin-left: 15px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

#coupon-close:hover { color: #fff; }





/* --- モーダルウィンドウ --- */
.modal-window {
    position: relative;
    background: #fff;
    color: #000;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    font-style: normal;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-window h3 { font-size: 2.4rem; letter-spacing: 0.5rem; margin-bottom: 10px; }
.modal-sub { font-size: 1.3rem; margin-bottom: 30px; color: #666; }
.modal-sub span{color: #e01b17;; font-weight: bold;}

/* --- コード表示部分 --- */
.code-box {
    background: #f4f4f4;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed #ccc;
}
.platform { font-weight: bold; font-size: 1.4rem; }
.code { font-family: 'Courier New', monospace; font-size: 2rem; font-weight: bold; color: #000; }
.copy-btn { background: #000; color: #fff; border: none; padding: 5px 10px; cursor: pointer; font-size: 1rem; }

.modal-note { font-size: 1.1rem; color: #888; margin-top: 20px; line-height: 1.8rem; }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 30px; border: none; background: none; cursor: pointer; }

.btn-to-shop {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}


@media (max-width: 700px) {

    #coupon-float {
        padding: 10px 18px;
        bottom: 15px;
        right: 15px;
        width: auto !important;
        display: flex;
        align-items: center;
    }
    
    .coupon-text {
        font-size: 1.1rem;
        letter-spacing: 0.05rem;
        white-space: nowrap;
    }

    .coupon-icon {
        width: auto !important; 
        height: auto !important;
        
        font-size: 1.2rem;
        margin-right: 8px;
        padding: 2px 6px;
        color: #fff;
        border-radius: 3px;
        
        flex-shrink: 0;
    }

    .modal-window {
       width: 92%;
       padding: 30px 20px;
      }

    .modal-window h3 {
        font-size: 1.8rem;
        letter-spacing: 0.2rem;
    }

    .modal-sub {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }




    .coupon-content {
        flex-wrap: nowrap;
    }

    .code-box {
      padding: 10px;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .platform {
        font-size: 1.1rem;
    }

    .code {
        font-size: 1.6rem;
    }

    .copy-btn {
        width: 100%;
        padding: 8px;
    }

    .btn-to-shop {
        width: 100%;
        font-size: 1.2rem;
        padding: 12px;
    }
}



@media (max-width: 380px) {
    .coupon-icon {
        display: none;
    }
}


.usage-guide {
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}
.guide-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
}
.usage-guide ol {
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}
.usage-guide li {
    margin-bottom: 8px;
}
.usage-guide strong {
    color: #e01b17;
}