/* ここから*/
html {
  font-size: 10px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: #212121;
  background-color: #fff;
  overflow-x: hidden; /* 背景パーツのはみ出し防止 */
  background-size: 100px auto;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
}

.container_l {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container_m {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.container_page {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.p-large {
  padding-top: clamp(70px, 6.25vw + 40px, 100px) !important;
}
.p-large-bottom {
  padding-bottom: clamp(70px, 12.5vw, 120px) !important;
}
.m-large {
  margin-top: clamp(70px, 6.25vw + 40px, 100px) !important;
}
.m-mid {
  margin-top: clamp(40px, 6.25vw, 60px) !important;
}
#bg-touka {
  background-color: transparent;
}

#jost_font {
  font-family: "Jost", sans-serif;
}
.fast_pink::first-letter {
  color: #ec2186;
}
h2 {
  font-size: 2.4rem;
}
h3 {
  font-size: 1.8rem;
}
.parallax-section {
  background-image: url("/wp-content/themes/k/assets/images/common/sec-bg-n-2.svg"), url("/wp-content/themes/k/assets/images/common/g-bg.png");
  /* 背景画像を固定する魔法の1行 */
  background-attachment: fixed;
  background-position:
    center center,
    top left;
  background-size:
    cover,
    100px 100px;
  background-repeat: no-repeat, repeat;
}
/* 1200以下のパララックス(仮)の設定 */
.sub-parallax-section {
  background-image: url("/wp-content/themes/k/assets/images/common/sec-bg-para-new.svg"), url("/wp-content/themes/k/assets/images/common/g-bg.png");
  /* 背景画像を固定する魔法の1行 */
  background-attachment: fixed;
  background-position:
    center center,
    top left;
  background-size:
    cover,
    100px 100px;
  background-repeat: no-repeat, repeat;
}

/* パンくずリスト */
.breadcrumb {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返せるように */
  list-style: none;
  padding: 15px 5%;
  margin: 0 auto;
  font-size: 1.4rem;
  color: #999;
  background: url("/wp-content/themes/k/assets/images/common/g-bg.png");
  background-size: 100px auto;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #999;
}
.breadcrumb li + li::before {
  content: ">";
  margin: 0 12px;
  color: #ccc;
}
.breadcrumb li a {
  color: #999; /* テーマカラーに合わせて変更してください */
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb li a:hover {
  color: #005177;
}
.breadcrumb li span[itemprop="name"]:last-child {
  font-weight: bold;
  color: #999;
}
/* 上後で見直す */
.sub_ttl {
  font-size: 2.4rem;
}
#front h3 {
  font-size: 2.4rem;
  font-weight: 500;
}
.pink-btn {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.6rem;
  border-radius: 0px;
  width: 200px;
  height: 60px;
  border: 3px solid #212121;
  transition: 0.3s;
  box-shadow: 5px 5px 0px 0px rgba(236, 33, 134, 1);
  background-color: #ec2186;
}
.pink-btn a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  line-height: 60px;
}
.pink-btn:hover {
  box-shadow: 0 0 #333;
  color: #212121;
  background-color: #fff;
}
.pink-btn a:hover {
  color: #212121;
}
/* header */
.header {
  width: 100%;
  height: 10rem;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
}
.header_logo {
  width: 6.4rem;
  height: 6.8rem;
  margin-top: 2rem;
}
.header_nav {
  width: 53.9rem;
  height: 5.3rem;
  background: #fff;
  border: 0.25rem solid #212121;
  border-radius: 6.8rem;
  margin-top: 3rem;
  font-size: 1.6rem;
}
.header_nav a {
  color: #212121;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}
.header_nav a:hover {
  transform: scale(1.1);
}
.header_nav ul {
  display: flex;
  justify-content: center;
}
.header_nav li {
  list-style: none;
  line-height: 5.3rem;
  margin-right: 1.6rem;
}
.header_nav li:last-child {
  margin-right: 0;
}
.header_nav li:not(:last-child)::after {
  content: "/";
  margin-left: 1.6rem;
  color: #212121;
}

/* page */
.sub_mv {
  /* 手前にくる画像を先に、背景パターンを後に書く */
  /* パスが css フォルダからの相対パスなら ../ をつける */
  background-image: url("/wp-content/themes/k/assets/images/common/sub_mv_right.png"), url("/wp-content/themes/k/assets/images/common/g-bg.png");
  /* repeatの設定も画像順に合わせる */
  background-repeat: no-repeat, repeat;

  /* 位置の設定も画像順に合わせる */
  background-position:
    right 2rem top 2rem,
    /* pngの位置 */ top left; /* svgの位置 */

  /* サイズの設定も画像順に合わせる */
  background-size:
    200px auto,
    /* pngのサイズ */ 100px 100px; /* svgのサイズ */

  width: 100%;
  height: 245px;
  margin-top: -10rem; /* メインMVの場合マージンマイナスにしてパディングで調整するとうまくはまる */
  padding-top: 10rem;
  box-sizing: border-box;
}
.sub_mv-content {
  width: 100%;
  padding: 0 5%;
}
.sub_main_title {
  font-family: "Jost", sans-serif;
  font-size: 8rem;
  font-weight: 700;
  color: #212121;
}
.sub_main_title::first-letter {
  color: #ec2186;
}
.sub_mv p.sub-title {
  font-size: 2.4rem;
  font-weight: 500;
  color: #212121;
  margin-top: -2rem;
}
/* #sub_sub の「直下にある」グループブロックだけを透明にする */
#sub_sub > .wp-block-group {
  background-color: transparent !important;
}
/* 固定ページservice*/
.sub-service-top-box {
  max-width: 770px;
  border: 3px solid #212121;
  background-color: #fff;
  margin: 0 auto;
  padding: 50px 5% 60px 5%;
}
.sub-service-top-box .sub_ttl {
  text-align: center;
  margin-top: -20px;
}
.sub-service-top-box h2 {
  text-align: center;
  font-size: 60px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  color: #212121;
}
.sub-service-top-box p {
  text-align: center;
  font-size: 24px;
  margin-top: 40px;
}
/* 固定ページworks*/
#works-right-ttl {
  width: 120px;
  height: 44px;
  line-height: 39px;
  text-align: center;
}
/* アーカイブページ*/
/* アーカイブページの「カテゴリー」リンクのみ無効化 */
.archive a[href*="/category/"] {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
/* sub_subプライバシーポリシー 運営者情報*/
#sub_sub {
  width: 100%;
}
#sub_sub p {
  margin-top: 1rem;
}

/* common_contact */
#common_contact {
  padding-top: 22rem;
  padding-bottom: 12rem;
  background: url("/wp-content/themes/k/assets/images/common/cv_contact.svg") no-repeat;
  background-position: center bottom; /* JPGの位置 */
  background-size: min(90%, 1200px) auto;
}

.common_contact_box {
  max-width: 76rem;
  background-color: #fff;
  border: #212121 solid 0.3rem;
  padding: 5rem 5%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.common_contact_box::before {
  content: "";
  display: block;
  background-image: url("/wp-content/themes/k/assets/images/common/cv_chara.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  width: 50%;
  height: 100px;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

#common_contact p {
  font-size: 2.4rem;
  text-align: center;
}
#common_contact .pink-btn {
  margin-top: 4rem;
}
/* お問合せフォーム */
/* すべての入力項目とセレクトボックスの幅・高さを調整 */
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%; /* 横幅いっぱいにする */
  padding: 15px 12px; /* 内側の余白（これで高さが出る） */
  font-size: 16px; /* 文字の大きさ */
  border: 1px solid #ccc; /* 枠線 */
  border-radius: 5px; /* 角を少し丸める */
  box-sizing: border-box; /* 幅の計算を正確にする */
  margin-top: 10px;
}

/* メッセージ入力欄（textarea）の高さだけをさらに高くする */
.wpcf7-textarea {
  height: 200px; /* お好みの高さに調整 */
}

/* ラベル（項目名）の文字を少し太く、間隔を空ける */
.wpcf7-form label {
  display: block;
  margin-top: 40px; /* 項目ごとの下の余白 */
  font-weight: bold;
}
.required-label {
  font-size: 14px;
  font-weight: normal;
  color: red;
}

.wpcf7-submit {
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.6rem;
  border-radius: 0px;
  width: 200px;
  height: 60px;
  border: 3px solid #212121;
  transition: 0.3s;
  box-shadow: 5px 5px 0px 0px rgba(236, 33, 134, 1);
  background-color: #ec2186;
}
.wpcf7-submit a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  line-height: 60px;
}
.wpcf7-submit:hover {
  box-shadow: 0 0 #333;
  color: #212121;
  background-color: #fff;
}
.wpcf7-submit a:hover {
  color: #212121;
}
/* Chrome, Safari, Edge */
.wpcf7-form-control::placeholder {
  color: #999; /* ここにお好みの色を（例：薄いグレー） */
  opacity: 1; /* Firefox対策（不透明度を1にする） */
  font-weight: normal;
}

/* Firefox */
.wpcf7-form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
  font-weight: normal;
}

/* IE 10-11 */
.wpcf7-form-control:-ms-input-placeholder {
  color: #999;
  font-weight: normal;
}
/* footer */
.footer {
  width: 100%;
  height: auto;
  background: #212121;
  color: #fff;
  font-weight: 500;
  margin-top: -1rem;
}
.footer_cover {
  display: flex;
  justify-content: space-between;
  padding-top: clamp(70px, 6.25vw + 40px, 100px);
  padding-bottom: clamp(70px, 6.25vw + 40px, 100px);
  padding-left: 5%;
  padding-right: 5%;
}
.footer-left p {
  margin-top: 2rem;
}
.footer_menu {
  font-size: 2.4rem;
}
.footer-right ul {
  list-style-position: inside;
}
.footer-right li a {
  color: #fff;
  text-decoration: none;
}
.footer_nav_cover {
  display: flex;
  margin-top: 2rem;
}
.footer_nav_second {
  margin-left: 2.6rem;
}
.copy {
  font-size: 1.4rem;
  text-align: center;
  padding-bottom: 1.6rem;
}
#page_top_btn {
  width: clamp(5rem, 10vw, 8rem);
  height: auto;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1;
}

/* --- PCスタイルの基本 --- */
/* ボタンはPCでは隠す */
.nav_btn {
  display: none;
}
/* --- 960px以下 --- */
@media screen and (max-width: 960px) {
  .header_nav {
    margin-top: 0;
    font-size: 1.6rem;
    display: none;
  }
  .nav_btn {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;
    justify-content: center;
    gap: 5px; /* 文字と線の間の余白 */
    width: clamp(5rem, 10vw, 8rem);
    height: clamp(6rem, 10vw, 8rem);
    background: #fff;
    border: 0.25rem solid #212121;
    cursor: pointer;
    z-index: 100;
    position: fixed; /* 画面に対して固定 */
    top: 2rem; /* 上からの位置（お好みで） */
    right: 2rem;
  }

  /* MENUの文字スタイル */
  .nav_btn_text {
    font-size: 16px;
    font-weight: bold;
    color: #212121;
    display: block;
    line-height: 1;
  }

  /* 3本線のコンテナのように扱うために高さを指定 */
  .nav_btn_line {
    display: block;
    width: 30px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
    position: relative;
  }

  /* 開いた時のアニメーション調整 */
  .nav_btn.is-active .nav_btn_text {
    opacity: 1; /* 閉じる時に文字を薄くする（または content で CLOSE に変える等） */
  }

  .nav_btn.is-active .nav_btn_line:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav_btn.is-active .nav_btn_line:nth-of-type(3) {
    opacity: 0;
  }
  .nav_btn.is-active .nav_btn_line:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* --- 【重要】ここを追加！ --- */
  /* ボタンが押されて is-active クラスがついたら表示する */
  .header_nav.is-active {
    display: flex; /* noneを上書きして表示 */
    width: 30rem;
    height: 40vh;
    background: #fff;
    border-right: none;
    border-radius: 0 0 0 10px;
    z-index: 5;
    position: fixed; /* 画面に対して固定 */
    top: 0; /* 上からの位置（お好みで） */
    right: 0;
  }

  /* 中のリストも縦並びに調整 */
  .header_nav.is-active ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding-left: 30px;
  }
  .header_nav.is-active ul li {
    width: 100%;
    padding: 0 30px;
  }
  .header_nav.is-active ul li {
    list-style: none;
    line-height: 1.7rem;
    margin-right: 0;
  }
  .header_nav.is-active li:not(:last-child)::after {
    display: none;
  }
  /* common_contact */
  #common_contact {
    padding-top: 17rem;
    padding-bottom: 8rem;
    background: url("/wp-content/themes/k/assets/images/common/cv_contact.svg") no-repeat;
    background-position: center bottom;
    background-size: min(100%, 1200px) auto;
  }
  .common_contact_box {
    width: 90%;
    background-color: #fff;
    border: #212121 solid 0.3rem;
    padding: 4rem 5%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .common_contact_box::before {
    content: "";
    display: block;
    background-image: url("/wp-content/themes/k/assets/images/common/cv_chara.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    width: 30%;
    height: 80px;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }

  #common_contact p {
    font-size: 1.8rem;
    text-align: center;
  }
  /* フッター */
  .footer-right {
    display: none;
  }
}
/* --- 640px以下（スマホ：1カラム） --- */
@media (max-width: 640px) {
  body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.6;
    color: #212121;
    overflow-x: hidden; /* 背景パーツのはみ出し防止 */
    background-size: 100px auto;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
  }
  /* MENUの文字スタイル */
  .nav_btn_text {
    font-size: 14px;
    font-weight: bold;
    color: #212121;
    display: block;
    line-height: 1;
  }

  .sub_main_title {
    font-family: "Jost", sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #212121;
  }
  .sub_mv p.sub-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #212121;
    margin-top: 0;
  }
  .sub_mv {
    background-image: url("/wp-content/themes/k/assets/images/common/g-bg.png");
    background-repeat: repeat;
    background-position: top left;
    background-size: 100px 100px;
    width: 100%;
    height: auto;
    margin-top: -10rem; /* メインMVの場合マージンマイナスにしてパディングで調整するとうまくはまる */
    padding-top: 10rem;
  }
  /* パンくずリスト */
  .breadcrumb {
    font-size: 1.3rem;
    font-weight: normal;
  }
  .breadcrumb li span[itemprop="name"]:last-child {
    font-weight: normal;
  }
  /* common_contact */
  #common_contact {
    padding-top: 12rem;
    padding-bottom: 5rem;
    background: url("/wp-content/themes/k/assets/images/common/cv_contact.svg") no-repeat;
    background-position: center bottom;
    background-size: min(100%, 1200px) auto;
  }
  #common_contact .container_l {
    padding: 0 0;
  }
  .common_contact_box {
    width: 90%;
    background-color: #fff;
    border: #212121 solid 0.3rem;
    padding: 4rem 5%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  #common_contact p {
    font-size: 1.5rem;
    text-align: center;
  }
}
