/* typography.css */

/* =========================
   Headings
========================= */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

h2 {
  font-size: 3.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

h4 {
  font-size: 1.375rem;
  font-weight: var(--fw-regular);
  letter-spacing: 0.02em;
  line-height: 1.5;
}



/* =========================
   Body text
========================= */

p {
  font-size: 1rem;
  font-weight: var(--fw-regular);
}

.sp-only {
  display: none;
  
}

@media (max-width: 1312px) {
  .sp-only {
    display: inline;
  }
}


/* =========================
   ヘッダー text
========================= */



/* =========================
   ナビ text
========================= */

.site-nav a {
  font-size: 1.6vw;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-overlay a{
  font-size: 1.6vw;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* =========================
   SERVICE text
========================= */

.service-card__text {
  width: 320px;
  text-align: justify;      
  text-align-last: left;     
  line-height: 1.7;
  line-break: strict;
  letter-spacing: 0.02em;
  word-break: normal;
}
@media (max-width: 768px) {
  .service-card__text {
    width: 100%;
}
  .service-card__front h3{
    font-size: 1.2rem;
  }
}

/* =========================
   ABOUT text
========================= */

.profile-content__inner h4 {
  margin-bottom: var(--space-5)
}

.profile-copy {
  margin-bottom: var(--space-5);
  letter-spacing: 0.1em;
  text-align: justify;
  text-align-last: left;
}

.profile-title {
  font-size: 2.187rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.profile-title__jp {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  margin-left: var(--space-2); 
}
.profile-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  color: var(--color-black);
}

.profile-why {
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3)!important;
}

.profile-why__en {
  font-size: 35px;
  font-weight: var(--fw-bold);
  margin-right: var(--space-2); 
  display: inline-block; 
}


.profile-why-title {
  position: absolute;
  top: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: calc(100% - 32px); 
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: normal;
  color: var(--color-white);
  pointer-events: none;
  text-align: center ;
}

.profile-why-text {
  margin-top: var(--space-4); 
  margin-bottom: 0!important;
  max-width: 368px;           
  line-height: 1.8;
  color: var(--color-white);
  text-align: justify;
  text-align-last: left;
}
@media (max-width: 1200px) {
  .profile-why-text {
    margin-top: var(--space-2); 
    line-height: normal;
    max-width: 300px;  
  }
}
@media (max-width: 768px) {
  .profile-why-title {
    top: var(--space-2);
    font-size: 1rem;
  }
  .profile-why-text {
  font-size: 0.9rem;
  }
  .profile-why {
  font-size: 1.25rem;
}
  .profile-why__en {
    font-size: 1.8rem;
  }
  .profile-content__inner h4 {
    width: 80%;
    align-items: center;
    margin-inline: auto;
  }

  .profile-content__inner p {
    width: 80%;
    align-items: center;
    margin-inline: auto;
  }
}

/* =========================
   Flow text
========================= */
.flow-step__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.flow-step__text {
  font-size: 14px;
  line-height: normal;
}

/* =========================
   Budget Guide text
========================= */
.budget-guide-text h2{
  line-height: 1.1;
}

.budget-guide-text > p:not(.budget-guide-note) {
  margin-top: var(--space-6);
}

.budget-guide-note {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: auto;
}

.budget-guide-content h3{
  font-size: 2.25rem;
}

.price{
  font-size: 3rem;
  font-family: var( --font-en);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  padding-top: var(--space-6);
}
.label{
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
}
.caption{
  padding-top: var(--space-2);
}

@media (max-width: 1312px) {
.budget-guide-note {
  margin-top: var(--space-6);
}
.budget-guide-text {
  height: auto;
}
.budget-guide-content h3{
  font-size: 2rem;
}
.price{
  font-size: 2rem;
}
.caption{
  text-align: center;
}
}

/* =========================
   CONTACT text
========================= */


.contact-catch {
  font-size: 1.25rem;
  line-height: normal;
  font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
.contact-catch {
  font-size: 1rem;
}
}