@charset "UTF-8";

/*
Theme Name: 真心庵 天真
Theme URI: https://shinshinan.jp/
Description: 真心庵 天真公式サイトの、新着情報・ギャラリーなど
Version: 1.1
Author: OWNDMEDIA.LAB
*/

/* ************************************************************************************************

   共通

   ************************************************************************************************ */
:root {
  --red: #ce4344;
  --blk: #0f0a0a;
}

html,
body {
  width: 100%;
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 2;
  font-family: fot-klee-pro, "Yu Mincho Light", "YuMincho", "Yu Mincho",
    "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: var(--blk);
  background: #fff;
}

html {
  overflow: overlay;
}

h1 {
  font-size: 10px;
}

h2 {
  font-size: 45px;
  font-family: ro-shino-std, serif;
  font-weight: 400;
}

h3 {
  font-size: 36px;
}

p {
  font-size: 15px;
}

a {
  font-size: 15px;
  text-decoration: none;
}

li,
th,
td {
  font-size: 15px;
}

img {
  max-width: 100%;
}

.img_sp {
  display: none;
}

.font2 {
  font-family: ro-shino-std, "YuMincho", serif;
  font-weight: 400;
}

.ja {
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -ms-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.font-bold {
  font-weight: bold;
}

/* マウスドラッグした時の文字色 */
::selection {
  background: var(--blk);
  color: #fff;
}

/* 改行 */
.br_sp {
  display: none;
}

.br_pc {
  display: block;
}

/* ページ全体の余白など */
#page {
  overflow: hidden;
  width: 100%;
}

.wrap {
  width: 1180px;
  padding: 30px;
  margin: 0 auto;
}

.wrap2 {
  width: 1400px;
  padding: 30px;
  margin: 0 auto;
}

.wrap3 {
  width: 100%;
  padding: 50px 100px;
}

.index-wrap {
  height: 100%;
}

/* 見出し */
.h2__ttl {
  align-items: center !important;
}

.h2__ttl h2 {
  margin-left: 15px;
}

/* ボタン */
.btn01 {
  color: var(--red);
  font-size: 22px;
  padding-bottom: 5px;
  background: linear-gradient(currentcolor, currentcolor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.btn01:hover {
  background-position: right bottom;
  background-size: 0 1px;
}

.btn02 {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
  position: relative;
  z-index: 2;
  border: 1px solid var(--red);
  color: var(--red);
  overflow: hidden;
}

.btn02::before,
.btn02::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}

.btn02,
.btn02::before,
.btn02::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn02:hover {
  color: #fff;
}

.btn02::after {
  top: -100%;
  width: 100%;
  height: 100%;
}

.btn02:hover::after {
  top: 0;
  background-color: var(--red);
}

/* スクロールバー */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 5px;
}

/*flex*/
.flex {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  align-items: flex-start;
}

/***** 下層ページヘッダー *****/
.header-sub {
  width: 100%;
  height: 540px;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.header-sub.bg03 {
  background-position: top;
}

.header-sub__logo {
  position: absolute;
  top: 50px;
  left: 50px;
  transition: all 0.5s;
}

.header-sub__logo:hover {
  transition: all 0.5s;
  opacity: 0.6;
}

.header-sub__logo img {
  width: 70px;
}

.header-sub__box {
  width: 50%;
}

.header-sub__img {
  width: 36%;
}

.header-sub__ttl {
  text-align: center;
}

.header-sub__ttl h2 {
  margin: 20px auto 0;
  font-size: 50px;
}

.header-sub__ttl img {
  width: 60px;
}

/***** フッター *****/
.footer__container {
  height: 90vh;
}

.footer__container.flex {
  align-items: center;
  justify-content: space-around;
}

.footer__logo {
  transition: all 0.5s;
}

.footer__logo:hover {
  opacity: 0.6;
  transition: all 0.5s;
}

.footer__logo img {
  width: 21vh;
}

.footer__box {
  margin-right: 50px;
}

.footer__info {
  margin: 4vh 0 5vh;
}

.footer__contact a {
  display: block;
  margin-bottom: 15px;
  display: -webkit-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  align-items: center;
  transition: all 0.5s;
}

.footer__contact a:hover {
  color: var(--red);
  transition: all 0.5s;
}

.footer__contact img {
  margin-right: 15px;
  width: 5.3vh;
}

.footer__contact p {
  margin-right: 20px;
  font-size: 3.2vh;
}

.footer__note {
  margin-top: 3.9vh;
}

.footer__map iframe {
  width: 70vh;
  height: 70vh;
  -webkit-filter: saturate(0.4);
  filter: saturate(0.4);
}

small {
  font-size: 13px;
  display: block;
  text-align: center;
}

/***** Edge,IE調整 *****/
@supports (-ms-ime-align: auto) {

  .gnav__container,
  .header-sub__ttl {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@-moz-document url-prefix() {

  .gnav__container,
  .header-sub__ttl {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/* ************************************************************************************************

   アニメーション

   ************************************************************************************************ */
/***** ヘッダー *****/
#h-menu {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 999;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#gnav {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
  right: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: ease-in-out 0.8s;
  margin-right: -100%;
}

#gnav.active {
  transition: 0.8s;
  margin-right: 0;
}

#gnav h1 img {
  width: 12vh;
}

#gnav h1 a {
  transition: all 0.5s;
  line-height: 1;
}

#gnav h1 a:hover {
  opacity: 0.6;
  transition: all 0.5s;
}

.gnav__wrap {
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.gnav__container {
  text-align: center;
  width: 50%;
}

.gnav__imgbox {
  width: 50%;
  text-align: center;
}

.gnav__list {
  text-align: left;
  margin: 11vh auto 0;
}

.gnav__item a {
  font-size: 30px;
  line-height: 3;
  transition: all 0.5s;
}

.gnav__list a:hover {
  color: var(--red);
  transition: all 0.5s;
}

.gnav__sns {
  position: absolute;
  top: 30px;
  left: 30px;
}

.gnav__sns a {
  transition: all 0.3s;
  line-height: 1;
  display: block;
  margin-bottom: 17px;
  width: 35px;
}

.gnav__sns a:hover {
  opacity: 0.6;
  transition: all 0.3s;
}

/***** ローディングアニメーション *****/
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-image: url(../img/common/bg01.jpg);
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.loading__logo {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

/***** ページトップに戻るボタン *****/
#page_top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 98;
  transition: 0.5s;
}

#page_top:hover {
  transform: translateY(-20px);
}

#page_top a {
  display: block;
  width: 50px;
  height: 100px;
  position: relative;
}

#page_top a::before,
#page_top a::after {
  content: '';
  position: absolute;
  background-color: #4C4C4C;
}

#page_top a::before {
  width: 3px;
    height: 120px;
    bottom: 6px;
    right: 14px;
}

#page_top a::after {
  width: 3px;
  height: 30px;
  top: -2rem;
  right: 7px;
  transform: rotate(-30deg);
}

#page_top a::after::before {
  content: '';
  position: absolute;
  background-color: white;
  /* 矢印の色を設定 */
  width: 15px;
  height: 2px;
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

/* #page_top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  opacity: 0.7;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: all 0.3s;
  z-index: 98;
}

#page_top:hover {
  opacity: 1;
  transition: all 0.3s;
} */

/***** スクロールアニメーション *****/
.scroll.fadeIn {
  opacity: 0;
  transition: all 2000ms;
}

.scroll.fadeIn2 {
  opacity: 0;
  transition: all 3000ms;
}

.scroll.fadeInUp {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 2000ms;
}

.scroll.fadeInLeft {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 2000ms;
}

.scroll.fadeInRight {
  opacity: 0;
  transform: translateX(50px);
  transition: all 2000ms;
}

.scroll.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.scroll.delay {
  -moz-transition-delay: 200ms;
  -webkit-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  -ms-transition-delay: 200ms;
}

.scroll.delay2 {
  -moz-transition-delay: 400ms;
  -webkit-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  -ms-transition-delay: 400ms;
}

.scroll.delay3 {
  -moz-transition-delay: 600ms;
  -webkit-transition-delay: 600ms;
  -o-transition-delay: 600ms;
  -ms-transition-delay: 600ms;
}

.scroll.delay4 {
  -moz-transition-delay: 800ms;
  -webkit-transition-delay: 800ms;
  -o-transition-delay: 800ms;
  -ms-transition-delay: 800ms;
}

.scroll.delay5 {
  -moz-transition-delay: 1000ms;
  -webkit-transition-delay: 1000ms;
  -o-transition-delay: 1000ms;
  -ms-transition-delay: 1000ms;
}

/*gallery*/
.gallery__item:nth-of-type(2),
.gallery__item:nth-of-type(5),
.gallery__item:nth-of-type(8),
.gallery__item:nth-of-type(11),
.gallery__item:nth-of-type(14),
.gallery__item:nth-of-type(17) {
  -moz-transition-delay: 200ms;
  -webkit-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  -ms-transition-delay: 200ms;
}

.gallery__item:nth-of-type(3),
.gallery__item:nth-of-type(6),
.gallery__item:nth-of-type(9),
.gallery__item:nth-of-type(12),
.gallery__item:nth-of-type(15),
.gallery__item:nth-of-type(18) {
  -moz-transition-delay: 400ms;
  -webkit-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  -ms-transition-delay: 400ms;
}

@media screen and (max-width: 559px) {

  .scroll.delay,
  .scroll.delay2,
  .scroll.delay3,
  .scroll.delay4,
  .scroll.delay5 {
    -moz-transition-delay: 0;
    -webkit-transition-delay: 0;
    -o-transition-delay: 0;
    -ms-transition-delay: 0;
  }
}

/* ************************************************************************************************

   微調整

   ************************************************************************************************ */
@media screen and (max-height: 700px) {
  .footer__note {
    margin-top: 2vh;
    font-size: 14px;
  }
}

@media screen and (min-width: 1900px) {
  .header-sub__img {
    width: 32%;
  }
}

@media screen and (max-width: 1536px) {
  .gnav__imgbox {
    width: 45%;
  }
}

@media screen and (max-width: 1400px) {
  .wrap2 {
    width: 100%;
    padding: 30px 50px;
  }

  #h-menu img {
    width: 70px;
  }

  .gnav__item a {
    line-height: 2.8;
    font-size: 28px;
  }
}

@media screen and (max-width: 1180px) {
  .wrap {
    width: 100%;
    padding: 30px 50px;
  }
}

/* ************************************************************************************************

   1025px

   ************************************************************************************************ */
@media screen and (max-width: 1025px) {
  .br_1025 {
    display: none;
  }

  .wrap3 {
    padding: 50px;
  }

  .wrap3.index-wrap {
    padding: 50px 70px;
  }

  /*ヘッダー @1024px*/
  .gnav__item a {
    font-size: 25px;
    line-height: 2.5;
  }

  .gnav__sns a {
    width: 30px;
    margin-bottom: 15px;
  }

  .gnav__wrap {
    margin-top: -20px;
  }

  /*下層ページヘッダー @1024px*/
  .header-sub {
    height: 450px;
  }

  .header-sub__logo img {
    width: 85%;
  }

  .header-sub__ttl h2 {
    font-size: 42px;
  }

  .header-sub__ttl img {
    width: 50px;
  }

  .header-sub__box {
    width: 45%;
  }

  .header-sub__img {
    width: 39%;
  }

  /*フッター @1024px*/
  .footer__map iframe {
    width: 65vh;
    height: 65vh;
  }
}

/* ************************************************************************************************

   960px

   ************************************************************************************************ */
@media screen and (max-width: 959px) {
  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 32px;
  }

  p {
    font-size: 14px;
  }

  a {
    font-size: 14px;
  }

  li,
  th,
  td {
    font-size: 14px;
  }

  .none--sp {
    display: none;
  }

  .btn01 {
    font-size: 20px;
  }

  .wrap3.index-wrap {
    padding: 50px;
  }

  /*ヘッダー @960px*/
  .gnav__wrap {
    flex-direction: column-reverse;
    justify-content: center;
    margin-top: 0;
  }

  .gnav__container {
    width: 100%;
  }

  #gnav h1 img {
    width: 80px;
  }

  .gnav__imgbox {
    width: 75%;
    margin-bottom: 60px;
  }

  .gnav__item a {
    line-height: 3;
  }

  .gnav__list {
    margin: 50px auto;
  }

  /*下層ページヘッダー @960px*/
  .header-sub {
    flex-direction: column-reverse;
    justify-content: center;
    height: auto;
    padding: 50px 0;
  }

  .header-sub__logo img {
    width: 80%;
  }

  .header-sub__ttl h2 {
    font-size: 40px;
    margin: 20px auto 50px;
  }

  .header-sub__ttl img {
    width: 45px;
  }

  .header-sub__box {
    width: 100%;
  }

  .header-sub__img {
    width: 60%;
  }

  /*フッター @960px*/
  .footer__logo img {
    width: 18vh;
  }

  .footer__container.flex {
    flex-direction: column;
  }

  .footer__box {
    margin-right: 0;
    text-align: center;
  }

  .footer__info {
    margin: 4vh 0;
  }

  .footer__contact img {
    width: 4.5vh;
  }

  .footer__contact p {
    margin-right: 30px;
    font-size: 2.4vh;
  }

  .footer__note {
    margin-top: 2vh;
  }

  .footer__map {
    width: 100%;
  }

  .footer__map iframe {
    width: 100%;
    height: 30vh;
  }
}

/* ************************************************************************************************

   560px

   ************************************************************************************************ */
@media screen and (max-width: 559px) {

  /***** 共通 @560px*****/
  h2 {
    font-size: 35px;
  }

  h3 {
    font-size: 27px;
  }

  .img_pc {
    display: none;
  }

  .img_sp {
    display: block;
  }

  .btn01 {
    font-size: 17px;
  }

  .btn02 {
    font-size: 15px;
    width: 180px;
    height: 50px;
    line-height: 50px;
  }

  .h2__ttl img {
    width: 42px;
  }

  .br_sp {
    display: block;
  }

  .br_pc {
    display: none;
  }

  .wrap {
    padding: 0 30px;
  }

  .wrap2 {
    padding: 0 30px;
  }

  .wrap3,
  .wrap3.index-wrap {
    padding: 0 30px;
  }

  .loading__logo {
    width: 20%;
  }

  /* ページトップボタン */
  #page_top a::before {
    height: 78px;
  }

  #page_top a::after {
    height: 25px;
    top: -3rem;
  }

  /***** ヘッダー @560px*****/
  #h-menu {
    top: 20px;
    right: 20px;
  }

  #h-menu img {
    width: 50px;
  }

  #gnav h1 img {
    width: 55px;
  }

  .gnav__list {
    margin: 40px auto 30px;
  }

  .gnav__sns {
    top: 20px;
    left: 20px;
  }

  .gnav__sns a {
    width: 25px;
    margin-bottom: 12px;
  }

  .gnav__item a {
    font-size: 16px;
    line-height: 2.3;
  }

  .gnav__imgbox {
    width: 90%;
    margin-bottom: 0;
  }

  /***** 下層ページヘッダー @560px *****/
  .header-sub {
    padding: 51px 0 0;
  }

  .header-sub__logo {
    top: 30px;
    left: 30px;
  }

  .header-sub__logo img {
    width: 60%;
  }

  .header-sub__ttl h2 {
    font-size: 35px;
    margin: 15px auto 51px;
  }

  .header-sub__ttl img {
    width: 40px;
  }

  .header-sub__img {
    width: 100%;
  }

  /***** フッター @560px *****/
  footer {
    padding: 50px 0 30px;
  }

  .footer__info {
    margin: 40px auto;
    width: 80%;
    text-align: left;
  }

  .footer__logo img {
    width: 40%;
  }

  .footer__container {
    height: 100%;
  }

  .footer__contact {
    text-align: left;
    margin: 0 auto;
    width: 85%;
  }

  .footer__contact p {
    margin-right: 0;
    font-size: 23px;
  }

  .footer__note {
    margin-top: 20px;
    font-size: 13px;
    text-align: left;
  }

  .footer__map {
    margin: 30px 0 50px;
  }

  .footer__map iframe {
    height: 40vh;
  }

  small {
    font-size: 12px;
  }
}

/* ************************************************************************************************

   320px

   ************************************************************************************************ */
@media screen and (max-width: 320px) {
  h2 {
    font-size: 32px;
  }

  .h2__ttl img {
    width: 36px;
  }

  #gnav .wrap3 {
    padding: 0 20px;
  }

  #h-menu img {
    width: 45px;
  }

  .footer__logo img {
    width: 45%;
  }

  .header-sub__logo {
    top: 20px;
    left: 20px;
  }

  .header-sub__logo img {
    width: 50%;
  }
}