@charset "UTF-8";
/* CSS Document */
/*
Theme Name: Reiko Hagihara_Theme
Theme URI: 
Description: This is the Reiko Hagihara Theme.
*/
/**********************************************
 * 
 * 全体
 *
 **********************************************/
body, html {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  font-family: 'Noto Serif JP', sans-serif;
  font-weight: 400;
  color: #393c41;
-webkit-touch-callout:none; /* リンク長押しのポップアップを無効化 */
-webkit-user-select:none; /* テキスト長押しの選択ボックスを無効化 */
}
/*==========タイトルタグ==========*/
h1, h2 {
  font-weight: 500;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 22px;
  font-weight: 400;
}
h4 {
  font-size: 20px;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 19px;
  }
  h4 {
    font-size: 17px;
  }
}
/*==========背景色==========*/
.nk_bg_white {
  background-color: #fff;
}
.nk_bg_black {
  background-color: #000;
}
.nk_bg_gray {
  background-color: #cccccc;
}
/*==========フォントカラー==========*/
.nk_fontclr_base {
  color: #393c41;
}
.nk_fontclr_white {
  color: #ffffff;
}
/*==========フォントファミリー明朝系==========*/
.nk_font_mincho {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: bold;
}
/*==========テキストリンク==========*/
a:link {
  color: #393c41;
  text-decoration: none;
}
a:visited {
  color: #393c41;
  text-decoration: none;
}
a:hover {
  color: #4D4D4D;
  text-decoration: none;
}
a:active {
  color: #393c41;
  text-decoration: none;
}
/*==========行間==========*/
.nk_line_height_20 {
  line-height: 2.0em;
}
.nk_line_height_18 {
  line-height: 1.8em;
}
.nk_line_height_16 {
  line-height: 1.6em;
}

/**********************************************
 * 
 * ヘッダー header.php
 *
 **********************************************/
header {
  position: fixed;
  width: 100%;
  z-index: 20;
  height: 110px;
  background-color: #fff;
  margin: 0 auto;
  top: 0;
}
.nk_navi {
  padding: 0 0 0 0;
  position: relative;
  /*height: 110px;*/
  width: 100%;
  margin: 0 auto;
}
/*=====ロゴ（サイト名）=====*/
.nk_logo h1 {
  position: absolute;
  top: 25px;
  left: 35px;
  font-size: 24px;
  letter-spacing: 0.5rem;
}
.logo-ti {
  font-size: 16px;
  display: block;
  padding-left: 3px;
  padding-bottom: 3px;
  letter-spacing: 0.3rem;
}
/*=====ナビ=====*/
/*ul>li>a*/
.navbar-light .navbar-nav .nk_nav_link {
  padding-left: 25px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
/*ナビゲーションのリンクカラー*/
.navbar-light .navbar-nav .nk_fontclr_base {
  color: #393c41;
  /*border-bottom: solid 1px #cccccc;*/
  text-align: left;
  font-size: 17px;
}
.navbar-light .navbar-nav .nk_fontclr_base:hover {
  color: #666666;
}
/*各ページのTOPのズレ解消*/
.nk_margin_pagetop {
  margin-top: 110px;
}
/*アンカーリンク位置のズレ解消*/
.nk_margin_pagetop_link {
  margin-top: -110px;
  padding-top: 110px;
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 350px;
  height: 100vh; /*ナビの高さ*/
  background: #fff;
  /*動き*/
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 350px;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  /*position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);*/
  position: absolute;
  z-index: 999;
  top: 30px;
  left: 0;
  /*transform: translate(-50%, -50%);*/
  /* text-align: center; */
  width: 100%;
  padding-left: 0;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  width: 100%;
  margin: auto;
}
#g-nav li a {
  color: #393c41;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  /*border-bottom: solid 1px #D3CCB2;*/
  margin: auto 20px;
}
/*SNS*/
#g-nav li.sns-list a {
  border-bottom: solid 0px #393c41;
  padding: 20px 0 30px 20px;
  display: inline-block;
  margin: auto 0 auto 20px;
}
#g-nav li.sns-list a:nth-child(n+2) {
  padding: 20px 0 30px 0;
  margin: auto 0 auto 10px;
}
/*言語切替*/
#g-nav li:last-child a {
  border-bottom: solid 0px #393c41;
  padding: 30px 0 30px 0;
  display: inline-block;
  margin: auto 0 auto 40px;
  font-size: 14px;
}
#g-nav li:last-child a:nth-child(2) {
  margin: auto 0 auto 0;
}
/*ナビ中のサイト名*/
#g-nav li.logo-na a {
  font-size: 24px;
  letter-spacing: 0.5rem;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 0;
  right: 0;
  cursor: pointer;
  width: 90px;
  height: 90px;
  background-color: rgba(243, 241, 233, 0);
  /*  border: solid 2px #000;
  border-radius: 50%;
*/
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  height: 2px;
  /*border-radius: 2px;*/
  background-color: #393c41;
  width: 50%;
}
.openbtn span:nth-of-type(1) {
  top: 29px;
}
.openbtn span:nth-of-type(2) {
  top: 43px;
}
.openbtn span:nth-of-type(3) {
  top: 57px;
}
.openbtn.active {
  /*border: solid 2px #fff;*/
}
.openbtn.active span:nth-of-type(1) {
  top: 37px;
  left: 0;
  transform: translateY(6px) rotate(-45deg);
  width: 40%;
  background-color: #393c41;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
  background-color: #393c41;
}
.openbtn.active span:nth-of-type(3) {
  top: 49px;
  left: 0;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
  background-color: #393c41;
}
/*******************************
    画面サイズmd以下の時の設定
*******************************/
@media (max-width: 991px) {
  header {
    height: 75px;
  }
  /*=====ロゴ（サイト名）=====*/
  .nk_logo h1 {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 20px;
    letter-spacing: 0.5rem;
  }
  .logo-ti {
    font-size: 12px;
    display: block;
    padding-left: 3px;
    padding-bottom: 3px;
    letter-spacing: 0.3rem;
  }
  /*==== ナビゲーションのためのCSS ====*/
  #g-nav {
    width: 100%;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    width: 100%;
  }
  /*ナビ中のサイト名*/
  #g-nav li.logo-na a {
    font-size: 20px;
    letter-spacing: 0.5rem;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    width: 70px;
    height: 70px;
    top: 0;
  }
  .openbtn span:nth-of-type(1) {
    top: 19px;
  }
  .openbtn span:nth-of-type(2) {
    top: 33px;
  }
  .openbtn span:nth-of-type(3) {
    top: 47px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 27px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 39px;
  }
  /*各ページのTOPのズレ解消*/
  .nk_margin_pagetop {
    margin-top: 75px;
  }
  /*アンカーリンク位置のズレ解消*/
  .nk_margin_pagetop_link {
    margin-top: -75px;
    padding-top: 75px;
  }
}
/********************************

フッター

*********************************/
footer {
  position: fixed;
  left: 22px;
  top: 40vh;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
  footer {
    left: 5px;
    top: auto;
    bottom: 0;
  }
}
footer ul {
  margin: 0;
  padding: 0;
}
/*ページトップへ*/
#arrow li {
  list-style: none;
  margin: 0 0 0 0;
}
#arrow li a {
  position: fixed;
  bottom: 60px;
  right: 0px;
  z-index: 30; /*レイヤーの最上位にする*/
}
/*円*/
#arrow li a::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  padding: 15px;
  position: absolute;
  right: 11px;
  top: 10px;
  width: 1px;
  border: 1px solid #393c41;
}
/*矢印*/
#arrow li a::after {
  border-left: 1px solid #393c41;
  border-top: 1px solid #393c41;
  border-radius: 1px;
  content: "";
  margin: 0 0 0 10px;
  position: absolute;
  transform: rotate(45deg);
  top: 23px;
  right: 22px;
  width: 10px;
  height: 10px;
}
#arrow li a:hover {
  filter: opacity(70%);
  /*opacity: 0.7;*/
}
/*========コピーライト部分========*/
.footer_copy {
  margin: 0 auto 10px auto;
  text-align: center;
  height: 200px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.footer_copy small {
  font-size: 11px;
}
/**********************************************
 * 
 * 共通
 *
 **********************************************/
/*========ボタン========*/
.nk_btn_base {
  position: relative;
  top: 0;
}
.nk_btn_base a {
  /*width: 210px;*/
  height: 50px;
  line-height: 50px;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
}
/**********************************************
 * 
 * トップページ front-page.php
 *
 **********************************************/
/*メインイメージ*/
.main_image {
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  /*padding-top: 75%;*/
  /*margin: 110px auto 0 auto;*/
  /*display: flex;
  justify-content: center;
  align-items: center;*/
  top: 110px;
  overflow: hidden;
}
.main_image-photo {
  width: 100%;
  height: calc(100vh - 110px);
  object-fit: cover;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
  /*メインイメージ*/
  .main_image {
    position: relative;
    width: 100%;
    height: calc(100vh - 75px);
    top: 75px;
    overflow: hidden;
  }
  .main_image-photo {
    /*width: 100%;*/
	  width: auto;
    height: calc(100vh - 75px);
    object-fit: cover;
	  position: absolute;
  }

.main_image .main_image-photo{
    animation-name: animation;
    animation-duration: 80s;/*1秒かけてアニメーションさせる*/
    animation-timing-function:linear;
    animation-fill-mode:forwards;/*最後で停止*/
    animation-iteration-count:1;/*1回*/
    /*animation-direction:reverse;向き*/
}
  @keyframes animation{
    0%{
       left: 0;
    }
    50%{
    /*画像サイズは1対1.5とする*/
    /*画面高さ×1.5引く画面幅で画像のスライド幅を求める*/
        left:calc(calc(calc(calc(100vh - 75px) * 1.5) - 100vw) * -1);
    }
	100%{
        left:0;
    }
}
}
/*****画面サイズsm以下の時の設定*****/
@media (max-width: 767px) {}
/*****画面サイズ最小以下の時の設定*****/
@media (max-width: 575px) {}
/**********************************************
 * 
 * お知らせ category.php
 *
 **********************************************/
/*h1*/
.top-title {
  position: fixed;
  top: 160px;
  font-size: 18px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-bottom: solid 5px #393c41;
  padding-bottom: 80px;
}
/*メイン*/
.blog_wrap {
  width: 100%;
  margin: 0 auto 0 auto;
  padding: 0 0 20px 0;
  position: relative;
}
time {
  font-size: 12px;
  margin-right: 10px;
  color: #b1a184;
}
.blog {
  border-bottom: 1px dashed #a4a393;
  margin-bottom: 40px;
}
/*記事タイトル h2*/
.blog_title {
  padding-top: 10px;
  padding-bottom: 0;
  font-size: 16px;
}
/*記事タイトル h2 single.phpに使用*/
.blog_title-single {
  font-size: 20px;
}

/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
  /*h1*/
  .top-title {
    position: fixed;
    top: 100px;
    font-size: 18px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-bottom: solid 5px #393c41;
    padding-bottom: 80px;
    left: 0;
  }
  .blog {
    margin-bottom: 20px;
  }
	/*記事タイトル h2*/
.blog_title {
  font-size: 15px;
}
}
/**********************************************
 * 
 * お知らせ個別記事　single.php
 *
 **********************************************/
/*========メインエリア========*/
.top-news {
  margin-bottom: 15px;
  padding-bottom: 15px;
  position: relative;
}
/*カテゴリー*/
.info_cate {
  font-size: 12px;
  color: #fff;
  margin-right: 10px;
  text-align: center;
}
/**********************************************
 * 
 * サイドバー　sidebar.php
 *
 **********************************************/
/*========カテゴリー表示========*/
.blog-cate-list {
  text-align: left;
  padding-left: 18%;
}
.cat-item {
  display: block;
  list-style: none;
  margin-bottom: 15px;
  width: 100%;
  max-width: 135px;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
  .blog-cate-list {
    padding-left: 0;
  }
  .cat-item {
    display: inline;
    list-style: none;
    padding: 5px 0;
    margin-bottom: 20px;
    width: 100%;
    max-width: none;
    font-size: 13px;
  }
  .cat-item a::after {
    content: "/";
    padding: 0 5px;
  }
  .cat-item:last-child a::after {
    content: "";
  }
}
/**********************************************
 * 
 *  経歴　biography.php
 *
 **********************************************/
.biography-style table tbody tr td{
	border: none;
	vertical-align: top;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
	.biography-style table tbody tr td{
min-width: 110px;
}
}
/**********************************************
 * 
 *  出版物　category-publications.php
 *
 **********************************************/
.public_wrap{
	margin-bottom: 120px;
}
.publications-img img {
  width: 170px;
  height: auto;
  object-fit: cover;
}
.publications-box{
	width: 220px;
}
.public_text{
  font-size: 13px;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
	.public_wrap{
	margin-bottom: 60px;
}
  .publications-img img {
  width: 110px;
  }
	.publications-box{
	width: 140px;
}
}
/**********************************************
 * 
 *  寄稿　category-articles.php
 *
 **********************************************/
.kikou-style table tbody tr td{
	border: none;
}
.kikou_wrap{
	margin-bottom: 60px;
}
.kikou_text{
  font-size: 14px;
}
/**********************************************
 * 
 *  作品　category-works.php
 *
 **********************************************/
.works_wrap{
	margin-bottom: 120px;
}
.works_exc{
  font-size: 14px;
}
.works_text{
  font-size: 13px;
}
/*作品タイトル装飾*/
.works_title {
  font-weight: 700;
	font-size: 17px;
}
.works_text a img{
	width: 30%;
	aspect-ratio: 4 / 3;/* 縦横比を4:3に固定 */
	float: left;
	margin-right: 3%;
	margin-bottom: 3%;
	object-fit: cover;
}
/*Lightbox2*/
.lightbox .lb-image{
	border: none;
	border-radius: 0;
}
/*****画面サイズmd以下の時の設定*****/
@media (max-width: 991px) {
	.works_wrap{
	margin-bottom: 60px;
}
}
/**********************************************
 * 
 * お問い合わせ contact.php
 *
 **********************************************/
.privacy {
  /*border: solid 1px #393c41;*/
  padding: 20px 20px 0 20px;
		font-size: 14px;
}
.privacy h2{
font-size: 14px;
}
/*========メールフォーム========*/
.cf7_table {
  width: 100%;
  margin: 50px auto 20px auto;
}
.cf7_table div {
  margin-bottom: 40px;
  /*border-bottom: 1px solid #cccccc;*/
}
.cf7_table div label {
  display: flex;
  justify-content: flex-start;
  align-items:start;
}
.cf7_table div label span.cf7_table-column1 {
  width: 240px;
  white-space: nowrap;
	padding-top: 8px;
}
.hissu {
  padding: 0 5px;
  font-size: 9px;
  font-size: 0.8rem;
  white-space: nowrap;
  /*border: solid 1px #000;*/
  border-radius: 15px;
  margin-left: 3px;
  color: #fff;
  background-color: #393c41;
}
/*入力枠*/
.wpcf7-form-control-wrap {
  width: 100%;
}
.wpcf7-form-control-wrap select {
  width: 40%;
  padding: 10px;
  margin-left: 25px;
}
input.wpcf7-form-control, textarea.wpcf7-form-control {
  padding: 10px 5px;
  /*border-radius: 5px;*/
  border: solid 1px #000000;
  width: 100%;
}
p.soushin_btn {
  text-align: center; /*width: 90%;*/
}
p.soushin_btn input[type="submit"] {
  text-align: center;
  background-color: #393c41;
  padding: 5px 28px;
  border: 1px solid #393c41;
  /*border-radius: 30px;*/
  /*font-size: 16px;
	font-size: 1.6rem;*/
  color: #FFFFFF;
  cursor: pointer;
  margin: 20px auto 20px auto;
  width: 150px;
}
p.soushin_btn input[type="submit"]:hover {
  opacity: 0.8;
}
input[type="button"], input[type="submit"] {
  -webkit-appearance: none; /*iOS対策*/
}
.wpcf7-spinner {
  display: block;
}
/*****画面サイズsm以下の時の設定*****/
@media (max-width: 767px) {
  .cf7_table {
    margin: 30px auto 20px auto;
  }
  .cf7_table div label {
    display: block;
  }
  input.wpcf7-form-control, textarea.wpcf7-form-control {
	  margin-top: 5px;
}
  .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 10px;
    margin-left: 0;
  }
}