
@import url(./common/_variable.css);
@import url(./common/_reset.css);

/* common 

font-family: "Bebas Neue", sans-serif;

font-family: "Oswald", sans-serif;

font-family: "Noto Sans JP", serif;

font-feature-settings: "palt";
overflow-wrap: anywhere;
word-break: normal;
line-break: strict;

============================================ */

html{
	font-size: 62.5%;
  scroll-behavior: smooth;
  /*scroll-padding-top: 50px; check the header hight!*/
}

body{
  background-color: #FFFFF0;
	color: var(--font_c);
  font-family: var(--font_normal);
  font-size: 1.6rem;
  font-weight: 400;
	line-height: 1.6;
  text-size-adjust: 100%;
  min-height: 100dvh;
  @media (max-width: 896px) {
    font-size: 1.4rem;
  }
  .is-fixed{
    height: 100%;
    overflow: hidden;
  }
}

#wrapper {
  position: relative;
  overflow: hidden;
}

a{
  color: currentColor;
  transition: all 0.3s ease-out;
  &:hover{
    @media(hover:hover){
      opacity: 0.7;
    }
  }
}

img{
	max-width: 100%;
  height: auto;
}

.reading{
  overflow: hidden;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

.pconly {
  @media (max-width: 896px) {
    display: none;
  }
}
.sponly {
  display: none;
  @media (max-width: 896px) {
    display: block;
  }
}
.portraitonly {
  display: none;
  @media (max-width: 480px) {
    display: block;
  }
}
.portraitnone{
  @media (max-width: 480px) {
    display: none;
  }
}
.tabonly{
  display: none;
  @media (max-width: 1025px) {
    display: block;
  }
}
.tabnone{
  @media (max-width: 1025px) {
    display: none;
  }
}


.newline {
	display: inline-block;
}

.width{
  max-width: 1280px;
  width: calc(100% - 30px);
  margin: 0 auto;
}

.clearfix {
	/*display: inline-table;*/
  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}


/* pagetop 
============================================ */
.pagetop_arrow {
  position: fixed;
  right: 70px;
  bottom: -100px;
  z-index: 1500;
  transition: all 300ms 0s ease;
  opacity: 0;
  a {
    overflow: hidden;
    outline: none;
    display: block;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    img {
      width: 60px;
      height: auto;
    }
  }
  @media (max-width:1025px) {
    right: 10px;
  }
  @media (max-width:896px) {
    a {
      img {
        width: 30px;
      }
    }
  }
}
.fade_in {
  .pagetop_arrow {
    opacity: 1;
    transition: all 300ms 0s ease;
    bottom: 100px;
  }
}


/* footer 
============================================ */
.area__footer {
  border-top:2px solid #0086cd;
  background-color:#c7e8fa;
}

.block__footer {
  max-width:960px;
  margin: auto;
}

.w_base {
  max-width: 960px;
  margin: auto;
  background-color: #FFF;
}

.pt30 {
  padding-top: 30px;
}

.mt20sp {
  @media (width < 480px) {
    margin-top: 20px;
  }
}

/* header 
============================================ */

.area__header {
  container-type: inline-size;
}


/* elemments 
============================================ */
.area__event {
}

.box_apply {
  position: relative;
  container-type: inline-size;
}

.btn_apply {
  width: 73.43cqw;
  position: absolute;
  top: 23%;
  left: 56%;
  transform: translateX(-56%);
  @media (width < 480px) {
    width: 335px;
    top: 39%;
  }
}

.area__caution {
  padding-top: 50px;
  @media (width < 480px) {
    padding-top: 40px;
  }
}

.hd_caution {
  @media (width < 480px) {
    padding: 0 20px;
  }
}

.list_caution {
  padding: 20px 46px 30px;
  @media (width < 480px) {
    padding: 10px 20px 30px;
  }
}

.item_caution {
  padding: 4px 0 4px 1em;
  text-indent: -1em;
  line-height: 1.5em;
  text-align: justify;
}

.bold {
  font-weight: 600;
}

.emphasis {
  color: #F00;
}

.nav_bottom {
  display: flex;
  padding: 30px 30px 20px;
  gap: 20px;
  max-width: 960px;
  box-sizing: border-box;
  margin: auto;
  background-color: #FFF;
  @media (width < 480px) {
    padding: 20px 20px 20px;
  }
}

.nav_bottom_item {
  font-size: 1.4rem;
  line-height: 1.4em;
  @media (width < 480px) {
    font-size: 1.3rem;
  }
  a {
    display: inline-block;
    padding-left: 16px;
    position: relative;
    &::before {
      position: absolute;
      left: 0px;
      top: 50%;
      transform: translateY(-50%);
      content: "";
      width: 14px;
      height: 14px;
      background-image: url(../images/common/img_arrow.gif);
      background-size: 100% 100%;
    }
  }
}

.box_target {
  padding: 40px 30px 0;
  @media (width < 896px) {
    padding: 30px 20px 0;
  }
}

.inner_target {
  border: #F00 solid 3px;
  padding: 16px;
}

.txt_target {
  color: #F00;
}

.pi30_20 {
  padding: 40px 30px 0;
  text-align: right;
  @media (width < 480px) {
    padding: 20px 0px 0;
  }
}

.pi30_20r {
  padding: 20px 13px 0 30px;
  text-align: right;
  @media (width < 480px) {
    padding: 20px 0px 0;
  }
}

.yokokunaku {
  font-size: 1.4rem;
  line-height: 1.4em;
  padding: 8px 0 0 1em;
  text-indent: -1em;
  display: inline-block;
  text-align: left;
  @media (width < 480px) {
    margin: 0 20px;
  }
}