@charset "UTF-8";
/*
Theme Name: SANGO
Theme URI: https://saruwakakun.design
Description: SANGOへようこそ！テーマの設定方法は<a href="https://saruwakakun.com/sango">カスタマイズガイド</a>を参照してください。
Author: SARUWAKA
Author URI: https://saruwakakun.com
Version: 1.8.7
Text Domain: sango-theme
License URI: https://saruwakakun.design/term
-------------------------------------------------*/

/* =============================================
   基本リセット・共通設定
   ============================================= */
html {
  font-family: sans-serif;
}

body {
  margin: 0;
  background-color: #eaedf2;
  color: #252525;
  font-family: "Helvetica", "Arial", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", YuGothic, "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  line-height: 1.83;
  word-break: normal;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

a:active,
a:hover {
  outline: 0;
}

p {
  word-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

ul, ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* =============================================
   レイアウト基本
   ============================================= */
.wrap {
  width: 92%;
  margin: 0 auto;
}

#container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1;
  margin-top: 2em;
  padding-bottom: 2em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* =============================================
   ヘッダー
   ============================================= */
.header {
  position: relative;
  z-index: 99;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
  background: #fff;
}

#inner-header {
  max-width: 96%;
  margin: 0 auto;
}

#logo {
  display: table;
  margin: 0;
  padding: 0 0 0 5px;
  width: 100%;
  font-size: 6vmin;
  text-align: center;
  letter-spacing: 1px;
}

#logo:before {
  content: "";
  height: 62px;
  display: block;
  float: left;
}

#logo a {
  display: table-cell;
  line-height: 1.5;
  vertical-align: middle;
  color: inherit;
}

#logo a:hover {
  opacity: 0.5;
  text-decoration: none;
}

#logo img {
  display: inline-block;
  height: 62px;
  padding: 10px 0 10px 0;
  vertical-align: middle;
}

/* ヘッダーナビ（モバイル） */
.mobile-nav {
  overflow: hidden;
  background: #f8f8f8;
}

.mobile-nav,
.mobile-nav li,
.mobile-nav li a {
  height: 40px;
}

.mobile-nav ul {
  overflow-x: auto;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav li {
  display: inline-block;
  opacity: 0.8;
}

.mobile-nav li.current-menu-item {
  border-bottom-width: 3px;
  border-bottom-style: solid;
  opacity: 1;
}

.mobile-nav li a {
  display: inline-block;
  padding: 0 9px;
  font-size: 14px;
  font-weight: bold;
  vertical-align: middle;
  line-height: 40px;
  color: inherit;
}

.mobile-nav li a:hover {
  opacity: 1;
  text-decoration: none;
}

/* デスクトップナビ */
.desktop-nav {
  display: none;
}

/* ナビドロワー（ハンバーガーメニュー） */
#drawer__content {
  overflow: auto;
  position: fixed;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
  padding-bottom: 50px;
  background: #fff;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  -webkit-overflow-scrolling: touch;
}

#drawer__input:checked ~ #drawer__content {
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

#drawer__close-cover {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#drawer__input:checked ~ #drawer__close-cover {
  display: block;
  opacity: 0.5;
}

/* ハンバーガーボタン */
#drawer__open {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  padding: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 23px;
  text-align: center;
  vertical-align: middle;
  line-height: 62px;
  cursor: pointer;
}

.drawer__title {
  position: relative;
  padding: 7px 15px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
}

/* ヘッダー検索 */
.header-search {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  padding: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 23px;
  text-align: center;
  vertical-align: middle;
  line-height: 62px;
}

.header-search__input,
.header-search__close,
.header-search__modal {
  display: none;
}

.header-search__label {
  cursor: pointer;
}

.header-search__input:checked ~ .header-search__modal,
.header-search__input:checked ~ .header-search__close {
  display: block;
}

.header-search__close {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.65);
}

.header-search__modal {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 1em;
  z-index: 999999;
}

/* ヘッダーお知らせ欄 */
.header-info a {
  display: block;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  color: inherit;
}

.header-info a:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* =============================================
   フッター
   ============================================= */
.footer {
  position: relative;
  clear: both;
  font-size: 0.95em;
  background: #2c3e50;
  color: #fff;
}

.inner-footer {
  padding-top: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.ft_title {
  margin: 0 0 0.7em;
  padding: 2px 0 2px 10px;
  border-left: solid 3px #fff;
  font-size: 1.2em;
}

.footer .widget {
  margin: 1.5em 0 3em;
  background: transparent;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: #fff;
}

#footer-menu {
  padding: 20px 10px 10px;
  text-align: center;
}

#footer-menu ul {
  margin: 0.5em;
}

#footer-menu li {
  display: inline-block;
  padding: 0 6px;
  font-size: 14.5px;
}

.copyright {
  margin: 5px 0 0;
  font-size: 13.5px;
  opacity: 0.7;
  text-align: center;
  padding-bottom: 20px;
}

/* フッター固定メニュー（モバイル） */
.fixed-menu {
  margin-bottom: 54px;
}

.fixed-menu ul {
  position: fixed;
  display: table;
  table-layout: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  margin: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 98;
  box-shadow: 0 -1px 3px rgba(100, 120, 130, 0.25);
  background: #fff;
}

.fixed-menu ul li {
  display: table-cell;
  text-align: center;
}

.fixed-menu ul li a {
  display: block;
  padding: 9px 0 6px;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  color: inherit;
}

.fixed-menu ul li i {
  font-size: 24px;
  display: block;
  width: auto;
}

/* =============================================
   パンくずリスト
   ============================================= */
.breadcrumbs {
  margin: 20px 0;
  padding: 10px 0;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.breadcrumb-item .separator {
  margin: 0 10px;
  color: #999;
}

.breadcrumb-item:last-child {
  font-weight: bold;
  color: #666;
}

/* =============================================
   メディアクエリ
   ============================================= */
@media only screen and (min-width: 768px) {
  .wrap,
  #inner-header {
    width: 96%;
  }
  
  #logo {
    display: inline-block;
    height: 62px;
    line-height: 62px;
    margin: 0 5px 0 0;
    text-align: left;
    width: auto;
    font-size: 23px;
  }
  
  #logo:before {
    content: none;
  }
  
  #logo a {
    display: inline;
    line-height: inherit;
    vertical-align: baseline;
  }
  
  #logo img {
    vertical-align: top;
    padding: 6px 6px 6px 0;
  }
  
  /* モバイルナビを非表示 */
  .mobile-nav {
    display: none;
  }
  
  /* デスクトップナビを表示 */
  .desktop-nav,
  .desktop-nav ul,
  .desktop-nav li,
  .desktop-nav li a {
    display: inline-block;
    vertical-align: top;
    margin: 0;
  }
  
  .desktop-nav {
    float: right;
    font-weight: bold;
  }
  
  .desktop-nav li {
    position: relative;
  }
  
  .desktop-nav li a {
    height: 62px;
    padding: 0 10px;
    font-size: 15px;
    line-height: 62px;
    color: inherit;
  }
  
  .desktop-nav li a:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  
  /* ハンバーガーメニューを非表示 */
  #drawer__open {
    display: none;
  }
  
  /* フッターレイアウト */
  .fblock {
    float: left;
    width: 47%;
  }
  
  .fblock.first {
    margin-right: 6%;
  }
  
  /* 固定メニューを非表示 */
  .fixed-menu {
    display: none;
  }
}

@media only screen and (min-width: 1030px) {
  .wrap,
  .inner-footer {
    width: 92%;
  }
  
  .fblock,
  .fblock.first {
    width: 30%;
    margin-right: 5%;
  }
  
  .fblock.last {
    margin-right: 0;
  }
}

@media only screen and (min-width: 1240px) {
  .wrap,
  .inner-footer {
    width: 1180px;
  }
}

/* =============================================
   ユーティリティ
   ============================================= */
.clearfix:after,
.cf:after {
  content: "";
  display: table;
  clear: both;
}

.screen-reader-text {
  display: none;
}

/* FontAwesome基本設定 */
.fa, .fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: normal;
}

/* =============================================
   階層メニュー（ドロップダウン）の修正
   ============================================= */
@media only screen and (min-width: 768px) {
  /* 階層メニュー基本設定 */
  .desktop-nav .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 180px;
    color: #fff;
    background-color: #545454;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    transition: 0.3s ease-in-out;
    z-index: 999;
  }
  
  /* ホバー時に表示 */
  .desktop-nav li:hover .sub-menu {
    display: block;
  }
  
  /* サブメニューのリスト項目 */
  .desktop-nav .sub-menu li {
    display: block;
    border-bottom: solid 1px #7b7b7b;
  }
  
  /* サブメニューのリンク */
  .desktop-nav .sub-menu li a {
    display: block;
    height: auto;
    line-height: 1.5;
    padding: 10px;
    font-size: 13.5px;
    vertical-align: middle;
    text-align: left;
    color: rgba(255, 255, 255, 0.86);
  }
  
  /* サブメニューのホバー */
  .desktop-nav .sub-menu li a:hover {
    background: gray;
  }
  
  /* サブメニューのアンダーライン無効化 */
  .desktop-nav .sub-menu li:hover:after {
    content: none;
  }
  
  /* メインメニューのホバーアンダーライン */
  .desktop-nav li:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: "";
    transition: transform 0.3s ease-in-out;
    transform: scale(0, 1);
    transform-origin: left top;
  }
  
  .desktop-nav li:hover:after {
    transform: scale(1, 1);
  }
}

/* =============================================
   ハンバーガーメニュー詳細スタイル
   ============================================= */
/* ドロワー内のウィジェット */
#drawer__content .widget {
  margin: 0 0 15px;
}

#drawer__content .widget_search {
  margin: 1em;
}

/* 検索フォーム */
#drawer__content input#s {
  background: #efefef;
  box-shadow: none;
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
}

/* 閉じるボタン */
.drawer__title .close {
  display: inline-block;
  padding: 10px 3px;
  cursor: pointer;
  float: right;
}

.drawer__title .close span {
  display: inline-block;
  position: relative;
  width: 3px;
  height: 30px;
  margin: 0 20px 0 7px;
  background: #8c9196;
  transition: 0.3s ease-in-out;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.drawer__title .close span:before {
  display: block;
  position: absolute;
  top: 50%;
  left: -13px;
  width: 30px;
  height: 3px;
  margin-top: -2px;
  background: #8c9196;
  content: "";
}

/* ドロワー内メニュー */
#drawer__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#drawer__content li {
  border-bottom: 1px solid #f0f0f0;
}

#drawer__content li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

#drawer__content li a:hover {
  background: #f8f8f8;
  text-decoration: none;
}

/* ハンバーガーアイコンのアニメーション */
#drawer__open span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px auto;
  transition: 0.3s;
}

#drawer__input:checked ~ .header #drawer__open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#drawer__input:checked ~ .header #drawer__open span:nth-child(2) {
  opacity: 0;
}

#drawer__input:checked ~ .header #drawer__open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* チェックボックスを非表示 */
#drawer__input {
  display: none;
}

/* ラベルをボタンとして機能させる */
#drawer__open label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* =============================================
   ヘッダー検索モーダル
   ============================================= */
.header-search__modal .searchform {
  max-width: 350px;
  margin: -70px auto 0;
  font-size: 18px;
}

.header-search__modal #searchsubmit {
  background: #eaeaea;
  color: #4e4e4e;
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  padding: 0;
  border: none;
  border-radius: 0 3px 3px 0;
  font-size: 20px;
  text-align: center;
  vertical-align: middle;
  line-height: 44px;
  cursor: pointer;
}

.header-search__modal .searchform:before {
  content: "キーワードで検索";
  color: #fff;
  font-weight: bold;
  display: block;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 7px;
}

/* 検索フォーム基本スタイル */
#searchform div {
  position: relative;
  max-width: 400px;
}

input#s {
  padding-right: 48px;
  border-bottom: solid 1px #efefef;
  background: #fff;
  outline: none;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15),
    0 3px 3px -2px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-in-out;
  -webkit-appearance: none;
  width: 100%;
  height: 45px;
  padding: 0 48px 0 12px;
  border: 0;
  border-radius: 3px;
  color: #5c6b80;
  font-size: 1em;
  line-height: 45px;
}

input#s:focus {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* =============================================
   レスポンシブ時の中央寄せロゴ対応
   ============================================= */
.header--center {
  height: auto;
  padding: 0;
}

.header--center #logo {
  display: block;
  height: auto;
  margin: 0;
  padding: 10px;
  text-align: center;
  line-height: 1.5;
}

.header--center #logo img {
  padding: 0 5px;
  vertical-align: middle;
}

@media only screen and (min-width: 768px) {
  .header--center .desktop-nav {
    display: block;
    float: none;
    text-align: center;
  }

  .header--center .desktop-nav li a {
    height: auto;
    padding: 10px 15px 15px;
    font-size: 15px;
    line-height: 1.5;
  }
}