@charset "utf-8";


/* ==========================
   Global / Base (SP)
   ========================== */

html, body {
  height: 100%;
  color: var(--txt_black);
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}


img {
    display: block; 
}

/* レイアウトの共通 */
.main { 
    padding-top: 140px; 
}

/* ヘッダー固定分の余白（調整可） */
.container { width: min(86%, 640px); margin-inline: auto; }
.section { padding: 65px 0; }
.sec-title {
  color: var(--blue);
  font-size: 2rem;
  margin: 0 0 18px;
  text-align: center;
  font-weight: 500;
}
.sec-lead {
  font-size: 1.4rem;
  color: var(--txt_black);
  font-family: "Zen Kurenaido";
  width: 90.8%;
  margin: 0 auto;
}

/* 伸び縮みする区切り線（中央寄せ） */
.section-divider{
  width: clamp(80px, 70vw, 520px);
  height: 1px;
  background: var(--orange);
  margin: 130px auto 0;
  border-radius: 2px;
}

/* ==========================
   Hero
   ========================== */
.article { width: min(92%, 640px); margin: 0 auto; text-align: center; }
.title { width: 215px; margin: 0 auto 10px; }
.catch{
  color: var(--blue);
  font-size: 1.4rem;
  letter-spacing: .08em;
  margin-bottom: 14px;
  font-weight: 500;
}

.mainImg02{
  width: min(75%, 360px);
  margin: 10px auto 14px;
}

.subTxt{
  font-size: 1.4rem;
  margin: 0 auto 16px;
  color: var(--txt_black);
  text-align: left; 
  font-family: "Zen Kurenaido";
  padding: 0 6.1% 0;
}

/* ボタン */
.btn-group,
.btn-row { 
  display: flex;
  gap: 3.2%;
  justify-content: center;
  flex-wrap: wrap; 
  margin: 18px 0;
}

.btnsaku, .btnirai, .btnkuwa, .btnsou, .btnsaku02 {
  position: relative;
  display: inline-block;
  font-weight: 400;
  font-size: 1.4rem;
  text-decoration: none;
  transition: transform .1s ease, opacity .2s ease;
}
.btn-primary  { background: var(--blue); color: var(--white); }
.btn-secondary{ background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.btn-submit   { background: var(--blue); color: var(--white); border: 0; }


.btnsaku:hover, .btnirai:hover, .btnkuwa:hover, .btnsou:hover { opacity: .9; transform: translateY(-1px); }

.btnsaku {
  padding: 6px 40px 6px 27px;
}

.btnirai {
  padding: 6px 30px 6px 16px;
}

.btnsaku::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid var(--white);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.btnirai::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid var(--blue);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

@media screen and (min-width: 769px) {
  .article {
    width: 100%;
    text-align: center;
  }

  .meinpc {
    display: flex;
    justify-content: center;
  }

  .pcmoji {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  }

  .title {
    width: 349px;
    margin: 0;
  }

  .mainImg02 {
    width: 390px;
    height: auto;
  }

  .subTxt {
    text-align: center;
    font-size: 1.8rem;
  }

  .btn-group {
    margin: 75px 0;
  }

  .btnsaku {
    padding: 12px 72px 12px 57px;
    font-size: 1.8rem;
  }

  .btnirai {
    padding: 12px 56px 12px 37px;
    font-size: 1.8rem;
  }
  
  .section-divider {
    width: clamp(80px, 50vw, 1800px);
    margin: 140px auto 45px;
  }

  .section { padding: 0; }

  .section-works-teaser {
    padding-top: 50px;  
  }
}



/* ==========================
   Works teaser
   ========================== */
.section-works-teaser .works-teaser-visual{
  width: min(92%, 520px);
  margin: 15px auto 10px;
}

.btnsaku02 {
  padding: 6px 62px 6px 41px;
}

.btnsaku02::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid var(--white);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

@media screen and (min-width: 769px) {
  .btnsaku02 {
    padding: 12px 72px 12px 57px;
    font-size: 1.8rem;
  }

  .btn-row {
    margin-top: 80px;
    margin-bottom: 200px;
  }
}



/* 横スクロールギャラリー全体 */
.scroll-gallery {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  margin-top: 30px;
}

/* 画像を横に並べる部分 */
.scroll-track {
  display: flex;
  gap: 16px;
  animation: scroll-left 40s linear infinite; /* ← ここで速度調整 */
  width: max-content; /* ✅ 重要：中身に応じて幅を自動で確保 */
}


/* 各画像の設定 */
.scroll-track img {
  width: 220px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

/* アニメーション本体 */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* 画像2セット分に合わせる */
}
/* ホバーで停止（任意） */
.scroll-gallery:hover .scroll-track {
  animation-play-state: paused;
}


@media screen and (min-width: 769px) {
  .container{
  width: 100%;
  }

  .sec-title {
    font-size: 3.0rem;
    padding-top: 140px;
  }

  .sec-lead {
    font-size: 1.8rem;
    text-align: center;
  }

  .sponly {
    display: none;
  }

  .scroll-track img {
    width: 280px;
  }

}


/* ==========================
   Services
   ========================== */
.cards-services{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
.service-card{
  display: grid;
  align-items: start;
  padding: 12px 41px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  position: relative;
}
.card-icon img{
  height: auto; 
  position: absolute;
}

.card-title{
  margin: 2px 0 6px;
  font-size: 1.6rem;
  color: var(--blue);
  text-align: center;
}

.card-text{
  font-size: 1.3rem; 
  font-family: "Zen Kurenaido";
}

.pcImg {
  transform: translate(50%, 50%);
  right: 17%;
  width: 21%;
  bottom: 94%;
  max-width: 93px;
}

.punfImg {
  transform: translate(50%, 50%);
  right: 87%;
  width: 24%;
  bottom: 94%;
  max-width: 93px;
}

.illuImg {
  transform: translate(50%, 50%);
  right: 17%;
  width: 23%;
  bottom: 96%;
  max-width: 93px;
}

@media (min-width: 769px) {
  .service-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  /* ← 縦中央寄せ */
    gap: 16px;
    text-align: center;
    padding: 11% 13%;
    min-height: 280px;
  }

  .card-icon img{
    width: 110px;
    height: auto;
    position: static;
  }

  .card-title{
    font-size: 2.4rem;
    color: var(--blue);
  }

  .card-text{
    font-size: 1.8rem;
    line-height: 1.9;
    max-width: 30ch;
  }

  .cards-services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 12px;
  }

  /* もう使わない個別調整は無効化（残っていると崩れる） */
  .pcImg, .punfImg, .illuImg{
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    max-width: none !important;
  }

  .cards {
    padding:0 11.4% ;
  }


}



/* ==========================
   Author
   ========================== */
.section-author .author-wrap{
  margin: 10px auto 0;
}
.author-illust img{ 
    width: 199px;
    margin: 0 auto;
}
.author-name{
  font-weight: 500;
  margin: 26px 0 6px;
  color: var(--blue);
  font-size: 1.8rem;
  text-align: center;
}
.author-bio{
  font-size: 1.4rem; 
  margin: 0 auto;
  font-family: "Zen Kurenaido";
  width: 90.8%;
}

@media (min-width: 769px) {

  .section-author .author-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 36px auto 0;
  }

  .author-name {
    font-size: 2.8rem;
    text-align: start;
    margin: 0 0 20px;
  }

  .author-bio {
    font-size: 1.8rem;
    width: 30vw;
  }

  .author-illust img {
    width: 327px;
    padding-right: 30px;
  }

}

/* ==========================
   Flow & Pricing link section
   ========================== */
.section-flow-pricing .btn-row{
  margin-top: 31px;
}

.btnkuwa {
  padding: 6px 62px 6px 41px;
}

.btnkuwa::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid var(--white);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}


  .pconly {
    display: none;
  }

@media (min-width: 792px) {

  .sec-lead {
    font-size: 1.8rem;
  }

  .pconly {
    display: inline;
  }

  .btnkuwa {
    padding: 12px 72px 12px 57px;
    font-size: 1.8rem;
}


}


/* ==========================
   Contact form
   ========================== */
.section-contact .container{ width: min(92%, 560px); }
.contact-form{
  margin-top: 12px;
  padding: 14px;
}

.form-row{
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label{
  font-size: 1.3rem;
  color: var(--blue);
}

.form-row input,
.form-row select,
.form-row textarea{
  width: 100%;
  padding: 10px 12px;
  font-size: 1.4rem;
  background: var(--white);
}

.priTxt {
  font-size: 1.4rem;
  color: var(--txt_black);
  font-family: "Zen Kurenaido";
  width: 90.8%;
  margin: 39px auto 14px;
}

@media (min-width: 792px) {
  
  .section-contact .container {
    width: min(92%, 828px);
  }

  .form-row label{
    font-size: 1.8rem;
  }

  .form-row input,
  .form-row select,
  .form-row textarea{
    width: 100%;
    padding: 10px 12px;
    font-size: 1.8rem;
  }

  .priTxt {
    font-size: 1.8rem;
    width: 90.8%;
    margin: 39px auto 14px;
    text-align: center;
  }


}


/* ==========================
   プライバシーポリシー同意チェック
   ========================== */
.privacy-check {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.privacy-check__label {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--txt_black);
  cursor: pointer;
  align-items: center;
}

.privacy-check__label input[type="checkbox"] {
  appearance: none; /* ブラウザのデフォルト見た目を無効化 */
  width: 20px;
  height: 20px;
  border: 1px solid var(--blue);
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  background-color: var(--white);
  transition: all 0.2s ease;
}

.privacy-check__label input[type="checkbox"]:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

/* チェックマークを描く */
.privacy-check__label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.privacy-check__label span {
  line-height: 1.4;
  color: var(--blue);
  font-size: 1.6rem;
}




.form-row input::placeholder,
.form-row textarea::placeholder{ color: rgba(0,0,0,.4); }

.form-consent .checkbox{
  display: flex; gap: 8px; align-items: center;
  font-size: .9rem;
}
.form-actions{ 
  margin-top: 34px;
  text-align: center;
}


.btnsou{ 
  padding: 6px 62px 6px 41px;
}

.btnsou::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid var(--white);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}


.recap_css {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.privacy_link {
  color: var(--blue);
  font-family: "Zen Maru Gothic";
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--orange);
}

@media (min-width: 792px) {
  .privacy-check__label span {
    font-size: 2rem;
  }

  .privacy-check__label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 12px;
  }

  .btnsou {
    padding: 12px 72px 12px 57px;
    font-size: 1.8rem;
  }

  .privacy-check__label input[type="checkbox"]:checked::after {
    left: 8px;
    top: 3px;
  }


}