/*
 Theme Name:   ryounosuke
*/
@charset "utf-8";
body,html {
    padding: 0;
    margin: 0;
    
}
html {
  height: 100%;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
main {
  flex: 1;
}
h1,h2,h3 {
  font-family: 'Noto Sans JP', sans-serif;
    font-feature-settings: "palt";
    line-height: 1.4;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}
@media screen and (min-width: 480px) {
  br.sp {
      display: none;
  }
}
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
    right: -120%;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#999;
    /*動き*/
  transition: all 0.6s;
}

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

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 80%;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center;
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
    background-color: #8D7D1F;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #FFF;
    width: 45%;
  }

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

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

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

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

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

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



/*========= レイアウトのためのCSS ===============*/
p{
  margin-top:20px;  
}

small{
  color:#fff;
  display: block;
  text-align: center;
}

#header{
  width:100%;
  background-image: url(images/catch_bg.jpg);
  background-repeat:  no-repeat;     
  background-position:center center;
  background-size: cover;
  height:500px;   
}
#header .header-inner {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .header-inner img {
  width: 466px;
  height: 500px;
}
#header .header-inner .title-box {
  width: calc(100% - 466px);
}
.sub-title {
  background: linear-gradient(to right, rgba(10,18,46,0) 0%, rgba(10,18,46,0.8) 20%, rgba(10,18,46,1) 100%);
  color: #FFF;
  padding: 10px;
  font-size: 1.875em;
  text-align: right;
  line-height: 1.2;
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt";
  margin: 0;
}
h1 {
  font-size: 3.08vw;
  text-align: center;
  line-height: 1.2;
  margin-top: 30px;
  color: #0a122e;
}
h1 span {
  font-size: 2.326em;
}
@media only screen and (max-width: 900px) {
  #header{
    height: auto;
  }
.header-inner {
    margin: 0 20px!important;
    padding: 0;
    display: initial;
    position: relative;
}
.header-inner img {
  width: 100%!important;
  height: auto!important;
}
#header .header-inner .title-box {
  width: 100%;
  position: absolute;
  bottom: 30px;
}
.sub-title {
  background: #0a122e;
  color: #FFF;
  padding: 10px;
  font-size: 1.125em;
  text-align: center;
  line-height: 1.2;
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt";
  margin: 0;
}
h1 {
  font-size: 1.875em;
  text-align: center;
  line-height: 1.2;
  margin-top: 30px;
  color: #0a122e;
}
h1 span {
  font-size: 2.5em;
}
}
@media only screen and (max-width: 480px) {
#header .header-inner .title-box {
  bottom: 15px;
}
h1 {
  margin-top: 15px;
}
}
/*========= index ===============*/
.sec-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.sec-inner h2 {
  font-size: 3.08vw;
}
.b {
  font-weight: bold;
  font-size: 1.063em;
}
.no-top {
  margin-top: 0;
}
.sec01,
.sec03{
    width: 100%;
    background-color: #0a122e;
    padding: 50px 0;
    text-align: center;
    color: #FFF;
}
.sec01-inner{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.sec01-inner img {
  width: 30%;
  height: auto;
}
.sec01-inner > div {
  width: calc(100% - 35%);
  display: flex;
  flex-direction: column;
  text-align: left;
}
.sec01-inner > div p:last-child {
  margin-top: auto;
  text-align: right;
}
.sec02 {
  width: 100%;
  height: 554px;
  position: relative;
}
.sec02-inner {
  width: 100%;
  height: 590px;
  position: absolute;
  top: -36px;
  right: 0;
  background-image: url(images/profile.png);
  background-size: 600px 630px;
  background-position: top right;
}
.sec02-profile {
  margin-top: 100px;
  width: 60%;
}
.sec02-profile h2{
  color: #e6e6e6;
  font-size: 6.875em;
  line-height: 0.2;
  margin-left: -10px;
}
.sec02-profile h2 span {
  color: #0a122e;
  font-size: 0.164em;
  padding-left: 0.5em;
}
.sec02 h3 {
  margin: 30px 0 10px;
}
@media only screen and (max-width: 970px) {
  .sec02-profile {
    margin-top: 100px;
    width: 100%;
  }
  .sec02-profile p {
    text-shadow: 0px 0px 3px #FFF;
  }
}
@media only screen and (max-width: 750px) {
  .sec-inner h2 {
    font-size: 18px;
  }
  .sec01-inner {
    flex-direction: column;
  }
  .sec01-inner img,
  .sec01-inner > div {
    width: 100%;
  }
  .sec01-inner > div {
    margin-top: 20px;
  }
  .sec02-profile h2{
    font-size: 3.750em;
    line-height: 0.5;
  }
  .sec02-profile h2 span {
    font-size: 0.3em;
    padding-left: 0.3em;
  }
  .sec02-profile {
    padding-bottom: 20px;
  }
  .sec02-inner {
    background-size: cover;
    background-position: top right -100px;
  }
}
@media only screen and (max-width: 480px) {
  .sec02,
  .sec02-inner {
    position: static;
    height: auto;
  }
  .sec02-inner {
    background-position: center right -100px;
    
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
  }
  .sec02-profile {
    margin-top: 40px;
    
  }
}
ul.sns{
  display: flex;
  list-style-type: none;
  font-size: 2em;
}
ul.sns li {
  margin-right: 5px;
}
ul.sns li a {
  color: #000;
}
.sec03 {
  width: 100%;
  background-color: #0a122e;
  text-align: center;
  padding: 50px 0;
}
.sec03-inner {
  background-color: #FFF;
  outline: 5px solid #8D7D1F;
  outline-offset: -25px;
  padding: 50px;
  color: #000;
  text-align: center;
}
.ranking {
  font-weight: bold;
  font-size: 1.17em;
}
.result-box {
  width: 70%;
  margin: 0 auto;
}
.result-box:first-child {
  margin-bottom: 30px;
}
dl.result {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
dl.result dt {
  margin-right: 20px;
  width: 120px;
}
dl.result dd {
  width: calc(100% - (120px + 20px));
}
dl.result dt,
dl.result dd{
  margin-top: 10px;
}
@media only screen and (max-width: 750px) {
  .result-box {
    width: 95%;
  }
}
@media only screen and (max-width: 480px) {
  dl.result {
    flex-direction: column;
  }
  dl.result dt,
  dl.result dd {
    width: 100%;
  }
  dl.result dd {
    margin-top: 0;
  }
}
.sec04 {
  width: 100%;
  padding: 50px 0;
}
.sec04-inner {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.sec04-inner h2{
  color: #e6e6e6;
  font-size: 6.875em;
  line-height: 0.8;
  margin-left: -10px;
  word-wrap: break-word;
  
}
.sec04-inner h2 span {
  color: #0a122e;
  font-size: 0.164em;
  padding-left: 0.5em;
  display: block;
  line-height: 2.5;
}
.sec04-inner .h2-box,
.price,
.about {
  width: 50%;
}
.price table {
  width: 100%;
}
.price table ,tr, td {
	border: 1px solid #000;
	border-collapse: collapse;
}
.price table td {
  padding: 10px;
  text-align: center;
}
.price p:nth-child(n+3){
  margin-top: 10px;
}
@media only screen and (max-width: 750px) {
  .sec04-inner h2{
    font-size: 3.750em;
  }
  .sec04-inner h2 span {
    font-size: 0.3em;
  }
  .sec04-inner {
    flex-direction: column;
  }
  .sec04-inner .h2-box,
  .price,
  .about {
    width: 100%;
  }
}
.Btn{
  position: relative;
  background-color: #8D7D1F;
  display: block;
  margin: 10px auto;
  width: 50%;/*ボタンの横幅指定*/
  padding: 20px 0;/*上下余白指定*/
  text-align: center;/*テキスト中央寄せ*/
  color: #000;
  margin-top: 30px;
}
.Btn02{
  position: relative;
  background-color: #8D7D1F;
  display: block;
  margin: 10px auto;
  width: 100%;/*ボタンの横幅指定*/
  padding: 20px 0;/*上下余白指定*/
  text-align: center;/*テキスト中央寄せ*/
  color: #000;
  margin-top: 30px;
}
.Btn:after,
.Btn02::after{
  position: absolute;
  content: "\f054";
  font-family: 'Font Awesome 6 Free';
  font-weight:900;
  top: 50%;
  right: 20px;/*右からの距離*/
  width: 13px;/*アイコンの横幅指定*/
  transform: translateY(-50%);/*この指定で上下中央に*/
  color: #FFF;
}
.Btn a,
.Btn02 a {
  color: #FFF;
  text-decoration: none;
}
@media only screen and (max-width: 750px) {
  .Btn{
    width: 70%;
  }
}
.officer,
.newsarea {
  width: 49%;
  display: flex;
  justify-content: space-between;
}
dl.news-list-top{
  display:flex;
  flex-wrap: wrap;
  width: 100%;
}
dl.news-list-top dt{
  width: 30%;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  text-align: left;
}
dl.news-list-top dd{
  margin: 0;
  width: 70%;
  padding: 20px 0 15px;
  border-bottom: 1px solid #ccc;
  display: flex;

  line-height: 1.4;
}
dl.news-list-top dt:first-child,
dl.news-list-top dd:nth-child(2) {
  padding-top: 0;
}
dl.news-list-top dd a,
dl.news-list-top dd a:active,
dl.news-list-top dd a:hover,
dl.news-list-top dd a:visited {
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 500px) {
  .sec04 {
    width: 100%;
    padding: 15px 0;
  }
  dl.news-list-top{
      flex-flow: column nowrap;
      margin: 0 0 10px;
  }
  dl.news-list-top dt,
  dl.news-list-top dd{
      width: 100%;
  }
  dl.news-list-top dt {
      border: none;
      padding: 10px 0 0 0;
  }
  dl.news-list-top dd{
      border-bottom: 1px solid rgb(128, 128, 117);
      padding: 10px 0;
      flex-direction: column;
  }
}
dl.officer-member {
  width: 49%;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
dl.officer-member dt {
  width: 80px;
}
dl.officer-member dd {
  width: calc(100% - 80px);
}
dl.officer-member dt,
dl.officer-member dd{
  margin-top: 10px;
}
@media only screen and (max-width: 750px) {
  .officer{
    width: 80%;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .newsarea{
    width: 100%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 480px) {
  
  dl.officer-member {
    flex-direction: column;
    width: 100%;
  }
  dl.officer-member dt,
  dl.officer-member dd {
    width: 100%;
  }
  dl.officer-member dd {
    margin-top: 0;
  }
}
/*お問い合わせフォーム*/
.sec05 {
  width: 100%;
  background-color: #0a122e;
  padding: 50px 0;
  color: #FFF;
}
.sec05-inner {
  margin-top: 40px;
}
.sec05 h2,
.sec05-inner p{
  text-align: center;
}
dl#form-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 50px auto 0;
  width: 80%;
}
dl#form-contact dt {
  width: 35%;
}
dl#form-contact dd {
  width: 62%;
}
dl#form-contact dt,
dl#form-contact dd {
  padding: 15px 0;
}
dl#form-contact dd input[type="text"]  {
  width: 100%;
  box-sizing: border-box;
}
dl#form-contact dd > p {
  text-align: left;
  margin-top: 5px;
}
.must {
  display: block;
  background-color: #C00;
  border: solid 2px #C00;
  text-shadow: 0px 1px 2px #933;
  padding: 2px 5px;
  font-size: 10px;
  color: #FFF;
  float: left;
  margin: 0px 5px;
  border-radius: 4px;
}
.wpcf7-list-item {
  display: inline-block;
  margin: 0 0 0.5em 0!important;
}
.wpcf7 input:not([type="checkbox"]):not([type="submit"]) {
  padding: 5px!important;
  }
  .wpcf7 input[type="radio"]{
    height: 14px!important;
    padding: 5px!important;
    }
.wpcf7 textarea {
  padding: 5px!important;
  box-sizing: border-box;
}
.wpcf7 select {
  padding: 5px!important;
}
.check01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.check01 span {
  width: 45%;
}
.check02 .first {
  padding-right: 20px;
}
dl.detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
dl.detail dt {
  width: 35%;
}
dl.detail dd.per-com{
  width: 62%;
  display: flex;
  flex-direction: column;
}
dl.detail dd {
  width: 62%;
}
input[name="text-number"] {
  width: 10%!important;
}
input[name="your-zip-code"] {
  width: 30%!important;
}

.wpcf7 input.wpcf7-submit {
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  width: 30%;
  height: 45px;
  margin: 30px auto 0;
  display: block;
  border: none;
  background-color: #8D7D1F;;
  -webkit-appearance: none;
  font-size: 16px;
}
[data-class="wpcf7cf_group"] {
  width: 100%;
}
.red {
  color: #C00;
  font-weight: bold;
  text-align: center;
}
.sec05-inner a,
.sec05-inner a:hover {
  color: #FFF;
  text-decoration: none;
}
.grecaptcha-badge { visibility: hidden; }
@media only screen and (max-width: 750px) {
  dl#form-contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  dl#form-contact dt,
  dl#form-contact dd {
    width: 100%;
  }
  dl#form-contact dt {
    padding-bottom: 0;
  }
  }
/*Footer*/
.pagetop {
  margin: 60px 0;
}
.pagetop p {
  text-align: center;
}
.pagetop p a {
  text-decoration: none;
  color: #666;
}
.pagetop p a:before {
  font-family: "Font Awesome 5 Free";
  content: "\f106";
  padding-right: 10px;
  font-weight: 900;
}
footer {
  background-color: #0a122e;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: #FFF;
}
.footer-inner img {
  width: 100%;
  height: auto;
}
.footer-inner p {
  margin-top: 10px;
}
.tel {
  font-size: 1.5em;
}
.tel a{
  color: #FFF;
  text-decoration: none;
}
ul.link {
  display: flex;
  justify-content:center;
  width: 60%;
  list-style: none;
  margin: 10px auto;
}
ul.link li a {
  color: #FFF;
  font-size: 0.875em;
  text-decoration: none;
  padding: 0 10px;
}
.copyright {
  font-size: 0.875em;
  text-align: center;
  margin-bottom: 10px;
}

@media only screen and (max-width: 750px) {
  .sec-inner {
      margin: 0 20px;
      padding: 0;
  }

  .tel {
    font-size: 1.8755em;
  }
}
/*news*/
.newsbox {
  margin: 50px auto 0;
}
dl.news-list{
  display:flex;
  flex-wrap: wrap;
  margin: 0 80px 10px;
}
dl.news-list dt{
  width: 20%;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  text-align: left;
}
dl.news-list dd{
  margin: 0;
  width: 80%;
  padding: 20px 0 15px;
  border-bottom: 1px solid #ccc;
  display: flex;

  line-height: 1.4;
}
dl.news-list dt:first-child,
dl.news-list dd:nth-child(2) {
  padding-top: 0;
}
dl.news-list dd a,
dl.news-list dd a:active,
dl.news-list dd a:hover,
dl.news-list dd a:visited {
  color: #000;
  text-decoration: none;
}
.news {
  color: white;
  background-color: #8D7D1F;
  padding: 5px 0px;
}
.media {
  color: white;
  background-color: #8D7D1F;
  padding: 5px 0px;
}
.info {
  color: white;
  background-color: #8D7D1F;
  padding: 5px 0px;
}
@media screen and (max-width: 500px) {
  dl.news-list{
      flex-flow: column nowrap;
      margin: 50px 0 10px;
  }
  dl.news-list dt,
  dl.news-list dd{
      width: 100%;
  }
  dl.news-list dt {
      border: none;
      padding: 10px 0 0 0;
  }
  dl.news-list dd{
      border-bottom: 1px solid rgb(128, 128, 117);
      padding: 10px 0;
      flex-direction: column;
  }
}
dl.news-list dd > div {
  display: flex;
}
dl.news-list dd span {
  width: 120px;
  line-height: 1;
  text-align: center;
  margin-bottom: 5px;
}
dl.news-list dd span:first-child{
  margin-right: 10px;
}
.wp-pagenavi {
  margin-top: 20px;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  color: #000;
  background-color: #FFFFFF;
  padding: 1px 5px 1px 5px; 
  margin: 3px 4px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgb(128, 128, 117);
}
.wp-pagenavi a:hover{
  color: #fff;
  background-color: rgb(128, 128, 117);
}
.wp-pagenavi span.current{
  color: #fff;
  background-color: rgb(128, 128, 117);
}
/****************************
    post
****************************/
.news-content-area {
  margin: 0 80px 10px;
}
.news-content-area h1 {
  border-bottom: double #0a122e;
  padding: 0 0 30px;
  text-align: left;
  font-size: 1.625em;
  font-weight: normal;
  background: none;
  margin-bottom: 0;
  margin-top: 50px;
}
.news-content-area .entry-meta {
  margin: 20px 0;
  text-align: right;
}
.post-date {
  font-size: 0.875em;
}
.cat-links {
  padding: 5px;
}
.news-content-area .entry-content {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
.news-content-area .entry-content p {
  margin-bottom: 20px;
}
.news-content-area .entry-content img {
  margin-bottom: 20px;
}
.news-content-area .entry-content a:link,
.news-content-area .entry-content a:visited{
  color: #000;
  text-decoration: underline;
}
/*--記事用--*/
.navigation {
  max-width: 420px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px auto 0;
  padding-top: 10px;
}
.navigation a {
  color: #000;
}
.navi-prev,
.navi-next {
  width: 44%;
}
.navi-next {
  text-align: right;
}
.navi-top {
  display: inline-block;
  background-color: #8D7D1F;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
}
.navi-top a {
  color: #FFF;
  text-decoration: none;
}
@media only screen and (max-width: 750px) {
.newsbox {
    margin: 0 20px;
    padding: 0;
}
}
@media screen and (max-width: 500px) {
  .news-content-area {
    margin: 0 0 10px;
  }
  .navigation{
      font-size: 0.75em;
  }
  .wp-pagenavi a {
      padding: 5px;
  }
  .navi-prev,
  .navi-next {
      width: 40%;
  }
  .navi-top {
      width:20%;
  }
}
@media screen and (max-width: 1100px) {
  .news-content-area .entry-content img {
      width: 100%;
      height: auto;
  }
}
/****************************
    Policy
****************************/
.policy-contents-area {
  max-width: 940px;
  margin: 40px auto 0;
}
.policy-contents-area h2 {
  font-size: 1.625em;
  margin-bottom: 20px;
  text-align: center;
}
.policy-contents-area p {
  line-height: 1.6;
}
.policy-contents-area ul {
  list-style: disc;
  list-style-position: inside;
  margin:  20px 0 0 2em;
}
@media screen and (max-width: 480px) {
  .policy-contents-area h2{
      background: none;
      font-size: 1.188em;
      padding: 0;
      display: inline-block;
      height: auto;
      margin-bottom: 20px;
      line-height: 1.4;
      font-weight: 600;
  }
}
