/*
Theme Name: The Past
*/

@charset "utf-8";

/* =============================================
リセット
============================================= */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* body {
    line-height: 1;
} */

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  outline: 0;
  padding: 0;
  appearance: none;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='submit'],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: inherit;
  outline: none;
}

summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='submit'],
input[type='date'],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

/* =============================================
共通
============================================= */
* {
  box-sizing: border-box;
}

:root {
  --leading-trim: calc((1em - 1lh) / 2);
  --color-navy: #0f165b;
  --color-light-blue: #eff1f9;
  --color-yellow: #ffc344;
  --color-light-yellow: #fff0d1;
  --color-black-on-yellow: #46340d;
  --color-black: #333;
  --color-white: #fff;
  --color-gray: #ccc;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-black);
  letter-spacing: 0.4px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  background: var(--color-light-blue);
}

a {
  text-decoration: none;
}

p {
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.text--large {
  font-size: 1.4em !important;
}

.text--bold {
  font-weight: 700 !important;
}

.text--yellow {
  color: var(--color-yellow) !important;
}

.text--roboto {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
}

.text--note {
  font-size: 0.8em !important;
}

.text--center {
  text-align: center !important;
}

.button {
  cursor: pointer;
  font-weight: 700 !important;
  display: block;
  margin-inline: auto;
  padding: 0.6em 1em;
  width: fit-content;
}

.button--yellow {
  background: var(--color-yellow) !important;
  color: var(--color-black-on-yellow) !important;
}

.button--shadow {
  filter: drop-shadow(0px 3px 0px rgb(32 33 33 / 0.1));
}

.button--two-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.button__microcopy {
  font-size: 0.66em;
  opacity: 0.8;
}

.bg--navy {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
}

.bg--light-blue {
  background: var(--color-light-blue) !important;
}

.table {
  border-collapse: collapse;
  width: 100%;
  line-height: 1.4;
}

.table--fixed {
  table-layout: fixed;
}

.table__header {
  font-weight: 700;
  vertical-align: middle;
}

.table__header,
.table__data {
  border: 1px solid var(--color-white);
  padding: 10px;
}

.table__header--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.table__header--yellow {
  background: var(--color-yellow);
  color: var(--color-black-on-yellow);
}

.table__data {
  background: var(--color-white);
}

.table__data--light-yellow {
  background: var(--color-light-yellow);
}

.mt--0 {
  margin-top: 0px !important;
}

.mt--10 {
  margin-top: 10px !important;
}

.mt--20 {
  margin-top: 20px !important;
}

.mt--30 {
  margin-top: 30px !important;
}

.mt--40 {
  margin-top: 40px !important;
}

.mt--50 {
  margin-top: 50px !important;
}

.mt--60 {
  margin-top: 60px !important;
}

.mt--70 {
  margin-top: 70px !important;
}

.mt--80 {
  margin-top: 80px !important;
}

.mt--90 {
  margin-top: 90px !important;
}

.mt--100 {
  margin-top: 100px !important;
}

.mb--0 {
  margin-bottom: 0px !important;
}

.mb--10 {
  margin-bottom: 10px !important;
}

.mb--20 {
  margin-bottom: 20px !important;
}

.mb--30 {
  margin-bottom: 30px !important;
}

.mb--40 {
  margin-bottom: 40px !important;
}

.mb--50 {
  margin-bottom: 50px !important;
}

.mb--60 {
  margin-bottom: 60px !important;
}

.mb--70 {
  margin-bottom: 70px !important;
}

.mb--80 {
  margin-bottom: 80px !important;
}

.mb--90 {
  margin-bottom: 90px !important;
}

.mb--100 {
  margin-bottom: 100px !important;
}

.pt--0 {
  padding-top: 0px !important;
}

.pt--10 {
  padding-top: 10px !important;
}

.pt--20 {
  padding-top: 20px !important;
}

.pt--30 {
  padding-top: 30px !important;
}

.pt--40 {
  padding-top: 40px !important;
}

.pt--50 {
  padding-top: 50px !important;
}

.pt--60 {
  padding-top: 60px !important;
}

.pt--70 {
  padding-top: 70px !important;
}

.pt--80 {
  padding-top: 80px !important;
}

.pt--90 {
  padding-top: 90px !important;
}

.pt--100 {
  padding-top: 100px !important;
}

.pb--0 {
  padding-bottom: 0px !important;
}

.pb--10 {
  padding-bottom: 10px !important;
}

.pb--20 {
  padding-bottom: 20px !important;
}

.pb--30 {
  padding-bottom: 30px !important;
}

.pb--40 {
  padding-bottom: 40px !important;
}

.pb--50 {
  padding-bottom: 50px !important;
}

.pb--60 {
  padding-bottom: 60px !important;
}

.pb--70 {
  padding-bottom: 70px !important;
}

.pb--80 {
  padding-bottom: 80px !important;
}

.pb--90 {
  padding-bottom: 90px !important;
}

.pb--100 {
  padding-bottom: 100px !important;
}

.sp {
  display: none !important;
}

@media (max-width: 660px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }

  .table--fixed {
    table-layout: auto;
  }
}

/* =============================================
ヘッダー
============================================= */
.header {
  height: 60px;
  width: 100%;
  transition: 0.3s ease-in-out;
  z-index: 99998;
  position: fixed;
  top: 0;
  background: var(--color-white);
}

.header--float {
  /* height: 60px; */
  /* background: var(--color-white) !important; */
}

.header__inner,
.header__list,
.header__inquiry-list {
  display: flex;
}

.header__inner {
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 90%;
  margin: 0 auto;
}

.header__logo-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.header__logo {
  width: 120px;
}

/* .header__navi {
    display: none;
} */

/* .header--float .header__navi {
    display: block;
} */

.header__list-item {
  position: relative;
  display: flex;
  align-items: center;
}

.header__list-item:not(:last-child) {
  margin-right: 30px;
}

.header__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  text-decoration: none;
}

/* .header--float .header__link {
    color: var(--color-black);
} */

.header__cta {
  font-weight: 700 !important;
}

.header__hamburger-menu {
  width: 40px;
  height: 40px;
  position: relative;
  border: none;
  background: transparent;
  appearance: none;
  padding: 0;
  cursor: pointer;
  display: none;
  margin-right: -10px;
}

.header__hamburger-menu__bar {
  display: inline-block;
  width: 50%;
  height: 2px;
  background: var(--color-white);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  /* transition: .5s; */
}

.header__hamburger-menu__bar:first-child {
  top: 12px;
}

.header__hamburger-menu__bar:nth-child(2) {
  top: 20px;
}

.header__hamburger-menu__bar:last-child {
  top: 28px;
}

.header__hamburger-menu--open .header__hamburger-menu__bar {
  top: 50%;
}

.header__hamburger-menu--open .header__hamburger-menu__bar:first-child {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.header__hamburger-menu--open .header__hamburger-menu__bar:last-child {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.header__hamburger-menu--open .header__hamburger-menu__bar:nth-child(2) {
  display: none;
}

@media (max-width: 1180px) {
  .header__inner {
    width: 96%;
  }

  .header__list-item:not(:last-child) {
    margin-right: 18px;
  }

  .header__link {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .header {
    height: 60px;
    transition: 0s;
  }

  .header__inner {
    padding: 0 30px;
    width: 100%;
  }

  .header__hamburger-menu {
    display: block;
    background: var(--color-navy);
  }

  .header__list {
    display: none;
    background: var(--color-white);
    position: absolute;
    top: 58px;
    width: 100%;
    max-width: 310px;
    right: 0;
    z-index: 99998;
    overflow-y: scroll;
    max-height: calc(100vh - 60px);
  }

  .header__list--open {
    display: block;
  }

  .header__list-item {
    border-top: 1px dashed #ced3d3;
    position: relative;
  }

  .header__list-item:not(:has(.header__cta)):after {
    content: '';
    position: absolute;
    top: 50%;
    right: 30px;
    width: 6px;
    height: 6px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: rotate(45deg) translateY(-50%);
  }

  .header__list-item:not(:last-child) {
    margin-right: 0;
  }

  .header__link {
    font-size: 16px;
    padding: 20px 30px;
    width: 100%;
  }

  .header__cta {
    margin: 20px auto;
    width: calc(100% - 40px);
    max-width: 300px;
    height: auto;
  }

  .header__handling-display {
    display: inline;
  }
}

@media (max-width: 660px) {
  .header {
    border-bottom: solid 2px var(--color-navy);
    background: var(--color-white) !important;
  }

  .header__inner {
    padding: 0 30px;
    width: 100%;
  }
}

@media (max-width: 690px) {
  .header__inner {
    width: 90vw;
    padding: 0;
  }
}

@media (max-width: 540px) {
  .header__list {
    max-width: 100%;
  }
}

/* =============================================
フッター
============================================= */
#breadcrumbs {
  width: 90%;
  margin-inline: auto;
  padding: 10px 0;
  font-size: 14px;
}

#breadcrumbs a {
  color: var(--color-black);
}

.footer {
  z-index: 99998;
  position: relative;
  background: var(--color-white);
  padding: 20px 10px;
  text-align: center;
}

.footer__copyrihgt {
  font-size: 14px;
}

.footer__inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer__list {
  display: flex;
  gap: 14px;
}

.footer__item {
  list-style: none;
}

.footer__link {
  font-weight: 500;
  color: var(--color-black);
  text-decoration: none;
  font-size: 12px;
}

@media (max-width: 660px) {
  .footer {
    padding: 10px;
  }

  .footer__inner,
  .footer__list {
    flex-direction: column;
    gap: 10px;
  }

  .footer__copyrihgt {
    font-size: 12px;
  }
}

/* =============================================
他サービス
============================================= */
.other-service {
  background: var(--color-light-blue);
  color: #fff;
  z-index: 99997;
  position: relative;
}

.other-service__inner {
  display: flex;
  gap: 4px;
}

.other-service__box {
  background: center center no-repeat;
  background-size: cover;
  padding: 100px 50px;
  width: 50%;
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.other-service__box:first-of-type {
  background-image: url('/wp-content/themes/thepast/images/kikitori.webp');
}

.other-service__box:last-of-type {
  background-image: url('/wp-content/themes/thepast/images/ielts.webp');
}

.other-service__heading {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.other-service__description {
  font-size: 14px;
  margin-bottom: 30px;
  max-width: 600px;
}

.other-service__link {
  border: solid 1px #fff;
  font-weight: 700;
  color: #fff;
  padding: 12px 8px;
  min-width: 160px;
  display: block;
  width: fit-content;
  text-align: center;
  background: #ffffff20;
}

@media (max-width: 1560px) {
  .other-service__box {
    height: auto;
  }
}

@media (max-width: 660px) {
  .other-service__inner {
    flex-direction: column;
    gap: 2px;
  }

  .other-service__box {
    width: 100%;
    padding: 40px 20px;
  }

  .other-service__heading {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .other-service__description {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .other-service__link {
    min-width: 130px;
    font-size: 14px;
    padding: 8px;
  }
}

.button_social_group {
  margin: 0 0 0 30px;
}

/* =============================================
フロートCTA
============================================= */
.float-cta.show {
  transform: translateY(0);
}

.float-cta {
  transition: transform 0.5s ease;
  will-change: transform;
  width: 100%;
  position: fixed;
  bottom: 0px;
  left: 50%;
  translate: -50%;
  z-index: 99996;
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(100%);
}

.float-cta__button {
  font-size: 25px;
  max-width: unset;
  width: fit-content;
}

@media (max-width: 660px) {
  .float-cta {
    transform: translateY(0) !important;
  }

  .float-cta__button {
    font-size: 18px;
    padding: 0.6em;
    width: 100%;
  }
}

/* =============================================
スクロールヒント
============================================= */
.scrollable {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

.scroll-hint-wrapper {
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

.scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.4;
  display: none;
  animation: scroll-hint-animation 2s infinite ease;
}

@keyframes scroll-hint-animation {
  0% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-40%, -50%);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

.scroll-hint--show {
  display: block;
}
