@charset "UTF-8";
/* CSS Document */
/*ボックスモデルの計算方法変更*/
* {
  box-sizing: border-box;
}
body {
  font-family: 'YuGothic', 'Yu Gothic medium', 'Hiragino Sans', 'Meiryo', 'sans-serif', 'Times New Roman', "serif";
  line-height: 1.7;
  background-color: #000; /*下地の白が出ないように*/
}
/*ヘッダー部分-----------------------------------
----------------------------------------------*/
nav {
  background-color: transparent;
  width: 100%;
  height: 4rem;
  /*  position: fixed;
  z-index: 999;
  display: fixed;*/
}
nav h1 {
  margin-right: auto; /* ロゴを左端に寄せる */
  max-width: 200px; /* ロゴの最大幅を設定 */
  max-height: 40px; /* ロゴの最大高さを設定 */
}
.logo img {
  width: 100%;
}
nav ul {
  width: 60%;
  color: #fff;
  list-style-type: none;
  display: block; /*モバイルファーストで通常はメニューをブロック表示で縦積み*/
}
nav li a {
  display: block; /* ブロック要素として配置 */
  text-decoration: none; /* リンクの下線を削除 */
  color: #fff;
  width: auto; /*中のフォントサイズで可変*/
  text-align: center;
  margin-right: .1rem;
}
nav li:last-child {
  margin-right: 0;
}
/*ハンバーガメニュー-----------------------*/
/*ボタン外側*/
.openbtn {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  background-color: transparent;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
}
/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all.4s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background-color: #fff;
  width: 55%;
}
.openbtn span:nth-of-type(1) {
  top: 13px;
}
.openbtn span:nth-of-type(2) {
  top: 19px;
}
.openbtn span:nth-of-type(3) {
  top: 25px;
}
.openbtn span:nth-of-type(3)::after {
  /*3つめの要素のafterにmenu表示を指定*/
  content: "Menu";
  position: absolute;
  top: 5px;
  left: -2px;
  color: #fff;
  font-size: .6rem;
  text-transform: uppercase;
}
/*activeクラスが付与されると線が回転して×になり、MenuがCloseに変更*/
.openbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(3)::after {
  /*3つ目の要素のafterにcloseを表示*/
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}
/* SP用のスタイル-----------------------------
------------------------------------------*/
.menu-list ul {
  display: none; /*SPメニューは初期状態では非表示*/
}
.menu-list.panelactive ul {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  display: block;
  z-index: 10;
  margin: 0 auto;
  font-size: 1.5rem;
  background-color: #111;
}
nav ul li a {
  position: relative; /*テキストの基点とするためにrelative指定*/
  overflow: hidden; /*はみ出る要素を隠す*/
  padding: 2rem 3rem;
}
nav li span {
  position: absolute; /*絶対配置でテキストの位置を指定*/
  left: 50%;
  top: 0;
  transition: all .5s; /*アニメーションの指定*/
  transform: translate(-50%, 0);
  display: block; /*ブロック要素にして透過なし、テキスト折り返しなし*/
  opacity: 1;
  white-space: nowrap;
}
nav li span:nth-child(2) {
  opacity: 0; /*透明にする*/
  transform: translate(-50%, 100%); /*X方向に-50%,Y方向に100%*/
}
/* PC用のスタイル-----------------------------
------------------------------------------*/
@media screen and (min-width:769px) {
  .openbtn {
    display: none; /* ハンバーガーボタンは非表示*/
  }
  nav {
    width: 100%;
    display: flex;
  }
  nav ul {
    width: 60%;
    height: 100%;
    color: #fff;
    list-style-type: none;
    display: flex; /*PC表示で横並べ*/ ;
  }
  .menu-list ul {
    display: flex;
  }
  /*ホバー時に日本語表記になる設定----------------------------------------*/
  nav ul li a {
    position: relative; /*テキストの基点とするためにrelative指定*/
    overflow: hidden; /*はみ出る要素を隠す*/
    padding: 2rem 3rem;
  }
  nav li span {
    position: absolute; /*絶対配置でテキストの位置を指定*/
    left: 50%;
    top: 0;
    transition: all .5s; /*アニメーションの指定*/
    transform: translate(-50%, 0);
    display: block; /*ブロック要素にして透過なし、テキスト折り返しなし*/
    opacity: 1;
    white-space: nowrap;
  }
  nav li span:nth-child(2) {
    opacity: 0; /*透明にする*/
    transform: translate(-50%, 100%); /*X方向に-50%,Y方向に100%*/
  }
  /*hoverでテキストが入れ替わる設定*/
  nav li:hover span:nth-child(1) {
    opacity: 0;
    /*X方向に-50%,Y方向に-100%*/
    transform: translate(-50%, -100%);
  }
  nav li:hover span:nth-child(2) {
    background-color: #fff;
    color: #000;
    opacity: 1; /*不透明にする*/
    /*X方向に-50%、Y方向に0*/
    transform: translate(-50%, 0);
  }
}
/*フッター-------------------------------------------
---------------------------------------------------*/
/*全体の設定----------------------------------*/
.footer-wrapper {
  background-color: #333;
  color: #fff;
  padding: .75rem;
}
.footer-box ul {
  width: 50%;
}
.footer-box li {
  text-align: center;
}
.footer-logo {
  width: 40%;
}
.footer-logo img {
  width: 100%;
}
/*SP表示で縦積みを中央揃え*/
.footer-box ul, .footer-logo {
  margin: 0 auto 1rem;
}
.copy-right {
  text-align: center;
}
/*PC用の設定------------------------------------*/
@media(min-width:769px) {
  .footer-box {
    display: flex;
    justify-content: space-between
  }
  .footer-box ul {
    width: 8rem;
  }
  .footer-box li {
    text-align: start;
  }
  .footer-logo {
    width: 12rem;
  }
  /*PC表示で横並べのためにmarginをクリア*/
  .footer-box ul, .footer-logo {
    margin: 0;
  }
}
/*固定ページ全体の設定*/
.main {
  color: #fff;
}
h2 {
  position: relative;
  text-align: center;
  font-size: 1.5rem;
  padding-top: 4rem;
  margin-bottom: 3rem;
}
/*装飾の下線*/
h2::after {
  content: '';
  width: 2.5rem;
  height: 0.25rem;
  display: inline-block;
  background-color: #fff;
  position: absolute;
  bottom: -1rem;
  left: calc(50% - 1rem);
}
/*お問い合わせフォームの案内テキスト*/
.contact-text {
  width: 75%;
  margin: 3rem auto;
  text-align: center;
}
/************************************
** お問い合わせフォームの入力
************************************/
.contact-box {
  width: 90%;
  margin: 0 auto;
}
#cf-tbl {
  width: 80%;
  max-width: 900px;
  margin: 4rem auto;
}
#cf-tbl table {
  width: 100%;
  border-collapse: collapse;
  border: solid #CCC;
  border-width: 1px;
  color: #444;
}
#cf-tbl table tr th, #cf-tbl table tr td {
  padding: 0.5em;
  text-align: left;
  vertical-align: top;
  border: solid #CCC;
  border-width: 1px;
}
#cf-tbl table tr th {
  width: 35%;
  background: #eee;
}
@media screen and (max-width:768px) {
  #cf-tbl {
    width: 100%;
  }
  #cf-tbl table, #cf-tbl table tbody, #cf-tbl table tr, #cf-tbl table tr th, #cf-tbl table tr td {
    display: block;
  }
  #cf-tbl table {
    width: 100%;
    border-width: 0 0 1px 0;
  }
  #cf-tbl table tr th, #cf-tbl table tr td {
    width: 100%;
    padding: 3% 5%;
  }
  #cf-tbl table tr td {
    border-width: 0px 1px 0px 1px;
  }
}
/*「必須」文字デザイン*/
.required {
  font-size: .8em;
  padding: 5px;
  background: #F57500;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}
/*「任意」文字デザイン*/
.optional {
  font-size: .8em;
  padding: 5px;
  background: #000080;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 8px 15px;
  margin-right: 10px;
  margin-top: 10px;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
  background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  height: 200px;
}
.wpcf7-list-item {
  color: #fff;
}
/* 「送信する」ボタン */
input.wpcf7-submit {
  display: block;
  padding: 15px;
  width: 400px;
  background: #ffaa56;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 2px;
  margin: 6em auto 0
}
@media screen and (max-width:768px) {
  input.wpcf7-submit {
    width: 250px;
  }
}
input.wpcf7-submit:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, .15), 0 0 5px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
  opacity: 0.7;
}
.wpcf7-response-output {
  color: #fff;
}
/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip, .wpcf7-response-output.wpcf7-validation-errors {
  color: red;
  font-weight: 600;
}
/*カテゴリー一覧、記事のページのスタイル--------------------------*/
.category-container {
  width: 90%;
  padding: 5%;
  background-color: #444;
  margin: 0 auto;
}
.category-container p {
  margin-top: 5rem;
}
h3 {
  color: #fff;
  font-size: 1.125rem;
  margin: 2rem auto;
  border-left: 5px solid #aaa;
  border-bottom: 2px solid #aaa;
  padding-left: .5rem;
}
a {
  /*text-decoration: none;*/
  color: #fff;
}
@media screen and (min-width:769px) {
  .category-container {
    max-width: 800px;
    background-color: #444;
    margin: 0 auto;
  }
}
/*個別記事のスタイル*/
img.eye-catch.wp-post-image {
  width: 100%;
  height: auto;
}
.post-categories a {
  color: #aaa;
}
.written-time {
  font-weight: 600;
}
.single-container {
  width: 90%;
}
.single-container p {
  margin-top: 1em;
}
.single-container li {
  list-style: circle;
  list-style-position: inside;
}
@media screen and (min-width:769px) {
  .single-container {
    max-width: 850px;
    margin: 0 auto;
  }
}