@charset "utf-8";
/* レイアウトのためのCSS */

body {
  font-family: "Sawarabi Gothic", sans-serif;
  color: #000;
  background-color: #e8e8e6;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

_:-ms-lang(x)::-ms-backdrop,
body {
  /*IE11用ハック*/
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

/* splash */

/* loading ※https://projects.lukehaas.me/css-loaders/参照*/
.loader {
  color: #000;
  font-size: 40px;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em,
      -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em,
      -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
      -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
      -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
      -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
      -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* font-family */

h2,
#header .scrolldown3,
#contact .tel,
#contact .mail,
#footer,
nav,
#splash-logo {
  font-family: "Teko", sans-serif;
}

/* splash */

#splash-logo {
  color: #000;
}

/* header */

#header .fixed {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

#header h1 {
  position: fixed;
  z-index: 9999;
  top: 3vh;
  left: 2vw;
  /* font-size: 2.5rem; */
  font-size: 1rem;
  /* font-weight: normal; */
  font-weight: bold;
  line-height: 1;
  width: 100%;
}
@media screen and (max-width: 768px) {
  #header h1 {
    /* font-size:2rem; */
    top: 0;
    /* top:calc(4vh - 25px); */
    left: 0;
    /* left:calc(4vw - 25px); */
    background-color: #e4e4e3;
    padding: clamp(25px, 4vh, 35px) 0 clamp(25px, 4vh, 35px) 4vw;
    width: 100%;
  }
}

#header .scrolldown3 span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.top-content {
  display: none;
  position: relative;
  text-align: center;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 992px) {
  .top-content {
    padding: 0 25px !important;
  }
}

.top-content::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background-image: url("../img/logo.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: -1;
}

.title-number {
  font-size: clamp(1.875rem, 1.65rem + 1.13vw, 2.3rem);
  font-weight: bold;
  color: #000;
  margin: 0 0 max(1vw, 8px);
  line-height: 1;
}

.title-tiku {
  font-size: clamp(0.9rem, 0.68rem + 1.1vw, 2rem);
  font-weight: bold;
  color: #000;
  line-height: 1;
}

.title {
  display: block;
  font-size: clamp(3rem, 2.818rem + 0.91vw, 3.5rem);
  /* 2rem以上 5rem以下の範囲で調整 */
  font-weight: bold;
  color: #000;
  padding: max(2.18vw, 20px) 0 max(0.7vw, 10px);
  line-height: 1.35;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.title >br:first-child {
  display: none;
}

@media screen and (max-width: 992px) {
  .title {
    font-size: min(5.75vw, 40px) !important;
  }
}

@media screen and (max-width: 576px) {
  .title {
    font-size:clamp(1.625rem, 1.307rem + 1.59vw, 2.5rem) !important;
  }
  .title >br:first-child {
    display: block;
  }
}


.sub-title {
  font-size: clamp(1.063rem, 0.722rem + 1.7vw, 2rem);
  font-weight: bold;
  color: #000;
  margin: 0 0 35px;
  padding: 0;
  line-height: 1.25;
}

.sub-title > span {
  display: inline-block;
}

.day {
  font-size: clamp(1.875rem, 1.65rem + 1.13vw, 2.8rem);
  font-weight: bold;
  color: #000;
  margin: 0 0 5px;
  padding: 0;
  line-height: 1 !important;
  font-family: "Teko", sans-serif;
  letter-spacing: 0.05em;
}

.place {
  font-size: clamp(1.375rem, 1.05rem + 1.63vw, 2rem);
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0;
  line-height: 1 !important;
  letter-spacing: -0.05em;
}

.place .material-icons {
  margin-right: 0.1em;
  padding-bottom: 0.05em;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.7rem);
  vertical-align: middle;
  color: #444 !important;
}

.day .material-icons {
  margin-right: 0.3em;
  font-size: clamp(1.375rem, 1.15rem + 1.13vw, 2rem);
  vertical-align: middle;
  color: #444 !important;
}

.lead-text {
  font-size: clamp(0.75rem, 0.636rem + 0.57vw, 1.063rem) !important;
  font-weight: normal;
  color: #000;
  margin: 45px 0 0;
  padding: 0;
  line-height: 1.75;
  text-align: left;
  text-align: justify;
  text-justify: inter-ideograph;
}

.lead-text2 {
  font-size: clamp(0.75rem, 0.636rem + 0.57vw, 1.063rem) !important;
  font-weight: normal;
  color: #000;
  margin: 15px 0 45px;
  padding: 0;
  line-height: 1.75;
  text-align: left;
  text-align: justify;
  text-justify: inter-ideograph;
}

.lead-text2 > p {
  font-size: clamp(0.75rem, 0.636rem + 0.57vw, 1rem) !important;
  font-weight: bold;
  margin-left: 0.5rem !important;
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 1.85em;
  text-indent: -1.85em;
  color: #001aff;
  line-height: 1.25;
}

@media screen and (max-height: 750px) {
  .lead-text,
  .lead-text2 {
    display: none;
  }
}

/* gnavi */

.circle-bg {
  border: 2px solid #000;
}

#g-nav ul {
  font-size: 1.7rem;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  #g-nav ul {
    font-size: 1rem;
  }
}

/* heading */

h2 {
  font-size: 3rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 5vh 0;
}

_:-ms-lang(x)::-ms-backdrop,
#service h2 {
  /*IE11用ハック*/
  padding: 20vh 0 0 0;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}

/* area */

.fixed {
  z-index: 1;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  padding: 0 7vw;
  animation: bgchange 40s ease infinite;
}

@media screen and (max-width: 768px) {
  #service.fixed,
  #outline.fixed {
    height: auto;
  }
}

@media screen and (max-width: 992px) {
  .fixed {
    padding: 0 25px;
  }
}

/* lead-area */
/* 高さ750px以上では非表示 */
@media screen and (min-height: 750px) {
  #top-lead-area {
    display: none;
  }
}

/* 高さ750px以下では表示 */
@media screen and (max-height: 750px) {
  #top-lead-area {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #e8e8e6;
  }

  #top-lead-area > .inner {
    margin: 0 auto !important;
    width: 100%;
    max-width: 800px;
    padding-top: 25px;
    padding-bottom: 50px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .top-lead-text {
    font-size: clamp(0.938rem, 0.636rem + 0.57vw, 1.063rem) !important;
    font-weight: normal;
    color: #000;
    margin: -45px 0 0;
    padding: 0;
    line-height: 1.75;
    text-align: left;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .top-lead-text2 {
    font-size: clamp(0.938rem, 0.636rem + 0.57vw, 1.063rem) !important;
    font-weight: normal;
    color: #000;
    margin: 15px 0 45px;
    padding: 0;
    line-height: 1.75;
    text-align: left;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .top-lead-text2 > p {
    font-size: clamp(0.938rem, 0.636rem + 0.57vw, 1rem) !important;
    font-weight: bold;
    margin-left: 0.5rem !important;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-left: 1.85em;
    text-indent: -1.85em;
    color: #001aff;
    line-height: 1.25;
  }
}

/* info */

#info {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #edeeed;
}

.info {
  margin: 0 auto !important;
  width: 100%;
  max-width: 1000px;
  padding: 0 25px;
  text-align: left;
  line-height: 1.65;
  overflow: auto;
}

.info dl {
  display: flex;
  padding: 0.25em 0 !important;
  border-bottom: 1px solid #00000034;
  font-size: clamp(0.938rem, 0.925rem + 0.06vw, 1rem);
}

.info dt {
  padding-right: 1.5em;
  padding-bottom: 0.35rem;
  width: 7.5em;
}

@media screen and (max-width: 576px) {
  @media screen and (max-width: 576px) {
    .info dl {
      display: block; /* initial を block に変更 */
      border-bottom: 1px solid #a7a7a7; /* 再適用 */
    }

    .info dt {
      width: 100%; /* 幅を調整 */
      padding-bottom: 0.2rem; /* 間隔を微調整 */
    }

    .info dd {
      padding-top: 0.2rem; /* 間隔を微調整 */
    }
  }
}

/* guidance */

#guidance {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #edeeed;
}

#guidance h3 {
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
  line-height: 1.35;
  margin: 0 0 5vh 0;
  padding: 0 25px;
}

#guidance h3 div {
  margin-bottom: max(1vw, 15px);
}

#guidance h3 div span > br {
  display: none !important;
}

@media screen and (max-width: 433px) {
  #guidance h3 div span > br {
    display: block !important;
  }
}

#guidance p {
  margin: 0 auto !important;
  width: 100%;
  max-width: 1000px;
  padding: 0 25px;
  text-align: left;
  line-height: 1.65;
  overflow: auto;
  text-align: left;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 2;
  font-size: clamp(0.938rem, 0.925rem + 0.06vw, 1rem);
}

/* outline */

#outline{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#E8E8E6;
}

#outline .outline-list{
    width:50vw;
    max-width: 1000px;
    margin: 0 auto;
    font-size:clamp(0.938rem, 0.925rem + 0.06vw, 1rem) ;
}

#outline .outline-list li{
    border-bottom: 1px solid #00000034;
    margin:0 0 15px 0;
    padding: 0 0 15px 0;
}

#outline .outline-list dl{
     display: flex;
     align-items: center;
}

#outline .outline-list dt{
    flex: 0 0 10em; /* dtの幅を固定 */
    text-align: justify;
    text-justify: inter-character;
    text-align-last: justify;
    padding: 0 2.5em;
    white-space: nowrap;
    font-weight: bold;
    line-height: 1.65;
}

#outline .outline-list dd{
    flex: 1; /* 残りのスペースを埋める */
}

#outline .outline-list dd div{
    display: block !important;
}

#outline .outline-list dd > span{
    display: inline-block;
    padding-right: 1em;
}

#outline .outline-list dd > span.link{
    display: inline-block;
    padding-right: 0em;
    color: #ff0000;
}

#outline .outline-list dd > span.link a{
    color: #0077ff;
    text-decoration: underline;
}

#outline .outline-list dd > span.link a:hover{
    color: #0044ff;
    text-decoration: underline;
}

#outline .outline-list dd.kigyou > span{
    display: inline-block;
    padding-right: 0em;
}

@media screen and (max-width:768px) {

#outline .outline-list{
    width:calc(100vw - 50px);
    }
    #outline .outline-list dl{
        display: block;
        align-items: start;
   }
   #outline .outline-list dt{
    flex: 0 0 10em; /* dtの幅を固定 */
    text-align: initial;
    text-justify:inherit;
    text-align-last: initial;
    padding: 0;
}
}

/* contact */

#contact {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #edeeed;
}

  /* #contact > .inner {
width: 100%;
max-width: 600px;
margin: 0 auto !important;
  } */

.contact {
  width: 100%;
  border: solid 1px #000;
  background-color: #fff;
  margin-bottom: 45px;
  padding: 45px;
}

.contact h3 {
  font-weight: normal;
  margin-bottom: 25px;
  font-weight: 600;
}

.contact p,
.contact div {
  text-align: left;
}

.contact p {
  margin-bottom: 15px;
}

#contact .tel,
#contact .mail {
  font-size: 2rem;
  margin: 0 0 1vh 0;
}

#contact .mail {
  margin: 0 0 6vh 0;
}

#contact .sns-link li {
  display: inline-block;
  margin: 0 10px;
}

#contact .sns-link li img {
  width: 30px;
}

@media screen and (max-width: 768px) {
  #contact .tel,
  #contact .mail {
    font-size: 1.3rem;
  }
}

/* footer */

#footer small {
  position: fixed;
  display: block;
  left: -100px !important;
  top: 50%;
  transform: rotate(-90deg);
  text-transform: uppercase;
  z-index: 2;
  line-height: 1;
  letter-spacing: 0.1em;
}

#footer p {
  position: fixed;
  display: block;
  right: 0;
  top: 50%;
  transform: rotate(90deg);
  text-transform: uppercase;
  z-index: 2;
  line-height: 1;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 992px) {
  #footer {
    display: none;
  }
}

.p7vw {
  width: 100%;
  max-width: 100%;
  padding: 7vw 0 !important;
  animation: bgchange 40s ease infinite;
}

.p5vw {
  width: 100%;
  max-width: 100%;
  padding: 5vw 0 !important;
  animation: bgchange 40s ease infinite;
}

.popup {
  position: fixed;
  bottom: 20px;
  right: 20px; /* デフォルトは右下配置 */
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-size: 14px;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%; /* 画面幅いっぱいにする */
  display: flex;
  justify-content: flex-end; /* 内部要素を右寄せ */
}

/* 画面幅576px以下ではポップアップを中央に */
@media screen and (max-width: 576px) {
  .popup {
    bottom: 10px;
    left: 50%;
    right: initial;
    transform: translate(-50%, 20px); /* X方向・Y方向の両方を調整 */
    justify-content: center; /* 中央配置 */
  }
}

/* 表示アニメーション */
.popup.show {
  opacity: 1;
}

/* 右寄せレイアウト */
.popup-inner {
  position: relative;
  width: auto;
  display: inline-block;
  padding: 15px 45px 15px 35px;
  background-color: #ffe553;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.popup-inner > p {
  color: #46340d;
  font-weight: bold;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.2rem);
  text-align: center;
}

.popup-inner > ul {
  color: #46340d;
  font-weight: bold;
  font-size: clamp(0.85rem, 0.82rem + 0.15vw, 1rem);
  margin: 0;
  padding: 0;
}

/* 画面幅576px以下ではポップアップを中央に */
@media screen and (max-width: 576px) {
  .popup-inner {
    width: 100%;
    padding: 5px 0 15px !important;
  }
  .popup-inner > p,
  .popup-inner > ul {
    text-align: center;
  }
  .popup-inner > p {
    line-height: 1.6;
  }
  .popup-inner > ul > li {
    line-height: 1.35;
  }
}

.popup-inner button {
  position: absolute;
  top: 0;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}


.link a{
  color: #0077ff;
  text-decoration: underline;
}

.link a:hover{
  color: #0044ff;
  text-decoration: underline;
}

.application-period > span{
  border: solid 1px #ccc;
  background: #fff;
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 5px 15px;
  display: inline-block !important;
}

#guidance p.mb-15px{
  margin-bottom: 15px !important;
}