/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Bryan Hadaway
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/bhadaway/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.2
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2024
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

body{
  font-family: "Zen Kaku Gothic New", sans-serif;
}

#wpadminbar{
  display: none;
}
#header-pc{
  display: none;
}
#container,#branding{
  opacity: 1;
  transition: opacity 0.1s,scale 0.5s;
  scale: 1;
  background-color: #fff;
}
#container.mobile-navi-open,#branding.mobile-navi-open{
  opacity: 0;
  transition: opacity 0.1s,scale 0.5s;
  scale: 0;
}
/* ヘッダー全体のコンテナ */
#header {
  /* ここに全体のスタイル（width, backgroundなど） */
  height: 55px;
  &.mobile-navi-open-header{
    
    .menu-globalmenu-container {
      left: 0 !important;
    }
  }
  & #branding {
    /* ロゴやコンタクトボタンを含むエリア */
    height: 55px;
    width: 100%;
    position: fixed;
    top: 0;
    font-size: 0;
    background-color: #fff;
    z-index: 100;
    & #site-title {
      /* サイトタイトル/ロゴのコンテナ */
      vertical-align: top;
      text-align: center;
      & .site-header-logo {
        display: inline-block;
        margin: 0 auto;
        vertical-align: top;
        width: 220px;
        height: 55px;
        & a {
          & .logo-ttl {
            & img {
              /* ロゴ画像スタイル */
              display: block;
              width: 220px;
              height: 50px;
              object-fit: contain;
              margin-top: 2.5px;
            }
          }
        }
      }
    }

    & .contact-btn {
      /* ブランディング内のコンタクトボタン（PC/モバイル用） */
      display: none;
      & div {
        .ctabtn {
          margin: 20px auto 0;
          max-width: 350px;
          padding: 10px 15px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-weight: 700;
          transition: all 0.3s;
          font-size: 16px;
          height: 47px;
          text-decoration: none;
          & i{
            margin-right: 10px;
          }
          &.btn_blue {
            background-color: #3fb3d3;
            color: #fff;
              border: solid 1px #3fb3d3;
            &:hover {
              color: #3fb3d3;
              background: #fff;
            }
          }
          &.btn_gr {
            background-color: #1b734d;
            color: #fff;
              border: solid 1px #1b734d;
            &:hover {
              color: #1b734d;
              background: #fff;
            }
          }
        }
      }
    }
  }

  /* メインナビゲーション */
  & #site-header-nav {
    position: fixed;
    &.mobile-navi-open{
      
    & .menu-globalmenu-container {
      left: 0;
    }
    }
    & .menu-globalmenu-container {
      display: block;
      width: 100%;
      height: 100vh;
      position: fixed;
      padding-top: calc(55px / 2);
      top: 0;
      left: -100%;
      background:#20682b;
      transition: left 0.5s ease-in;
      z-index: 2960;
      & ul#menu-globalmenu {
        padding: 40px 40px 0;
        /* メニューリスト */
        & li.menu-item {
          /* 各メニュー項目 */
          display: block;
          width: 100%;
          padding-bottom: 6px;
          margin-bottom: 6px;
          border-bottom: solid 1px #c0c7d9;
          & a {
            display: block;
            padding: 15px 5px;
            font-weight: 500;
            color: #fff;
            text-decoration: none;
          }
        }
      }

      & .contact-btn {
        /* ナビゲーション内にあるコンタクトボタン */
        .ctabtn {
          margin: 20px auto 0;
          max-width: 350px;
          padding: 10px 15px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-weight: 700;
          transition: all 0.3s;
          font-size: 16px;
          height: 47px;
          text-decoration: none;
          & i{
            margin-right: 10px;
          }
          &.btn_blue {
            background-color: #3fb3d3;
            color: #fff;
          }
          &.btn_gr {
            background-color: #fff;
            color: #1b734d;
          }
        }
      }
    }
  }

  /* ハンバーガーメニュー（モバイル用） */
  & #menu-globalmenu-hamburg {
    & #mobile-button {
      & span {
        /* 三本線の棒のスタイル */
      }
    }
    
    .mobile-navi-btn{
      background:#fff;
      position: fixed;
      z-index: 130;
    }
    .mobile-navi-btn.right {
      
        width: 50px;
        height: 50px;
        top:4px;
        right:7px;
    }
    .mobile-navi-btn span {
        position: absolute;
        background:#3e8ea4;
        height:2px;
        width:30px;
        left:50%;
        -webkit-transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
        transition: all .3s;
    }
    .mobile-navi-btn span:nth-child(1){
        top:30%;
    }
    .mobile-navi-btn span:nth-child(2){
        top:50%;
    }
    .mobile-navi-btn span:nth-child(3){
        top:70%;
    }
    .mobile-navi-btn.mobile-navi-open{
        background:#20682b;
    }
    .mobile-navi-btn.mobile-navi-open span{
        background:#fff;
    }
    .mobile-navi-btn.mobile-navi-open span:nth-child(1) {
        top: 28%;
        left: calc(50% - 4px);
        transform: rotate(-45deg) translate(-50%,-50%);
    }
    .mobile-navi-btn.mobile-navi-open span:nth-child(2){
        opacity: 0;
    }
    .mobile-navi-btn.mobile-navi-open span:nth-child(3) {
        top: 71%;
        left: calc(50% - 5px);
        transform: rotate(45deg) translate(-50%,-50%);
    }
  }

  /* 検索フォーム */
  & #search {
    display: none;
    /* 検索バー全体のスタイル */
  }
}


.container{
  max-width: 540px;
  margin: 0 auto;
  padding: 0 12px;
}

.site-footer{
    padding-bottom:80px;
    padding: 40px 0;
    background-color: #20682b;
}
.footer_widget1{
    padding-bottom:20px;
    border-bottom:1px solid rgba(255, 255, 255, 0.5);
}
.footer_widget2{
    padding:20px 0;
}
.footer_widget3{
    padding-top:20px;
    border-top:1px solid rgba(255, 255, 255, 0.5);
    a{
      text-decoration: none;
    }
}
.ftr_logo{
    display:block;
    width:230px;
    margin-bottom:20px;
}
.ftr_logo:hover{
    opacity:0.8;
}
.ftr_logo img{
  width: 100%;
    object-fit:contain;
}
.ftrinfo p,.ftrinfo a{
    color:#fff;
    text-decoration: none;
    line-height: 1.6;
}
.ftrinfo .tellink{
    font-weight:700;
}
.site-footer-menu{
    font-size: 0;
}
.site-footer-menu>li{
    padding:6px 0;
    height: 37px;
    margin-right:30px;
    display: inline-block;
    font-size: 0;
}
.site-footer-menu>li:last-child{
    margin-right:0;
}
.site-footer-menu>li>a{
    font-size:16px;
    text-decoration: none;
    color:#fff;
}
.ftr_insta{
    display:flex;
    align-items:center;
    margin-bottom:1rem;
    color:#fff;
    font-size:18px;
    font-weight:500;
}
.ftr_insta.btn3{
    margin-bottom:0;
}
.ftrinfo .tellink:hover,.site-footer-menu>li>a:hover,.ftr_insta:hover{
    opacity:0.8;
}
.ftr_insta i{
    font-size:120%;
    margin-right:7px;
}
.copyright{
    margin-top:30px;
    font-weight:400;
}
.menu-item-type-gs_sim{
    display:none!important;
}
.copyright{
  
    margin-top: 30px;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
    color: #fff;
}


.list-page-category{
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-image: url("https://www.haiirochokkiri.com/wp/wp-content/themes/rishun_child/img/head/blog_h.jpg.webp");
  .entry-title{
    color: #fff;
    width: 100%;
    display: block;
    position: absolute;
    text-align: center;
    left: 0;
    padding: 80px;
    height: 200px;
    font-size: 36px;
    text-transform: uppercase;
    z-index: 10;
  }
  &::after {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background: #20682b33;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.list-page-category-wrapper{
  padding: 64px 10%;
  max-width: 1400px;
  margin: 0 auto;
  > article{
    /* width: 30%; */
    width: 47.5%;
    display: inline-block;
    margin: 0 0.9% 3%;
    vertical-align: top;
    overflow: hidden;
    border-radius: .5rem;
    &:hover{
      img{
        scale: 1.1;
      }
    }
    a{
      text-decoration: none;
    }
    img{
      width: 100%;
      /* height: 130px; */
      height: 120px;
      object-fit: cover;
      border-radius: .5rem;
    transition: scale 0.3s;
    }
    .entry-title{
      span{
        color: #707070;
        font-size: 16px;
        margin: 12px 0 2px;
        display: block;
        text-decoration: none;
      }
      h2{
        color: #000;
        font-size: 17px;
        line-height: 1.5;
        display: block;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 3;          /* 表示したい行数を指定 */
        -webkit-box-orient: vertical;  
        overflow: hidden;
      }
    }
  }
}
#content{
  .singles {
    overflow: hidden;
    .post--date{
      text-align: right;
      margin-bottom: 12px;
    }
    header{
      height: 200px;
      position: relative;
      .entry-title{
        position: absolute;
        margin: 80px auto;
        width: 80%;
        z-index: 15;
        font-size: 19px;
        font-weight: bold;
        line-height: 1.5;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;          /* 表示したい行数を指定 */
        -webkit-box-orient: vertical;  
        overflow: hidden;
        color: #fff;
        left: 0;
        right: 0;
      }
      a{
        text-decoration: none;
        color: #fff;
        display: none;
      }
      h1{
      }
      img{
        display: none;
      }
      span{
        display: block;
        position: relative;
        z-index: 26;
        color: #20682b;
        font-size: 19px;
        margin-top: 100px;
      }
      &::before {
        scale: 1.2;
        background-size: cover;
        background-position: bottom;
        background-image: url("https://www.haiirochokkiri.com/wp/wp-content/themes/rishun_child/img/head/blog_h.jpg.webp");
        display: block;
        content: '';
        width: 100%;
        height: 100%;
        background-color: #20682b33;
        position: absolute;
        top: 0;
        left: 0;
        filter: blur(5px);
      }
    }
    .entry-content{

      padding: 32px 10% 64px;
      max-width: 1400px;
      margin: 0 auto;
    }
  img{
    width: auto;
    max-width: 100%;
    margin-bottom: 16px;
    border-radius: .5rem;
    height: auto !important;
  }

  /* --- 記事ページ全体の基本設定 --- */
  .entry-content {
      line-height: 1.8; /* 行間を広めにとって読みやすく */
      color: #333;      /* 真っ黒すぎない色で目の疲れを軽減 */
      letter-spacing: 0.05em;
  }

  /* --- タイトル周り (アイキャッチ含む) --- */
  .entry-title {
      font-size: 2rem;
      font-weight: bold;
      line-height: 1.4;
      margin-bottom: 20px;
      color: #1a1a1a;
  }

  .post-thumbnail img {
      border-radius: 12px; /* 画像の角を丸めて柔らかい印象に */
      box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* 軽い浮遊感 */
      margin-bottom: 40px;
  }

  /* --- 見出しデザイン (H2) --- */
  .entry-content h2 {
    font-weight: bold;
      position: relative;
      padding: 1rem 1.5rem;
      background: #f8f9fa; /* 薄いグレーの背景 */
      border-left: 6px solid #20682b; /* アクセントカラー */
      border-radius: 4px;
      margin: 3rem 0 1.5rem;
      font-size: 1.6rem;
  }

  /* --- 見出しデザイン (H3) --- */
  .entry-content h3 {
    font-weight: bold;
      padding-bottom: 10px;
      border-bottom: 2px solid #eee;
      margin: 2.5rem 0 1.2rem;
      font-size: 1.4rem;
  }

  /* --- 本文・段落 --- */
  .entry-content p {
      margin-bottom: 1.5rem;
  }

  /* --- 引用 (Blockquote) --- */
  .entry-content blockquote {
      position: relative;
      padding: 20px 30px;
      background: #fdfdfd;
      border: 1px solid #eee;
      border-left: 4px solid #ccc;
      font-style: italic;
      color: #666;
  }
    /* 記事本文内のリンク */
  .entry-content a {
      color: #1b734d; /* リンク色 */
      text-decoration: none; /* 下線を消す */
      border-bottom: 1px solid #20682b33; /* 薄い下線 */
      transition: all 0.3s ease; /* 変化を滑らかに */
  }

  /* ホバー時 */
  .entry-content a:hover {
      color: #20682b; /* 少し濃い色に */
      border-bottom: 1px solid #20682b; /* 下線をくっきり */
      opacity: 0.8;
  }

  /* --- 強調マーカー --- */
  .entry-content strong {
      background: linear-gradient(transparent 60%, #fffacd 40%); /* 蛍光ペン風 */
      padding: 0 2px;
  }

  /* --- リスト (箇条書き) --- */
  .entry-content ul, .entry-content ol {
      background: #fefefe;
      padding: 1.5rem 2rem 1.5rem 3rem;
      border: 1px dashed #ddd;
      border-radius: 8px;
      margin-bottom: 1.5rem;
  }

  .entry-content li {
      margin-bottom: 0.5rem;
  }

  /* --- 画像のキャプション --- */
  .wp-block-image figcaption {
      font-size: 0.85rem;
      color: #888;
      margin-top: 8px;
      text-align: center;
  }

  }
}

@media(min-width:768px){
  
#container.mobile-navi-open,#branding.mobile-navi-open{
  opacity: 1;
  transition: opacity 0.1s,scale 0.5s;
  scale: 1;
}
  #content{
    .singles {
      header{
          height: 300px;
        .entry-title{
          font-size: 32px;
          margin: 120px auto;
        }
      }
    }
  }
  
  .container{
    max-width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
  }
  .ftrinfo .tellink{
    font-weight:400;
  }
  .footer_widget1,.footer_widget2,.footer_widget3{
    padding:0 15px;
  }
  .footer_widget1{
    float: left;
    border-bottom:none;
    width: 30%;
  }
  .footer_widget2{
    float: left;
    width: 40%;
    border-left:1px solid rgba(255, 255, 255, 0.5);
    border-right:1px solid rgba(255, 255, 255, 0.5);
  }
  .footer_widget3{
    float: left;
    border-top:none;
    width: 10%;
  }
  .copyright{
    clear: both;
  }
  #header{
    display: none;
  }
  html {
    margin-top: 100px !important;
  }
  #header-pc{
    display: block;
    position: fixed; /* 親自体を固定 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    .site-header-wrap{
      display: block;
      background-color: #fff;
      position: fixed;
      top: 0;
      width: 100%;
      .site-header-container{
        max-width: 960px;
        padding: 2px 26px;
        margin: 0 auto;
      }
    }
    .logo-ttl img{
      
        height: 55px;
    }
    .contact-btn {
      
      width: 50%;
      float: right;
      /* ブランディング内のコンタクトボタン（PC/モバイル用） */
      & div {
        display: flex;
        justify-content: flex-end;
        & .ctabtn {
          margin: 5px 2.5px 0;
          max-width: 170px;
          padding: 10px 20px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-weight: 700;
          transition: all 0.3s;
          font-size: 16px;
          height: 47px;
          text-decoration: none;
          & i{
            margin-right: 10px;
          }
          &.btn_blue {
            background-color: #3fb3d3;
            color: #fff;
              border: solid 1px #3fb3d3;
            &:hover {
              color: #3fb3d3;
              background: #fff;
            }
          }
          &.btn_gr {
            background-color: #1b734d;
            color: #fff;
              border: solid 1px #1b734d;
            &:hover {
              color: #1b734d;
              background: #fff;
            }
          }
        }
      }
    }
    .site-header-inner{
      width: 50%;
      float: left;

    }
    .site-header-nav{
      clear: both;
        grid-row: 2 / 3;
        grid-column: 1 / 4;
        display: flex;
        justify-content: center;
        align-items: center;
        .site-header-menu {
          margin: 0;
          padding: 0;
          list-style: none;
          display: flex;
          flex-flow: row nowrap;
          li {
            a{
              
              display: inline-block;
              font-weight: 700;
              font-family: 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", Arial, Helvetica, sans-serif;
              letter-spacing: -1px;
              transition: all 0.3s;
              position: relative;
              overflow: hidden;
              font-size: 15px;
              color: #000;
              padding: 10px 8px 10px 8px;
              margin: 0 4px;
              text-decoration: none;
            }
          }
      }
    }
  }

}
@media(min-width:768px) and (max-width:991px){
  .ftr_logo{
    width:200px;
  }
}
@media(min-width:992px){
  .site-footer{
    padding-bottom:40px;
  }
  
  .list-page-category-wrapper{
    > article{
      width: 30%;
      margin: 0 1% 3%;
      img{
        width: 100%;
        height: 180px;
      }
    }
  }
}

@media (min-width: 1200px){
}