/*
Theme Name:   IAA2026 高校生ページ
Version:    1.0
Author: WCA
*/

/* webfont */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic:wght@400;500;700;900&family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&family=Roboto+Slab:wght@100..900&display=swap');

/* 変数 */
:root {
  --white: #fff;
  --black: #111;
  --gray: #999;
  --gray-light: #f8f5f1;
  --border-color:#e0e0e0;
  --text-color: #000;
  --main-color: #111b8c;
  --accent-color:#e2363f;
  --title-color:#284CA1;

  --header-height-pc:70px;
  --header-height-sp:75px;
  --inner-body:1000px;
  --inner-body-large:1280px;
}

/*= reset =*/
@charset "UTF-8";
html {
	/*font-size: 62.5%;  10px */
  font-size: 93.75%;  /* 15px */
  @media screen and (min-width:1024px) {
    font-size: 100%; /* 16px */
  }
	margin:0;
	padding:0;
	border:0;
	outline:0;
	vertical-align:baseline;
	background:transparent;
	box-sizing:border-box;
	line-height:1;
  scroll-behavior: smooth;
}
body, div, span, object, iframe, main,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	background:transparent;
	box-sizing:border-box;
	font-size: 1rem;
  font-weight: normal;
	line-height:1;
  letter-spacing: .05rem;
  font-style:normal;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,main,section { 
	display:block;
}
p {
	text-align: justify;
}
img {
	vertical-align:bottom;
}
ul,ol,li {
	list-style:none;
	box-sizing: border-box;
}
blockquote, q {
	quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	text-decoration:none;
	color: #000000;
	box-sizing: border-box;
}
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}
mark {
	background-color:#ff9;
	color:#000; 
	font-style:italic;
	font-weight:bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
hr {
	display:block;
	height:1px;
	border:0;   
	border-top:1px solid var(--sep-color);
	margin:0;
	padding:0;
}
input, select {
	vertical-align:middle;
}
.cf {
	zoom: 1;
}
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after {
	clear: both;
}
sup {
	vertical-align: text-top;
	font-size: 50%;
}
em {
	font-style: normal;
}
a[href^="tel:"] {
	pointer-events: none;
}
input, button, textarea, select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	box-sizing: border-box;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

::placeholder {
  color: var(--gray);
}

@media screen and (max-width:767px) {
	a[href^="tel:"] {
		pointer-events: auto;
	}
}

/*= 全体設定 =*/
body {
  font-family: 'Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  background: var(--white);
  padding-bottom: env(safe-area-inset-bottom);
}
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;
}
input,button,select,textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type='checkbox'],input[type='radio'] {
  display: none;
}
input[type='submit'],  input[type='button'],
label,button,select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

.large_only,
.tablet_only,
.mid_only,
.ml_only {
  display: none;
}
@media screen and (min-width:370px) {
  .sm_only {
    display: none;
  }
}
@media screen and (max-width:413px) {
  .min_hide {
    display: none;
  }
}
@media screen and (min-width:414px) {
  .min_only {
    display: none;
  }
  .mid_only {
    display: block;
  }
}
@media screen and (min-width:768px) {
  .mid_hide {
    display: none;
  }
  .ml_only {
    display: block;
  }
}
@media screen and (min-width:768px) and (max-width:1023px) {
  .tablet_hide {
    display: none;
  }
  .tablet_only {
    display: block;
  }
}
@media screen and (max-width:1023px) {
  .pc_only {
    display: none !important;
  }
}
@media screen and (min-width:1024px) {
  .sp_only {
    display: none;
  }
}
@media screen and (min-width:1110px) {
  .large_only {
    display: block;
  }
}
#container {
  scroll-behavior: smooth;
  position: relative;
  @media screen and (max-width:1023px) {
    padding: 5px;
    &::before {
      content: "";
      position: fixed;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      border: 5px solid var(--main-color);
      box-sizing: border-box;
      z-index: 10;
      left: 0;
      top: 0;
      pointer-events: none;
    }
  }
}

img {
  max-width:100%;
  height: auto;
  vertical-align:bottom;
}
a {
  text-decoration:none;
  color: var(--text-color);
  opacity: 1;
  transition: color .25s ease, opacity .25s ease, background .25s ease;
}
a:hover {
  opacity: .5;
}
.inner_box {
  max-width: var(--inner-body);
  margin: 0 auto;
}
.fadeup {
  opacity: 0;
  transform:translateY(100px);
  transition: opacity 1s ease-out,transform 1s ease-out;
}
.fadeup.is-visible {
  opacity: 1;
  transform:translateY(0);
}
#body-wrapper {
  bottom: env(safe-area-inset-bottom);
  .inner_box {
    box-sizing: border-box;
    @media screen and (max-width:1023px) {
      padding:0 1.6rem;
    }
  }
  .popup-item {
    cursor: pointer;
  }
}
.menu-option_tel a {
  font-family: Roboto;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.5px;
  white-space: nowrap;
}

/*== ヘッダー ==*/
#pagetop {
  height: 0;
  width: 0;
  pointer-events: none;
  visibility: hidden;
}
#site-header {
  height: var(--header-height-sp);
  padding: calc(env(safe-area-inset-top),5px) 0 0;
  margin: 0;
  z-index: 101;
  /*position: fixed;*/
  width: 100%;
  align-items: center;
  background: var(--main-color);
  box-shadow: 0 8px 4px 0 rgba(255,255,255,.25);
  .header-ui {
    display: grid;
    grid-template-columns: 1fr var(--header-height-sp);
  }
  #site-logo {
    a {
      display: flex;
    }
    img {
      display: block;
    }
  }
  .menu-option_contact {
    background: url(./assets/img/common/bg_repeat_blue.png);
    a {
      color: var(--white);
      font-size:.875rem;
    }
  }
  .btn-forstudent a{
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
    border-radius: 9999px;
    font-size: .875rem;
  }
  .menu-close {
    display: none
  }
}
#site-header.scrolled {
  box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

/*== ヘッダー：スマホ表示 ==*/
@media screen and (max-width:1023px) {
  #site-header{
    position: fixed;
    top: 5px;
    left: 5px;
    width:calc(100% - 10px);
    transition: height .5s ease-in-out;
    .header-ui {
      position: relative;
      z-index: 101;
      background: var(--white);
    }
    #site-logo img {
      max-height: calc(var(--header-height-sp) - .5rem);
    }
    .header-menu_wrap {
      z-index: 50;
      background: var(--black);
      pointer-events: none;
      width: 100%;
      min-height: 100%;
      height:auto;
      padding-bottom:10px;
      opacity: 0;
      transform: translateY(calc(-100% - var(--header-height-sp)));
      transition:transform .5s ease-in-out,opacity .5s ease;
    }
    .header-main {
      padding: .25rem .5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: .5rem;
    }
    .logo-v1{
      display: block;
    }
    .logo-v2{
      display: none;
    }
    .btn-forstudent {
      display: none;
    }
    .menu-btn_wrapper {
      text-align: center;
      height: var(--header-height-sp);
      width: var(--header-height-sp);
      cursor: pointer;
      z-index: 50;
      position: relative;
      background: var(--main-color);
    }
    .menu-btn {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 5px;
    }
    .menu-btn img{
      width:calc(var(--header-height-sp) - 1.5rem);
    }
    #menu-global_menu,#menu-sp_opt {
      background-color:#dc4231;
      .menu-item{
        background: url(./assets/img/common/bg_repeat_red.png);
      }
      .menu-item a{
        color: var(--white);
        width: 100%;
        padding:1rem;
        position: relative;
        display: block;
        border-bottom: 1px solid var(--white);
      }
      .menu-item a:before{
        content: "";
        width:.5rem;
        height:.5rem;
        border: transparent 2px solid;
        border-top: 2px solid var(--white);
        border-right: 2px solid var(--white);
        transform: rotate(45deg);
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 1.15rem;
        transition: transform .25s ease;
      }
      .has_child {
        overflow: hidden;
      }
      .has_child > a:before{
        border-top: transparent 2px solid;
        border-bottom: 2px solid var(--white);
        right: 1rem;
      }
      .has_child.active > a:before{
        transform: rotate(225deg);
      }
      .sub-menu {
        height: 0;
        min-height: 0;
        transition: min-height .4s ease;
      }
      .active .sub-menu {
        min-height: 2.5rem; /* aのpaddingが上下1remあるから */
        height: auto;
      }
      .sub-menu .menu-item {
        background: var(--white);
      }
      .sub-menu a{
        color: var(--text-color);
        border-bottom: var(--accent-color) 1px solid;
        padding: 0 1rem;
        height: 0;
        min-height: 0;
        opacity: 0;
        transition: min-height .25s ease, padding .25s ease,opacity .25s ease;
      }
      .active .sub-menu a{
        height: auto;
        min-height: 2rem;
        padding: 1rem;
        opacity: 1;
      }
      .sub-menu a:before{
        border-color: var(--accent-color) var(--accent-color) transparent transparent;
      }
    }
    .menu-option_sp {
      background:url(./assets/img/common/bg_repeat_dot_gray.png) repeat var(--white);
      background-size: 4px 4px;
    }
    #menu-sp_ex {
      background:var(--white) ;
      padding: 1rem 0;
      a{
        display: inline-block;
        padding: .5rem 1rem;
      }
    }
    .menu-option_tel {
      padding: 1rem;
      .info-tel {
        display: flex;
        justify-content: center;
        border: var(--accent-color) 2px solid;
        border-radius: 5px;
        padding: 1rem;
        background: var(--white);
      }
      img {
        height: 35px;
      }
      a {
        padding-left: .5rem;
        font-size: 2.3rem;
      }
      .info-tel-txt {
        text-align: right;
      }
      .tel-note{
        font-size: .666rem;
      }
    }

    .sp-oc_btn {
      padding: 1rem;
      background: url(./assets/img/common/bg_spmenu_oc.webp) no-repeat center;
      background-size: cover;
      a {
        display: inline-block;
        border: none;
        padding: 1rem;
        font-weight: 700;
        background: url(./assets/img/common/bg_repeat_ocblue.png) repeat;
        background-size: 4px 4px;
        border: solid 2px #fff;
        border-radius: 5px;
        text-align: center;
        width: 100%;
        color: var(--white);
        position: relative;
      }
      a:before {
        content: "";
        position: absolute;
        width: .3rem;
        height: .3rem;
        border: 1px solid transparent;
        border-top:1px solid #3baee4;
        border-right:1px solid #3baee4;
        z-index:2;
        right: 1.35rem;
        transform: rotate(45deg);
        top: 0;
        bottom: 0;
        margin: auto;
      }
      a:after {
        content: "";
        width: 1rem;
        height: 1rem;
        background: var(--white);
        border-radius: 9999px;
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 1rem;
        z-index:1;
      }
    }
    /*.menu-option_info {
      padding: .5rem 1rem;
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: .5rem;
      li {
        text-align: center;
        padding: 1rem;
        border: 2px solid #d8d8d8;
        background: var(--white);
        border-radius: 5px;
      }
      a {
        display: inline-block;
      }
      img {
        height: 1rem;
        vertical-align: bottom;
      }
    }*/
    .menu-option_contact {
      text-align: center;
      padding: 1.5rem .5rem;
      a {
        color: var(--white);
      }
      img {
        height: .875rem;
        margin-right: .25rem;
      }
    }
    .nav-btn_sp {
      background: var(--black);
      text-align: center;
      padding: 1rem .5rem;
      position: relative;
      cursor: pointer;
    }
  }

  /* メニュー表示 */
  .show-menu #site-header{
    height:100%;
    overflow-y: auto;
    .header-menu_wrap {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    #site-logo a{
      height: auto;
    }
    .logo-v1{
      display: none;
    }
    .logo-v2{
      display: block;
    }
    .btn-forstudent {
      display: block;
    }
    .btn-forstudent a{
      width: 100%;
      padding: .25rem;
    }
    .menu-btn_wrapper {
      padding-left: 5px;
    }
    .menu-btn{
      display: block;
      height: calc(100% - 1.5rem);
      position: relative;
      margin-left: 0;
    }
    .menu-btn img{
      display: none;
    }
    .menu-btn:before,
    .menu-btn:after,
    .nav-btn_close:before,
    .nav-btn_close:after{
      content: "";
      width: 2px;
      height: 32px;
      transform: rotate(45deg);
      background: var(--white);
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
    .menu-btn:after,
    .nav-btn_close:after{
      transform: rotate(135deg);
    }
    .menu-close,.nav-btn_close{
      display: block;
      color: var(--white);
      font-family: Roboto, sans-serif;
      font-style: italic;
      font-size: .875rem;
    }
    .nav-btn_close{
      display: inline-block;
      padding-left:1rem;
      position: relative;
      font-weight: 700;
    }
    .nav-btn_close:before,
    .nav-btn_close:after{
      right: auto;
      height: 1.5rem;
    }
  }
}

/*== ヘッダー：PC表示 ==*/
@media screen and (min-width: 1024px){
  #site-header {
    height: auto;
    background: var(--white);
    .menu-btn_wrapper,
    .logo-v1 {
      display: none;
    }
    .header-ui {
      grid-template-columns:max-content 1fr;
      gap: 1rem;
      border-bottom: 1px solid var(--border-color);
    }
    .header-main {
      display: flex;
      align-items: center;
    }
    #site-logo {
      padding: 1rem;
    }
    .btn-forstudent a{
      line-height: 1.4;
      font-size: .8125rem;
      padding: .5rem .8125rem .5rem .875rem;
    }
    .menu-option_pc {
      display: flex;
      justify-content: end;
      li {
        display: flex;
        align-items: center;
      }
      .label{
        text-align: center;
        padding-top: 5px;
        font-size: 0.8125rem;
      }
      .menu-option_tel {
        display: flex;
        align-items: center;
        padding-right: 1rem;
        img {
          height: 29px;
          width:29px;
        }
        a {
          font-size: 1.3rem;
        }
      }
      .info-tel-txt {
        margin-left: 9px;
      }
      .tel-note {
        font-size: 0.8125rem;
        text-indent: -.5rem;
        display: inline-block;
      }
      .menu-option_access{
        text-align: center;
        padding: 0 .5rem;
        border-right: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
        img {
          width:19px;
        }
      }
      .menu-option_contact {
        text-align: center;
        padding: 2px .333rem 0;
        img {
          width:21px;
        }
        .label {
          padding-top: 7px;
        }
      }
    }
    .header-menu_wrap {
      display: block;
    }
    #menu-global_menu {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.8rem;
    }
    #menu-global_menu > .menu-item {
      position: relative;
      text-align: center;
    }
    #menu-global_menu > .menu-item a{
      padding: 1rem 0;
      display: inline-block;
      font-size:.9375rem;
    }
    #menu-global_menu > .has_child:hover a + .sub-menu{
      display: block;
      position: absolute;
      margin: auto;
      left: 50%;
      top:100%;
      transform: translateX(-50%);
      z-index: 50;
      min-width:260px;
      text-align: center;
      padding-top: 1rem;
      &:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border: transparent 1rem solid;
        border-bottom:#d80000 solid 1rem;
        margin: auto;
        top: -1rem;
        left: 0;
        right: 0;
      }
    }
    #menu-global_menu .sub-menu .menu-item{
      background:#d80000;
      padding:0 1rem;
    }
    #menu-global_menu .sub-menu .menu-item a{
      display: block;
      font-size: 0.875rem;
      border-bottom: 1px solid #dc4545;
      color: var(--white);
      padding: 1.5rem 0;
    }
    #menu-global_menu .sub-menu .menu-item:last-child a{
      border:none;
    }
    #menu-global_menu > .menu-item:not(:last-child):before {
      content: "";
      width: 1px;
      height: 1rem;
      transform: rotate(20deg);
      background: var(--accent-color);
      position: absolute;
      top: 0;
      bottom: 0;
      left: calc(100% + 1.8rem / 2 - 1px);
      margin: auto;
    }
    .has_child .sub-menu{
      display: none;
    }
    .has_child > a {
      pointer-events: none;
    }
  }
}

@media screen and (min-width: 1280px){
  #site-header {
    #menu-global_menu {
      gap:2.5rem;
    }
    #menu-global_menu > .menu-item:not(:last-child):before {
      left: calc(100% + 2.5rem / 2 - 1px);
    }
    .menu-option_tel .menu-option_pc a {
      font-size: 1.5625rem;
    }
    .menu-option_pc .menu-option_access{
      padding: 0 1rem;
    }
    .menu-option_pc .menu-option_contact {
      padding: 2px 1rem 0;
    }
  }
}

/*== 本文 ==*/
#body-wrapper {
  @media screen and (max-width: 1023px){
    padding-top: var(--header-height-sp);
  }
  b, strong {
    font-weight: 700;
  }
  p {
    line-height: 1.8;
    margin-bottom: .5rem;
    &:last-child{
      margin-bottom: 0;
    }
  }
}

/*== フッター ==*/
#site-footer{
  background: var(--white);
  @media screen and (max-width: 1023px){
    padding-bottom:max(12cqi,72px);
  }
  .footer-sitemap {
    background: url(./assets/img/common/bg_sitemap_cloud_sp.png) no-repeat center top,
     url(./assets/img/common/bg_sitemap_sp.jpg) no-repeat center bottom;
    background-size: 100% auto, 100% auto;
    background-color: #85d3ff;
    padding: 26px 0 97px;
    @media screen and (min-width: 1024px){
      background: url(./assets/img/common/bg_sitemap_cloud_pc.png) no-repeat center top,
      url(./assets/img/common/bg_sitemap_pc.jpg) no-repeat center bottom;
      background-size: cover;
      background-color: #85d3ff;
      .inner_box {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap:1rem;
      }
    }
  }
  .menu-item {
  }
  .menu-item a {
    display: block;
    color: var(--main-color);
    position: relative;
    font-size: 1.125rem;
  }
  .sub-menu .menu-item a ,
  .sitemap-option .menu-item a{
    color: var(--text-color);
    border: none;
    font-size: 1rem;
  }
  #menu-othersite {
    padding-top: 2rem;
  }
  #menu-othersite .menu-item a{
    font-size: .875rem;
  }
  .has_child > a{
    pointer-events: none;
  }
  @media screen and (max-width: 1023px){
    .menu-item a {
      padding: .75rem 1rem .75rem .5rem;
      border-bottom: 1px solid var(--white);
    }
    .menu-item a:before {
      content: "";
      width: 14px;
      height: 14px;
      background: #d03e31;
      border-radius: 9999px;
      display: block;
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      right: .75rem;
    }
    .menu-item a:after {
      content: "";
      display: block;
      width: 5px;
      height: 5px;
      border-top: 1px solid #e6f7ff;
      border-right: 1px solid #e6f7ff;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      right: calc(.75rem + 5px);
    }
    .has_child {
      overflow: hidden;
    }
    .has_child > a:before{
      display: none;
    }
    .has_child > a:after {
      width: 11px;
      height: 11px;
      right: 11px;
      border-top: 2px solid #d03e31;
      border-right: 2px solid #d03e31;
      -webkit-transform: rotate(135deg);
      transform: rotate(135deg);
      transition: transform .25s ease;
    }
    .has_child.active > a:after {
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    .sub-menu {
      background: rgba(255,255,255,.6);
      padding: 0;
      width:100%;
      min-height: 0;
      height: 0;
      pointer-events: none;
      transition: min-height .25s ease,padding .25s ease;
    }
    .has_child.active .sub-menu {
      padding: 1rem 0;
      min-height: 2.8rem; /* sub-menu要素自体の上下padding+中身の高さが.8remはある */
      height: auto;
      opacity: 1;
      pointer-events: auto;
      border-radius: 5px;
    }
    .sub-menu .menu-item {
      padding:0 1rem;
      opacity: 0;
    }
    .has_child.active .sub-menu .menu-item {
      opacity: 1;
    }
    .sub-menu .menu-item a {
      font-size: .8rem;
    }
    .sub-menu .menu-item a{
      padding-left: .75rem;
    }
    .sub-menu .menu-item a:after {
      display: none;
    }
    .sub-menu .menu-item a:before {
      right: auto;
      left: 0;
      border-radius: 0;
      width:.4rem;
      height: 1px;
    }
    .sitemap-option {
      display: none;
    }
  }
  @media screen and (min-width: 1024px){
    .menu-item a {
      padding: .5rem 0;
    }
    .sub-menu {
      padding:0 0 1rem 1rem;
    }
  }
  #section-pamphlet {
    position: relative;
    text-align: center;
    .pamphlet-bg {
      overflow: hidden;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      display: block;
      img {
        object-fit: cover;
        object-position: center center;
        max-width:fit-content;
        min-width: 100%;
      }
    }
    a {
      margin: 1.333rem 2.33333333333rem 2rem 1.73333333333rem;
      display: inline-block;
      position: relative;
      z-index: 2;
      @media screen and (min-width:1024px){
        margin: 4.66666666667rem 0 5.625rem;
      }
    }
    .pamphlet-btn {
    }
  }
  .footer-insta {
    padding: 1rem 0 4rem;
    /*background: url(./assets/img/common/bg_repeat_sns.png);*/
    background-color: var(--white);
    .error-msg {
      text-align: center;
      font-size: 1.06666666667rem;
    }
    .inner_box {
      padding: 0 1.6rem;
    }
    .section-title {
      padding-top: max(1rem, 4cqi);
      text-align: center;
    }
    .section-title picture,
    .section-title img {
      width:100%;
      @media screen and (min-width:1024px){
        width:31.875rem;
      }
    }
  }
  #instagram-list {
    padding: 2rem 0;
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    @media screen and (min-width:767px){
      grid-template-columns: repeat(3,1fr);
      gap: 2rem;
    }
    @media screen and (min-width:1024px){
      grid-template-columns: repeat(4,1fr);
    }
    .list-item img {
      object-fit: cover;
      aspect-ratio: 1;
      width: 100%;
    }
    @media screen and (max-width: 767px){
      .list-item:nth-child(n + 5){
        display: none;
      }
    }
    @media screen and (max-width: 1023px){
      .list-item:nth-child(n + 7){
        display: none;
      }
    }
  }
  .footer-banners {
    padding-bottom: 3rem;
  }
  .banner-list {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    @media screen and (min-width: 768px){
      grid-template-columns: repeat(3,1fr);
    }
    @media screen and (min-width: 1024px){
      grid-template-columns: repeat(4,1fr);
      gap: 1.5rem;
      padding: 2rem 1.6rem;
    }
    li {
      text-align: center;
    }
    li img {
      width:100%;
    }
  }
}

#footer__pagetop{
  text-align: center;
  a {
    display: block;
    text-indent: -9999px;
    position: relative;
    height: 106px;
    width: 100%;
    pointer-events: all;
    top: -39px;
  }
  a:hover {
    opacity: 1;
  }
  a:before {
    content: "";
    display: block;
    width: 115.5px;
    height: 106px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(./assets/img/common/btn_pagetop_sp.png) no-repeat;
    background-size: 100%;
  }
  @media screen and (min-width:1024px) {
    position: fixed;
    z-index: 30;
    width: 103px;
    height: 96px;
    bottom: 30px;
    right: 14px;
    transform: translateX(200px);
    transition:transform .5s ease ;
    a{
      display: block;
      width: 103px;
      height: 96px;
      overflow: hidden;
      background: url(./assets/img/common/btn_pagetop.png) no-repeat 0 0;
      background-size: 103px auto;
    }
    a:before {
      display: none;
    }
    &.is-show {
      transform: translateX(0);
      a {
        transition: transform .3s;
        background-position-x:0;
        -webkit-transition: -webkit-transform .3s;
        transition: -webkit-transform .3s;
        transition: transform .3s;
        transition: transform .3s, -webkit-transform .3s;
        -webkit-animation: pagetop 2.5s steps(44, start) forwards;
        animation: pagetop 2.5s steps(44, start) forwards;
      }
    }
  }
}

@keyframes pagetop {
  from {
    background-position: 0 0
  }
  to {
    background-position: 0 -4268px
  }
}

#copyright {
  text-align: center;
  font-family: Roboto Slab, serif;
  color: #666;
  font-size: 0.625rem;
  letter-spacing: .7px;
  padding: 1.5rem 1rem;
}

#site-fixed-btn {
  @media only screen and (max-width:1023px) {
    .for-tab-bars {
      width: 100%;
      height: 5px;
      background: var(--main-color);
    }
  }
  position: fixed;
  top: 100%;
  transform:translateY(-100%);
  z-index:100;
  width:calc(100% - 10px);
  .menu-option_footer {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    text-align: center;
    justify-content: center;
    padding: 0 1rem;
    margin: 0 auto;
    a {
      display: block;
      height: 100%;
      border-radius: 5px;
      align-items: center;
      padding:.75rem;
    }
    a:hover{
      opacity: 1;
    }
  }
  .menu-option_tel a {
    display: flex;
    border: 2px solid #dc4231;
    color:#dc4231;
    background: var(--white);
    justify-content: center;
    gap:.5rem;
    font-size: 1.13333333333rem;
  }
  .menu-option_tel img {
    width:1rem;
  }
  .menu-option_oc a {
    background: #dc4231;
    color: var(--white);
    font-size:0.73333333333rem;
    line-height: 1.4;
    position: relative;
    border-radius: 5px 5px 0 0;
  }
  .menu-option_oc a:before {
    content: "";
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 9999px;
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
  }
  .menu-option_oc a:after {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1px solid #e93e3e;
    border-right: 1px solid #e93e3e;
    transform: rotate(45deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 2.5px);
  }
  @media only screen and (min-width:1024px) {
    width:auto;
    transform: none;
    top: var(--header-height-pc);
    right: 0;
    left: auto;
    .menu-option_footer {
      padding: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: calc(100vh - var(--header-height-pc) - 100px);
    }
    .menu-option_footer li {
      height: 40%;
      max-height: 400px;
      min-height: 230px;
      margin-left: auto;
      margin-right: 0;
    }
    .menu-option_footer a{
      writing-mode: vertical-rl;
      text-orientation: upright;
      font-size: .875rem;
      border-radius: 5px 0 0 5px;
      padding-bottom: 1.5rem;
      writing-mode: vertical-lr;
    }
    .menu-option_footer a:before {
      margin: auto;
      top: auto;
      bottom: .75rem;
      left: 0;
      right: 0;
    }
    .menu-option_footer a:after {
      margin: auto;
      top: auto;
      bottom: 1rem;
      left: auto;
      right: calc(50% - 1.5px);
    }
  }
}

#popup-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: rgba(0,0,0,.9);
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease,z-index .25s ease;
  .popup-inner {
    background: var(--white);
    border-radius:1.3rem;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    width: 90%;
    max-width:740px;
    min-height: 50%;
    padding:2rem 1rem 1rem;
  }
  .popup-btn {
    position: absolute;
    width: 2rem;
    height: 2rem;
    text-indent: -9999px;
    display: inline-block;
    top: 1rem;
    right: 1rem;
  }
  .popup-btn:before,
  .popup-btn:after {
    content: "";
    width: 1.8rem;
    height: 2px;
    background: var(--black);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
  }
  .popup-btn:after {
    transform: rotate(-45deg);
  }
}
.popview #popup-wrapper {
  pointer-events: all;
  opacity: 1;
  cursor: pointer;
  z-index:9999;
  .popup-inner {
    cursor: default;
  }
  .popup-btn {
    cursor: pointer;
  }
}

#observer-target {
  position: absolute;
  top: 0;
  left: 0;
  width:1px;
  pointer-events: none;
  visibility: hidden;
  z-index: -2;
}