@charset "UTF-8";
/*
* this css file is base
*
*
*/
/*=====================
* root
=====================*/
:root {
  --def-black: #333333;
  --def-gray-dark: #999;
  --def-gray-light: #ccc;
  --def-gray-hightlight: #dedede;
  --text-link-color: #1686D1;

  --primary-color: #333333;
  --primary-color-rgb: 255,255,255;
  --primary-color-comp: #ffffff;
  --primary-color-comp-rgb: 0,0,0;

  --secondary-color: #970a8e;
  --tertiary-color: #FF2700;
  --quaternary-color: #BEDBC1;

  --shdow-color-rgb: 0,0,0;
}
/*=====================
* common
=======================*/
/* アニメーション設定 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
}
html, body{
  margin: 0;
  padding: 0;
  line-height: 0;
  letter-spacing: 1px;
  font-size: 16px;
}
body {
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
figure, picture {
  margin: 0;
  line-height: 0;
}
img{
  width: 100%;
}
a{
  text-decoration: none;
  border: 0;
  color: var(--def-black);
}
ul,li{
  margin: 0;
  padding: 0;
  list-style: none;
}
main {
  zoom: 1;
  line-height: 1.5rem;
}
main::before,
main::after {
  content: "";
  display: block;
  clear: both;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
/*=====================
* wordpress class overried
=======================*/
.wp-block-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.wp-block-column {
  margin: 0.5em;
}
/* 2つの場合 */
.wp-block-column:first-child:nth-last-child(2),
.wp-block-column:first-child:nth-last-child(2) ~ .wp-block-column {
  max-width: 50%;
}
/* 3つの場合 */
.wp-block-column:first-child:nth-last-child(3),
.wp-block-column:first-child:nth-last-child(3) ~ .wp-block-column {
  max-width: 33%;
}
/* 4つの場合 */
.wp-block-column:first-child:nth-last-child(4),
.wp-block-column:first-child:nth-last-child(4) ~ .wp-block-column {
  max-width: 25%;
}
.inner_head {
  width: 900px;
  margin: 0 auto;
}
.content_inner p,
.content_inner > figure.wp-block-image,
.content_inner > .wp-block-columns {
  width: 100%;
  margin: 0 auto 2.8em;
}
figure.wp-block-image > img {
  height: auto;
}
@media screen and (max-width:640px) {
  /* 2つの場合 */
  .wp-block-column:first-child:nth-last-child(2),
  .wp-block-column:first-child:nth-last-child(2) ~ .wp-block-column,
  .wp-block-column:first-child:nth-last-child(3),
  .wp-block-column:first-child:nth-last-child(3) ~ .wp-block-column ,
  .wp-block-column:first-child:nth-last-child(4),
  .wp-block-column:first-child:nth-last-child(4) ~ .wp-block-column
   {
    max-width: 100%;
  }
  .inner_head,
  .content_inner p,
  .content_inner > figure.wp-block-image,
  .content_inner > .wp-block-columns {
    width: 100%;
    margin: 0 auto 2.8em;
  }
}
/*--- block --*/
.wp-block-column .wp-block-image{
  margin: 0;
}
.wp-block-column .wp-block-image figcaption{
  line-height: 1.5em;
  font-size: 0.8em;
}
/*----- youtube -----*/
.wp-block-embed__wrapper{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.wp-block-embed__wrapper iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}
/*----- contuct forme 7 -----*/
.contuct_form .item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0.5em;
  padding: 0.3em;
}
.contuct_form .item dt{
  width: 7em;
  white-space: nowrap;
}
.contuct_form .item dd span{
  display: block;
}
.contuct_form .item dd input,
.contuct_form .item dd textarea{
  padding: 0.3em;
  border:1px solid #aaaaaa;
  border-radius: 0.2em;
  font-size: 1rem;
  width: calc(100% - 2em);
}
div.wpcf7-response-output{
  margin: inherit;
  padding: inherit;
  border: none;
  line-height: 1.6;
}
div.wpcf7-mail-sent-ok{
  border: none;
}
.ad-af_page_bottom {
  text-align: center;
  margin: 0 auto;
}
.ad-af_page_bottom img {
  width: inherit;
}
@media screen and (max-width:640px) {
  .contuct_form .item {
    display: block;
    line-height: 1.6;
    margin: inherit;
  }
  .contuct_form .item dd {
    margin: 0;
  }
}
/*----submit button -----*/
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}
/*=====================
* module
=======================*/
/*------
* text
-------*/
.ta-c {
  text-align: center;
}
.pc-hidden {
  display: none;
}
.sp-hidden {
  display: block;
}  
@media screen and (max-width:900px) {
  .pc-hidden {
    display: block;
  }
  .sp-hidden {
    display: none;
  }  
}
/*------
* title
-------*/
.hdg_lv1{
  margin-top: 1em;
  line-height: 1.3;
}
.hdg_lv1 span{
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}
.hdg_lv2 {
  font-size: 1.3rem;
  font-weight: bold;
  border-left: 6px solid #1686D1;
  padding-left: 0.8em;
  margin-top: 2.3em;
}
.hdg_lv3 {
  font-size: 1rem;
}
/*-----
* toggle
-------*/
.toggle{
  position: relative;
}
.toggle .trigger{
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 0.2em;
  background: #1686D1;
  text-indent:100%;
  white-space:nowrap;
  overflow:hidden;
}
.toggle.active .trigger{
  background: #cccccc;
}
.toggle .trigger::before,
.toggle .trigger::after{
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  -webkit-transform: translateY(0) translateX(-50%);
  transform: translateY(0) translateX(-50%);
  width: 20px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.toggle .trigger::after{
  left: 15%;
  transform: rotate(90deg);
}
.toggle.active .trigger::after{
  transform: rotate(0deg);
}

/*------
* button
-------*/
.btn_lv1{
  text-align: center;
}
.btn_lv1 > a{
  background: var(--secondary-color);
  padding: 0.5em 2em;
  border-radius: 0.2em;
  font-size: 1rem;
  color: #ffffff;
}
.btn_lv2 > a{
  padding: 0.3em 2em;
  border: 2px solid #1686D1;
  border-radius: 1em;
  font-size: 1rem;
  text-align: right;
  color: #1686D1;
}
.btn_lv3 > a{
  display: block;
  background: #1686D1;
  padding: 0.3em;
  border-radius: 0.4em;
  font-size: 0.9em;
  color: #ffffff;
}
.btn_important{
  display: block;
  margin: 0 auto;
  font-size: 1rem;
  padding: 0.5em 2em;
  color: #ffffff;
  background-color: #333333;
  opacity: 1;
  border: 0;
}
.btn_important:hover{
  background-color: #aaaaaa;
  opacity: 0.6;
}
 ul.buttons{
   display: flex;
   display: -webkit-flex;
   justify-content:flex-end;
 }
 ul.buttons li{
   margin: 0 0.5em;
 }
 @media screen and (max-width:640px) {
   ul.buttons{
     display: block;
   }
   ul.buttons > li{
     text-align: right;
     margin: 1em 0;
   }
 }
/*-----
* select
------*/
.menu{
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3em;
}
.menu li .select-wrap select{
    outline:none;
    background: none transparent;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0.2em;
    text-align: right;
    width: 100%;
    background-color: #F2F2F2;
    padding: 0.2em;
}
.menu li {
  width: calc(25%-1em);
  margin: 0.5em;
  border:1px solid #cccccc;
  border-radius: 0.2em;
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  align-items: center;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  padding: 0.3em;
  position: relative;
}
.menu li .select-wrap{
  -webkit-flex-grow: 1;
  flex-grow: 1;
}
.menu li .control-label{
  margin-right: 0.5em;
  white-space: nowrap;
}
.menu li::after{
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-bottom: 2px solid #1686D1;
  border-right: 2px solid #1686D1;
  transform: rotate(45deg);
  position: absolute;
  right: 12px;
}

/*-----
* List
-----*/
.news-items {
  margin-bottom: 2em;
}
.news-items > .news-item{
  border-bottom: 1px dotted #cccccc;
  padding: 0.8em 0;
}
.news-items > .news-item > a{
  display: flex;
  display: -webkit-flex;
  justify-content: flex-start;
  align-items: center;
}
.news-items > .news-item > a > time{
  white-space: nowrap;
  flex-grow: 1;
  margin-right: 0.8em;
}
.news-items > .news-item > a > .hdg-title{
  font-weight: normal;
  font-size: 1rem;
  text-align: left;
  flex-grow: 2;
  margin: 0;
}
@media screen and (max-width:640px) {
  .news-items > .news-item > a {
    display: block;
    text-align: left;
  }
}
/*--- ol list number ---*/
ol.number,
ul.disc {
  padding-left: 1.5em;
}
ol.number > li {
  list-style: decimal;
}
ul.disc > li{
  list-style: disc;
}
/*-----
* pager
------*/
.pager{
  display: flex;
  justify-content: center;
  align-items: center;
}
.pager > li{
  margin: 0.5em;
}
.pager > li > a {
  background-color: #1686D1;
  padding: 0.4em 0.5em;
  border:1px solid #1686D1;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
}
.pager > li > a {
  background-color: #fff;
  padding: 0.3em 0.5em;
  border:1px solid #1686D1;
  border-radius: 50%;
  color: #1686D1;
  font-weight: bold;
}
.pager > li.current > a{
  background-color: #1686D1;
  color: #fff;
}
/*-----
* pre next article
-----*/
.pre-next .items{
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.pre-next .items li{
  width: 50%;
  margin-right: 0.5em;
}
.pre-next > .items > li > a > div > p{
  margin: 0;
}

/*------
pnavi
-------*/
.pnavi {
  margin-top: 2em;
  text-align: center;
}

/*------
* information
--------*/
.info > .item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0.3em 0;
  word-break: break-all;
}
.info > .item > dt {
  white-space: nowrap;
  min-width: 5em;
}
.info > .item > dd{
  margin-left: 0;
  line-height: 1.5;
}
.info > .item > dd::before{
  content: ":";
  padding-right:0.3em;
  margin-left: -1em;
}

/*------
* contuct form
* Use plugin of Contuct Form 7
----
<label><span>Name</span>[text* your-name] </label>
<label><span>Email</span>[email* your-email] </label>
<label><span>Title</span>[text* your-subject] </label>
<label><span>Message</span>[textarea your-message] </label>
[submit "Send"]
*/
label {
  display: flex;
  align-items: flex-start;
}
label > span.label {
  width: 5em;
  display: block;
}
label > span.wpcf7-form-control-wrap::before {
  content: ":";
  margin: 0 1em;
  vertical-align: top;
}
label > span >input[type = "text"],
label > span >input[type = "email"],
label > span >input[type = "url"],
label > span >input[type = "pass"] {
  padding: 0.4em 0.2em;
}
.submit {
  text-align: center;
}
@media screen and (max-width:640px) {
  label {
    display: block;
  }
  label > span.wpcf7-form-control-wrap::before {
    content: inherit;
  }
}
