@charset "UTF-8";

body {
  padding-top: 80px; /*headerの高さ*/
}
#header {
  position: absolute; /* または static */
  top: 0;
  left: 0;
  width: 100%;
}
/*メインビジュアル*/
.mainvisual {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top: 100px; /* 下げたい分 */
}

.mainvisual .fade-img {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mainvisual .fade-img li {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fade 8s ease-in-out infinite;
  animation-fill-mode: both;
}

.mainvisual .fade-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.mainvisual .fade-img li:nth-child(1) {
  animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
  animation-delay: 4s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*バナーエリア*/

.banner-service {
    margin-top: 100px;
  }
  
  .banner-service .menu-title {
    margin-bottom: 30px;
    margin-left: 40px;
    font-size: 30px;
    color:  rgb(68, 67, 67);
  }
  
  .banner-service .banner-list {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;   /* ← 外側の余白 */
  }
  
  
  .banner-service .banner-item {
    flex: 1 1 calc(33.333% - 40px);
  }
  
  .banner-service img {
    width: 100%;
    height: auto;
  }
  
  .banner-service .item-description {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
    color:  rgb(68, 67, 67);;
  }  

  /*FVエリア*/
  
  .fv-service {
    margin-top: 100px;
    padding-bottom: 50px;
  }
  
  
  .fv-service .menu-title {
    color:  rgb(68, 67, 67);;
    margin-bottom: 30px;
    margin-left: 40px;
    font-size: 30px;
  }
  .fv-list {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
  }
  
  .fv-item {
    width: 48%;
  }
  
  .fv-service img {
    width: 100%;
    height: auto;
  }
  .fv-item:first-child img {
    width: 85%;        /* ← ここでサイズ調整 */
    margin: 0 auto;    /* 中央寄せ */
    display: block;
  }
  
  .fv-service .item-description {
    color: rgb(68, 67, 67);
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 100px;
  }

  .fv-item:first-child .item-description {
    width: 85%;
    margin: 15px auto 100px;
  }

  


  /*印刷物エリア*/
  
  .printed-matter-service .menu-title {
    margin-bottom: 20px;
    margin-left: 40px;
    font-size: 30px;
    color:  rgb(68, 67, 67);;
  }
   .printed-matter-list {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
  }
  .printed-matter-item {
    width: 48%;
  }

  .printed-matter-item:first-child img {
    width: 85%;        /* ← ここでサイズ調整 */
    margin: 0 auto;    /* 中央寄せ */
    display: block;
  }
  
  
   .printed-matter-service img {
    width: 100%;
    height: auto;
   }
   .printed-matter-service .item-description {
    width: 100%;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 100px;
    text-align: left;
    color:  rgb(68, 67, 67);;
   }

   .printed-matter-item:first-child .item-description {
    width: 85%;
    margin: 15px auto 100px;
  }

   /*料金エリア*/
   .price {
    background-color: #fff7cc;
    width: 100%;
    text-align: center;
    padding: 30px 0;
   }
   .price .plan {
    font-size: 25px;
    margin-bottom: 50px;
    width: 250px;
    background-color: #ffffff;
    padding: 5px;
    margin: 20px auto;
    border-radius: 30px;
   }

   .item-plan {
    position: relative;
    display: flex;
    gap: 100px;
    max-width: 900px;
    margin: 30px auto 60px;
   }
  
  /* 左右 */
  .left-plan,
  .right-plan {
    flex: 1;           
    padding: 30px 40px;
  }
  
  /* 中央ボーダー */
  .item-plan::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 1px;
    background-color: #241601;
    transform: translateX(-50%);
  }
  
   
   /*見出し*/
   .plan-title {
    font-size: 25px;
    margin-bottom: 40px;
   }

   .plan-title span {
    font-size: 14px;
   }

   .plan-item {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 20px;
    column-gap: 30px;
   }
   .plan-item dt {
    text-align: left;
    font-size: 25px;
   }

   .plan-item dd {
    text-align: right;
    font-size: 25px;
   }

   .price .btn {
    max-width: 250px;
  background-color: #fff;
  display: block;
  margin: 70px  auto 50px;
  padding: 8px 12px;
  text-align: center;
  position: relative;
  font-size: 14px;
  color: #241601;
  border: 1px solid #241601;
  border-radius: 15px;
  overflow: hidden;
  z-index: 10;
   }

   /* スライド背景 */
.price .btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  background-color: #241601;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}

/* hover */
.price .btn:hover {
  color: #fff;
  opacity: 1;
}

.price .btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/*フッター*/
#footer {
  background-color: #241601;
  padding: 30px 0 10px;
}
#footer a {
  color: #ffffff;
}
#footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
#footer .menu-list {
  display: flex;
  justify-content: center;
}
#footer .menu-list li {
  font-size: 14px;
  margin: 0 20px;
  position: relative;
}
#footer .menu-list li::after {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #ffffff;
  transform: rotate(30deg);
  position: absolute;
  top: 3px;
  right: -20px;
}
#footer .menu-list li:last-child::after {
  content: none;
}
#footer .copyright {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
}




  /* =====================
   スマホ用（768px以下）
===================== */
@media screen and (max-width: 768px) {

  /* 共通 */
  .menu-title {
    margin-left: 20px;
    font-size: 24px;
  }
  /*ヘッダー*/
  #header {
    position: fixed;
  }

  /*メインビジュアル*/
  .mainvisual {
    margin-top: 0;
    padding-top: 0;
  }

  

  /* -------- バナー -------- */
  .banner-service {
    margin: 150px auto;
  }
  .banner-service .menu-title {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
  }
  .banner-service .menu-title .en {
    font-size: 30px;
  }
  .banner-service .menu-title .ja {
    font-size: 15px;
  }
  .banner-service {
    padding-bottom: 10px;
  }
  
  .banner-service .banner-list {
    flex-direction: column;
    gap: 70px;
    padding: 0 20px;
  }
  .banner-list img {
    width: 60%;
    display: block;
    margin: 0 auto;
  }
  .banner-list .item-description {
    width: 60%;
    margin: 10px auto;
    text-align: left;
  }

  .banner-service .banner-item {
    width: 100%;
  }

  /* -------- FV -------- */
  .fv-service {
    padding-bottom: 60px;
  }
  .fv-service .menu-title {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
  }

  .fv-list {
    flex-direction: column;
    gap: 5px;
    padding: 0 20px;
  }
  .fv-list img {
    width: 80%;
    display: block;
    margin: 0 auto;
  }
  .fv-list .item-description {
    width: 80%;
    margin: 10px auto;
    text-align: left;
  }

  .fv-item {
    width: 100%;
  }

  .fv-item:first-child img,
  .fv-item:first-child .item-description {
    width: 80%;
  }

  .fv-service .item-description {
    margin-bottom: 40px;
  }

  /* -------- 印刷物 -------- */
  .printed-matter-service {
    margin-top: 0;
    padding-bottom: 60px;
  }
  .printed-matter-service .menu-title {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
  }

  .printed-matter-list {
    flex-direction: column;
    gap: 5px;
    padding: 0 20px;
  }

  .printed-matter-item {
    width: 100%;
  }

  .printed-matter-item:first-child img,
  .printed-matter-item:first-child .item-description {
    width: 80%;
  }

  .printed-matter-service .item-description {
    margin-bottom: 40px;
  }

  /* -------- 料金 -------- */
  .price {
    margin-top: 0;
    padding: 40px 20px;
  }

  .price .plan {
    font-size: 18px;
  }

  .item-plan {
    flex-direction: column;
    gap: 60px;
    
  }

  .item-plan::before {
    content: none; /* 中央線を消す */
  }

  .left-plan,
  .right-plan {
    padding: 20px;
  }

  .plan-title {
    font-size: 22px;
  }

  .plan-item {
    padding: 0 40px;
  }
  
  .plan-item dt,
  .plan-item dd {
    margin: 0;
    font-size: 18px;
  }

  #footer {
    padding: 24px 0 16px;
  }

  /* メニューを縦並びに */
  #footer .menu-list {
    flex-direction: column;
    align-items: center;
  }

  #footer .menu-list li {
    font-size: 10px;
    margin: 5px 0;
  }

  /* 区切り線を消す */
  #footer .menu-list li::after {
    content: none;
  }

  /* タップしやすく */
  #footer a {
    display: block;
    padding: 8px 0;
  }

  /* コピーライト */
  #footer .copyright {
    font-size: 11px;
    margin-top: 16px;
    line-height: 1.6;
  }
}