/*
Theme Name: prime-english-theme
Author: BLUE SEVEN
*/

@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
/* reset / base
---------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
:root {
  --fs-page-title: clamp(2rem,calc( 1.1428571428571429rem + 2.380952380952381vw ), 4rem );
  --fs-sec-title: clamp(1.8rem,calc( 1.1571428571428573rem + 1.7857142857142856vw ),3.3rem );
  --fs-large: clamp( 1.8rem, calc( 1.5857142857142858rem + 0.5952380952380952vw ), 2.3rem );
  --fs-normal: 1.6rem;
  --fc-base : #242838;
  --main-blue: #064098;
  --pale-blue: #EFF8FF;
  --main-orange: #FFA81D;
  --accent-pink: #D43563;
  --pale-pink: #FFEBF2;
  --accent-orange: #DF8821;
  --pale-orange: #FFF7EE;
  --accent-green: #41B374;
  --pale-green: #F3FFF8;
}
html{
  font-size: 62.5%;
}
body {
  color: var(--fc-base);
  font-family: 'Noto Sans JP', Meiryo, "メイリオ", YuGothic, sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 400;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin:0;
}
h2 {
  font-size: min(calc(1.325rem + 0.9vw),2rem);
}
h3 {
  font-size: min(calc(1.3rem + 0.6vw),1.75rem);
}
h4 {
  font-size: min(calc(1.275rem + 0.3vw),1.5rem);
}
h5{
  font-size: 1.25rem;
}
h6{
  font-size: 1rem;
}
p {
  font-size:var(--fs-normal);
  margin:0;
}
ol,
ul,
li,
dl,
dt,
dd,
th,
td,
figcaption{
  font-size: var(--fs-normal);
  margin: 0;
  padding: 0;
}
dt,
th{
  font-weight:700;
}
ol,
ul{
  list-style-type:none;
}

a{
  color: #008CFF;
  font-size: var(--fs-normal);
  text-decoration: none;
  transition-duration: 0.4s;
}
img {
  max-width:100%;
  height:auto;
}
table {
  border-collapse: collapse;
}
figure{
  margin:0;
}
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

video {
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
  outline: none;
  border: none;
}
*/

/* Safari用のハックは、Chromeに適用されないようにする */
body {
  height: 100vh;
}
@supports (-webkit-touch-callout: none) {
  body {
    /* Safari用のハック */
    height: -webkit-fill-available;
  }
}

/*--------------------------------------------------------------
# base-layout
--------------------------------------------------------------*/
.container{
  width: min(100%,54rem);
  padding-right: var(--bs-gutter-x, 1.5rem);
  padding-left: var(--bs-gutter-x, 1.5rem);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 768px) {
  .container {
      width: min(95%,131rem);
  }
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
header {
  position: relative;
  z-index: 9999;
}
header .wrap {
  padding: 2.3rem 0;
}
header .g_nav {
  display:none;
}
header .contact{
  display:none;
}
header .logo a {
  display: block;
  color: var(--main-blue);
  font-weight: 700;
  width: 100%;
  height: 60px;
}
header .logo a span {
  display: block;
  font-size: 200%;
}
.hamburger {
  position: fixed;
  top: 10px;
  right: 10px;
}
.hamburger .menu_btn {
  display: block;
  width : 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}
.menu_btn span,
.menu_btn span:before,
.menu_btn span:after {
  content: '';
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--main-blue);
  position: absolute;
  z-index: 100;
  transition: all 0.4s ease;
}
.menu_btn span {
  top: 50%;
  right: 10px;
}
.menu_btn span:before {
  bottom: 7px;
}
.menu_btn span:after {
  top: 7px;
}
#menu_btn_check:checked~.menu_btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu_btn_check:checked~.menu_btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu_btn_check:checked~.menu_btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu_btn_check {
  display: none;
}
.sp_nav {
  width: 100vw;
  height: 100vh;
  padding-top: 3rem;
  background: #FFF;
  transform: scale(0);
  transition: all 0.6s;
  position: absolute;
  top: -1rem;
  right: -1rem;
  overflow: scroll;
}
#menu_btn_check:checked~.sp_nav {
  transform: scale(1);
}
.sp_nav .logo {
  color: var(--main-blue);
  padding-bottom: 1em;
  font-weight: 700;
  padding-left: 0.7em;
}
.sp_nav .logo span {
  display: block;
  font-size: 200%;
}
.sp_nav ul {
  background: var(--main-blue);
}
.sp_nav ul li {
  border-top: 1px solid #FFF;
  transition: 0.4s all;
}
.sp_nav ul li:last-child {
  border-bottom: 1px solid #FFF;
}
.sp_nav ul li a {
  display: block;
  color: #FFF;
  font-size: 1.8rem;
  text-decoration :none;
  padding: 1em .7em;
}
.sp_nav .btn_box {
  margin-top: 3rem;
}
.sp_nav .btn_box a {
  display: inline-block;
  color: #FFF;
  font-size: 1.8rem;
  font-weight: 700;
  align-items: center;
  margin: 0 0.5em;
  padding: 1em 1.5em;
  background: var(--main-orange);
}
@media (min-width: 992px) {
  .hamburger{
    display: none;
  }
  header .wrap {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }
  header .wrap .contact {
    display:grid;
    gap: 0 4rem;
    position: relative;
  }
  header .wrap .contact::before {
    content: url(/assets/img/icon_tel.png);
    position: absolute;
    top: 50%;
    right: 103%;
    transform: translateY(-50%);
  }
  header .wrap .contact dl {
    display: flex;
  }
  header .wrap .contact dl dt::after {
    content: "：";
  }
  header .wrap .contact dl.tel {
    grid-area: 1 / 1 / 2 / 2;
  }
  header .wrap .contact dl.tel dt,
  header .wrap .contact dl.tel dd{
    font-size: 2.8rem;
    font-weight: 700;
  }
  header .wrap .contact dl.time {
    grid-area: 2 / 1 / 3 / 2;
  }
  header .wrap .contact dl.time dt,
  header .wrap .contact dl.time dd{
    font-size: 1.7rem;
    font-weight: 700;
  }
  header .wrap .contact .btn_box {
    grid-area: 1 / 2 / 3 / 3;
    margin-top: 0;
  }
  header .wrap .contact .btn {
    background: var(--main-orange);
  }
  header .wrap .contact .btn::after {
    border: 7px solid transparent;
    border-left: 9px solid #FFF;
  }
  header .g_nav {
    display: block;
    background: var(--main-blue);
  }
  header .g_nav ul {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items: center;
    width: min(95%,1140px);
    margin: 0 auto;
  }
  header .g_nav ul li {
    width:calc(100% / 4);
  }
  header .g_nav ul li a {
    display: flex;
    font-weight:700;
    color: #FFF;
    font-size: 2rem;
    text-align:center;
    justify-content: center;
    align-items: center;
    height: 6.7rem;
    position: relative;
  }
  header .g_nav ul li a:hover {
    background: #218ED9;
  }
}
/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer .f_trial {
  padding: 5.9rem 0;
  background: var(--main-orange);
}
footer .f_trial .content_block {
  width: fit-content;
  margin: 0 auto;
  padding-left: 4rem;
  position: relative;
}
footer .f_trial .content_block::before {
  display: block;
  content: "";
  height: 100%;
  aspect-ratio: 29 / 112;
  background: url(/assets/img/f_trial_pencil.png) no-repeat center / contain;
  position: absolute;
  top: 0;
  left: 0;
}
footer .f_trial p {
  color: #FFF;
  font-size: clamp( 1.6rem, calc( 1.2470588235294118rem + 0.9803921568627451vw ), 2rem );
}
footer .f_trial p span {
  font-size: clamp( 3.8rem, calc( 1.5058823529411768rem + 6.372549019607843vw ), 6.4rem );
}
footer .f_content {
  padding: 5.9rem 0;
  background: var(--main-blue);
}
footer .f_content .logo a {
  color: #FFF;
  font-weight: 700;
}
footer .f_content .logo a span {
  display: block;
  font-size: 200%;
}
footer .f_content address {
  color: #FFF;
  font-style: normal;
  margin-top: 1em;
}
footer .f_content .f_nav {
  margin-top: 3rem;
}
footer .f_content .f_nav li {
  text-indent: -1em;
  margin-bottom: 1em;
  padding-left: 1em;
}
footer .f_content .f_nav li a {
  color: #FFF;
  position: relative;
}
footer .f_content .f_nav li a::before {
  content: "・";
}
footer .f_content .f_nav li a::after {
  display: block;
  content:"";
  width: calc(100% - 1em);
  height: 1px;
  background: #FFF;
  transform: scaleX(0);
  transform-origin: left;
  position: absolute;
  bottom: -0.2em;
  left: 1em;
  transition: 0.4s all ease;
}
footer .f_content .f_nav li a:hover::after {
  transform: scaleX(1);
}
footer .copyright {
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding-bottom: 1em;
  background: var(--main-blue);
}
@media (min-width: 768px) {
  footer .f_content .content_block {
      display: flex;
      justify-content: space-between;
      gap: 2rem;
  }
  footer .f_content .f_nav  {
      display: flex;
      flex-flow: wrap column;
      height: 15em;
      margin: 0;
      gap: 0 3em;
  }
}
@media (min-width: 992px) {
  footer .f_content .f_nav  {
    height: 10em;
  }
}