@charset "utf-8";

/* ==========================================================
   Hero Section
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  margin-top: 5rem;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 0;
  height: 37.5rem;
  background: url('../assets/images/home_catch.png') center top no-repeat;
  background-size: 120rem auto;
  /* changed from cover if the image is wide and shouldn't be cropped, or leave cover? The design review says "横幅いっぱいに広がる" so 100% width is better */
}

.hero__title {
  width: 31rem;
  margin-bottom: 1.5rem;
  margin-top: 15.5rem;
  margin-left: 3rem;
}

.hero__text {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    margin-left: 3rem;
    font-weight: 500;
}

/* ==========================================================
   About Section
   ========================================================== */
.about {
  padding: 4rem 0 6rem 0;
  background-color: var(--color-base);
}

.about .container{
  max-width: 55rem;
}

.about__block {
  margin-bottom: 4rem;
}

.about__heading {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-primary);
}

.about__intro {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.about__intro-text {
  flex: 1;
  font-size: var(--font-size-base);
  line-height: 1.8;
}

.about__intro-image {
  flex: 0 0 22.5rem;
  text-align: center;
}

.about__team-box {
  background-color: var(--color-about-box);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  margin: 3rem 3rem;
}

.about__team-box-title {
  font-weight: 700;
  margin-bottom: var(--space-xs);
  font-size: 1.3rem;
}

.about__team-box-list {}

.about__def-text {
  font-size: var(--font-size-base);
  line-height: 1.8;
}

/* ==========================================================
   Support Section
   ========================================================== */
.support {
  padding: 3.75rem 0 6rem 0;
  background-color: var(--color-support-bg);
}

.support .section-subtitle--primary{
  color: #da541d;
}

.support__lead {
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.support__grid {
  width: 49.375rem;
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.support-card {
  width: calc((100% - 2rem) / 2);
  background-color: var(--color-base);
  border-radius: 1rem;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.support-card__title {
  font-weight: 700;
  font-size: var(--font-size-lg);
  text-align: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ec7b3e;
  margin-bottom: 1.2rem;
}

.support-card__body {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.support-card__list {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
}

.support-card__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.2rem;
}

.support-card__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.support-card__image {
  flex: 0 0 7.5rem;
  align-self: center;
}

.support__note {
  width: 48rem;
  margin: 2rem auto 0 auto;
}

.support__note .sn_ttl{
  font-weight: 700;
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.support__note p{
  line-height: 1.4;
}

/* ==========================================================
   Contact Section
   ========================================================== */
.contact {
  padding: 4rem 0 5rem 0;
  background-color: var(--color-base);
}

.contact__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__catch {
  color: var(--color-secondary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact__text {
  font-size: var(--font-size-base);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__tel-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.contact__tel-number {
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.2;
}

.contact__tel-number img{
    width: 2rem;
    margin-top: 0.5rem;
}

/* ==========================================================
   Information Section
   ========================================================== */
.information {
  padding: 4rem 0 6rem 0;
  background-color: #effafe;
}

.information__grid {
    width: 49.375rem;
    margin: 0 auto 2rem auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.info-link {
  width: calc((100% - 1rem) / 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background-color: var(--color-base);
  border: 1px solid #ccc;
  /* Subtle gray/blue line */
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.info-link:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-link__icon {
  width: 1rem;
  color: var(--color-secondary);
  font-size: 1.25rem;
}

/* Media Queries */
@media (max-width: 48rem) {
  .about__intro {
    flex-direction: column;
  }
}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  .container{
    max-width: 90vw;
  }

  .about .container{
    max-width: 90vw;
  }

  .support__grid{
    width: 90vw;
    gap: 1.5rem;
  }

  .support-card{
    width: 100%;
  }

  .support__note{
    width: 85vw;
  }

  .information__grid{
    width: 90vw;
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .info-link{
    width: 100%;
  }

  .hero__content{
    padding: 1rem 0 0;
    height: 80vw;
    background: url(../assets/images/home_catch.png) no-repeat;
    background-position: top left -47vw;
    background-size: auto 80vw;
  }

  .hero__title{
    width: 65vw;
    margin: 9.5rem 0 1rem 0;
  }

  .hero__text{
      width: 90vw;
      margin: 0 auto;
      font-size: 0.75rem;
  }

  .about{
    padding: 2rem 0 4rem 0;
  }

  .section-subtitle{
    font-size: 1rem;
  }

  .section-title{
    font-size: 1.6rem;
  }

  .section-header{
    margin-bottom: 2rem;
  }

  .about__block{
    margin-bottom: 2rem;
  }

  .about__heading{
    font-size: 1.2rem;
  }

  .about__intro{
    gap: 1.5rem;
  }
  
  .about__intro-image{
    flex: unset;
    width: 60vw;
  }

  .about__team-box{
      padding: 1rem;
    text-align: center;
    margin: 1rem 0rem 3rem 0rem;
  }

  .about__team-box-title{
    font-size: 1.1rem;
  }

  .about__team-box-list{
    font-size: 0.85rem;
    text-align: left;
  }

  .support{
      padding: 2rem 0 3rem 0;
  }

  .support__lead{
    font-size: 1.2rem;
  }

  .support-card__body{
    gap: 1rem;
  }

  .support-card__image{
    flex: 0 0 5.5rem;
  }

  .support-card__title{
    font-size: 1.05rem;
  }

  .support-card{
    padding: 1rem 1.3rem;
  }

  .support__note .sn_ttl{
    font-size: 1rem;
  }

  .support__note p{
    font-size: 0.9rem;
  }

  .contact{
      padding: 2rem 0 2.5rem 0;
  }

  .contact__catch{
    font-size: 1.1rem;
  }

  .contact__tel-name{
    font-size: 1rem;
  }

  .contact__tel-number{
    font-size: 2rem;
  }

  .information{
    padding: 2rem 0 3rem 0;
  }

  .info-link{
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .info-link__icon{
    width: 1rem;
  }

}