@charset "UTF-8";
/* CSS Document */
/*----------------------------------------
	Base
----------------------------------------*/
* {
  /*    outline: 1px dashed blue;*/
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0 auto;
  overflow-x: hidden;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  animation: fadeIn 3.5s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
/*画像のフルード化*/
img {
  max-width: 100%;
  height: auto;
}
/*ヘッダーリンク*/
.nav_list a {
  color: #02405a;
  text-decoration: none;
  outline: none;
  font-weight: bold;
}
.nav_list a:hover {
  color: #7A7A7A;
}
a {
  text-decoration: none;
  color: #333;
}
/*----------------------------------------
  #header
----------------------------------------*/
#header {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#header:before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  /*背景画像設定*/
  background: url("../img/chapel02.webp") no-repeat center;
  background-size: cover;
}
#header h2 {
  /*  writing-mode: vertical-rl;*/
  font-size: 3rem;
  color: #fff;
  font-weight: normal;
}
#header p {
  /*  writing-mode: vertical-rl;*/
  font-size: 1.5rem;
  color: #fff;
}
.mainarea {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2rem;
}
/*----------------------------------------
  Container
----------------------------------------*/
#container {
  position: relative;
  z-index: 1;
  background: #fff;
  margin: 0 auto;
}
.container-fullwidth-bg {
  max-width: 100%;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background-color: rgba(236, 236, 236, 1.00);
  padding-bottom: 100px;
  padding-right: 10vw;
  padding-left: 10vw;
}
/*----------------------------------------
	section　ブロック
----------------------------------------*/
section {
  max-width: 1200px; /*横幅の最大値を指定*/
  margin: 60px auto; /*ブラウザの中央に配置*/
  margin-top: -60px;
  padding-top: 60px;
}
.item_mov {
  flex-basis: 100%; /*子要素の横幅*/
  width: 100%;
  aspect-ratio: 16 / 9;
}
.item_mov iframe {
  width: 100%;
  height: 100%;
}
/*----------------------------------------
	Container box2列レイアウト（親要素）
----------------------------------------*/
.container-2col {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2%;
}
/*--item本体（子要素）--*/
.container-2col .item {
  width: 48%;
  margin-bottom: 50px;
  padding-left: 1rem;
}
.container-2col .item_img {
  width: 50%;
}
.container-2col .item_img img {
  height: auto;
  object-fit: contain; /*画像をブロック全面に表示*/
}
.item_ttl {
  margin: 0.7rem 0 0.5rem;
  padding-bottom: 0.1rem;
  font-size: 1.2rem;
  color: #00477f;
}
.item_txt {
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1rem;
}
.item_ttl.icon {
  font-size: 2rem;
  padding: 1.5rem
}
.caption {
  font-size: 0.8rem;
  color: #6E6E6E;
}
.container-2col.break {
  display: flex;
  justify-content: center;
}
.item.baseL {
  background-color: rgba(236, 236, 236, 1.00);
  padding: 2rem;
  margin-right: -3rem;
  margin-top: 6rem;
  z-index: 999;
}
.item.baseR {
  background-color: rgba(236, 236, 236, 1.00);
  padding: 2rem;
  margin-left: -3rem;
  margin-top: 6rem;
  z-index: 999;
}
/*----------------------------------------
	Container box3列
----------------------------------------*/
.container-3col {
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
/*  align-items: center;*/
  gap: 20px;
}
.container-3col .item {
  padding: 1rem 1.5rem;
  width: 33%;
  border: 1px solid #dfdfdf;
  min-height: 10vh;
}
/*----------------------------------------
	Container wrap
----------------------------------------*/
.wrap-container {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2%;
}
.wrap-item {
  width: 32%;
  margin-bottom: 2%;
}
.wrap-item.bnr01{
  display: flex;
  justify-content: center;
  align-items:center;
  background-color: rgba(236, 236, 236, 1.00);
  padding: 1.5rem;
}
.wrap-item.bnr01 a {
  color:#333;
  font-size: 1em;
  line-height: 1
}
/*----------------------------------------
  Accordion
----------------------------------------*/
.accordion {
  margin: 3em auto;
  /*max-width: 80vw;*/
}
.toggle {
  display: none;
}
.option {
  position: relative;
  margin-bottom: 1em;
}
.title, .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.5s;
}
.title {
  border: solid 1px #ccc;
  padding: 1em;
  display: block;
  color: #333;
  font-weight: bold;
}
.title::after, .title::before {
  content: "";
  position: absolute;
  right: 1.25em;
  top: 1.25em;
  width: 2px;
  height: 0.75em;
  background-color: #999;
  transition: all 0.5s;
}
.title::after {
  transform: rotate(90deg);
}
.content {
  max-height: 0;
  overflow: hidden;
}
.content p {
  margin: 0;
  padding: 0.5em 1em 1em;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.toggle:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
}
.toggle:checked + .title + .content p {
  line-height: 2.5;
}
.toggle:checked + .title::before {
  transform: rotate(90deg) !important;
}
/*----------------------------------------
	Header
----------------------------------------*/
.header {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 70px; /*ヘッダーの高さ*/
  z-index: 99;
  background-color: #fff;
}
.header_inner {
  position: relative;
  padding: 18px;
}
.logo {
  position: absolute;
  width: 320px;
  height: auto;
  top: 0;
  left: 0;
  padding: 0.5rem 0 0.6rem 0.6rem;
}
/*----------------------------------------
	headding　見出し
----------------------------------------*/
/*H2見出し*/
.headding_lv2 {
  font-size: 2em;
  margin-bottom: 2rem;
  text-align: center;
  color: #02405a;
  padding-top: 5rem;
  letter-spacing: 0.2em;
}
/*H3見出し*/
.headding_lv3 {
  font-size: 1.6em;
  letter-spacing: 0.1em;
  color: #02405a;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
/*H4見出し*/
.headding_lv4 {
  font-size: 1.2em;
  color: #02405a;
  margin-bottom: 10px;
  padding-bottom: 5px;
  font-weight: normal;
}
.headding_lv3 span {
  font-size: 1.26em;
}
.center {
  text-align: center;
}
/*phone*/
.phone {
  margin-bottom: 50px;
  color: #02405a;
}
.phone h4 {
  font-size: 1.7rem;
  line-height: 1.8;
}
.phone i.fa-solid {
  margin-right: 0.5rem;
}
/*button*/
.btn {
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  border: 1px solid #555;/* ボーダーの色と太さ */
  padding: 10px 30px;
  text-align: center;
  outline: none;  
  transition: ease .2s;
  width: 100%;
  }
  .btn span {
  position: relative;
  z-index: 3;
  color:#333;
}
.btn:hover span{
  color:#fff;
}
/*== 背景が流れる（斜め） */
.bgskew::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  background:#333;
  width:120%;
  height: 100%;
  transform: skewX(-25deg);
}
.bgskew:hover::before {
	animation: skewanime .5s forwards;
}
@keyframes skewanime {
	100% {
		left:-10%;/*画面の見えていない左から右へ移動する終了地点*/
	}
}
a.btn-orange {
  color: #fff;
  /*background-color: #eb6100;*/
  background-color:#6A3DA2;
  font-size: 1rem;
  /*  position: relative;*/
  padding: 1rem 3rem 1rem 3rem;
  margin: 0.3rem 0;
  display: inline-block;
  border: none;
  width: 70%;
}
a.btn-orange:hover {
  color: #fff;
  /*background: #f56500;*/
  opacity: 0.7;
}
a.btn-orange i.fa {
  margin-right: 0.5rem;
}
/*----------------------------------------
	footer
----------------------------------------*/
.container-footer {
  margin-top: 100px;
  width: 100%;
  padding: 0 30px;
  height: 30px;
  background-color: #E3E3E3;
}
p.copyright {
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: normal;
  text-align: center;
  line-height: 12px;
  padding-top: 10px;
  color: #333;
}
.scrollTop {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 30px;
  bottom: 50px;
  z-index: 100;
}
.scrollTop a {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  background-color: #E3E3E3;
  text-indent: -9999px;
  background-image: url(../img/arrow.svg);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#page_top {
  margin-top: -70px; /*position_fix時のズレを解消*/
  padding-top: 70px; /*position_fix時のズレを解消*/
}
/*-----------------------------------------
  ScrollDown
-----------------------------------------*/
.scrolldown {
  position: absolute;
  left: 50%;
  bottom: 10px;
  height: 50px;
}
.scrolldown span {
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.scrolldown::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #eee;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
/*-----------------------------------------
  fadeUp
------------------------------------------*/
.fadeUpTrigger, .sideInR, .sideInL {
  opacity: 0;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.delay-time02 {
  animation-delay: 0.5s;
}
.delay-time03 {
  animation-delay: 0.8s;
}
.delay-time04 {
  animation-delay: 1.1s;
}
@media only screen and (min-width: 769px) {
  .header_inner {
    /*max-width: 1200px; ヘッダーの最大幅*/
    margin: 0 auto;
  }
  .nav_list {
    text-align: right;
  }
  .nav_list li {
    display: inline-block;
    text-align: right;
    padding-left: 30px;
    padding-top: 6px;
    letter-spacing: 0.1em;
  }
  .nav_list li a {
/*    font-weight: 600;*/
  }
}
/*----------------------------------------
	SP用 section　ブロック
----------------------------------------*/
@media screen and (max-width: 768px) {
  .spbr {
    display: block;
  }
  #header, #header:before {
    height: 90vh;
  }
  #header:before {
    background-repeat: no-repeat;
    background-image: url("../img/chapel02.webp");
    background-size: cover;
  }
  #header h2 {
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    line-height: 2;
  }
  .headding_lv3 {
    font-size: 1.6em;
  }
  #header p {
    writing-mode: vertical-rl;
    font-size: 1.3rem;
    line-height: 2;
  }
  .mainarea {
    flex-direction: row-reverse;
    padding-top: 4rem;
    align-items: flex-start;
  }
  .logo {
    max-width: 280px;
    padding: 0.8rem 0 0.5rem 0.7rem;
  }
  section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container-2col, .container-3col {
    flex-direction: column;
  }
  .container-2col.order {
    flex-direction: column-reverse;
  }
  #history .container-2col.order .item {
    width: 100%;
    padding-left: 0;
}
  .container-2col .item {
    width: 100%;
    margin-bottom: 3rem;
  }
  .container-2col .item_img {
    width: 100%;
  }
  .container-2col .item_img .history {
    margin-bottom: 2rem;
  }
  .container-3col {
    flex-direction: column;
  }
  .container-3col .item {
    width: 100%;
  }
  .item_none:after {
    content: '\f078';
  }
  .item.baseL, .item.baseR {
    margin: 0;
    padding: 1.3rem;
  }
  .wrap-container {
    flex-direction: column;
    justify-content: center;
    gap:1rem;
  }
  .wrap-item {
    width: 100%;
    text-align: center;
  }
  .btn {
  width: 100%;
  }
  a.btn-orange {
    padding: 1rem 1.9rem;
  }
  .container-footer {
    height: auto;
    padding: 0 0 1rem;
    line-height: 1;
}
  .headding_lv2 {
    font-size: 1.8em;
    margin-bottom: 1rem;
  }
  p.copyright {
    font-size: 10px;
  }
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 2px;
    top: 14px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 18px;
    height: 2px;
    left: 6px;
    background: #555; /*SPメニューの背景色*/
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 14px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 26px;
  }
  .hamburger.active span:nth-child(1) {
    top: 20px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2), .hamburger.active span:nth-child(3) {
    top: 20px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  nav.MenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 50, 72, 0.9);
    text-align: center;
    width: 100%;
    opacity: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    transition: opacity .6s ease, visibility .6s ease;
    visibility: hidden;
  }
  nav.MenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  nav.MenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }
  nav.MenuSp ul li:last-child {
    animation-delay: 0.6s;
    padding-bottom: 0;
  }
  nav.MenuSp ul li:hover {
    background: #ddd;
  }
  nav.MenuSp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
  }
  nav.MenuSp.active {
    opacity: 100;
    visibility: visible;
  }
  .copyright {
    text-align: center;
  }
}