@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

/* Googleフォント Noto Sans JP */
.font-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Googleフォント Noto Serif JP */
.font-ja-min {
  font-family: 'Noto Serif JP', serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* ここからメインコンテンツ 
--------------------------------------------------------- */

/* main-visual */
.main-container {
  position: relative;
}

.first-img {
  width: 100%;
  display: flex;
  align-items: center;
}

.circle {
  width: 25%;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(-50%);
}

.catch {
  width: 87%;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(-50%);
}

/* sub-catch */
#sub-catch {
  position: relative;
}

.bg-thin-green {
  background-color: #f4f6eb;
  width: 100%;
  height: clamp(200px, 40vw, 550px);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.green-circles img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.sub-catch-support {
  position: absolute;
  top: 6vw;
  left: 27%;
  transform: translateX(-30%);
}

.sub-catch-support h1 {
  color: #393424;
  font-size: clamp(2.5rem, calc(2.5vw + 2rem), 5rem);
  font-weight: 900;
}

.sub-catch-support h1:nth-of-type(1) {
  position: relative;
}

.sub-catch-support h1:nth-of-type(2) {
  position: absolute;
  top: 70px;
  left: 0;
  white-space: nowrap;
}

.bg-red {
  background-color: #89023e;
  padding: 5px 7% 10px;
  color: #fff;
  font-size: clamp(1.5rem, calc(2.5vw + 1.5rem), 4.5rem);
  border-radius: 100px;
}

.italic {
  font-style: italic;
  margin-left: 20px;
}

.red {
  color: #89023e;
}

.b-text {
  font-size: clamp(3rem, calc(6vw + 1.5rem), 9rem);
}

.sub-catch-career {
  margin: 100px auto 160px;
  text-align: center;
}

.sub-catch-career h2 {
  color: #393424;
  font-size: clamp(1.5rem, calc(1.5vw + 1.5rem), 3rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* summary */
.bg-green {
  background-color: #e7ecd5;
  width: 100%;
  position: relative;
  padding-top: 7vw;
  padding-bottom: 100px;
}

.white-circles img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.summary-container {
  width: 80%;
  background-color: #fff;
  box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.14);
  border-radius: 40px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.summary-head-container {
  width: 100%;
}

.summary-head {
  width: 90%;
  margin: 0 auto;
  line-height: 1;
  position: absolute;
  top: -25px;
  left: 53%;
  transform: translateX(-50%);
}

.summary-head img {
  width: 55%;
}

.summary-head h2 {
  position: relative;
  font-size: clamp(2rem, calc(4.5vw + 0.5rem), 6rem);
  font-weight: bold;
  color: rgba(0, 0, 0, 0);
  text-shadow: 0 4px 1px #fff, 2.8px 2.8px 1px #fff, 4px 0 1px #fff,
    2.8px -2.8px 1px #fff, 0 -4px 1px #fff, -2.8px 2.8px 1px #fff,
    -4px 0 1px #fff, -2.8px -2.8px 1px #fff, 5px 7px 2px #000;
}

.summary-head h2::before {
  position: absolute;
  content: '三重交通 大阪説明会開催中！';
  top: 0;
  left: 0;
  color: rgba(0, 0, 0, 0);
  background: linear-gradient(90deg, #387d7a 0%, #51b4b0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.summary-subhead {
  text-align: center;
}

.summary-subhead h3 {
  max-width: 85%;
  color: #393424;
  margin: 0 auto;
  font-size: 1.75rem;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.date-container {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin: 60px auto 0;
}

.date-head {
  background-color: #387d7a;
  border-radius: 50px;
  padding: 15px 36px;
}

.date-head h3 {
  font-size: clamp(1.125rem, calc(1.25vw + 0.5rem), 2.5rem);
  font-weight: normal;
  color: #fff;
}

.date-list p {
  color: #393424;
  font-size: clamp(1.5rem, calc(1.5vw + 1rem), 3rem);
  font-weight: bold;
}

.table-flex {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px auto 80px;
  padding-bottom: 100px;
}

.table {
  border-collapse: collapse;
  flex-basis: 50%;
}

.table tr td {
  border-top: 3px solid #e7ecd5;
}

.table tr td:nth-of-type(odd) {
  width: 20%;
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 40px 10px;
  color: #387d7a;
}

.table tr td:nth-of-type(even) {
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
  padding-left: 20px;
  color: #393424;
  overflow-wrap: anywhere;
}

.table tr td:nth-last-of-type(1),
.table tr td:nth-last-of-type(2) {
  border-bottom: 3px solid #e7ecd5;
}

.on768 {
  display: none;
}

.map iframe {
  width: 30vw;
  height: 400px;
}

/* 予約ボタン */
.booking-btn {
  width: 50%;
  margin: 0 auto;
  background-color: #ff715b;
  border-radius: 20px;
  padding: 25px 0;
  box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.14);
  transition: opacity 0.4s;
}

.booking-btn:hover {
  opacity: 0.7;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btn-container p {
  color: #fff;
  font-size: clamp(1.25rem, calc(2vw + 0.75rem), 3rem);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.bg-arrow {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 38px;
}

.arrow::before,
.arrow::after {
  content: '';
  position: absolute;
  top: 57%;
  right: -7px;
  width: 25px;
  height: 7px;
  background-color: #ff715b;
  transform-origin: calc(100% - 3px) 50%;
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}

/* charm */
#charm {
  position: relative;
}

.charm-container {
  width: 100%;
  padding-top: 95px;
  z-index: 1;
  position: relative;
}

.charm-head {
  width: 80%;
  margin: 0 auto;
}

.charm-head h3 {
  color: #393424;
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
}

.charm-head h2 {
  color: #387d7a;
  font-size: clamp(2.75rem, calc(1.25vw + 1.75rem), 3.5rem);
  font-weight: bold;
  text-align: center;
}

.charm-grid {
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 70%;
  margin: 80px auto 110px;
}

/* Q&A */
.qa-container {
  width: 70%;
  margin: 0 auto 50px;
  padding-top: 3%;
  padding-bottom: 50px;
  background-color: #f4f6eb;
  box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.14);
  border-radius: 20px;
  position: relative;
}

.qa-head-comp,
.qa-head-comp-sp {
  width: 60%;
  position: absolute;
  top: -2vw;
  left: 35%;
}

.qa-head-comp-sp {
  display: none;
}

.qa-head {
  width: 90%;
  margin: 0 auto;
}

.qa-head h2 {
  color: #387d7a;
  font-size: clamp(1.5rem, 3vw, 4rem);
  font-weight: bold;
  margin-bottom: 60px;
}

.qa-child {
  background-color: #fff;
  width: 80%;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.content-q,
.content-a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.content-q {
  border-bottom: 2px dashed #e7ecd5;
}

.content-q img,
.content-a img {
  width: 3%;
}

.content-q p,
.content-a p {
  font-size: 1.25rem;
  padding-left: 10px;
}

.content-q p {
  color: #393424;
}

.content-a p {
  color: #89023e;
  font-weight: bold;
}

/* footer */
.footer-container {
  width: 100%;
}

.company-container {
  width: 90%;
  margin: 80px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.company-container > img {
  width: 35%;
}

.address div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address div img {
  width: 100%;
  height: 1.5vw;
}

.address div a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #393424;
  white-space: nowrap;
}

.footer-container > a {
  display: block;
  text-align: center;
  color: #393424;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* TOPボタン */
#btn-top {
  z-index: 5;
  position: fixed;
  bottom: 3%;
  right: 3%;
}

#btn-top img {
  width: 100%;
}

@media screen and (max-width: 950px) {
  .summary-head {
    width: 90%;
    top: -10px;
    left: 50%;
    text-align: center;
    word-break: keep-all;
  }

  .date-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .date-head {
    padding: 5px 60px;
  }

  .date-head h3 {
    font-size: clamp(1rem, calc(1.25vw + 0.75rem), 2rem);
  }

  .date-list {
    width: 80%;
    text-align: center;
  }

  .date-list p {
    font-size: clamp(1.25rem, calc(1.25vw + 1rem), 2.5rem);
    letter-spacing: -0.05em;
  }

  .table-flex {
    width: 85%;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto 40px;
    padding-bottom: 50px;
  }

  .table {
    border-collapse: collapse;
    flex-basis: 50%;
  }

  .table tr td {
    border-top: 2px solid #e7ecd5;
  }

  .table tr td:nth-of-type(odd) {
    width: 25%;
    font-size: clamp(1rem, calc(1.125vw + 0.75rem), 2rem);
    padding: 20px 10px;
  }

  .table tr td:nth-of-type(even) {
    font-size: clamp(1rem, calc(1.125vw + 0.75rem), 2rem);
    padding: 10px 0 10px 10px;
  }

  .on768 {
    display: block;
  }

  .map iframe {
    width: 100%;
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  /* sub-catch */
  .bg-thin-green {
    height: 170px;
  }

  .sub-catch-support {
    top: 8vw;
    left: 25%;
  }

  .sub-catch-support h1 {
    font-size: clamp(1.125rem, calc(1.25vw + 1.125rem), 3rem);
  }

  .sub-catch-support h1:nth-of-type(2) {
    top: 25px;
  }

  .bg-red {
    padding: 2px 7% 5px;
    font-size: clamp(1rem, calc(1.125vw + 1.125rem), 2.5rem);
  }

  .italic {
    margin-left: 1%;
  }

  .b-text {
    font-size: clamp(1.5rem, calc(2.75vw + 1.5rem), 4rem);
  }

  .sub-catch-career {
    margin: 40px auto;
  }

  .sub-catch-career h2 {
    font-size: clamp(1rem, calc(1vw + 0.75rem), 2rem);
  }

  /* summary */
  .bg-green {
    padding-top: 10vw;
    padding-bottom: 50px;
  }

  .summary-container {
    width: 90%;
  }

  .summary-head img {
    width: 85%;
  }

  .summary-head h2 {
    text-shadow: 0 4px 1px #fff, 2.8px 2.8px 1px #fff, 4px 0 1px #fff,
      2.8px -2.8px 1px #fff, 0 -4px 1px #fff, -2.8px 2.8px 1px #fff,
      -4px 0 1px #fff, -2.8px -2.8px 1px #fff, 5px 5px 2px #000;
  }

  .summary-subhead h3 {
    max-width: 95%;
    font-size: clamp(0.75rem, calc(0.75vw + 0.75rem), 2rem);
  }

  .date-container {
    width: 100%;
  }

  /* 予約ボタン */
  .booking-btn {
    width: 80%;
    padding: 15px 0;
    border-radius: 10px;
  }

  .btn-container p {
    font-size: 1.25rem;
  }

  .bg-arrow {
    right: 3%;
    width: 30px;
    height: 30px;
  }

  .arrow {
    width: 20px;
    height: 25px;
  }

  .arrow::before,
  .arrow::after {
    top: 52%;
    right: -2px;
    width: 15px;
    height: 4px;
    transform-origin: calc(100% - 2px) 50%;
  }

  /* charm */
  .charm-container {
    padding-top: 40px;
  }

  .charm-head {
    width: 90%;
  }

  .charm-head h3 {
    font-size: 1.125rem;
  }

  .charm-head h2 {
    font-size: 1.5rem;
  }

  .charm-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 80%;
    margin: 30px auto 50px;
  }

  /* Q&A */
  .qa-container {
    width: 90%;
    padding-top: 19%;
    margin: 0 auto 50px;
    padding-bottom: 20px;
  }

  .qa-head-comp {
    display: none;
  }

  .qa-head-comp-sp {
    display: block;
    width: 90%;
    top: -2vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .qa-head {
    text-align: center;
  }

  .qa-head h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .qa-child {
    width: 90%;
    margin: 0 auto 10px;
  }

  .content-q,
  .content-a {
    padding: 5px 10px;
  }

  .content-q img,
  .content-a img {
    width: 8%;
  }

  .content-q p,
  .content-a p {
    font-size: 0.875rem;
    padding-left: 10px;
  }

  /* footer */
  .company-container {
    width: 80%;
    margin: 20px auto;
    flex-direction: column;
    gap: 5px;
  }

  .company-container > img {
    width: 80%;
  }

  .address {
    text-align: center;
  }

  .address div {
    gap: 5px;
  }

  .address div img {
    height: 60%;
  }

  .footer-container > a {
    font-size: 0.875rem;
  }

  /* TOPボタン */
  #btn-top {
    bottom: 1%;
    right: -7%;
  }

  #btn-top img {
    width: 60%;
  }
}

@media screen and (min-width: 768px) {
  /* 電話番号　スマホのみ */
  a[href*='tel:'] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
