@charset "UTF-8";

/* =========================================================
   right-layout.css
   共通レイアウト専用CSS
   左ナビ固定 + 右側表示エリア固定
========================================================= */


/* =========================================================
   全体
========================================================= */

html,
body{
  margin: 0;
  padding: 0;
}

body.right-layout-body{
  background: #fff;
  color: #2a241f;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.right-layout-site{
  width: 100%;
  min-height: 100vh;
  background: #fff;
}


/* =========================================================
   右側全体
   左ナビの右に出るエリア
========================================================= */

.right-layout-main{
  position: relative;
  width: calc(100% - 250px);
  min-height: 100vh;
  margin-left: 250px;
  background: #fff;
  box-sizing: border-box;
}


/* =========================================================
   上部メッセージ
========================================================= */

.right-layout-top-message{
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  background: #fff;
  color: #2a241f;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
  box-sizing: border-box;
}


/* =========================================================
   右側の白い表示エリア
========================================================= */

.right-layout-standard{
  width: 100%;
  margin: 0;
  padding: 0 0 100px;
  background: #fff;
  box-sizing: border-box;
}

.right-layout-inner{
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.right-layout-article{
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =========================================================
   ページタイトル
========================================================= */

.right-layout-title-wrap{
  width: 100%;
  margin: 0;
  padding: 54px 0 28px;
  text-align: center;
  box-sizing: border-box;
}

.right-layout-title{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 14px;
  color: #2a241f;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-align: center;
}

.right-layout-title::after{
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 12px auto 0;
  background: #758034;
}


/* =========================================================
   右側の中身を入れる場所
   ここだけ各ページの中身が入る
========================================================= */

.right-layout-content{
  width: 100%;
  margin: 0;
  padding: 0;
  color: #2a241f;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif !important;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}

.right-layout-content > :first-child{
  margin-top: 0;
}

.right-layout-content > :last-child{
  margin-bottom: 0;
}

.right-layout-content img{
  max-width: 100%;
  height: auto;
}


/* =========================================================
   WordPress / Cocoon の余計な装飾対策
========================================================= */

.right-layout-content h1,
.right-layout-content h2,
.right-layout-content h3,
.right-layout-content h4,
.right-layout-content h5,
.right-layout-content h6{
  background: none;
  border: none;
  box-shadow: none;
}

.right-layout-content h1::before,
.right-layout-content h1::after,
.right-layout-content h2::before,
.right-layout-content h2::after,
.right-layout-content h3::before,
.right-layout-content h3::after,
.right-layout-content h4::before,
.right-layout-content h4::after,
.right-layout-content h5::before,
.right-layout-content h5::after,
.right-layout-content h6::before,
.right-layout-content h6::after{
  display: none;
}

.right-layout-content a{
  color: inherit;
}

.right-layout-content table{
  width: 100%;
  border-collapse: collapse;
}


/* =========================================================
   共通：中央幅
   各ページの中で使う用
========================================================= */

.right-layout-narrow{
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.right-layout-medium{
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.right-layout-wide{
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}


/* =========================================================
   共通：上部ナビが必要なページ用
   必要なページの中身側でこのクラスを使う
========================================================= */

.right-layout-subnav{
  width: 100%;
  max-width: 920px;
  margin: 0 auto 72px;
  padding: 18px 0;
  border-top: 1px solid #ded8ca;
  border-bottom: 1px solid #ded8ca;
  color: #758034;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  box-sizing: border-box;
}

.right-layout-subnav span{
  display: inline-block;
}

.right-layout-subnav span::after{
  content: "｜";
  display: inline-block;
  margin: 0 10px;
  color: #c9c39a;
}

.right-layout-subnav span:last-child::after{
  content: "";
  margin: 0;
}

.right-layout-subnav a{
  color: #758034;
  text-decoration: none;
}

.right-layout-subnav a:hover,
.right-layout-subnav .active a{
  color: #758034;
  border-bottom: 2px solid #758034;
}


/* =========================================================
   共通：戻るボタン
========================================================= */

.right-layout-back{
  width: 100%;
  margin: 54px 0 90px;
  text-align: center;
}

.right-layout-back a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid #758034;
  background: #fff;
  color: #758034;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.25s ease, color 0.25s ease;
}

.right-layout-back a:hover{
  background: #758034;
  color: #fff;
}


/* =========================================================
   スマホ
========================================================= */

@media screen and (max-width: 1024px){

  .right-layout-inner{
    width: 90%;
  }

}


@media screen and (max-width: 767px){

  .right-layout-inner{
    width: calc(100% - 32px);
  }

  .right-layout-title-wrap{
    padding: 40px 0 22px;
  }

  .right-layout-title{
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .right-layout-content{
    font-size: 13px;
    line-height: 1.9;
  }

  .right-layout-subnav{
    margin-bottom: 52px;
    padding: 16px 0;
    font-size: 13px;
    line-height: 2.2;
  }

  .right-layout-subnav span::after{
    margin: 0 6px;
  }

  .right-layout-back{
    margin: 42px 0 70px;
  }

}


@media screen and (max-width: 480px){

  .right-layout-inner{
    width: calc(100% - 24px);
  }

  .right-layout-top-message{
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.7;
  }

  .right-layout-subnav span{
    margin: 2px 0;
  }

}