@charset "utf-8";

/*
Base style
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* outline: 1px #000 solid; */
}

@font-face {
  font-family: "CPFont";
  src: url('../fonts/CP-Font.woff2') format('woff2'),
    url('../fonts/CP-Font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ff3131;
  --white: #fff;
  --inner: 1000px;
  --radius: 26px;
}

body {
  font-size: 15px;
  line-height: 1.5;
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  background: #ff3131;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== layout ===== */
.page-red {
  min-height: 100vh;
}

.inner {
  width: var(--inner);
  margin: 0 auto;
}

.main {
  padding-bottom: 40px;
}

/*
header 
*/
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ff3131;
  padding: 0 0 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #fff;
  font-size: 32px;
  font-weight: normal;
  margin: 18px 0 7px;
  font-family: 'CPFont', "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  background: #fff;
  padding: 12px 20px 12px 30px;
  border-radius: 40px 0 0 40px;
}

.nav-logo {
  display: none;
}

.header-navitem>a {
  color: #ff3131;
  font-family: 'CPFont', "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  text-decoration: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger img {
  width: 32px;
}

.close-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  margin-right: 0;
}

.hamburger,
.close-btn {
  position: fixed;
  top: 18px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.close-btn>img {
  width: 30px;
}

.nav-sns {
  display: none;
}

@media screen and (max-width: 860px) {
  .logo {
    font-size: 24px;
  }

  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #ff3131;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 5vw 10vw;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-logo {
    display: inline-block;
    background: #fff;
    color: #ff3131;
    font-family: 'CPFont', "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 7vw;
    padding: 15px 24px 15px;
    border-radius: 0;
    margin-top: 60px;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
    background: none;
    padding: 0;
    border-radius: 0;
    margin-top: 50px;
  }

  .header-navitem>a {
    color: #fcfcfc;
    font-size: 4vw;
  }

  .close-btn {
    display: block;
  }

  .header.menu-open .hamburger {
    display: none;
  }

  .header.menu-open .close-btn {
    display: block;
  }

  .nav-sns {
    display: block;
    margin-top: 40px;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
  }

  .sns-icons {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .sns-icons img {
    width: 40px;
    height: auto;
  }
}

@media screen and (max-width: 450px) {
  .logo {
    margin: 16px 0 9px;
  }

  .header-navitem>a {
    font-size: 6vw;
  }
}

/*
SNS固定
*/
.sns-fixed {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 15px 10px;
  border-radius: 20px;
  text-align: center;
  z-index: 999;
}

.sns-fixed p {
  writing-mode: vertical-rl;
  color: #ff3131;
  font-weight: normal;
  margin-bottom: 0;
  text-orientation: upright;
  font-family: 'CPFont', "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

.sns-fixed img {
  width: 24px;
  display: block;
  margin: 5px auto;
}

@media screen and (max-width: 450px) {
  .sns-fixed {
    padding: 15px 5px;
  }

  .sns-fixed p {
    margin-left: 4px;
    margin-bottom: 2px;
  }

  .sns-fixed img {
    width: 30px;
    margin: 0 auto;
  }
}

/* ===== hero ===== */
.hero {
  padding: 26px 0 26px;
  text-align: center;
}

.hero-title {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: #fff;
  font-size: 70px;
  font-weight: normal;
  letter-spacing: .03em;
}

.hero-sub {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  margin-top: 10px;
  color: #fff;
  font-size: 27px;
  font-weight: normal;
}

/* ===== section common ===== */
.buy-section {
  padding: 18px 0 30px;
}

.title-band {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  height: 140px;
  display: grid;
  place-items: center;
}

.title-band h3 {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: 44px;
  font-weight: normal;
  letter-spacing: .02em;
  margin-top: 15px;
}

.title-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 31px solid #fff;
}

/* ===== cards ===== */
.card {
  background: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 22px 28px;
  margin: 60px auto 10px;
  width: 100%;
}

.card--wide {
  padding: 20px 25px;
  border-radius: 26px;
}

.card p {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.75;
}

/* ===== form ===== */
.form-card {
  background: #fff;
  border-radius: 26px;
  padding: 26px 30px;
  margin: 60px auto 10px;
}

.form-lead {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 18px;
}

.contact-form {
  margin-top: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.label {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: 20px;
  font-weight: normal;
}

.req {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 5px 8px 1px;
  vertical-align: middle;
}

.hissu-req {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 5px 8px 1px;
  vertical-align: middle;
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  transform: translateY(-2px);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(255, 49, 49, .65);
  box-shadow: 0 0 0 4px rgba(255, 49, 49, .15);
}

.textarea {
  resize: vertical;
  min-height: 160px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.check input {
  width: 18px;
  height: 18px;
}

.note {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #444;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 22px;
  cursor: pointer;
}

.btn:hover {
  opacity: .92;
}

.btn:active {
  transform: translateY(1px);
}

/* 同意チェック + 注意書きを中央に */
.contact-form .field--full {
  align-items: center;
  /* 子要素を中央へ */
  text-align: center;
  /* 文字も中央へ */
}

.contact-form .field--full .check {
  justify-content: center;
  /* チェック行（横並び）を中央へ */
}

.contact-form .field--full .note {
  text-align: center;
}

.field--full-1 {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}

/* 連絡先ボックス（3カラム） */
.contact-info {
  padding: 22px 28px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-info-item {
  text-align: center;
  padding: 10px 8px;
}

.contact-info-title {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: 24px !important;
  font-weight: normal;
  margin-bottom: 10px;
}

.contact-info-main {
  font-size: 22px !important;
  font-weight: 900;
  margin-bottom: 4px;
}

.contact-link {
  color: #111;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* アイコン */
.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
}

.contact-icon {
  width: 52px;
  /* ← ここで大きさ調整 */
  height: auto;
  display: block;
}

.contact-icon-link:hover {
  opacity: .9;
}

.contact-info-sub {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}

/* スマホでは縦並びに */
@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* アイコン＋文字（横並びリンク） */
.contact-hlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid #eee;
  background: #fff;
  text-decoration: none;
}

.contact-hlink:hover {
  border-color: rgba(255, 49, 49, .45);
  box-shadow: 0 0 0 4px rgba(255, 49, 49, .12);
}

.contact-icon {
  width: 34px;
  /* 横並びなので少し小さめが綺麗 */
  height: auto;
  display: block;
}

.contact-htext {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: #111;
  font-size: 18px;
  font-weight: normal;
  white-space: nowrap;
}

/* チェック行をきれいに中央揃え */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* バッジ（必須）のズレ補正 */
.check .req {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  margin-left: 8px;
  transform: translateY(-2px);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.sp-only450 {
  display: none;
}



/*
footer
*/
.site-footer {
  background-color: #fff;
  padding: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.footer-left {
  text-align: center;
}

.footer-logo {
  width: 350px;
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 20px;
  color: #000;
}

.footer-nav {
  border-top: 3px dashed #ff2a2a;
  border-bottom: 3px dashed #ff2a2a;
  width: 35vw;
  max-width: 500px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 12px 0;
}

.footer-nav a {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  position: relative;
}

.footer-nav a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 860px) {
  .site-footer {
    background-color: #fff;
    padding: 20px;
  }

  .footer-logo {
    width: 40vw;
    min-width: 150px;
  }

  .footer-nav li {
    margin: 1vw 0;
  }

  .footer-nav a {
    font-size: clamp(12px, 3vw, 20px);
  }
}

@media screen and (max-width: 450px) {
  .site-footer {
    padding: 3vw;
  }

  .footer-nav li {
    margin: 0.5vw 0;
  }

  .footer-logo {
    margin-bottom: 1vw;
  }

  .footer-copy {
    font-size: 3vw;
  }
}

/* 改行制御 */
.sp-only {
  display: none;
}

/* =========================
   Responsive（contact page / buying流）
   ========================= */

/* 1100px以下：innerを可変に */
@media (max-width: 1100px) {
  :root {
    --inner: 80vw;
  }

  .inner {
    width: var(--inner);
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-sub {
    font-size: 22px;
  }

  /* お問い合わせカードの余白を少し縮める */
  .form-card {
    padding: 24px 26px;
  }
}

/* 900px以下：フォーム2列→1列、連絡先3列→1列寄せ */
@media (max-width: 900px) {
  :root {
    --inner: 80vw;
  }

  .inner {
    width: var(--inner);
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 20px;
  }

  .title-band {
    height: 120px;
  }

  .title-band h3 {
    font-size: 38px;
  }

  .title-band::after {
    bottom: -24px;
    border-left: 34px solid transparent;
    border-right: 34px solid transparent;
    border-top: 28px solid #fff;
  }

  /* フォーム：2列→1列 */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field--full {
    grid-column: auto;
  }

  /* 連絡先：3列→1列 */
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-card {
    margin: 50px auto 10px;
  }

  /* 左寄せに戻す */
  .field--full-1 {
    align-items: flex-start;
    text-align: left;
  }

  .card {
    margin: 50px auto 10px;
  }
}

/* 600px以下：スマホ寄せ（余白と文字サイズを縮める） */
@media (max-width: 600px) {
  :root {
    --inner: 80vw;
  }

  .inner {
    width: var(--inner);
  }

  .hero {
    padding: 18px 0 18px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .buy-section {
    padding: 14px 0 22px;
  }

  .title-band {
    height: 100px;
  }

  .title-band h3 {
    font-size: 32px;
  }

  .title-band::after {
    bottom: -22px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 24px solid #fff;
  }

  .form-card {
    padding: 20px 18px;
    margin: 50px auto 10px;
  }

  .form-lead {
    font-size: 14px;
  }

  .label {
    font-size: 18px;
  }

  .input,
  .select,
  .textarea {
    font-size: 16px;
    padding: 12px 12px;
  }

  .note {
    font-size: 14px;
  }

  .btn {
    font-size: 20px;
    padding: 14px 30px;
  }

  .contact-hlink {
    max-width: 100%;
    justify-content: center;
  }

  .contact-htext {
    font-size: 16px;
  }

  .sns-fixed {
    padding: 15px 6px;
  }
}

@media (max-width: 450px) {

  .hero-title {
    font-size: 10vw;
  }

  .hero-sub {
    font-size: 4vw;
  }
  .title-band {
    height: 80px;
  }

  .title-band h3 {
    font-size: 6.2vw;
    margin-top: 10px;
  }


  /* フォーム */
  .label {
    font-size: 4.6vw;
  }

  .form-lead {
    font-size: 3.2vw;
  }

  .input,
  .select,
  .textarea {
    font-size: 3.8vw;
  }

  .personal {
    font-size: 3vw;
  }

  .note {
    font-size: 2.8vw;
  }

  .btn {
    font-size: 5vw;
    padding: 4vw 8vw 1.7vw;
  }

  .check {
    flex-wrap: wrap;
    justify-content: left;
    text-align: left;
    font-size: 3.4vw;
    gap: 1vw
  }

  /* 連絡先 */
  .contact-info-title {
    font-size: 5vw !important;
  }

  .contact-info-main {
    font-size: 4.5vw !important;
  }

  .contact-info-sub {
    font-size: 3.6vw !important;
  }
  .contact-hlink {
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 10px 12px;
  }

  .contact-htext {
    font-size: 4.0vw;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .req {
    font-size: 3.2vw;
    padding: 1.5vw 2.4vw 0;
  }

  .hissu-req {
    font-size: 3.2vw;
    padding: 1.5vw 2.4vw 0;
  }

  .check .req {
    padding: 2.5vw 2.4vw 0.5vw;
    font-size: 3.2vw;
  }

  .form-card {
    border-radius: 15px;
  }

  .card--wide {
    border-radius: 15px;
  }

  .sp-only450 {
    display: inline;
  }
}