/* CSS Document */
/* デザイン制作トップ */

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

.character_input-top-bg{
  background-color: #0F94D4;
  padding-top: 5rem;
}
.trouble-bg{
  background-color: #FFFDE6;
}
.character_input-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){
  .character_input-text{
    text-align: center;
    margin-bottom: 5rem;}
  }

.character_input-top-row{
  align-items: center;
  margin-top: 5rem;
}
.trouble-wrap {
  max-width: 55%;
  margin: 0 auto 5px;
}
.character_input {
  margin-bottom: 5rem;
  padding-top: 8rem;
}
.character_input-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用ボタン：左寄せ（デフォルト） */
.character_input-buttons-pc {
  margin-top: 4.5rem;
}
.character_input-buttons-pc .character_input-btn {
  margin-left: 0;
  margin-right: auto;
}
/* SP用ボタン：中央寄せ */
.character_input-buttons-sp {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 3rem;
}
.character_input-buttons-sp .character_input-btn {
  margin: 0 auto;
}


/* デザインセールス欄 */
.character_input-sales-bg {
  background-color: #0F94D4;
  padding: 5rem 0;
  text-align: center;
}
#character_input-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;
}
.character_input-sales-arrow {
  text-align: center;
  line-height: 0; 
  background-color: #B8E8FF;
}
.character_input-sales-arrow img {
  display: block;
  margin: 0 auto; 
}



/* 選ばれる4つのポイント */
.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;
}
.attention{
  font-size: 1.3rem;
}
@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: #FFFDE6;
  padding-bottom: 5rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 370px));
  gap: 90px;
  justify-content: center;
  margin-top: 5rem;
}
@media (max-width: 900px) {
  .plan-grid {
    gap: 35px;
  }
}
@media (max-width: 767px) {
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.plan-item {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  margin-bottom: 0rem;
  text-align: center;
  background-color: #fff;
}
.plan-head {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: block;
}
.plan-blue {
  background-color: var(--color-blue);
}
.plan-orange {
  background-color: var(--color-orange);
}
.plan-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 4px 6px 9px rgba(0, 0, 0, 0.3);
}
.plan-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 2.2vw, 2.5rem);
  font-weight: bold;
  color: #fff;
  margin-bottom: 0rem;
}
.plan-text{
  margin: 1rem 0 0.4rem;
  line-height: 1.5;
}
.plan-price {
  font-size: clamp(1.6rem, 2vw, 2.3rem);
  font-weight: bold;
  margin-top: 0;
}
.price-blue {
  color: var(--color-blue);
}
.price-orange {
  color: var(--color-orange);
}
.plan-bold {
  font-size: clamp(4.5rem, 5vw, 5rem);
}
.plan-price-color{
  color: #333;
}

.plan-option 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: 6rem;
  margin-top: 13rem;
}
.plan-space {
  margin-top: 15rem;
  padding-bottom: 3rem;
}

/* よくある質問欄 */
.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;
}

