@charset "UTF-8";
/*
Theme Name: st_nicholas2
Theme URL: https://www.stn-home.net
Description: 米子ニコラス教会オリジナルテーマ
Author: Momoko Takakura
Version: 1.0.0
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
*/
/*=====common css=====*/
html {
  box-sizing: border-box;
  font-size: 62.5%; }

img {
  max-width: 100%; }

body {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-family: "MS  ゴシック", "游ゴシック", "游ゴシック体", sans-serif;
  color: #573001;
  background-color: #e6dcbd;
  list-style: none; }
  body h1, body h2 {
    font-family: 'Kaisei Decol', serif;
    font-size: 2.4rem; }
  body img {
    position: relative;
    display: inline-block;
    border-radius: 10px; }
  body a {
    text-decoration: none;
    color: #573001; }

.main p {
  padding: 20px 24px;
  font-weight: 500; }
@media (min-width: 768px) {
  .main {
    margin: 0 auto; }
    .main p {
      display: block;
      margin: 0 auto;
      text-align: center; } }

.next__button {
  padding-left: 24px; }
  .next__button--word {
    display: inline-block;
    background-color: #a4d8c4;
    font-size: 1.6rem;
    padding: 6px 40px;
    font-family: "Yu Gothic UI","Meiryo UI";
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 30px; }
  .next__button img {
    vertical-align: middle;
    width: 16px;
    padding-left: 10px;
    margin-bottom: 2px; }
  @media (min-width: 768px) {
    .next__button {
      padding-left: 0px; }
      .next__button--word {
        margin-bottom: 60px; } }

.tree {
  display: none; }
  @media (min-width: 1160px) {
    .tree {
      display: inline-block; } }

a:hover {
  opacity: 0.8; }

/*=====ヘッダー=====*/
.header {
  height: 70px;
  margin: 0 auto;
  margin-top: 10px;
  max-width: 1160px; }
  @media (min-width: 1160px) {
    .header {
      height: 140px; } }

.header-content {
  padding-left: 24px;
  position: relative; }
  @media (min-width: 1160px) {
    .header-content {
      padding-left: 0; } }
  .header-content img {
    width: 54px; }
    @media (min-width: 1160px) {
      .header-content img {
        width: 120px; } }

.header-title {
  display: inline-block; }
  .header-title h1 {
    font-size: 2.4rem;
    padding-bottom: 6px; }
    @media (min-width: 1160px) {
      .header-title h1 {
        font-size: 4.2rem;
        line-height: 6.3rem;
        padding-bottom: 0; } }
  .header-title P {
    font-family: 'Kaisei Decol', serif;
    font-size: 1.2rem;
    font-weight: 500;
    padding-left: 5px; }
    @media (min-width: 1160px) {
      .header-title P {
        font-size: 2.4rem; } }

/*========= ナビゲーションのためのCSS ===========*/
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #e6dcbd;
  transition: all 0.6s; }
  @media (min-width: 1160px) {
    #g-nav {
      position: relative;
      z-index: 0;
      right: 0;
      height: auto;
      transition: none; } }

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
  z-index: 999; }

/*ナビゲーション*/
.g-nav-home {
  display: block;
  text-align: left;
  padding: 20px 0 0 20px; }
  .g-nav-home span {
    font-family: 'Kaisei Decol', serif; }
  @media (min-width: 1160px) {
    .g-nav-home {
      display: none; } }

#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); }
  @media (min-width: 1160px) {
    #g-nav ul {
      z-index: 0;
      top: 0;
      left: 0;
      transform: translate(0, 0); } }

#g-nav li {
  font-family: 'Kaisei Decol', serif;
  list-style: none;
  text-align: left;
  border-bottom: solid 2px #573001; }
  @media (min-width: 1160px) {
    #g-nav li {
      font-size: 2.0rem;
      border-bottom: none; } }

#g-nav li a {
  color: #573001;
  text-decoration: none;
  padding: 20px 10px 5px 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold; }
  @media (min-width: 1160px) {
    #g-nav li a {
      padding: 0px 10px 40px 10px; } }

#g-nav span {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: lowercase;
  font-size: 1.2rem;
  vertical-align: middle;
  margin-left: 10px; }

#g-nav img {
  width: 30px;
  height: auto;
  border-radius: 0; }

.instagram {
  display: flex;
  align-items: center; }
  .instagram a {
    display: inline-block; }

/*ハンバーガーメニュー*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 20px;
  right: 5%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: #a4d8c4;
  border-radius: 50%; }
  @media (min-width: 1160px) {
    .openbtn1 {
      display: none; } }

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 11px;
  height: 3px;
  border-radius: 2px;
  background-color: #573001;
  width: 45%; }

.openbtn1 span:nth-of-type(1) {
  top: 10px; }

.openbtn1 span:nth-of-type(2) {
  top: 18px; }

.openbtn1 span:nth-of-type(3) {
  top: 26px; }

.openbtn1.active span:nth-of-type(1) {
  top: 13px;
  left: 13px;
  transform: translateY(6px) rotate(-45deg);
  width: 32%; }

.openbtn1.active span:nth-of-type(2) {
  opacity: 0; }

.openbtn1.active span:nth-of-type(3) {
  top: 25px;
  left: 13px;
  transform: translateY(-6px) rotate(45deg);
  width: 32%; }

.section__top {
  margin: 0 auto;
  max-width: 1160px; }
  .section__top-wrap {
    position: relative; }
    .section__top-wrap p {
      position: absolute;
      top: 0;
      left: 0; }

.top__area {
  height: 200px; }
  .top__area img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0; }
  @media (min-width: 768px) {
    .top__area {
      height: 450px; }
      .top__area img {
        height: 450px;
        border-radius: 10px 10px 0 0; } }
  @media (min-width: 1160px) {
    .top__area {
      margin: 0 auto 0 230px;
      height: 550px; }
      .top__area img {
        height: 550px; } }
  .top__area--title {
    position: absolute;
    width: 230px;
    height: auto;
    top: 30%;
    left: 45%;
    transform: translate(-45%, -30%); }
    .top__area--title img {
      width: 44px;
      height: auto;
      opacity: 0.7;
      transform: scale(-1, 1) rotate(45deg);
      margin-bottom: 10px;
      z-index: 99; }
    .top__area--title h2 {
      display: inline;
      font-size: 2.4rem;
      font-family: 'Kaisei Decol', serif;
      background-color: #fff;
      border-radius: 5px;
      opacity: 0.7;
      padding: 6px 10px 6px 15px; }
    @media (min-width: 768px) {
      .top__area--title {
        width: 350px; }
        .top__area--title img {
          width: 66px; }
        .top__area--title h2 {
          font-size: 3.0rem;
          padding: 10px 25px 10px 30px; } }

.bottom__nav--menu {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 56px;
  /*高さ*/
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  /*背景色*/
  box-shadow: 0px -2px 1px  #a9a9a9;
  z-index: 100; }
  .bottom__nav--menu li {
    float: left;
    width: 20%;
    background-color: #ffffff;
    /*背景色*/
    list-style-type: none;
    text-align: center;
    font-size: 18px;
    /*アイコンのサイズ*/ }
  .bottom__nav--menu a {
    display: block;
    color: #808080;
    /*アイコン＆文字の色*/
    padding-top: 10px;
    padding-bottom: 5px;
    line-height: 10px;
    text-decoration: none; }
  .bottom__nav--menu span {
    font-size: 1.0rem; }
  .bottom__nav--menu .nav-icon {
    padding-bottom: 5px; }
  @media (min-width: 1160px) {
    .bottom__nav--menu {
      display: none; } }

.bottom__navigation--menu li a:hover {
  color: #a9a9a9;
  /*マウスオーバー時の色*/ }

.footer__img {
  display: none;
  margin-top: 60px; }
  @media (min-width: 1160px) {
    .footer__img {
      display: block;
      border-radius: 0;
      border-bottom: solid 1px #573001; } }

.footer {
  height: 180px;
  background-color: #573001;
  text-align: center;
  padding-top: 20px;
  color: #ffffff;
  position: relative;
  font-size: 1.4rem;
  margin-top: 180px; }
  .footer__name {
    font-size: 1.6rem;
    font-weight: bold; }
  .footer__wrap {
    margin-left: 14px;
    text-align: left;
    margin-bottom: 10px; }
  .footer p {
    padding-left: 10px;
    padding-top: 5px;
    font-family: 'Kaisei Decol', serif; }
  .footer span {
    padding-left: 10px;
    font-style: normal; }
  .footer a {
    color: #fff; }
  @media (min-width: 1160px) {
    .footer {
      background-color: #573001;
      border-radius: 0;
      height: 100%;
      text-align: center;
      margin: 0 auto;
      padding: 0;
      padding-bottom: 20px; }
      .footer p {
        font-size: 2.2rem;
        margin-bottom: 15px; }
      .footer span {
        font-size: 1.6rem; }
      .footer__wrap {
        position: relative;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 30px; }
      .footer small {
        display: inline-block;
        font-size: 2.0rem;
        margin: 0;
        padding: 0; } }

.scroll-top {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  position: absolute;
  bottom: 200px;
  left: 47%; }
  .scroll-top img {
    width: 50px;
    height: auto; }
  @media (min-width: 1160px) {
    .scroll-top {
      text-align: right;
      margin: 0;
      position: absolute;
      bottom: 0;
      left: 0; }
      .scroll-top img {
        width: 80px;
        position: fixed;
        bottom: 100px;
        right: 100px;
        z-index: 999; } }
