@charset "utf-8";

* {
  box-sizing: border-box;
}


@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Serif JP", serif, 游明朝, Yu Mincho, YuMincho;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.2em;
}


h1 {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

p {
  line-height: 2;
  letter-spacing: 0.1em;
  color: black;
  font-family: "Noto Serif JP", serif, 游明朝, Yu Mincho, YuMincho;
  /* font-weight: 600; */

}

header {
  display: flex;
  z-index: 5;
  padding: 10px;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 120px;
  justify-content: space-around;
  vertical-align: middle;
}

.globalMenuSp {
  display: none;
}


.header-title {
  display: flex;
  align-items: center;
}

.header-title img {
  height: 80px;
}

.header-logo {
  display: block;
  padding-left: 10px;
  text-align: left;
}

.header-logo p {
  font-family: "Noto Serif JP", serif, 游明朝, Yu Mincho, YuMincho;
  color: #ffffff;
}

header h1 a {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-family: "Noto Serif JP", serif, 游明朝, Yu Mincho, YuMincho;
  color: #ffffff;
}


header a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
  padding: 10px;
  transition: 0.5s;
}

header a:hover {
  color: #274A78;
}

.pc-menu {
  font-family: "Noto Serif JP", serif, 游明朝, Yu Mincho, YuMincho;
  -webkit-font-feature-settings: 'pkna';
  font-feature-settings: 'pkna';
  font-size: 17px;
  line-height: 2.9;
  letter-spacing: 0.03em;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-lr;

}

/* ハンバーガーメニューボタンPC時非表示 */
.menu-btn {
  display: none;
}


/* メインビジュアル */
/* スライドショー */
.swiper-container {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-height: 700px;
  min-height: 400px;
}

.swiper-slide .swiper-wrapper {
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.slide1 {
  background-image: url(../img/slide3.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}

.slide2 {
  background-image: url(../img/slide2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}

.slide3 {
  background-image: url(../img/slide1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}


/*スライドショーに載せるタイトル  */

.lead {
  position: absolute;
  top: 30%;
  width: 100%;
  text-align: center;
  z-index: 900;
}

.swiper-slide-active .s-fade-text {
  animation: slideTextFade 1.75s ease 0s 1 normal;
}

@keyframes slideTextFade {

  0%,
  25% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


.main-sec {
  background-image: url(../img/gosinboku.jpg);
  background-color: rgba(255, 255, 255, 0.85);
  background-blend-mode: lighten;
  background-size: cover;
}

/*sectionA  */
.secA {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
}

.secA-title {
  align-items: center;
  padding: 10px 100px 20px 100px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../img/haikei3_01.png);
  background-position: center;
  background-repeat: no-repeat;
  -webkit-font-feature-settings: 'pkna';
  font-feature-settings: 'pkna';
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.secA-title h1 {
  color: #B7282E;
}

.secA-title h2 {
  font-size: 25px;
  color: #B7282E;
}

.secA-title span {
  font-size: 20px;
  color: #B7282E;
}


.secB {
  padding-top: 20px;
  padding-bottom: 100px;
  background-image: url(../img/ume.png), url(../img/ume2.png), url(../img/haikei2.jpg);
  background-position:
    left 0px bottom,
    right 0px top,
    center;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat;
  background-size:
    300px,
    300px,
    100%;
}

.musubi {
  text-align: center;
}



.secC {
  background-image: url(../img/haikei.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;

}

.secC-sec {
  max-width: 1000px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.secC-sec span {
  font-size: 1.2rem;
  font-weight: bold;
}

.sub-top {
  height: 300px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.about {
  background-image: url(../img/top1.jpg);
}

.shrine {
  background-image: url(../img/top7.jpg);
}

.kigan {
  background-image: url(../img/top4.jpg);
}

.life {
  background-image: url(../img/top3.jpg);
}

.ritual {
  background-image: url(../img/top2.jpg);
}

.photo {
  background-image: url(../img/top5.jpg);
}

.sub-sec {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.kigan-list-text {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
  letter-spacing: 0.1em;
  line-height: 1.75;
}

.kigan-list h2 {
  margin-top: 15px;
  font-size: 1.5rem;
  text-align: center;
}

.time {
  text-align: center;
}

.life-list {
  width: 100%;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.life-list span {
  font-size: 1.2rem;
  font-weight: bold;
}

.life-list-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-height: 200px;
  padding-bottom: 30px;
  background-color: #74325C;
}

.footer a {
  text-decoration: none;
  color: #ffffff;
  transition: 0.5s;
}

.footer a:hover {
  color: #274A78;
}

.footer p {
  color: #fff;
}

.footer img {
  height: 80px;
  margin-top: 10px;
}

.footer-menu {
  margin-top: 10px;
}

.footer-menu ul {
  display: flex;
  width: 80%;
  flex-wrap: wrap;
}

.footer-menu li {
  padding: 10px;
}

/*ページトップへ戻るボタン
  -------------------------------------*/

#pagetop {
  position: fixed;
  bottom: 10px;
  right: 5px;
}

#pagetop a {
  display: block;
  background: #2E2930;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  border-radius: 50%;
  text-align: center;
}

#pagetop a:hover {
  background: #707070;
}

/*ページトップへ戻るボタン
-------------------------------------*/



/* section共通 */

.sub-title {
  text-align: center;
  padding-top: 10px;
}

.sub-title h2 {
  font-size: 20px;
}

.center {
  text-align: center;
}

.center img {
  margin: 10px 0 10px 0;
}

.flex-sec {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  justify-content: center;
  margin: 0px auto 0px auto;
  box-sizing: border-box;
}

.flex-sec img {
  max-width: 300px;
  margin: 5px;
}

.flex-sec img :nth-child(2n) {
  margin-right: 0;
}

.sub-title ::before {
  content: "";
  display: inline-block;
  padding-right: 10px;
  width: 1.5em;
  height: 1.5em;
  background-image: url(../img/before.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.sub-title ::after {
  content: "";
  display: inline-block;
  padding-left: 10px;
  width: 1.5em;
  height: 1.5em;
  background-image: url(../img/before.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

/* メニュー下線 */
.pc-menu span {
  border-bottom: solid 2px #B7282E;
}

.haikei2 {
  background-image: url(../img/haikei2.jpg);
}

/* 表 */
.table-type1 {
  width: 100%;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}

.table-type1 span {
  font-weight: bold;
}

.table-type1 .tr {
  display: table;
  width: 100%;
}

.table-type1 .tr .th,
.table-type1 .tr .td {
  display: table-cell;
  font-size: 14px;
  padding: 8px 15px;
  background: #ffffff;
  border-right: 1px solid #DBD0E6;
  border-bottom: 1px solid #DBD0E6;
}

.table-type1 .tr .th {
  vertical-align: middle;
  /* 中央揃え */
  width: 180px;
  background: #FDEFF2;
}

.table-type1 .tr .td {
  width: calc(100% - 180px);
}


.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1000px;
  text-align: center;
}

.grid img {
  max-width: 300px;
  padding: 3px;
}



/* タブレット */
@media screen and (max-width: 990px) {
  .secA {
    margin-right: 10px;
    margin-left: 10px;
  }

  .pc-menu {
    display: none;
  }

  .globalMenuSp {
    display: block;
  }

  .header {
    height: 100px;
  }

  .flex-box {
    display: block;
  }

  .flex-fixed {
    /* 画像中央寄 */
    margin: 0 auto;
  }

  /* 人生儀礼リスト */
  .life-list-flex {
    display: block;
  }

  /*　ハンバーガーボタン　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    z-index: 5;
    background: #ffffff;
    -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: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    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: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalMenuSp {
    position: fixed;
    /* 重なったメニューの位置調整 */
    margin-top: 100px;
    /* 重なったメニューの位置調整 */
    z-index: 2;
    top: 0;
    left: 0;
    /* padding-top: 10%; */
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease;
    visibility: hidden;
  }


  nav.globalMenuSp ul {
    margin: auto;
    padding: 0;
    width: 100%;
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }

  nav.globalMenuSp ul li:hover {
    background: #808080;
  }

  nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration: none;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
    visibility: visible;
  }

  .footer-menu {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .musubi img {
    max-width: 50px;
    padding-top: 50px;
  }

  .secB {
    background-position:
      left 0px bottom,
      right 0px top,
      center;
    background-repeat:
      no-repeat,
      no-repeat,
      repeat;
    background-size:
      300px,
      300px,
      100%;
  }

  /* スライドショー */


  .slide1 {
    background-image: url(../img/mobile1.jpg);
  }

  .slide2 {
    background-image: url(../img/mobile2.jpg);
  }

  .slide3 {
    background-image: url(../img/mobile3.jpg);
  }

  .footer {
    align-items: center;
  }

  .footer img {
    height: 70px;
  }

  .table-type1 .tr {
    display: block;
  }

  .table-type1 .th {
    text-align: center;
  }

  .table-type1 .tr .th,
  .table-type1 .tr .td {
    display: block;
    width: 100%;
  }

}