/*
Theme Name: (C)YoshiJosefToomuch
Theme URI: 
Description: Original Theme by YoshiJosefToomcuh
Version: 1.1
Author: YoshiJosefToomcuh
Author URI: https://yoshijoseftoomuch.com
*/

/*@charset "utf-8";
* {
   box-sizing: border-box;
}*/

body {
   margin: 0;
   padding: 0;
   font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color: #ffffff;
   font color: #242424;
   line-height: 1.8em;
   font-size: 18px;
}
header {
   padding: 30px 4% 10px;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: transparent;
   display: flex;
   align-items: center;
}
h1 {
   margin:0; padding:0;
   font-size: 20px;
}

h1 img {
   margin: 0 auto;
   display: block;
   width: 100%;
   max-width: 180px;
}

img {
   margin: 0 auto;
   display: block;
   width: 100%;
}

a{
   display: inline-block;
   position: relative;
   text-decoration: none;
}

h4 {
  font-size: 22px;
  line-height: 24px
}

.logo img {
  width:100%;
  max-width:330px;
}

ul.hoge li {
  /*コレ*/display: flex;
    /*コレ*/align-items: center;
    /*ついでにコレ*/justify-content: center;
  padding: 0.5%;
}

ul.hogesp li {
display: none;
}

p.spp {
display: none;
}

@media screen and (max-width: 979px) {
ul.hoge li {
    display: none;
  }

.logo img {
  width:100%;
  max-width:150px;
}

  ul.hogesp li {
display:flex;
align-items: center;
justify-content:center;
}
}

@media screen and (max-width: 979px) {
  p.spp {
  font-size: 5px;
  padding: 0.5%;
}
}



/* a:before{
   content: "";
   position: absolute;
   left: 0;
   bottom: -4px;
   width: 100%;
   height: 1px;
   background: #fff;
   transform: scale(0, 1);
   transition: 0.4s;
}
a:hover:before {
   transform: scale(1);
}

*/
nav {
   margin: 0 0 0 auto;
}
ul {
   list-style: none;
   margin: 0;
   display: flex;
}
li {
   margin: 0 15px;
   font-size: 14px;
}

hr {
  border-bottom: 0.1px solid;
}
/*投稿*/
.thumbnail img {
width: 100%;
height: auto;
}

.title{
font-size: 10px;
}

.main-visual {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('https://www.rc-kawasakiwest.com/wp-content/themes/rc_theme/images/9219.jpg') top center / cover no-repeat;
}

.top img {
  width: 100%;
}

.flogo img {
  padding: 5%;
  width:100%;
  max-width: 40px;
}

.main-visuals {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 140px;
   background-color: #005ebb;
}

h2 {
   font-size: 16px;
   font-weight: bold;
   line-height: 1.15em;
   color: #00509f;
}

.small {
  font-size: 10px;
  font-style: normal;
}


.sp-nav {
   display: none;
   text-align: center;
}

@media screen and (max-width: 640px) {
   .pc-nav {
      display: none;
   }
   .sp-nav {
      z-index: 1;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      display: block;
      background: rgba(0, 0, 0, .8);
      opacity: 0;
      transform: translateY(-100%);
      transition: all .2s ease-in-out;
   }
   #hamburger {
      position: relative;
      display: block;
      width: 30px;
      height: 25px;
      margin: 0 0 0 auto;
   }
   #hamburger span {
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 100%;
      height: 2px;
      background-color: #fff;
      transform: translateY(-50%);
   }
   #hamburger::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #fff;
   }
   #hamburger::after {
      content: '';
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 70%;
      height: 2px;
      background-color: #fff;
   }
   /*スマホメニュー*/
   .sp-nav ul {
      padding: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
   }
   .sp-nav li {
      margin: 0;
      padding: 0;
   }
   .sp-nav li span {
      font-size: 15px;
      color: #fff;
   }
   .sp-nav li a, .sp-nav li span {
      display: block;
      padding: 20px 0;
   }
   /*-閉じるアイコンー*/
   .sp-nav .close {
      position: relative;
      padding-left: 20px;
   }
   .sp-nav .close::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 16px;
      height: 1px;
      background: #fff;
      transform: rotate( 45deg );
   }
   .sp-nav .close::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 16px;
      height: 1px;
      background: #fff;
      transform: rotate( -45deg );
   }
   .toggle {
      transform: translateY( 0 );
      opacity: 1;
   }
   .main-visual {
      padding: 0 4%;
   }
   h2 {
      line-height: 1.6;
      text-align: center;
   }
}

/* ヘッダーブレイクポイント*/
.site-header{
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    transition: 1.5s;
    width: 100%;
}
.site-header.hide{
    top: -110px;
}


/* フェードイン用のCSS */

/* 上からフェードイン */
.slide-top {
   opacity: 0;
   transform: translate(0, -20px);
   transition: all 1s ease-out;
 }

/* 下からフェードイン */
.slide-bottom {
   opacity: 0;
   transform: translate(0, 20px);
   transition: all 1s ease-out;
 }

 /* 左からフェードイン */
.slide-left {
   opacity: 0;
   transform: translate(-20px, 0);
   transition: all 1s ease-out;
 }
 
/* 右からフェードイン */
.slide-right {
   opacity: 0;
   transform: translate(20px, 0);
   transition: all 1s ease-out;
 }


/* contents */
.wrapper {
 display: block;
 margin: 0 auto;
 padding: 5%;
}

 
@media screen and (max-width: 480px) {
 .wrapper {
  display: block;
  margin: 0 auto;
  padding: 3%;

 }
 
}

.gray {
  display: block;
  margin: 0;
  padding: 5%;
  background-color: #eeeeee;
}

/*フェードイン*/
.fadein {
   opacity : 0.1;
   transform : translate(0, 50px);
   transition : all 500ms;
   }

/* 画面内に入った状態 */
.fadein.scrollin {
   opacity : 1;
   transform : translate(0, 0);
   }

/*2分割レスポンシブ*/
*, *:before, *:after {
  box-sizing: border-box;
}
.c2 {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
}

.c2 > div{
  width: -webkit-calc(100% /2);
  padding: 3%
}
@media screen and (max-width: 960px) {
  .c2 > div{
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .c2 > div{
    width: 100%;
    padding: -3%
  }
}


.thumbnail li{
width: 100%;
}

/*3分割レスポンシブ*/
*, *:before, *:after {
  box-sizing: border-box;
}
.c3 {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
}

.c3 > div{
  width: -webkit-calc(100% /3);
  padding: 2%
}
@media screen and (max-width: 960px) {
  .c3 > div{
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .c3 > div{
    width: 100%;
    padding: -2%
  }
}

/* リストデザイン */
.libox {
    padding: 3%;
    margin: 3% 0;
    color: #ffffff;
    background: #005ebb;
    border-left: solid 5px #0030d1;
}
.libox p {
    margin: 0; 
    padding: 0;
}

/* ---------- ここからtable design ---------- */
.table {
padding: 3%;
text-align: left;
border-collapse: collapse;
width: 100%;
}

.table td{
padding: 0 10px;
border: solid 0.5px #333333;
width: 250px;
max-width: 250px;
}

.table th {
padding: 0 10px;
border: solid 0.5px #333333;
width: 70px;
}

@media screen and (max-width: 480px) {
.table  {
font-size: 6px;
overflow-x: scroll;
 }

 .table th {
padding: 0 10px;
border: solid 0.5px #333333;
width: 80px;
}
 
 }

/* ---------- 上に戻るボタン ---------- */
.pagetop {
  color: #fff;
  background-color: rgba(0,0,0,0.3);
  text-decoration: none;
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  width: 3.3rem;
  height: 3.3rem;
  line-height: 3.3rem;
  border-radius: 3.3rem;
  text-align: center;
  cursor: pointer;
}

.pagetop:hover {
  color: #fff !important;
  background-color: #ed702b;
  text-decoration: none;
}



/*footer*/
footer {
   color: #ffffff;
   margin: 0 auto;
   display: block;
   background-color: #005ebb;
   padding: 5%;
   width: 100%;
}