/*
Theme Name: hukuri-b
Theme URI: https://example.com
Author: Naka
Version: 1.0
*/

/********************
Common
*********************/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
  font-weight: 700;
  color: #1d2a39;
  background-color: var(--color-white);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/********************
root
*********************/
:root {
  --color-white: #fff;
  --color-navy: #0d447c;
  --color-blue: #3a67bc;
  --radius-medium: 1rem;
  --radius-round: 9999px;
  --line-height-text:1.5;
}

/********************
Layout
*********************/

.l-container1 {
  margin-inline: auto;
  text-align: center;
  padding-block:clamp(2.5rem, 1.8932rem + 2.589vw, 5rem);
  max-width: 1550px;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  position: static;
}

.l-container2 {
  margin-inline: auto;
  text-align: center;
  padding-top:clamp(2.5rem, 1.8932rem + 2.589vw, 5rem);
  padding-bottom: clamp(5rem, 3.1984rem + 7.3346vw, 12rem);
  max-width: 1550px;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  position: static;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 2rem;
}

.drawer__inner {
  margin: 0 auto;
  padding-top: 5rem;
  padding-inline: clamp(2rem, -2.9614rem + 21.1687vw, 14rem);
  text-align: center;
}

.hero__inner {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-20%, -50%);


  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
}

.stats__inner {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, -0.2136rem + 5.178vw, 6rem);
  padding-block: 1.75rem 2rem;
  padding-inline: 1rem;
}

.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 9rem;
  position: relative;
  margin: 0 auto;
  max-width: 1306px;
}

.faq__inner {
  padding-top: 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding-block: 4rem;
  padding-inline: 1rem;
  gap: 5rem;
}



@media (max-width: 1287px) { 
  .hero__inner {
    top:5%;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__button-group {
    display: none !important;
  }
}

@media (max-width: 1120px) {
  .cta-band__inner {
    gap: 5rem;
  }
}

@media (max-width: 880px) {
  .cta-band__inner {
    gap: 0;
  }
}


@media (max-width: 960px) { 
  .footer__inner {
    flex-direction: column;
    gap:2.5rem;
  }
  .header__inner {
    padding: 0.5rem 1rem;
  }
}

/********************
Component
*********************/

/* ボタン */
.c-button-group {
  display: grid;
  grid-template-columns: 1fr; 
  max-width: 399px;
  min-width: 228px;
  gap: clamp(1rem, 0.8786rem + 0.5178vw, 1.5rem);
  margin-inline: auto;
}

.c-button {
  justify-content: center;
  align-items: center;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-round);
  font-size: clamp(1rem, 0.8355rem + 0.7018vw, 1.4rem); /* 375~1287px */
  text-align: center;
}

.c-button:hover {
  filter: brightness(0.9);
}

@media (max-width: 1000px) { 
  .c-button {
    font-size: 0.95rem;
  }
}


@media (max-width: 684px) { 
  .c-button {
    width: 228px;
    margin: 0 auto;
    font-size: 0.8rem;
  }
}

/*　ボタン色別　*/
.c-button--orange-grad {
  color: var(--color-white);
  background: linear-gradient(180deg, #E0AC53 0%, #F39632 100%);
}

.c-button--blue-grad {
  color: var(--color-white);
  background: linear-gradient(180deg, #3A67BC 0%, #A0D0EA 100%);
}

.c-button--white {
  color: var(--color-blue);
  border: 1px solid;
  border-color: var(--color-blue);
  background-color: var(--color-white);
}

.c-button--blue {
  color: var(--color-white);
  background-color: var(--color-blue);
}


/*　セクションタイトル　*/
.c-section-heading {
  position: relative;
  text-align: center;
  font-size: clamp(1.1875rem, 0.7172rem + 2.0065vw, 3.125rem); /*親基準375-1920*/
}

.c-section-heading__subtitle {
  font-size: 0.5em;
  margin-bottom: 0.4em;
}

.c-section-heading__title {
  font-size: 1em;
  display: inline-block;
  color: var(--color-white);
  background-color: #3A67BC;
  padding-inline: 0.3em;
  margin-bottom: 1.4em;
}

.c-section-heading__title--white {
  display: inline-block;
  color: var(--color-navy);
  background-color: var(--color-white);
  padding-inline: 0.3em;
  margin-bottom: 1.4em;
}

.c-section-heading__lead {
  font-size: 0.6em;
}

.c-section-heading--white {
  color: var(--color-white);
}

/*#*/
.c-tags {
  display: flex;
  justify-content: center;
  font-size: clamp(0.75rem, 0.5528rem + 0.8414vw, 1.5625rem);
  gap:1.5em;
  color: var(--color-white);
}


/********************
utility
*********************/
.u-text-red {
  color: red;
}

.sp-none {
  display: block;
}

@media (max-width: 840px) { 
  .sp-none {
  display: none;
  }
}

.pc-none {
  display: none;
}

@media (max-width: 660px) { 
  .pc-none {
  display: block;
  }
}



/********************
Hamburger
*********************/

.drawer {
  position: fixed;
  inset: 0;
  background: #e6e6e6;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  overflow: clip;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
}

/* 上部 */
.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(1rem, 0.5865rem + 1.7641vw, 2rem); /*親基準 375-1282*/
  margin-bottom: 3em;
}
/* クローズボタン */
.drawer__close {
  position: relative;
  width: 1.5em;
  height: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
}

/*ナビ*/
.drawer__nav {
  font-size: clamp(1rem, 0.5865rem + 1.7641vw, 2rem); /*親基準 375-1282*/
  margin-bottom: 4em;
}

.drawer__nav li {
  border-bottom: 1px solid rgba(0,0,0,.5);
}

.drawer__nav a {
  display: flex;
  align-items: center;
  padding: 20px 0;
  font-size: 1em;
  gap: 1em;
  color: #000;
  text-decoration: none;
}

.drawer__yazirushi {
  width: 1.5em;
  height: auto;
}

/* 背景スクロール停止*/
body.is-open {
  overflow: hidden;
}


/********************
Header
*********************/

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--color-white);
  border-bottom: 4px solid #3A67BC;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.header__logo {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}


/* ナビ　*/
.header__nav-list {
  display: flex;
  gap: 1.5rem;
  transform: translateY(-5px);
}

.header__nav-list a {
  position: relative; 
  text-decoration: none;
  color: inherit;
  padding-top: 10px; 
  display: inline-block;
  transition: color 0.3s;
}

.header__nav-list a:hover {
  color: var(--color-blue);
}

.header__nav-list a::before {
  content: "";
  position: absolute;
  top: 0;                
  left: 0;
  width: 100%;           
  height: 4px;          
  background-color: var(--color-blue);
  
  opacity: 0;
  transition: opacity 0.3s;
}

/* aにホバーしたとき、::before（線）を表示する */
.header__nav-list a:hover::before {
  opacity: 1;
}

/* ボタン */

.header__button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.header__button-group a {
  font-size: 0.8rem;
  padding: 0.3rem 1.5rem 0.2rem;
  line-height: 1.4;
}

/* ハンバーガー初期非表示 */

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;

  width: 40px;
  height: 40px;

  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle-line {
  width: 24px;
  height: 2px;
  background: #000;
  display: block;
}

@media (max-width: 1282px) {

  .header__toggle {
    display: flex;
    z-index: 1001;
  }

  .header__menu {
    display: none;
  }
}

@media (max-width: 520px) {
  .header__logo {
    font-size: 14px;
  }

  .header__toggle-line {
  height: 1px;
  }

  .header {
  border-bottom: 2px solid #3A67BC;
}
}

/********************
Hero
*********************/

.hero {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__media {
  width: 100%;
  height: 100%;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* ボタン*/

.hero-under__button-group {
  display: none;
}
@media (max-width: 1287px) {
  .hero-under__button-group {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    max-width: calc(798px + 3rem);
    gap: 3rem;
    margin-block: 2rem;
    margin-inline: auto; 
    padding-inline: 1rem;
  }
}

@media (max-width: 684px) {
  .hero-under__button-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 399px;
    padding-inline: 1rem;
  }
}

/* テキスト */

.hero__content {
  margin-bottom: clamp(1rem, -3.1667rem + 5.5556vw, 3.5rem);
}

.hero__label {
    display: inline-block;
    color: var(--color-navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.hero__title {
    margin-top: 1rem;
    font-size: 3.8rem;
    line-height: 1.25;
}

.hero__lead {
    margin-top: 1rem;
    line-height: 1.4;
    font-size: 1.3rem;
    line-height: var(--line-height-text);
}


@media (max-width: 1287px) {
  .hero__content {
    font-size: clamp(2rem, 0.4786rem + 6.4912vw, 5.7rem);/* 基準　375〜1200px */
  }

  .hero__label {
    font-size: 0.5em;
  }

  .hero__title {
    font-size: 1em;
  }

  .hero__lead {
    font-size: 0.4em;
  }
}


/********************
Stats
*********************/

.stats {
  background-color:#F8F8F8 ;
}

.stats__item {
  width: min(100%, 14rem);
}

/********************
About
*********************/


/* 全体 */
.about {
  background-image: url(img/about-bg.png);
  width: 100%;
  height: auto;
}

.about__feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  text-align: center;
}
.about__feature-card {
  background-color: #F1F1F1;
  border-radius: var(--radius-medium);
}
@media (max-width: 1170px) {
  .about__feature-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-inline: auto;
    gap:1rem;
  }
}



/* 画像 */

.about__feature-card img {
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

/* コンテンツ */

.about__content {
  font-size: clamp(0.75rem, 0.5528rem + 0.8414vw, 1.5625rem); /*基準*/
  padding-block: 0.7em 2em;
  padding-inline: 1em;
}

.about__feature-card h3 {
  font-size: 1em;
  color: var(--color-white);
  border-radius: 20px;
  padding-block: 0.3rem;
}

.about__feature-card p {
  margin-top: 1em;
  font-size: 0.8em;
  color: #707070;
  text-align: left;
  line-height: var(--line-height-text);
}

/* 個別カラー */
.about__content--blue { background-color: #648AE7;}
.about__content--green { background-color: #36B554;}
.about__content--pink { background-color: #EF5DBC;}
.about__content--orange { background-color: #FF7262;}


/* 解決 */
.about__problem-block {
  margin-top: 4rem;
}

.about__problem-label {
  text-align: center;
  font-size: clamp(1rem, 0.8635rem + 0.5825vw, 1.5625rem);
  padding-bottom: 2em;
}

.about__problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: clamp(0.625rem, 0.4733rem + 0.6472vw, 1.25rem);
  gap: 1em 5em;
  padding-inline: 2em;
  background-color: #EEF8FF;
  max-width: 1306px;
  margin: 0 auto;
}

/* 上の丸ぽち */
.custom-dot {
  padding-top: 10px;
  display: inline-block;

  background-image: radial-gradient(circle 0.18em at center, #ff0000 100%, transparent 100%);
  background-size: 1em 8px; 
  background-position: 0 0;
  background-repeat: repeat-x;
}

/* カード */
.problem-card {
  padding: 1rem;
  text-align: center;
}

.problem-card h3 {
  color: var(--color-blue);
  font-size: 2em;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
  transform: scaleY(1.2); 
  padding-bottom: 0.3em;
}

.problem-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.problem-card p {
  margin-top: 1rem;
  font-size: 1em;
  color: var(--color-blue);
  line-height: var(--line-height-text);
}

@media (max-width: 1170px) {
  .about__problem-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-inline: auto;
    gap: 0.1em 1em;
  }
}

/********************
Service
*********************/

.service__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding-top: clamp(7rem, 6.2718rem + 3.1068vw, 10rem);
}

/* 左 */
.service__illust-wrap {
  width: 285px;
  height: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 右 */
.service__summary {
  max-width: 570px;
  height: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.service__arrow img {
  width: 100%;
  height: auto;
}

/* 吹き出し */
.service__illust-content {
  position: relative;
}

.service__illust-content p {
  position: absolute;
  top: -50%;
  right: -65%;

  display: flex;
  align-items: center;  
  justify-content: center; 

  color: var(--color-white);
  background-color: #23b4e9;
  font-size: clamp(0.9375rem, 0.7901rem + 0.6289vw, 1.25rem); /*375-1170*/

  padding: 2rem;
  border-radius: 50%;
  aspect-ratio: 1;
}

.service__illust-content p::before {
  content: "";
  position: absolute;
  bottom: 0px;   
  left: 5px;    
  
  border-style: solid;
  border-width: 40px 10px 0 15px; /* 上 左右 下 */
  border-color: #23b4e9 transparent transparent transparent;
  
  transform: rotate(50deg);
  z-index: -1;
}

/* 画像 */
.service__summary-main {
  width: clamp(17.8125rem, -2.7404rem + 87.6923vw, 35.625rem); /* 375-700*/
  margin-block: 1rem;
}

.service__arrow {
  width: 10rem;
  padding-bottom: 2em;
  padding-left: 2em;
}

.service__illust-content {
  width: clamp(11.25rem, 3.6779rem + 32.3077vw, 17.8125rem);
  margin-block: 1rem;
}


/* ラベル */
.service__label {
  margin-top: 0.5rem;
  font-size: clamp(0.9375rem, 0.4953rem + 1.8868vw, 1.875rem);
  color: var(--color-navy);
}

@media (max-width: 1170px) {
  /* 左 */
  .service__illust-wrap,.service__summary {
    flex-direction: column-reverse;
  }


  .service__content {
    flex-direction: column;
    gap: 3rem;
  }

  .service__arrow {
    padding: 0;
    width: 4rem;
  }

  .service__illust-content p {
    top: -40%;
    right: -55%;
  }
}

@media (max-width: 590px) {
  .service__content {
    gap: 1rem;
  }

  .service__arrow {
    padding: 0;
    width: 2rem;
  }

  .service__illust-content p {
    top: -52%;
    right: -45%;
    padding: 0.8rem;
  }
 
}

/********************
CTA Band
*********************/

/*全体*/
.cta-band {
  min-height: 240px;
  background-color: #bfe4f0;
  display: flex;
  align-items: flex-end;
  overflow-x: clip;
  overflow-y: visible;
}

/*ボタン*/
.cta-band__button-group {
  padding-bottom: clamp(1rem, 0.2718rem + 3.1068vw, 4rem);
}

.cta-band__button1 {
 transform: translateX(-4rem);
}

.cta-band__button2 {
  transform: translateX(4rem);
}

/*人*/
.cta-band__person--left {
  width: 17rem;
}

.cta-band__person--right {
  width: 16rem;
}

/*吹き出し*/
.cta-band__balloon-wrap {
  position: absolute;
  top: 0;
  right: 14%;
  transform: translateY(-70%);
}

.cta-band__balloon {
  width:clamp(14rem, 11.5728rem + 10.356vw, 24rem);
}

/*ボタン*/
@media (max-width: 1120px) {
  .cta-band__button1,.cta-band__button2 {
    transform: none;
  }

  .cta-band__balloon-wrap {
  top:0;
  right:18%;
  }
}


@media (max-width: 627px) {
  .cta-band__balloon-wrap {
    top:0%;
    right:15%;
    transform: translateY(-90%);
  }

  .cta-band__person--left {
    margin-left: -1rem;
  }

  .cta-band__person--right {
    margin-right: -1rem;
  }
}

@media (max-width: 480px) {
  .cta-band__balloon-wrap {
    top:0%;
    right:0;
    transform: translateY(-110%);
  }
}

/********************
Price
*********************/

.pricing {
  background-color: var(--color-navy);
}

/*ずっと0円*/
.pricing__value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: clamp(2.8rem, 1.9626rem + 3.5728vw, 6.25rem); /*　親要素　*/
  padding-bottom: 0.2em;

}

.pricing__value-prefix {
  font-size: 1em;
}

.pricing__value-number {
  line-height: 1.2;
  font-size: 2.1em;
  transform: scaleY(1.1);
  padding-inline: 0.15em;
  font-family: "Noto Sans", sans-serif;
}

.pricing__value-unit {
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
}

/********************
Merit
*********************/

.merit {
  position: relative;
  overflow-x: hidden;
}

.merit__list {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 3.2718rem + 3.1068vw, 7rem);
  margin-top: clamp(2rem, 1.2718rem + 3.1068vw, 5rem);
  position: relative;
}

/* カード */

.merit-card__body {
  width: min(100%, 56rem);
  text-align: center;
  margin: 0 auto;
  font-size: clamp(1.25rem, 0.7949rem + 1.9417vw, 3.125rem);
}

.merit-card__body h3 {
  font-size: 1em;
  line-height: 1.4;
}

.merit-card__body p {
  padding-block: 0.8em;
  font-size: 0.45em;
}

.merit-card__photo {
  width: 70%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-medium);
  box-shadow: var(--color-shadow);
}

.merit-card__photo--wide {
  width: 100%;
}

/* 背景 */

.merit-card__bgs {
  position: static;
}

/* 画像サイズ */
.merit-card__bgs img {
  width: clamp(11rem, 7.6019rem + 14.4984vw, 25rem);
  height: auto;
}

/* 共通 */
.merit-card__bg1,
.merit-card__bg2,
.merit-card__bg3,
.merit-card__bg4,
.merit-card__bg5,
.merit-card__bg6 {
  position: absolute;
}

/* 右配置 */
.merit-card__bg1,
.merit-card__bg3,
.merit-card__bg5 {
  right: clamp(-7.5rem, -9.3204rem + 7.767vw, 0rem);
}

/* 左配置 */
.merit-card__bg2,
.merit-card__bg4,
.merit-card__bg6 {
  left: clamp(-7.5rem, -9.3204rem + 7.767vw, 0rem);
}

/* 個別top */
.merit-card__bg1 { top: 5%; }
.merit-card__bg2 { top: 17%; }
.merit-card__bg3 { top: 32%; }
.merit-card__bg4 { top: 52%; }
.merit-card__bg5 { top: 64%; }
.merit-card__bg6 { top: 86%; }

/********************
Flow
*********************/


.flow__image-wrap {
  margin-top: clamp(1rem, 0.6359rem + 1.5534vw, 2.5rem);
  padding: 1rem;
  background-color: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--color-shadow);
}

/********************
FAQ
*********************/


/* FAQ */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 0.1359rem + 1.5534vw, 2rem);
  margin-top: 2.5rem;
}

.faq-item {
  padding: 1.25em;
  border-radius: var(--radius-medium);
  font-size: clamp(0.7rem, 0.6272rem + 0.3107vw, 1rem);
}

.faq-item__question {
  display: inline-block;
  padding: 0.5rem 2.5rem;
  color: var(--color-white);
  font-size: 1em;
  line-height: 1.6;
  background-color:#23b4e9;
  border-radius: var(--radius-round);
}

.faq-item__answer {
  margin-top: 1em;
  font-size: 1em;
}

/********************
Next Action
*********************/

.next-action {
  background-color: var(--color-navy);
}


.lead-next-action {
  color: var(--color-white);
}

.next-action__buttons {
  grid-template-columns: 1fr 1fr; 
  max-width: calc(798px + 3rem);
  gap: 3rem;
  margin-top: 3rem;
}

@media (max-width: 720px) {
  .next-action__buttons {
  grid-template-columns: 1fr; 
  gap:1.5rem
  }
}

/********************
Footer
*********************/

.footer {
  color: var(--color-white);
  background-color: #000;
}

.footer__logo {
  width: min(100%, 12rem);
}

.footer__company {
  font-size: 0.7rem;
}
