@charset "utf-8";

/*
Base style
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@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;
  --gray: #f2f2f2;
  --white: #fff;
  --inner: 1000px;
}

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;
}

/* 赤面内の中身幅 */
.inner {
  width: var(--inner);
  margin: 0 auto;
}

h1 {
  margin: 0;
}

a {
  text-decoration: none;
}

/*
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: clamp(12px, 2.4vw, 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: clamp(12px, 3vw, 26px);
  text-align: center;
  padding: 22px 28px;
  margin: 60px auto 10px;
}

.card--narrow {
  width: 100%;
  padding: 24px 28px;
  border-radius: clamp(12px, 3vw, 26px);
}

.card--wide {
  width: 100%;
  padding: 20px 25px;
  border-radius: clamp(12px, 3vw, 26px);}

.card p {
  font-size: clamp(12px, 1.7vw, 20px);
  font-weight: 900;
  line-height: 1.75;
}

/* お問い合わせ 4カード */
.contact-row {
  margin-top: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 2vw;
  width: 100%;
}

.mini-card {
  width: 25%;
  background: #fff;
  border-radius: clamp(12px, 3vw, 26px);
  text-align: center;
  padding-top: clamp(9px, 1.2vw, 25px);
  padding-right: clamp(0, 0.8vw, 10px);
  padding-bottom: clamp(9px, 2vw, 25px);
  padding-left: clamp(0, 0.8vw, 10px);
}

.mini-title {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 2vw, 25px);
  font-weight: normal;
  margin-top: 5px;
  margin-bottom: 8px;
}

.mini-text {
  font-size: clamp(8px, 1.4vw, 16px);
  font-weight: 900;
  line-height: 1.6;
}

/* 色 */
.c-red {
  color: var(--red);
}

.c-green {
  color: #18a84a;
}

.c-purple {
  color: #7f3df2;
}

.c-blue {
  color: #1e7adf;
}

/* 2列（大きいカード） */
.two-col {
  width: 100%;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.big-card {
  background: #fff;
  border-radius: clamp(12px, 3vw, 26px);
  padding: 10px 18px 18px;
  text-align: center;
}

.big-card {
  display: flex;
  flex-direction: column;
}

.big-body {
  flex: 1;
}

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

.merit {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: clamp(24px, 4vw, 35px);
  font-weight: normal;
  margin-top: 20px;
}

.big-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.big-body > p {
  font-size: clamp(8px, 1.6vw, 18px);
  font-weight: 900;
  line-height: 1.3;
}

.big-body > .big-accent {
  margin-top: auto;
  padding-top: 10px;
  color: var(--red);
  font-weight: normal;
  font-size: clamp(19px, 2vw, 22px);
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  text-align: center;
}

.big-title-sub {
  margin-top: 5px;
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: clamp(12px, 2.2vw, 25px);
  font-weight: normal;
  margin-bottom: 10px;
}


/* ロゴ行（例） */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 4px 0 10px;
}

.logo-row img {
  width: 80%;
  height: auto;
}

/* ご契約後の2つの横長カード */
.two-mini {
  width: 100%;
  margin: 60px auto 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.mini-wide {
  background: #fff;
  border-radius: clamp(12px, 3vw, 26px);
  padding: 15px 5px 13px;
  text-align: center;
}

.mini-wide-title {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-weight: normal;
  font-size: clamp(17px, 2vw, 22px);
  margin-bottom: 8px;
}

.mini-wide-text {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 900;
  line-height: 1.6;
}

/* 中央の見出し付き（ご契約前／お引渡し後など） */
.mid-title {
  font-family: "CPFont", "Noto Sans JP", sans-serif;
  color: var(--red);
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 10px;
  text-align: center;
}

.mid-text {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.75;
  text-align: center;
}

/* PCでは改行しない */
.sp-only {
  display: none;
}

.sp-only900 {
  display: none;
}

.sp-only600 {
  display: none;
}

.sp-only450 {
  display: none;
}

.merit-list {
  font-size: clamp(5px, 1.4vw, 15px);
  line-height: 1.6;
  font-weight: 900;
  text-align: left;
  margin: 0;
  padding: 0;
}

.merit-list.is-diamond {
  list-style: none;
  /* デフォの黒丸を消す */
}

.merit-list.is-diamond li {
  position: relative;
  padding-left: 1.3em;
  /* ◆分の余白 */
  margin: 0.25em 0;
}

.merit-list.is-diamond li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
}

/*
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;
  }
}

:root {
  --radius: 26px;
}

@media (max-width: 1100px) {
  :root {
    --inner: 90vw;
  }
}

@media (max-width: 900px) {
  :root {
    --inner: 72vw;
  }

  .card--narrow {
    padding: 3vw 2.2vw;
  }

  .nav-pill {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: clamp(12px, 3vw, 26px);
  }

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

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

  .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;
  }

  .contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    margin-top: 50px;
  }

  .mini-card {
    width: auto;
  }

  .mini-text {
    font-size: clamp(8px, 2.4vw, 16px);
  }

  .merit-list {
    font-size: clamp(11px, 1.9vw, 16px);
  }

  .two-col {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 50px;
  }

  .two-mini {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 50px;
  }

  .card p {
    font-size: clamp(8px, 2vw, 16px);
  }

  .big-title-sub {
    font-size: clamp(24px, 2.2vw, 25px);
  }

  .big-body > p {
    font-size: 2.5vw;
  }

  .big-body > .big-accent {
    font-size: 22px;
  }

  .mid-title {
    font-size: clamp(18px, 3vw, 25px);
  }

  .big-card {
    width: 100%;
    padding: 10px 2vw 18px;
  }

  .sp-only900 {
    display: inline;
  }
}

@media (max-width: 600px) {
  :root {
    --inner: 85vw;
  }

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

  .site-logo {
    font-size: 28px;
  }

  .nav-pill {
    padding: 10px 12px;
    gap: 10px;
  }

  .nav-pill a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .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;
  }

  .card p {
    font-size: clamp(8px, 2.8vw, 16px);
  }

  .mini-title {
    font-size: 26px;
  }

  .mini-text {
    font-size: 14px;
  }

  .merit-list {
    font-size: clamp(12px, 2.7vw, 16px);
  }

  .two-col {
    margin-top: 50px;
  }

  .two-mini {
    margin-top: 50px;
  }

  .contact-row {
    margin-top: 50px;
  }

  .big-card {
    padding: 12px 5vw 14px;
  }

  .big-title-sub {
    font-size: 26px;
  }

  .big-body > p {
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.5;
  }

  .big-title {
    font-size: 5vw;
    margin-top: 2vw;
  }

  .merit {
    font-size: 5vw;
    margin-top: 2vw;
  }

  .big-body > .big-accent {
    font-size: 4vw;
  }

  .mid-title {
    font-size: clamp(18px, 2.2vw, 20px);
  }

  .mini-wide {
    padding: 14px 12px;
  }

  .mini-wide-text {
    font-size: 2.5vw;
  }

  .card--narrow p {
    font-size: 2.2vw;
  }

  .sp-only900 {
    display: none;
  }

  .sp-only600 {
    display: inline;
  }
}

@media (max-width: 450px) {
  .hero-sub {
    font-size: 4vw;
  }
  .title-band {
    height: 80px;
  }
  .title-band h3 {
    font-size: 6.2vw;
    margin-top: 5px;
  }

  .mini-title {
    font-size: 5vw;
  }

  .big-title {
    font-size: 5vw;
  }

  .merit {
    font-size: 5vw;
  }

  .big-title-sub {
    font-size: 5vw;
  }

  .mid-title {
    font-size: 5vw;
  }

  .mini-wide {
    padding: 3vw 7vw;
  }

  .mini-wide-title {
    font-size: 5vw;
  }

  .merit-list {
    font-size: 3.4vw;
  }

  .mini-wide-text {
    font-size: 3.4vw;
  }

  .mini-text {
    font-size: 4vw;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .big-card {
    padding: 2vw 7vw 2vw;
  }

  .big-body > p {
    font-size: 2.9vw;
  }

  .card {
    padding: 5vw 7vw 2vw;
  }

  .card p {
    font-size: clamp(8px, 2.8vw, 16px);
  }

  .big-body > .big-accent {
    font-size: 3.9vw;
  }

  .big-accent450 {
    font-size: 4.5vw;
  }

  .sp-only450 {
    display: inline;
  }

  .sp-delete {
    display: none;
  }

  .card--narrow p {
    font-size: clamp(12px, 3.3vw, 16px);
  }
}