@import url("https://fonts.googleapis.com/css2?family=Rockwell&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Corbel&display=swap");

body {
  font-family: "Corbel", sans-serif;
  margin: 0;
  padding: 0;
  /* background-color: #f4f4f4; */
}

/* ヘッダーエリアのスタイル　ここから */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* padding: 20px 0; */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-content .logo {
  max-width: 212px;
}

.header-content img {
  width: 100%;
  height: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 20px;
  font-family: "Rockwell", serif;
}

nav ul li a:hover {
  background-color: #e67e22;
  color: #fff;
}
/* ヘッダーエリアのスタイル　ここまで */

/* メインビジュアルのスタイル */
.main-visual {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 50px;
  /* margin-top: 62.54px; */
  /* margin-top: 96px; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* コンテンツエリア全体のスタイル */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* h2セクション全体のスタイル */
.introduction {
  background-color: #fff;
  padding: 20px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  text-align: center;
}

/* h2セクションの見出しスタイル */
.introduction h2 {
  font-family: "Rockwell", serif;
  font-size: 50px;
  font-weight: normal;
  color: #333;
  margin-top: 90px;
  margin-bottom: 0;
  line-height: 80px;
}

/* h2下の装飾画像のスタイル */
.h2-decoration img {
  width: 100%;
  margin-bottom: 60px;
}

/* h2セクションのテキスト部分のスタイル */
.introduction p {
  font-family: "Corbel", "Helvetica", sans-serif;
  font-size: 20px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 30px;
}

/* 高さ調整のスペース */
.space {
  height: 15px;
}

/* フッターエリアのスタイル　ここから */
.footer {
  color: #000;
  text-align: center;
}

.footer-logo img {
  width: 300px;
  height: auto;
  margin-bottom: 90px;
}

.footer-links {
  background-color: #d9d9d9;
  padding: 30px 0;
}

.footer-links a {
  font-family: "Rockwell", serif;
  font-size: 20px;
  color: #000;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
/* フッターエリアのスタイル　ここまで */

/* タブレット表示用スタイル */
/* ヘッダーエリアのスタイル　ここから */
@media screen and (max-width: 768px) {
  /* h2セクションの見出しスタイル */
  .introduction h2 {
    font-family: "Rockwell", serif;
    font-size: 40px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 0;
    line-height: 55px;
  }

  /* h2下の装飾画像のスタイル */
  .h2-decoration img {
    margin-bottom: 40px;
  }

  .introduction p {
    font-size: 16px;
  }

  /* フッターロゴのスタイル調整 */
  .footer-logo img {
    width: 300px;
    height: auto;
    margin-bottom: 55px;
  }
  /* フッターメニューのテキストサイズ調整 */
  .footer-links a {
    font-size: 16px;
  }
}

@media screen and (max-width: 375px) {
  /* h2セクションの見出しスタイル */
  .introduction h2 {
    font-family: "Rockwell", serif;
    font-size: 20px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 0;
    line-height: 25px;
  }

  /* h2下の装飾画像のスタイル */
  .h2-decoration img {
    margin-bottom: 18px;
  }

  .introduction p {
    font-size: 16px;
    margin-top: 0;
  }

  /* フッターロゴのスタイル調整 */
  .footer-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 35px;
  }

  /* フッターのスタイル調整 */
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-links a {
    width: 27%; /* 各リンクが1/3の幅を持つ */
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-links a:nth-child(1),
  .footer-links a:nth-child(2),
  .footer-links a:nth-child(3) {
    order: 1;
  }

  .footer-links a:nth-child(4),
  .footer-links a:nth-child(5),
  .footer-links a:nth-child(6) {
    order: 2;
  }
}

/* common.cssの修正　ここから -------------------------------------------------------------------------------------------------------------*/
.hidden-sp {
  display: none;
}
.hidden-pc {
  display: block;
}
.appear-pc {
  display: none !important;
}
@media screen and (min-width: 768px) {
  .hidden-sp {
    display: block;
  }
}
.hidden-tb {
  display: block;
}
@media screen and (min-width: 768px) {
  .hidden-tb {
    display: none;
  }
}
/* aタグのスタイルリセット */
a {
  text-decoration: none; /* 下線を削除 */
  color: inherit; /* 親要素の色を継承 */
}
header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media screen and (min-width: 768px) {
  header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }
}

@media screen and (min-width: 768px) {
  .header-content {
  }
}
/* メインビジュアルのスタイル */
.main-visual {
  margin-top: 60px !important;
  /* margin-top: 50px !important; */
}
@media screen and (min-width: 768px) {
  .main-visual {
    margin-top: 114px !important;
  }
  .introduction h2 {
    font-size: 40px !important;
    font-weight: normal;
    color: #333;
    margin-top: 40px;
    margin-bottom: 0;
    line-height: 80px;
    letter-spacing: 0.025em;
  }
}
.introduction h2 {
  font-size: 20px;
  margin-bottom: -7px;
}
.introduction {
  padding-inline: 50px;
}
@media screen and (min-width: 768px) {
  .introduction {
    padding-inline: 104px;
  }
}
.h2-decoration img {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .h2-decoration img {
    margin-top: -10px;
    margin-bottom: 20px;
  }
}
.introduction p {
  line-height: 1.2;
  margin-bottom: 0;
  padding: 10px;
  letter-spacing: -0.04em;
}
@media screen and (min-width: 768px) {
  .introduction p {
    padding-top: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-block: 0 !important;
  }
}
.footer-links a {
  width: auto;
  margin: 0;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-template-rows: repeat(2, auto); /* 2行 */
  padding-inline: 15px;
  padding-bottom: 10px;
  row-gap: 5px;
}
.footer-links a {
  text-align: center; /* 各リンクを中央に配置 */
}

/* PC ここかから --------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
  .appear-pc {
    display: block !important;
  }
  .hidden-pc {
    display: none !important;
  }
  .introduction {
    padding-top: 50px !important;
  }
  .h2-decoration img {
    padding-top: 20px !important;
    margin-bottom: 36px;
  }
  .introduction p {
    font-size: 25px !important;
    padding-inline: 50px;
    line-height: 1.26;
  }
  .info-cards {
    margin-top: 60px !important;
    gap: 20px !important;
    padding-inline: 70px !important;
    gap: 40px !important;
    padding-inline: 102px !important;
    justify-content: center !important;
  }
  .icon-area {
    margin-top: 0 !important;
  }
  .icon img {
    width: 180px !important;
    object-fit: cover !important;
  }
  .icon-area {
    margin-top: -10px !important;
  }
}

/*フッター*/
.footer-bottom {
  background-color: #d9d9d9;
}
.footer-links {
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .footer-links.hidden-sp {
    display: none;
  }
  .footer-links.hidden-tb {
    display: flex;
    /* flex-wrap: nowrap; */
  }
}
@media screen and (max-width: 769px) {
  .footer-links.hidden-sp {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    /* gap: 20px; */
  }
  .footer-links.hidden-tb {
    display: none;
    gap: 0px;
  }
}
.footer-links a {
  display: inline-block;
}

@media screen and (min-width: 1024px) and (max-width: 1099px) {
  .header-content {
    padding-right: 30px !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1099px) {
  .header-content {
    padding-right: 30px !important;
  }
}
/* 見出し */
@media screen and (min-width: 765px) and (max-width: 1023px) {
  h2.hidden-sp.hidden-pc {
    display: block !important; /* Teach English at ABC Plus! を表示 */
    font-size: clamp(20px, calc(50px / 1200px * 100vw), 50px);
  }
  h2.appear-pc {
    display: none !important; /* Before You Apply を非表示 */
  }
}

@media screen and (max-width: 764px), screen and (min-width: 1024px) {
  h2.hidden-sp.hidden-pc {
    display: none !important; /* Teach English at ABC Plus! を非表示 */
  }
  h2.appear-pc {
    display: block !important; /* Before You Apply を表示 */
    font-size: 20px;
  }
}
@media screen and (max-width: 450px) {
  h2.appear-pc {
    font-size: 1.1rem;
  }
}

/* Job Description Workshift */
@media screen and (min-width: 1024px) {
  .shifts-container {
    gap: 50px !important;
    display: flex !important;
    flex-direction: row !important;
  }
  .shift {
    flex: 1 !important;
  }
  .shift.shift-a {
    padding-left: 0px !important;
    margin-bottom: 0px !important;
  }
  .shift-content {
    padding-left: 10px !important;
  }
}
@media screen and (min-width: 768px) {
  .timeline img {
    height: auto !important;
  }
}

/*About Our Location*/
@media screen and (max-width: 768px) {
  .location-info-p {
    text-align: center !important;
  }
}
.locations {
  max-width: 765px !important;
}
.location-image img {
  height: 100% !important;
}
.location-map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1 !important;
}

.c-button-drawer {
  cursor: pointer; /* モバイルデバイスでは影響ないが、デスクトップではポインタに */
}
/*About Our Location*/
@media screen and (max-width: 768px) {
  .location-info-p {
    /* text-align: center !important; */
  }
}
.locations {
  /* max-width: 765px !important; */
}
.location-image img {
  /* height: 100% !important; */
}
.location-map iframe {
  /* width: 100%;
  height: auto; */
  /* aspect-ratio: 1 / 1 !important; */
}

/* footer修正 ここかから --------------------------------------------------------------------*/

@media screen and (max-width: 819px) {
  .footer-links a {
    font-size: 14px !important;
  }
}
.footer-links a {
  font-size: 19px;
}
@media screen and (max-width: 450px) {
  .footer-links {
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .footer-links {
    display: grid !important;
  }
}
@media screen and (min-width: 768px) {
  .footer-links {
    display: flex !important;
  }
}
.footer-links.hidden-tb {
  display: none !important;
}
@media screen and (min-width: 768px) {
  .footer-links.hidden-sp {
    display: none !important;
  }
  .footer-links.hidden-tb {
    display: flex !important;
  }
}

/* box-shadow修正 --------------------------------------------------------------------------*/
.introduction--what {
  margin-top: 30px !important;
}
@media screen and (min-width: 768px) {
  .introduction--what {
    margin-top: 30px !important;
  }
}

/* メインビジュアル最大幅修正 --------------------------------------------------------------------------*/
.top__slider-area img,
.main-visual {
  max-width: 1200px;
}

/*---------------------------
Thanksページ(applynow)
----------------------------*/
h2,
p {
  margin: 0;
}

.applynow-thanks {
  margin-top: 160px;
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
  max-width: 960px;
  min-height: calc(100vh - 410px);
}

.applynow-thanks__title {
  font-size: 50px;
  font-family: "Rockwell";
  font-weight: 400;
}

.applynow-thanks__sentences {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 24px;
  font-family: "Corbel";
  letter-spacing: -1px;
}

.applynow-thanks__sentence01 {
}

.applynow-thanks__sentence02 {
}

.applynow-thanks__button {
  margin-top: 60px;
  margin-bottom: 40px;
}

.applynow-thanks__button-link {
  text-align: center;
  color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-inline: 50px;
  border-radius: 14px;
  font-size: 26px;
  background-color: #1ea2d1;

  opacity: 1;
  transition: opacity 0.3s;
}
.applynow-thanks__button-link:hover {
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  .applynow-thanks__button-link {
    padding-inline: 10px;
  }
}

@media screen and (max-width: 768px) {
  .applynow-thanks {
    margin-top: 60px;
    min-height: calc(100vh - 200px);
  }
  .applynow-thanks__title {
    font-size: 30px;
  }
  .applynow-thanks__sentences {
    margin-top: 20px;
    gap: 20px;
    font-size: 16px;
  }
}

.text__hidden-1400 {
  display: block;
}
@media screen and (max-width: 1400px) {
  .text__hidden-1400 {
    display: none;
  }
}
/*---------------------------
Thanksページ(faq)
----------------------------*/

.faq-thanks {
  margin-top: 160px;
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
  max-width: 960px;
  min-height: calc(100vh - 410px);
}

.faq-thanks__title {
  font-size: 50px;
  font-family: "Rockwell";
  font-weight: 400;
}

.faq-thanks__sentences {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 24px;
  font-family: "Corbel";
  letter-spacing: -1px;
}

.faq-thanks__sentence01 {
}

.faq-thanks__sentence02 {
}

.faq-thanks__button {
  margin-top: 60px;
  margin-bottom: 40px;
}

.faq-thanks__button-link {
  text-align: center;
  color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-inline: 50px;
  border-radius: 14px;
  font-size: 26px;
  background-color: #1ea2d1;

  opacity: 1;
  transition: opacity 0.3s;
}
.faq-thanks__button-link:hover {
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  .faq-thanks__button-link {
    padding-inline: 10px;
  }
}

@media screen and (max-width: 768px) {
  .faq-thanks {
    margin-top: 60px;
    min-height: calc(100vh - 200px);
  }
  .faq-thanks__title {
    font-size: 30px;
  }
  .faq-thanks__sentences {
    margin-top: 20px;
    gap: 20px;
    font-size: 16px;
  }
}
