@charset "utf-8";

body {
  color: #222222;
}

@media screen and (min-width: 768px) {
    .read-more {
        padding: 13px 40px;
        font-size: 14px;
    }
}
.read-more {
  justify-self: end;
  background: #fff;
  font-size: 14px;
}

/* =========================================
　hero section
========================================= */
.hero-section{
    display: grid;
    place-items: center; 
    
    /* 古いブラウザ用のフォールバック */
    height: calc(65vh - 70px);
    /* モダンブラウザ用の動的ビューポート（アドレスバーの影響を受けない） */
    height: calc(65dvh - 70px);
    
    /* 念のため：中身が溢れた時のために最小の高さとして指定する方が安全 */
    min-height: calc(65dvh - 70px);
}
.content-wrapper {
  background-color: #fff;
  border-radius: 40px 40px 0 0; 
  margin-top: -96px; 
  padding-top: 30%;
  position: relative; 
  z-index: 1;
}
 .hero-title{
   /*font-size: clamp(34px, 6vw, 80px); */
    /* font-size: clamp(32px, 3vw, 34px); */
    font-size: clamp(32px, 3.2vw, 50px);
    font-weight: bold;
    line-height: 1.5;
}
.left-title{
    font-size: clamp(34px, 4.5vw, 70px);
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
}

.sub-title{
    font-size: 20px;
    font-weight: bold;
    text-align: left;
}
/* タブレット以上 */
@media screen and (min-width: 768px) {
    .title-wrapper{
        width: 50vw;
        max-width: 650px;
        margin: auto;
        text-align: center;
    }
    .sub-title{
      text-align: center;
    }
    .left-title{
      text-align: left;
    }
    .hero-subtitle{
      text-align: left;
    }
}

 @media (min-width: 1024px) {
    .hero-section{
        /* height: calc(60dvh - 70px);
        min-height: 400px; */
        height: calc(35dvh - 70px);
        min-height: 250px;
    }
    .content-wrapper {
        background-color: #fff;
        border-radius: 40px 40px 0 0; 
        margin-top: -96px; 
        padding-top: 130px;
        position: relative; 
        z-index: 1;
        }
}

/* =========================================
　各section
========================================= */
/* =========================
　私たちについて イチから育てるsection
============================ */
  .strengths{
      width: 100vw;
      margin: auto;
  }

@media screen and (min-width: 520px) {
  .strengths{
      width: 70vw;
      margin: auto;
  }
}
/* タブレット以上 */
@media screen and (min-width: 768px) {
    .strengths{
        width: 60vw;
        max-width: 700px;
        margin: 5% auto 10%;
    }
}


/* =========================
　開業をお考えの方へ 夢を諦めたくない方section
============================ */
/* SP：縦並び */
.grid-two-column {
  display: grid;
  gap: 40px;
  padding: 40px 0;
  background: #fff;
  border-radius: 0 0 24px 24px;
}

.grid-two-column img {
  width: 100%;
  border-radius: 16px;
}

.text-area {
  display: grid;
  gap: 40px;
}



.grid-two-column .content-text {
  line-height: 2;
}

.grid-two-column .read-more {
  justify-self: center;
}

/* PC：2カラム */
@media screen and (min-width: 768px) {
  .grid-two-column {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 0;
    border-radius: 0;
  }
  .text-area {
    height: 100%;
    align-content: space-between;
  }
}
/* タブレット：1カラム */
@media screen and (min-width: 520px) {
  .white-wrap{
    width: 90vw;
    margin: auto;
    padding: 5vw 10vw;
  }
}
/* =========================
　interview section
============================ */
.interview{
    /* background: #fffff8; */
    width: 100vw;
    /* width: 100%; */
    max-width: 1000px;
    margin: 70px auto;
}
.interview-wrap{
    position: relative;
    height: auto;
}
.semi-left{
    width: 60px;
    position: absolute;
    top: -22%;
    left: 0;
    z-index: 10;
}
.semi-right{
    width: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
}
/* .semi-right{
     width: 50px;
    margin-left: auto;
    grid-column: 2;
    margin-top: -2em;
} */
.interview-title span {
  display: block;
}
@media (min-width: 520px) {
    .interview{
      /* background: #fffff8; */
      width: 80vw;
      /* width: 100%; */
      max-width: 1000px;
      margin: 70px auto 120px;
  }
    .semi-right{
      width: 50px;
      position: absolute;
      bottom: 0;
      right: 40%;
      z-index: 10;
  }
}

/* PC */
@media (min-width: 768px) {
  .interview-title {
    font-size: clamp(26px, 3vw, 30px);
    text-align: right;
    line-height: 2.1;
  }

  .interview-title span:nth-child(1) {
    padding-right: 10vw;
  }

  .interview-title span:nth-child(2) {
    padding-right: 2vw;
  }

  .interview-title span:nth-child(3) {
    padding-right: 0;
  }
  .semi-right{
    width: 60px;
    position: absolute;
    bottom: 0;
    right: -10%;
    z-index: 10;
}
}

/* SP */
.interview-layout {
  display: grid;
  grid-template-areas:
    "title"
    "image"
    "text";
  gap: 50px;
  padding: 15px;
}

.interview-wrap {
  grid-area: title;
}

.interview-main-img {
  grid-area: image;
  width: 100%;
}

.interview-lead {
  grid-area: text;
}

/* PC */
@media (min-width: 768px) {
  .interview-layout {
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 300px 1fr;
    grid-template-areas:
      "image title"
      "image text";
    gap: 30px 50px;
    align-items: center;
    padding: 0;
  }
  .interview-main-img {
    grid-row: span 2;
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius: 30px;
  }
  }

  .interview-main-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius: 30px;
  }
  .interview-wrap {
    align-self: end;
    width: fit-content;
  }

  .interview-lead {
    align-self: start;
    max-width: 395px;
  }

@media (min-width: 1024px) {
    .interview-layout {
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 340px 1fr;
    grid-template-areas:
      "image title"
      "image text";
    gap: 30px 50px;
    align-items: center;
  }
}


/* ------------------------
インタビュー一覧 API
--------------------------- */


/* SP 基本 */
#interview-list {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.iv-card {
  width: calc((100% - 16px) / 2);
}

.iv-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ddd;
  text-decoration: none;
}

.iv-meta {
  position: relative;
  width: 100%;
}

.iv-thumb {
  width: 100%;
  max-height: 230px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.name-sub {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 6px 10px;
  text-align: center;
  min-width: 74px;
}

.iv-name {
  font-size: 11px;
  color: #333;
  line-height: 1;
  margin: 0 0 4px;
  font-weight: 500;
  text-align: end;
}

.iv-role {
  font-size: 10px;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

/* タブレット以上 */
@media screen and (min-width: 768px) {
  #interview-list {
    gap: 24px;
    flex-wrap: nowrap;
    margin-top: 50px;
  }

  .iv-card {
    width: calc((100% - 24px) / 2);
  }

  .iv-link {
    border-radius: 24px;
  }

  .name-sub {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    min-width: 88px;
  }

  .iv-name {
    font-size: 12px;
  }

  .iv-role {
    font-size: 11px;
  }
}

/* =========================
　リクルート section
============================ */

.business-layout {
  display: grid;
  gap: 50px;
  width: 100%;
  margin: auto;
  padding: 0;
  padding-bottom: 70px;
}

.business-right {
  display: grid;
  justify-items: center;
  gap: 40px;
}

.business-image {
  width: 55%;
  max-width: 180px;
  border-radius: 50%;
}
@media (min-width: 520px) {
  .business-layout {
  display: grid;
  gap: 50px;
  width: 80vw;
  margin: auto;
  padding: 30px;
}
}

@media (min-width: 768px) {
  .business-layout {
    max-width: 1000px;
    margin: 50px auto;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    justify-items: center;
  }

  .business-image {
    width: 180px;
  }
  .business-title{
    font-size: clamp(26px, 3vw, 30px);
    width: fit-content;
    margin: auto;
  }
}