header {
  font-size: 1.6em;
  line-height: 2.4;
  text-align: left;
}
main {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 1.6em;
}
/*************レスポンシブ改行*********/
.brake_600:after {
  content: "\A";
  white-space: pre;
}
@media(min-width: 600px){
  .brake_600:after {
    content: "";
    line-height: 1;
  }
}
/* ===== Hero ===== */
.hero {
  background-image: url("../../asset/image/haccareer/hero.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 40px 0;
  margin: 20px 0 70px;
  line-height: 2.4;
}
.hero__title {
  max-width: 1200px;
  padding: 0 100px;
  margin: 0 auto;
}
.hero__semi__title {
  color: #2C8080;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8;
  border-radius: 3px;
  border: 1.5px solid #2C8080;
  padding-left: 20px;
  width: 153px;
}
.hero__title :is(h1, h2) {
  font-size: 2.6rem;
  color: #2C8080;
}
.hero__catch {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2C8080;
}
.hero__title p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2;
}
.hero__catch__small {
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  
  .hero {
  background-image: url("../../asset/image/haccareer/sp_hero.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  padding: 20px 0;
  }
  .hero__title {
  padding: 0 30px;
  margin: 0 auto;
}
  .hero__title :is(h1, h2) {
    margin: 10px 0 35vw 0;
    line-height: 1.2;
  }
  .hero__catch {
  line-height: 1.5;
    margin: 0 0 20px;
}
  .hero__title p {
  margin: 0 0 20px;
}
  .hero__catch__small {
  text-align: center;
}
}

/* ===== button ===== */
.contact__button a {
  color: #fff;
  font-weight: 500;
  line-height: 2.4; 
  font-size: 1.2rem;
  background: linear-gradient(to right, #3DB0B0, #2C8080);
  position: relative;
  display: flex;
  justify-content: space-around;
  max-width: 210px;
  padding: 3px 25px;
  margin-top: 30px;
  transition: 0.3s ease-in-out;
}
@media (max-width: 600px) {
  .hero{
    margin-bottom: 40px;
  }
  .contact__button a {
    margin: 0 auto;
  }
}
.contact__button a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3em;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
  pointer-events: none;
}
.contact__button a:hover:after {
  right: -2.5em;
}
.contact__button a:hover {
  text-decoration: none;
  opacity: 1;
  background: linear-gradient(to right, #3DB0B0, #3DB0B0);
}

/* ===== Q ===== */
.q{
  max-width: 1200px;
  padding: 0 100px;
  margin: 0 auto;
}
.q__title {
  text-align: center;
  margin: 0 0 40px;
}
.q__inner {
  position: relative;
  display: inline-block;
  padding-left: 30px; /* Q画像のスペース確保 */
}
.q__mark {
  position: absolute;
  left: 0;
  top: -15px;
  width: 60px;
  opacity: 0.6;
}
.q__text {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2C8080;
}
.q__body {
 text-align: center;
  margin: 0 0 80px;
}
.q__text_pc {
  display: block;
  margin: 0 0 30px;
}
.q__text_sp{
  display: none;
}
.q__body_a{
  width: fit-content;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 2.0;
  text-align: center;
  border-bottom: 1px solid  #2C8080 ;
  margin:  0 auto 20px;
}
.q__body_a span {
  color: #2C8080;
}
.q__body p {
  color: #5E5E5E;
  font-size: 1.4rem;
  line-height: 1.5;
}
@media (max-width: 800px) {
  .q{
  padding: 0 40px;
}
.q__inner {
  position: relative;
  display: inline-block;
  padding-left: 30px;
}
.q__mark {
  position: absolute;
  left: 0;
  top: -2px;
  width: 60px;
}
.q__text {
  font-size: 2.0rem;
  line-height: 1.5;
}
.q__body {
 text-align: center;
  margin: 0 0 80px;
}
.q__text_pc {
  display: none;
}
.q__text_sp{
  display: block;
  margin-bottom: 30px;
}
.q__body_a{
  width: fit-content;
  font-size: 2.0rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
}


/* ===== Point ===== */
.point {
  position: relative;
  background: url("../image/haccareer/point_bg.jpg") center/cover no-repeat;
}
.point__inner {
  max-width: 1200px;
  padding: 80px 100px 75px;
  margin: 0 auto;
}
.point__allow {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 275px;
}
.point__inner :is(h1, h2) {
  position: relative;
  padding-left: 1.4em;
  font-size: 2.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 30px;
}
.point__inner :is(h1, h2)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.4em;
  height: 0.4em;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0.20em #cfe2f3;
}
.point__list {
  display: flex;
}
.point__list li{
  margin-right: 15px;
}
.point__list li:last-child {
  margin-right: 0;
}
.point__list__no {
  font-size: 3.0rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
} 
.point__pc {
  display: block;
}
.point__sp{
  display: none;
}
@media (max-width: 800px) {
.point__inner {
  padding: 80px 40px 75px;
}
}
@media (max-width: 600px) {
.point__inner :is(h1, h2) {
  font-size: 2.0rem;
}
.point__list {
  display: block;
}
.point__list li{
  margin-right: 0;
  margin-bottom: 10px;
}
.point__pc {
  display: none;
}
.point__sp{
  display: block;
}
}
/* ===== Schedule ===== */
.schedule {
  background-color: #f8f9fc;
  padding-top: 60px;
  padding-bottom: 60px;
}
.schedule__inner {
  max-width: 1200px;
  padding: 0 100px;
  margin: 0 auto;
}
.schedule__inner :is(h1, h2) {
  position: relative;
  padding-left: 1.4em;
  font-size: 2.6rem;
  font-weight: 500;
  color: #2C8080;
  margin-bottom: 30px;
}
.schedule__inner :is(h1, h2)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.4em;
  height: 0.4em;
  background: #2C8080;
  border-radius: 50%;
  box-shadow: 0 0 0 0.20em #cfe2f3;
}
.schedule__inner img {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.schedule__pc {
  display: block;
  margin-bottom: 40px;
}
.schedule__sp {
  display: none;
}
.schedule__inner p {
  text-align: center;
}
@media (max-width: 800px) {
.schedule__inner {
  padding: 30px 40px 0;
}
}
@media (max-width: 600px) {
.schedule__inner :is(h1, h2) {
  font-size: 2.0rem;
}
  .schedule__pc {
  display: none;
}
.schedule__sp {
  display: block;
  margin-bottom: 40px;
}
  .schedule__inner p {
  font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
}

/* ===== Style ===== */
.style__inner{
  max-width: 1200px;
  padding: 80px 100px 0;
  margin: 0 auto 60px;
}
.style__inner :is(h1, h2) {
  position: relative;
  padding-left: 1.4em;
  font-size: 2.6rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 30px;
}
.style__inner :is(h1, h2)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.4em;
  height: 0.4em;
  background: #F2F9F9;
  border-radius: 50%;
  box-shadow: 0 0 0 0.20em #cfe2f3;
}
.style__inner ul {
  display: flex;
  margin-bottom: 80px;
}
.style__inner li{
  margin-right: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.style__inner li:last-child {
  margin-right: 0;
}
@media (max-width: 800px) {
.style__inner {
  padding: 80px 40px 75px;
  margin-bottom: 10px;
}
}
@media (max-width: 600px) {
.style__inner :is(h1, h2) {
  font-size: 2.0rem;
}
.style__inner ul {
  display: block;
  margin-bottom: 0;
}
.style__inner li{
  margin-right: 0;
  margin-bottom: 20px;
}
}

/* ===== Q&A ===== */

:root{
  --accent: #0e8a8a;       /* テーマカラー（Qマーク・質問文字・ボタンの色）*/
  --answer-text: #333333;  /* 答えの文字色 */
  --card-bg: #ffffff;      /* カードの背景色 */
}
*{ box-sizing: border-box; }
.faq{
  margin: 0;
  padding: 60px 100px;
  background: #F2F9F9;
  color: #333333;
}
.faq__contain{
  max-width: 1000px;
  margin: 0 auto;
}
.faq__contain :is(h1, h2) {
  position: relative;
  padding: 0 0 0 1.4em;
  font-size: 2.6rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 30px;
}
.faq__contain :is(h1, h2)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.4em;
  height: 0.4em;
  background: #2C8080;
  border-radius: 50%;
  box-shadow: 0 0 0 0.20em #cfe2f3;
}
/* ===== 質問1つ分のカード ===== */
.faq-item{
  background: var(--card-bg);
  border: 1px solid #ececec;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  line-height: 1.8;
}
 
.faq-toggle-input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
 
.faq-question{
  display: flex;
  align-items: center; 
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;      
  user-select: none;   
}
.faq-q-badge{
  flex-shrink: 0;     
  width: 32px;
  height: 32px;
  border-radius: 50%;  
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
 

.faq-q-text{
  flex: 1;              
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 500;
}
 

.faq-toggle{
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-toggle::before,  
.faq-toggle::after{   
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-toggle::before{  
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-toggle::after{   
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
 
/* ===== 答えの部分（開いたり閉じたりする所）=====
   grid の 0fr→1fr を使うと、高さを自動で測って
   「高さ0 → 中身の高さ」へなめらかに伸び縮みします。
   この3段重ねの<div>は開閉アニメに必要なので消さないでください。 */
.faq-answer{
  display: grid;
  grid-template-rows: 0fr;   /* 閉じている状態（高さ0）*/
  transition: grid-template-rows 0.4s ease;
}
.faq-answer-clip{
  min-height: 0;
  overflow: hidden;      
}
.faq-answer-body{
  /* 上に区切り線。文字の左位置は「質問の文章」とそろえています */
  margin: 0 28px;
  padding: 18px 0 24px calc(32px + 16px);
  border-top: 1px solid rgba(14, 138, 138, 0.35); 
  color: var(--answer-text);
  font-size: 15px;
}
.faq-answer-body p{
  margin: 0;
}
 
/* ===== チェックがON（＝開いた）ときの変化 ===== */
/* (1) 答えを開く */
.faq-toggle-input:checked ~ .faq-answer{
  grid-template-rows: 1fr;
}
/* (2) ＋ の縦線を消して − にする */
.faq-toggle-input:checked ~ .faq-question .faq-toggle::after{
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}
/* キーボードのTabキーで選んだ時に分かるように枠を表示（アクセシビリティ）*/
.faq-toggle-input:focus-visible ~ .faq-question{
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
/* マウスを乗せた時のうっすらした色（無くてもOK）*/
.faq-question:hover{
  background: rgba(14, 138, 138, 0.04);
}
@media (max-width: 800px){
.faq{
  padding: 60px 40px;
}
}
@media (max-width: 600px){
 
  .faq-question{
    align-items: flex-start; /* 文章が複数行になるのでマークとボタンを上ぞろえに */
    gap: 12px;
    padding: 18px 16px;
  }
  .faq-q-badge{
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .faq-q-text{ font-size: 15px; }
 
  .faq-answer-body{
    margin: 0 16px;
    padding: 14px 0 20px calc(28px + 12px); /* スマホは Qマーク28px + すき間12px に合わせる */
    font-size: 14px;
  }
}
/* ===== button ===== */
.faq__button__contain{
  padding-top: 10px;
  text-align: center;
  line-height: 1.5;
}
.faq__button__contain p {
  font-size: 1.5rem;
  margin: 20px;
}
.faq__button__contain small {
  font-size: 1.2rem;
}
.faq__button a {
  color: #fff;
  font-weight: 500;
  line-height: 2.4; 
  font-size: 1.2rem;
  background: linear-gradient(to right, #3DB0B0, #2C8080);
  position: relative;
  display: flex;
  justify-content: space-around;
  max-width: 210px;
  padding: 3px 25px;
  transition: 0.3s ease-in-out;
  margin: 20px auto;
}
.faq__button a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3em;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
  pointer-events: none;
}
.faq__button a:hover:after {
  right: -2.5em;
}
.faq__button a:hover {
  text-decoration: none;
  opacity: 1;
  background: linear-gradient(to right, #3DB0B0, #3DB0B0);
}
@media (max-width: 600px) {
  .faq__button a {
    margin: 0 auto;
  }
}

/* ===== Footer__bg ===== */
.site-footer {
  background-color: #2C8080;
}
.footer__btn--mail{
  color: #2C8080;
}