/* CSS Document */
/* ホームページ制作トップ */

:root {
  --color-orange: #EDA200;
  --color-blue: #0F94D4;
  --color-green: #06AA49;
}

.web-top-bg{
  background-color: #0F94D4;
  padding-top: 5rem;
}
.trouble-bg{
  background-color: #FFFDE6;
}
.web-text{
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.4rem, 2.8vw, 3rem);
  font-weight: bold;
  margin-bottom: 1.8rem;
  color: #fff;
  line-height: 2;
}
@media only screen and (max-width: 575px){
  .web-text{
    text-align: center;
    margin-bottom: 5rem;}
  }

.web-top-row{
  align-items: center;
  margin-top: 5rem;
}
.trouble-wrap {
  max-width: 55%;
  margin: 0 auto 5px;
}
.web {
  margin-bottom: 5rem;
  padding-top: 8rem;
}
.web-trouble-row {
  padding-bottom: 5rem;
}
.trouble-item p {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.5rem, 1.5vw, 1.8rem);
  font-weight: bold;
  text-align: left;
  margin-bottom: 0rem;
  text-align: justify;
  line-height: 1.5;
}
.trouble-item-bg {
  background-color: #FFF3B5;
  border-radius: 30px;
  padding: 2rem 2rem;
  margin: 4rem;
}
@media only screen and (max-width: 991px) {
  .trouble-item-bg {
    margin: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .trouble-item p {
  font-size: clamp(1.4rem, 1.5vw, 1.8rem);
  }
}

/* PC用ボタン：左寄せ（デフォルト） */
.web-buttons-pc {
  margin-top: 4.5rem;
}
.web-buttons-pc .web-btn {
  margin-left: 0;
  margin-right: auto;
}
/* SP用ボタン：中央寄せ */
.web-buttons-sp {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 3rem;
}
.web-buttons-sp .web-btn {
  margin: 0 auto;
}


/* ウェブセールス欄 */
.web-sales-bg {
  background-color: #0F94D4;
  padding: 5rem 0;
  text-align: center;
}
#web-sales h4 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 2.5vw, 2.5rem);
  font-weight: bold;
  color: #fff;
  line-height: 2;
}
.web-sales-arrow {
  text-align: center;
  line-height: 0; 
  background-color: #B8E8FF;
}
.web-sales-arrow img {
  display: block;
  margin: 0 auto; 
}



/* 選ばれる３つのポイント */
.point-bg {
  background-color: #B8E8FF;
  padding-bottom: 10rem;
}
.point-icon-wrap {
  width: 100%;
  height: clamp(280px, 30vw, 426px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.point-icon {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;     
}
.point-item {
  padding-left: 4.3rem;
  padding-right: 4.3rem;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  margin-bottom: 7rem;
}
.point-item-bg {
  background-color: #fff;
  border-radius: 30px;
  padding: 7rem 3rem;
}
.point-head {
  min-height: clamp(373px, 40vw, 520px);
}
.point-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.point-number {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(4rem, 4.4vw, 5rem);
  font-weight: bold;
  margin-bottom: 0rem;
  color: #B8E8FF;
  line-height: 1;
}
.point-title{
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 2.3vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 0rem;
  line-height: 1.5;
}
.point-bold {
  color: #0F94D4;
}
.point-item-row {
  align-items: center;
}
.point-text{
  padding-top: 1.5rem;
  text-align: justify;
}
@media (max-width: 767px) {
  .point-grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 480px) {
.point-item-bg {
  padding: 2rem 0rem;
  padding-bottom: 5rem;
}
}


/* できること一覧欄 */
.service-list-bg {
  background-color: #0F94D4;
  padding-bottom: 8rem;
}
.service-list-text {
  color: #fff;
  margin-bottom: 5rem;
}
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;   /* ← 横幅を制御 */
  margin: 0 auto;      /* ← 中央寄せ */
  padding: 0 16px;     /* ← 画面端の余白保険（スマホ） */
}
@media (max-width: 767px) {
.card-list {
  grid-template-columns: repeat(2, 1fr);
}
}

.card-item {
  text-align: center;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card-box {
  height: 200px; /* カードの高さを固定 */
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 480px) {
.card-list {
  gap: 11px;
}
.card-item {
  padding: 15px;
}}
@media only screen and (max-width: 991px) {
.card-box {
  height: 130px; /* カードの高さを固定 */
}
}

.card-box img {
  max-width: 100%;
  max-height: 100%;
}

.card-text {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin-top: 12px;
  font-weight: 600;
  color: #222;
  line-height: 1.5;
}

/* 他社との違い欄 */
.difference-bg{
  background-color: #fff;
  margin-bottom: 7rem;
}
.difference-row {
  align-items: center;
  margin-bottom: 9rem;
}
.difference-row dt {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 2vw, 2.3rem);
  font-weight: bold;
  margin-bottom: 1.8rem;
}
.difference-row dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.5rem, 1.8vw, 1.7rem);
  text-align: justify;
  line-height: 1.8;
  color: #231815;
}
@media only screen and (max-width: 767px){
  .difference-icon{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .difference-row dt {
    margin-top: 3rem;
  }
}

/* 制作実績欄 */
.work-bg {
  background-color: #FFFDE6;
}

/* お客様の声欄 */
.review-bg {
  background-color: #0F94D4;
  padding-bottom: 5rem;
}
.review-card-bg {
  background-color: #fff;
  border-radius: 30px;
  padding: 5rem 5rem;
  margin-bottom: 4rem;
}
.review-text dt {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 2vw, 2.3rem);
  font-weight: bold;
  color: #1C0B4E;
  margin-bottom: 1.5rem;
}
.review-text dd {
  text-align: justify;
  line-height: 2.2;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.review-row span {
  display: block;
}
.review-row {
  align-items: center;
}
@media only screen and (max-width: 767px){
  .review-photo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .review-text {
    margin-top: 3rem;
  }
}

/* 制作の流れ */
.flow-bg {
  background-color: #B8E8FF;
  padding-bottom: 5rem;
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.flow-item {
  text-align: center;
  margin-bottom: 5rem;
}

.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  margin-bottom: 8px;

  background-color: #1aa0d8;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-align: left;
  color: #1b2a4e;
}
@media only screen and (max-width: 991px) {
.flow-title {
  font-size: clamp(1.8rem, 2vw, 1.8rem);
}}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.flow-image {
  height: 140px;           
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.flow-space {
  margin-top: 6rem;
  padding-bottom: 3rem;
}
@media screen and (max-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .flow-list {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 0 16px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .flow-item {
    flex: 0 0 68%;
    margin-bottom: 0;
    position: relative;
  }
  .flow-item:not(:last-child)::after {
    content: "\f138"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 28px; 
    color: #1aa0d8;

    pointer-events: none;
  }}



/* 料金プラン */
.plan-bg {
  background-color: #fff;
  margin-bottom: 5rem;
}

.pricing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
  font-family: sans-serif;
}

.price {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
}

/* ===== PCテーブル ===== */
.pricing-table {
 padding-top: 8rem;
}
.pricing-table table {
  width: 100%;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 16px;
  text-align: center;
}
@media only screen and (max-width: 991px) {
.pricing-table th,
.pricing-table td {
  padding: 13px;
}
}
  .pricing-table th {
  background: #f5f7fa;
  font-weight: bold;
}


.plan-name {
  color: #fff;
}

.pricing-table .head-template {
  background-color: var(--color-orange);
  border: none;
}

.pricing-table .head-original {
  background-color: var(--color-blue);
  border: none;
}

.pricing-table .head-studio {
  background-color: var(--color-green);
  border: none;
}


.pricing-table .head-label {
  background: #f5f7fa;
}
.pricing-table thead th:not(.head-label),
.pricing-table tbody td {
  width: 25%;
}

.pricing-table tbody th {
  width: 25%;
}

.plan-name-row th {
  border-bottom: none;
}

.plan-name {
  color: #fff;
  font-weight: bold;
  padding: 18px 12px;
  border-radius: 16px 16px 0 0;

  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}
.check-bold {
  font-weight: 700;
}


.head-template {
  background-color: var(--color-orange);
}
.head-original {
  background-color: var(--color-blue);
}

.head-studio {
  background-color: var(--color-green);
}
.plan-price-row th {
  background: #fff;
  border-top: none;
}

.plan-price {
  background: #fff;
  padding: 20px 12px;
}

.price-main {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
  font-weight: bold;

}


.price-sub {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: #666;
  font-weight: 500;
}
.plan-white {
  background: #fff!important;
  border: none!important;
}
.pricing-table tbody td:nth-child(3),
.pricing-table tbody th:nth-child(3) {
  background-color: #E8F8FF;
}
.pricing-table tbody tr:last-child td {
  text-align: left;
}
.is-recommended {
  position: relative;
}
.recommend-badge {
  position: absolute;
  top: -54px;        
  left: 50%;
  transform: translateX(-50%);
  width: 145px;        
  z-index: 5;
}
.recommend-badge img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== SP料金表 ===== */
.price-card {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}
.template {
  border: 2px solid  var(--color-orange);
}
.original {
  border: 2px solid var(--color-blue);
}
.studio {
  border: 2px solid var(--color-green);
}

.plan-sp {
  display: block;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.price-sp {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0rem;
}
.month-sp {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}


.price-head {
  text-align: center;
  cursor: pointer;
}

.price-head .price {
  font-size: 28px;
  font-weight: bold;
}


.price-body {
  background: #fff;
  padding: 16px;
  display: none;
}


.price-card.open .price-body {
  display: block;
}

/* 開くテキスト */
.open-text {
  font-size: 14px;
  color: #333333;
  opacity: 0.9;
  display: block;
  background-color: #E9EBEB;
  margin: 0;
  padding: 0.5rem;
  font-weight: 500;
}

.price-card.open .open-text {
  display: none;
}

/* 閉じるバー */
.close-bar {
  margin-top: 12px;
  padding: 0.5rem;
  text-align: center;
  background: #E9EBEB;
  cursor: pointer;
  font-size: 14px;
  color: #333333;
  font-weight: 500;
}
.price-icon {
  color: #333333;
  flex-shrink: 0;
  margin-left: 0.5rem;
}


.price-card:not(.open) .close-bar {
  display: none;
}
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6em; 
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* プラン別カラー定義 */
.template .check-list .ok::before { content: "〇"; color: var(--color-orange); }
.original .check-list .ok::before { content: "〇"; color: var(--color-blue); }
.studio .check-list .ok::before { content: "〇"; color: var(--color-green); }

.check-list .ng::before { content: "×"; color: #ABAEAD; }
.check-list .pending::before { content: "△"; color: #ABAEAD; }

.pricing-table td.price-template,
.price-main.price-template,
.price-sp.price-template,
.template .price { color: var(--color-orange); }

.pricing-table td.price-original,
.price-main.price-original,
.price-sp.price-original,
.original .price { color: var(--color-blue); }

.pricing-table td.price-studio,
.price-main.price-studio,
.price-sp.price-studio,
.studio .price { color: var(--color-green); }

.pricing-table td.price-template,
.pricing-table td.price-original,
.pricing-table td.price-studio { font-weight: bold; }

.price-bold {
  font-weight: 700;
}

/* スマホ版オリジナルプラン：バッジを枠内右上に配置 */
.sp-only .price-card.original.is-recommended {
  position: relative;
}

.sp-only .price-card.original.is-recommended .recommend-badge {
  position: absolute;
  top: 0%;
 left: 92%;
  z-index: 10;
}

.sp-only .price-card.original.is-recommended .recommend-badge img {
  width: 80px;
  height: auto;
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}
@media screen and (max-width: 480px) {
.sp-only .price-card.original.is-recommended .recommend-badge {
 left: 104%;
}
.sp-only .price-card.original.is-recommended .recommend-badge img {
  width: 50px;
  height: auto;
}
}
  
  

  /* オプション一覧 */
.option-text h4 {
  font-size: clamp(2.5rem, 2.8vw + 1rem, 3.2rem);
  font-weight: 600;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  color: #02144C;
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 9rem;
}

.option-text p {
  text-align: center;
  margin-bottom: 5rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media screen and (max-width: 480px) {
.option-grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}}


.option-item {
  background: #fffbe6;
  border-radius: 30px;
  padding: 55px 36px;
  display: grid;
  grid-template-rows: 96px auto 1fr;
  text-align: center;
}
@media (max-width: 767px) {
  .option-item {
     padding: 55px 25px;
  }
}
@media screen and (max-width: 480px) {
  .option-item {
     padding: 29px 25px;
  }
}

.option-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-icon {
  max-height: 80px;
  width: auto;
  margin: 0 auto 28px;
}

.option-item-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 2.3vw, 2rem);
  font-weight: bold;
  margin-bottom: 28px;
  color: #003366;
}

.option-item-text {
  text-align: left;
  text-align: justify;
  line-height: 1.8;
}


/* よくある質問欄 */
.faq-bg {
  background-color: #B8E8FF;
  padding-bottom: 7rem;
}
.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 5px 40px;
}
@media (max-width: 767px) {
  .faq-item {
     padding: 0px 40px;
  }
}
@media screen and (max-width: 480px) {
  .faq-item {
     padding: 0px 15px;
  }}
.faq-item[open] {
  border-radius: 15px;
}

.faq-question {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.7rem, 2vw, 1.8rem);
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #02144C;
  padding: 13px 0;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 14px;
  border-radius: 50%;
  background: #109DE0;
  color: #fff;
  font-weight: bold;
  flex-shrink: 0;
}
.faq-question-text {
  flex: 1;
  text-align: left;
}
.faq-question {
  gap: 16px;
}
@media screen and (max-width: 480px) {
.faq-question {
  gap: 5px;
  line-height: 1.5;
}}


.faq-icon {
  color: #1aa7ec;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 19px 0 8px 62px;
  color: #333;
  line-height: 1.8;
  position: relative;
}
@media screen and (max-width: 480px) {
.faq-answer {
  padding: 19px 20px 8px 52px;
}}

.faq-answer::before {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  content: "A";
  position: absolute;
  left: 0;
  top: 21px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #109DE0;
  border: 2px solid #109DE0;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

