@charset "utf-8";

/*
 * "Fredericka" is lisenced under the SIL Open Font License 1.1
 * http://fonts.googleapis.com
 * https://www.google.com/fonts/attribution
 * http://scripts.sil.org/OFL
 */

/* *****共通設定***** */

body {
  background-color: #f9f4ef;
}

a {
  color: #696969;
}

a:hover {
  color: #a9a9a9;
}

.bg-primary,
.btn-primary {
  background-color: #8c7851 !important;
  border-color: #8c7851;
}

.border-primary {
  border-color: #8c7851 !important;
}

.bg-maincolor {
  background-color: #f0f8ff !important;
}

.btn-warning:hover {
  color: #212529;
  background-color: #ffa500;
  border-color: #ffa500;
}

.bg-yl-color {
  background-color: #fffaf0 !important;
}

.text-shadow {
  text-shadow: 1px 1px 3px #000;
}

.font-patrick {
  font-family: 'Fredericka the Great', cursive;
}

/* ヘッダー(navbar) */
#nav01 {
  border-bottom: 3px solid #8c7851;
}

#nav02 .nav-fill {
  width: 100%;
}

#nav02 .nav-item {
  border-left: 1px solid #dee2e6;
}

#nav02 .last-list-md {
  border-right: 1px solid #dee2e6;
}

/* フッター */
#footer-sns img {
  height: 58px;
  width: auto;
  margin-right: 25px;
}

#footer-index ul ul {
  padding-left: 0.75rem;
  border-left: 1px solid #6c757d;
}

/* *****トップページ***** */
.jumbotron {
  position: relative;
  background-image: url("../img/top-image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 600px;
}

@media (max-width: 767px) {
  .jumbotron {
    background-image: url("../img/top-image-sp.jpg");
    height: 450px;
  }
}

.jumbotron-text {
  position: absolute;
  bottom: 2rem;
}

/* お知らせ */

.info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 13em;
  margin: 0 auto;
  overflow-y: scroll
}

@media (min-width:768px) {
  .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap
  }
}

.info dd,
.info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: .5em;
  padding-left: .5em
}

.info dt {
  font-style: normal;
  font-weight: initial
}

@media (min-width:768px) {
  .info dt {
    width: 12.5em;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dt:first-of-type {
  padding-top: .5em;
  border-top: 1px dotted #343a40
}

.info dt time {
  margin-right: .5em
}

.info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: .5em;
  padding: 0 .5em;
  background-color: #020826;
  color: #fff;
  font-size: .8em;
  line-height: 1.75;
  text-align: center
}

.info time {
  color: #adb5bd
}

.info dd {
  margin-left: 0;
  margin-bottom: .5em;
  border-bottom: 1px dotted #343a40
}

@media (min-width:768px) {
  .info dd {
    width: calc(100% - 12.5em)
  }

  .info dd:first-of-type {
    padding-top: .5em;
    border-top: 1px dotted #343a40
  }
}

.info dd:nth-of-type(-n+3) {
  position: relative
}


/* *****下層ページ***** */
.breadcrumb-item + .breadcrumb-item:before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: small;
  color: #fff;
}

#page .jumbotron {
  background:#f1efff url("../img/contact-image.jpg") no-repeat center center;
  background-size: cover;
  border-radius: initial;
  height: 300px;

}

#page .jumbotron h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#page .jumbotron::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  }

 /* 2025 */ 
#page #twenty-five {
  background: #f1efff url("../img/2025_header.jpg") no-repeat center center;
  background-size: cover;
}    

/* 2024 */ 
#page #twenty-four {
  background: #f1efff url("../img/2024_header.jpg") no-repeat center center;
  background-size: cover;
}  

 /* 2023 */ 
 #page #twenty-three {
  background: #f1efff url("../img/2023_header.jpg") no-repeat center center;
  background-size: cover;
}

 /* 2022 */ 
#page #twenty-two {
  background: #f1efff url("../img/2022_header.jpg") no-repeat center center;
  background-size: cover;
}

 /* 2021 */
#page #twenty-one {
  background: #f1efff url("../img/2021_header.jpg") no-repeat center center;
  background-size: cover;
}
 /* 2020 */
#page #twenty-zoro {
  background: #f1efff url("../img/2020_header.jpg") no-repeat center center;
  background-size: cover;
}
 /* 2019 */
#page #twenty-nineteen {
  background: #f1efff url("../img/2019_header.jpg") no-repeat center center;
  background-size: cover;
}
 /* 2018 */
#page #twenty-eighteen {
  background: #f1efff url("../img/2018_header.jpg") no-repeat center center;
  background-size: cover;
}


/* --------------------------------------------------

 レスポンシブ

--------------------------------------------------　*/

@media (max-width: 991.98px) {
  /* md タブレット・スマートフォン向け */

  #nav02 .nav-item {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    letter-spacing: 0.25rem;
  }
}

  @media (max-width: 600px) {
    /* xs スマートフォン向け */

    /* フッター */
    #footer-sns img {
      height: 29px;
      margin-right: 15px;
    }
    /* h1タイトル */ 
    #page h1 {
      font-size: 1.3rem;
    }
  }

/* --------------------------------------------------

カスタマイズ

--------------------------------------------------　*/

/* グーグルフォント */
body {
  font-family: 'Sawarabi Mincho', serif; 
}

/* アコーディオン */

.accordion-005:not([open]) {
  margin-bottom: 7px;
}

.accordion-005 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  border-left: 5px solid #2589d0;
  background-color: #e6edf3;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.accordion-005 summary::-webkit-details-marker {
  display: none;
}

.accordion-005 summary::before,
.accordion-005 summary::after {
  width: 3px;
  height: .9em;
  border-radius: 5px;
  background-color: #b6bdc3;
  content: '';
}

.accordion-005 summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.accordion-005 summary::after {
  transition: rotate .3s;
}

.accordion-005[open] summary::after {
  rotate: 90deg;
}

.accordion-005 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1em 2em 2em 2em;
  color: #333333;
  transition: transform .5s, opacity .5s;
}

.accordion-005[open] p {
  transform: none;
  opacity: 1;
}

/* 見出し */

.heading-001 {
  margin: 2rem 0;
  padding: .5em .7em;
  border-left: 5px solid #f25042;
}

.heading-003 {
  margin: 2rem 0;
  padding:0 .4em .2em;
  border-bottom: 3px solid #ccc;
}

.heading-004 {
  padding:0 .4em .2em;
}

.heading-038 {
  position: relative;
  padding: .5em 1.2em;
  color: #333333;
}

.heading-038::before,
.heading-038::after {
  display: inline-block;
  position: absolute;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid #7a7d7f;
  content: '';
}

.heading-038::before {
  top: calc(50% - 3px);
  left: 0;
}

.heading-038::after {
  top: calc(50% + 3px);
  left: 5px;
}

/* フッター */
#footer {
  height: 12rem;
  margin-top: 5rem;
}

/* スクロールでふわっと */
.fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1.5s, transform 1s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

/* ボタン */

.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
  margin-bottom: 50px;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}

/* 名前と画像 */
.name {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.name img {
  max-width: 120px;
}

/* プロフィル */
.profil p {
  font-size: 0.9375rem;
}

.profil h2 {
  font-size: 1.3rem;
  font-weight: bold;
}

.profil h3 {
  font-size: 1.1rem;
}

/* 申し込み */
@media (max-width: 767px) {
  .application {
    width: 100%;
  }
}

#backToTop {
  position: fixed;
  bottom: 120px;
  right: 20px;
  padding: 12px 16px;
  font-size: 18px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  /* 初期状態 */
  opacity: 0;
  pointer-events: none; /* クリックできないようにする */
  transition: opacity 0.4s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto; /* クリック可能に */
}
