@charset "utf-8";

/*
Theme Name: Original Theme
Theme URI:
Author: Fuji Computer Co.Ltd.
Author URI : http://fujicomp.co.jp
Description: オリジナルテーマ
Version: 1.0
*/

/* << INDEX >> ----------------------------------------------------------------
*
* @ 基本定義
* @ サイト共通設定
* @ ヘッダー
* @ フッター
* @ コンテンツ
* @ サイドバー
* @ メイン
*
* -------------------------------------------------------------------------- */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ 基本定義
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* @ デザイントークン（小野市社会福祉協議会）
---------------------------------------------------------------------------- */
:root {
  /* ロゴ・基本カラー */
  --c-logo-green: #147F08;
  --c-logo-brown: #663300;
  --c-text: #363636;
  --c-text-link: #0066CC;
  --c-sub1: #FED225;
  --c-sub1-dark: #E0B300;
  --c-sub1-light: #FFFBEC;
  --c-sub1-mid: #FFE88B;
  --c-gray: #D9D9D9;
  --c-white: #FFFFFF;

  /* カテゴリーカラー（高齢者／障害者／子育て／地域福祉／ボランティア） */
  --c-cat-koureisya: #7BA24E;
  --c-cat-koureisya-bg: #E9F5CC;
  --c-cat-syogai: #3B7AB2;
  --c-cat-syogai-bg: #CCE3F5;
  --c-cat-kosodate: #D6A215;
  --c-cat-kosodate-bg: #F5EECC;
  --c-cat-chiiki: #C16D6D;
  --c-cat-chiiki-bg: #F5CCCC;
  --c-cat-volunteer: #99689F;
  --c-cat-volunteer-bg: #E6DCF2;

  /* CTAボタン */
  --c-cta: #147F08;
  --c-cta-shadow: #1B5415;

  /* お知らせ罫線 */
  --c-border-news: #BA8D12;

  /* フォント */
  --ff-main: 'Zen Maru Gothic', 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  --ff-logo: 'M PLUS Rounded 1c', 'Yu Gothic', 'YuGothic', sans-serif;
}

/* @ Webフォント設定
---------------------------------------------------------------------------- */
@font-face {
  font-family: 'FontAwesome';
  src: url('css/fonts/fontawesome-webfont.eot?v=4.0.3');
  src: url('css/fonts/fontawesome-webfont.eot?#iefix&v=4.0.3') format('embedded-opentype'),
    url('css/fonts/fontawesome-webfont.woff?v=4.0.3') format('woff'),
    url('css/fonts/fontawesome-webfont.ttf?v=4.0.3') format('truetype'),
    url('css/fonts/fontawesome-webfont.svg?v=4.0.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Font Awesome 5 Solid';
  font-style: normal;
  font-weight: 900;
  src: url("css/fonts/fa-solid-900.eot");
  src: url("css/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"),
    url("css/fonts/fa-solid-900.woff2") format("woff2"),
    url("css/fonts/fa-solid-900.woff") format("woff"),
    url("css/fonts/fa-solid-900.ttf") format("truetype"),
    url("css/fonts/fa-solid-900.svg#fontawesome") format("svg");
}
@font-face {
  font-family: 'Font Awesome 5 Regular';
  font-style: normal;
  font-weight: 400;
  src: url("css/fonts/fa-regular-400.eot");
  src: url("css/fonts/fa-regular-400.eot?#iefix") format("embedded-opentype"),
    url("css/fonts/fa-regular-400.woff2") format("woff2"),
    url("css/fonts/fa-regular-400.woff") format("woff"),
    url("css/fonts/fa-regular-400.ttf") format("truetype"),
    url("css/fonts/fa-regular-400.svg#fontawesome") format("svg");
}
@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: normal;
  src: url("css/fonts/fa-brands-400.eot");
  src: url("css/fonts/fa-brands-400.eot?#iefix") format("embedded-opentype"),
    url("css/fonts/fa-brands-400.woff2") format("woff2"),
    url("css/fonts/fa-brands-400.woff") format("woff"),
    url("css/fonts/fa-brands-400.ttf") format("truetype"),
    url("css/fonts/fa-brands-400.svg#fontawesome") format("svg");;
}
.awesome {
  font-family: 'FontAwesome';
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.awesome5s {
  font-family: 'Font Awesome 5 Solid';
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.awesome5r {
  font-family: 'Font Awesome 5 Regular';
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.awesome5b {
  font-family: 'Font Awesome 5 Brands';
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opensans {
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}
.ubuntu {
  font-family: 'Ubuntu', sans-serif;
}

/* @ Normalize.css調整（原則として改変禁止）
---------------------------------------------------------------------------- */
/* >>> 日本語フォント対応 */
html,
body {
  margin: 0;
  font-family: "Yu Gothic","YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  word-wrap: break-word;
}
/* font-size は html だけに付け、body は html から継承させる。
   こうすると JS で html の font-size を 140% に変えたとき body も連動して拡大される */
html {
  font-size: 16px;
}
/* >>> 禁則処理 */
p,li,dt,dd,th,td,pre {
  -ms-line-break: strict;
  line-break: strict;
  -ms-word-break: strict;
  word-break: strict;
}
/* >>> フルードイメージ対応 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* @ テキスト見出し設定（html要素のfont-sizeを基準に算出、ここでの装飾は行わない）
---------------------------------------------------------------------------- */
h1 { /* 32px */
  font-size: 2rem;
  line-height: 1.5;
}
h2 { /* 28px */
  font-size: 1.75rem;
  line-height: 1.75;
}
h3,h4 { /* 20px */
  font-size: 1.25rem;
  line-height: 1.1667;
}
h5,h6 { /* 18px */
  font-size: 1.125rem;
  line-height: 1.3125;
}

/* @ 見出し設定
---------------------------------------------------------------------------- */
h1 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h2 {
  padding: 20px 0 20px 20px;
  background-color: #004da0;
  color: #fff;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 36px 0;
}
h3 {
  position: relative;
  margin: 50px 0 30px;
  padding: 14px 20px;
  background: #004da0;
  color: #fff;
  font-size: 1.25rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h4 {
  position: relative;
  margin: 30px 0 20px;
  padding-left: 26px;
  color: #004da0;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* @ リンク設定
---------------------------------------------------------------------------- */
a {
  color: #000099;
  outline: none;
}
a:hover {
  color: #000099;
  text-decoration: none;
}

/* @ リンクボタン設定
---------------------------------------------------------------------------- */
.link-btn {
  margin: 30px auto 50px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.link-btn a {
  display: block;
  max-width: 335px;
  margin: 0 auto;
  border-radius: 30px;
  color: #004da0;
  border: solid 3px #004da0;
  font-weight: bold;
  line-height: 54px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.link-btn a:hover {
  background: #004da0;
  color: #fff;
}
.link-btn a.letter-icon:before {
  content: '\f0e0';
  font-family: 'FontAwesome';
  margin-right: 10px;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 54px;
}
.link-btn a.graduation-cap-icon:before {
  content: '\f19d';
  font-family: 'FontAwesome';
  margin-right: 10px;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 54px;
}
.link-btn a.briefcase-icon:before {
  content: '\f0b1';
  font-family: 'FontAwesome';
  margin-right: 10px;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 54px;
}

/* @ その他
---------------------------------------------------------------------------- */
body {
  color: #444;
  background-color: #fff;
}
strong,b,table th {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
figure {
  margin: 0;
}
button, input, optgroup, select, textarea {
  font-family: "Yu Gothic","YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-weight: 500;
}
input[type='submit'],
button {
  transition: opacity 0.3s;
}
input[type='submit']:hover {
  cursor: pointer;
  opacity: 0.6;
}
:placeholder-shown {
  color: #999;
}
::-webkit-input-placeholder {
  color: #999;
}
:-moz-placeholder {
  color: #999;
}
::-moz-placeholder {
  color: #999;
}
:-ms-input-placeholder {
  color: #999;
}
* {
  box-sizing: border-box;
}
ul li,
ol li {
  margin-bottom: 5px;
}

/* @ Youtubeレスポンシブ対応
---------------------------------------------------------------------------- */
.youtube_wrap {
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.youtube_wrap .youtube_wrap {
  padding-top: 0;
  position: static;
}
.youtube_wrap iframe {
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ サイト共通設定
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.wrap {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
@media screen and (max-width: 1200px) {
  .wrap {
    padding: 0 20px;
  }
}

.page-keyimg .wrap {
  display: flex;
  align-items: center;
  min-height: 350px;
}
@media screen and (max-width: 768px) {
  .page-keyimg .wrap {
    min-height: 150px;
  }
}
.page-keyimg .wrap h2 {
  margin: 0;
  background: none;
  color: #444
}

/* @ Newアイコン
---------------------------------------------------------------------------- */
.newpost {
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 0.75rem;
  color: #c33;
  margin-left: 1em;
  -webkit-animation: blink 1.0s ease-in-out infinite alternate;
  animation: blink 1.0s ease-in-out infinite alternate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@-webkit-keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* @ パンくず
---------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  #breadcrumb {
    display: none;
  }
}
#breadcrumb ul {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0;
  white-space: nowrap;
  overflow-x: auto;
}
#breadcrumb ul::-webkit-scrollbar {
  display: none;
}
#breadcrumb ul li {
  display: inline;
  line-height: 1em;
  font-size: 0.875rem;
}
#breadcrumb ul li:before {
  content: '\f105';
  font-family: 'Font Awesome 5 Solid';
  font-weight: normal;
  padding: 0 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#breadcrumb ul li:first-of-type:before {
  content: none;
}
#breadcrumb ul li:last-of-type {
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#breadcrumb ul li a {
  color: inherit;
  text-decoration: none;
}
#breadcrumb ul li a:hover {
  text-decoration: underline;
}

/* @ ページナビ（記事詳細用）
----------------------------------------------------------------------------- */
.pagenavi {
  font-family: 'FontAwesome';
  margin: 3em 0 0;
  padding: 0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.pagenavi a {
  display: inline-block;
  padding: 5px 1.5em;
  background-color: #004da0;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.pagenavi a:hover {
  -ms-filter: "alpha(opacity=60)";
  filter: alpha(opacity=60);
  opacity: 0.6;
  text-decoration: none;
}

/* >>> 前へ */
.pagenavi li:first-child {
  display: inline-block;
  float: left;
}

/* >>> 次へ */
.pagenavi li:last-child {
  display: inline-block;
  float: right;
}

/* @ ページナビ（記事一覧用）
----------------------------------------------------------------------------- */
.wp-pagenavi {
  clear: both;
  margin: 40px 0 0;
  text-align: center;
}
.wp-pagenavi *:first-child {
  margin-left: 0 !important;
}
.wp-pagenavi *:last-child {
  margin-right: 0 !important;
}
.wp-pagenavi span,
.wp-pagenavi a {
  margin: 0 3px;
  padding: 5px 10px;
  display: inline-block;
  background-color: #ccc;
  text-decoration: none;
  color: #fff;
}
.wp-pagenavi span.current {
  background-color: #004da0;
}
.wp-pagenavi a:hover {
  -ms-filter: "alpha(opacity=60)";
  filter: alpha(opacity=60);
  opacity: 0.6;
  text-decoration: none;
}
.wp-pagenavi .extend {
  background-color: transparent;
  color: #333;
}

/* @ メールフォーム
---------------------------------------------------------------------------- */
.mw_form-msg {
  border: 5px solid #ccc;
  padding: 1em;
}
.mw_form-msg em,
.mw_form-table em {
  display: inline-block;
  padding: 0.25em 1em;
  background-color: #c33;
  color: #fff;
  margin-right: 0.5em;
  font-weight: bold;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mw_form-table {
  width: 100%;
  border-collapse: collapse;
}
.mw_form-table tr:nth-child(even) {
  background-color: #eee;
}
.mw_form-table tr:nth-child(odd) {
  background-color: #fff;
}
@media screen and (max-width: 480px) {
  .mw_form-table,
  .mw_form-table tbody,
  .mw_form-table tr {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background-color: transparent;
  }
}
.mw_form-table th {
  box-sizing: border-box;
  width: 20%;
  white-space: nowrap;
  padding: 1em;
  border-bottom: 1px dotted #ccc;
  text-align: right;
}
@media screen and (max-width: 480px) {
  .mw_form-table th {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-bottom: none;
    text-align: left;
    background-color: #eee;
  }
}
.mw_form-table td {
  box-sizing: border-box;
  padding: 1em;
  border-bottom: 1px dotted #ccc;
}
@media screen and (max-width: 480px) {
  .mw_form-table td {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin-bottom: 1em;
    padding: 1em 0;
    border-bottom: none;
    background-color: #fff;
  }
}
.mw_form-table input[type='text'],
.mw_form-table input[type='email'],
.mw_form-table textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5em;
  border: 1px solid #ccc;
  background: #fff;
  outline: none;
}
.mw_form-table .mwform-zip-field input[type='text'],
.mw_form-table .mwform-tel-field input[type='text'] {
  width: 5em;
  margin: 0 0.25em;
}
.mw_form-table .error {
  font-weight: bold;
  color: #c33;
  margin-top: 0.5em;
  -webkit-animation: blink 1.0s ease-in-out infinite alternate;
  animation: blink 1.0s ease-in-out infinite alternate;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mw_form-btn {
  font-size: 0;
  overflow: hidden;
  text-align: center;
  margin: 28px 0;
  padding: 0;
}
.mw_form-btn li {
  display: inline-block;
  list-style: none;
  margin: 0 1em;
}
.mw_form-btn li input[type='submit'] {
  display: inline-block;
  margin: 0 1em;
  padding: 15px 30px;
  outline: none;
  text-align: center;
  background: #004da0;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1.125rem;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mw_form-btn li:first-child input[type='submit'] {
  background-color: #ccc;
}
.mw_form-btn li input[type='submit']:hover {
  -ms-filter: "alpha(opacity=60)";
  filter: alpha(opacity=60);
  opacity: 0.6;
}
.mw_wp_form .horizontal-item {
  display: inline-block;
}
.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}
.mw_wp_form .horizontal-item:not(:last-of-type) {
  margin-right: 10px;
}

/* @ アイコンスタイル
----------------------------------------------------------------------------- */
.extlink:after {
  display: inline-block;
  margin-left: 10px;
  content: '\f08e';
  font-family: 'FontAwesome';
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a.ico-pdf::before {
  content: '\f1c1';
  font-family: 'FontAwesome';
  margin: 0 10px;
  font-weight: normal;
  color: #d96464;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a.ico-doc::before {
  content: '\f1c2';
  font-family: 'FontAwesome';
  margin: 0 10px;
  font-weight: normal;
  color: #3a59a2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a.ico-xls::before {
  content: '\f1c3';
  font-family: 'FontAwesome';
  margin: 0 10px;
  font-weight: normal;
  color: #498d81;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a.ico-ppt::before {
  content: '\f1c4';
  font-family: 'FontAwesome';
  margin: 0 10px;
  font-weight: normal;
  color: #d24625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* @ ページトップ
----------------------------------------------------------------------------- */
#pagetop {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 15px;
  z-index: 8000;
  margin: 0;
}
@media screen and (max-width: 768px) {
  #pagetop {
    right: 20px;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ ヘッダー
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#header {
  position: relative;
  background-color: #fff;
}
#header > .wrap {
  padding-top: 30px;
  padding-bottom: 0;
}
@media screen and (max-width: 768px) {
  #header > .wrap {
    display: none;
  }
}

/* @ ヘッダー上段（ロゴ＋ツール群）
---------------------------------------------------------------------------- */
#header-upper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-gray);
}

/* @ ロゴ
---------------------------------------------------------------------------- */
#header-logo {
  margin: 0;
}
#header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-logo-brown);
}
#header-logo .logo-mark {
  /* SVG内に preserveAspectRatio="none" width="100%" height="100%" が指定されているため、
     高さを明示的に固定しないとflexコンテナ内で形状が崩れる。viewBox=58.0385x59.3388 */
  width: 58px;
  height: 59px;
  flex-shrink: 0;
}
#header-logo .logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ff-logo);
  font-weight: 500;
  line-height: 1;
}
#header-logo .logo-text-sub {
  font-size: 18px;
}
#header-logo .logo-text-main {
  font-size: 34px;
  white-space: nowrap;
}
#header-logo .logo-text-main .g {
  color: var(--c-logo-green);
}

/* @ ヘッダー右ツール群（文字サイズ＋検索）
---------------------------------------------------------------------------- */
#header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* >>> 文字サイズボタン
   gap は使わず、label の margin-right のみで間隔を確保。
   小・大ボタンは密着させて 5px の角丸を両端で 1 セットに見せる（Figma 準拠） */
#header-fontsize {
  display: flex;
  align-items: center;
  font-family: var(--ff-main);
  color: var(--c-text);
}
#header-fontsize .label {
  font-size: 18px;
  margin-right: 10px;
}
#header-fontsize .js-fontsize-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  outline: none;
  background-color: var(--c-gray);
  color: var(--c-text);
  font-family: var(--ff-main);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}
#header-fontsize .js-fontsize-btn:first-of-type {
  border-radius: 5px 0 0 5px;
}
#header-fontsize .js-fontsize-btn:last-of-type {
  border-radius: 0 5px 5px 0;
}
#header-fontsize .js-fontsize-btn:hover,
#header-fontsize .js-fontsize-btn.is-active {
  background-color: var(--c-sub1);
}

/* >>> サイト内検索 */
#header-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  padding: 8px 14px;
  border: 2px solid var(--c-sub1);
  border-radius: 30px;
  background-color: #fff;
  box-sizing: border-box;
}
#header-search input[type='text'] {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--ff-main);
  font-size: 16px;
  color: var(--c-text);
}
#header-search input[type='text']::placeholder {
  color: var(--c-gray);
}
.header-search-submit {
  padding: 0;
  margin: 0 0 0 8px;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}
.header-search-submit img {
  width: 14px;
  height: 14px;
}

/* @ グローバルナビ（PC）
---------------------------------------------------------------------------- */
#header-navi {
  display: block;
}
#header-gnavi {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-gnavi > li {
  position: relative;
  list-style: none;
  margin: 0;
}
#header-gnavi > li > a {
  display: block;
  padding: 20px 20px 30px;
  font-family: var(--ff-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s;
}
#header-gnavi > li > a:hover,
#header-gnavi > li.current-page-ancestor > a,
#header-gnavi > li.current-menu-item > a {
  color: var(--c-logo-green);
}
#header-gnavi > li > a .menu_title {
  display: inline-block;
}

/* >>> メガメニュー（ホバー時に表示） */
#header-gnavi .megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 20px 0;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}
#header-gnavi > li:hover .megamenu,
#header-gnavi > li:focus-within .megamenu {
  opacity: 1;
  visibility: visible;
}
#header-gnavi .megamenu-inner {
  padding: 0 20px;
}
#header-gnavi .megamenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-gnavi .megamenu li {
  margin: 0;
  list-style: none;
  border-bottom: 1px dotted var(--c-gray);
}
#header-gnavi .megamenu li:last-child {
  border-bottom: none;
}
#header-gnavi .megamenu li a {
  display: block;
  padding: 10px 16px 10px 24px;
  font-family: var(--ff-main);
  font-size: 16px;
  color: var(--c-text);
  text-decoration: none;
  position: relative;
  transition: background-color 0.2s, color 0.2s;
}
#header-gnavi .megamenu li a:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--c-logo-green);
  transform: translateY(-50%);
}
#header-gnavi .megamenu li a:hover {
  background-color: var(--c-sub1-light);
  color: var(--c-logo-green);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ ヘッダー（768px以下）
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#header-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  #header-sp {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 15px;
    background-color: #fff;
    border-bottom: 1px solid var(--c-gray);
  }
}

/* @ SPロゴ
---------------------------------------------------------------------------- */
#header-sp-logo {
  margin: 0;
}
#header-sp-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--c-logo-brown);
}
#header-sp-logo img {
  /* viewBox=58.0385x59.3388 のロゴSVG。40px幅なら高さ41px */
  width: 40px;
  height: 41px;
  flex-shrink: 0;
}
#header-sp-logo .logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--ff-logo);
  line-height: 1;
}
#header-sp-logo .logo-text-sub {
  font-size: 10px;
}
#header-sp-logo .logo-text-main {
  font-size: 16px;
  white-space: nowrap;
}
#header-sp-logo .logo-text-main .g {
  color: var(--c-logo-green);
}

/* @ ハンバーガーボタン
---------------------------------------------------------------------------- */
#navTgl {
  display: none;
}
#header-sp .label.open,
#header-sp .label.close {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
#header-sp .label.open span,
#header-sp .label.open span:before,
#header-sp .label.open span:after {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 3px;
  background-color: var(--c-logo-green);
  border-radius: 2px;
  transition: all 0.3s;
}
#header-sp .label.open span {
  top: 50%;
  transform: translateY(-50%);
}
#header-sp .label.open span:before {
  content: '';
  top: -8px;
  left: 0;
}
#header-sp .label.open span:after {
  content: '';
  top: 8px;
  left: 0;
}
#header-sp .label.close {
  display: none;
}
#navTgl:checked ~ .label.open {
  display: none;
}
#navTgl:checked ~ .label.close {
  display: block;
  position: fixed;
  top: 10px;
  right: 15px;
  z-index: 101;
}
#navTgl:checked ~ .label.close:before,
#navTgl:checked ~ .label.close:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 8px;
  width: 24px;
  height: 3px;
  background-color: var(--c-logo-green);
  border-radius: 2px;
}
#navTgl:checked ~ .label.close:before {
  transform: translateY(-50%) rotate(45deg);
}
#navTgl:checked ~ .label.close:after {
  transform: translateY(-50%) rotate(-45deg);
}

/* @ グローバルナビ（SP）
---------------------------------------------------------------------------- */
#header-gnavi-sp {
  display: none;
}
#navTgl:checked ~ #header-gnavi-sp {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 70px 0 30px;
  background-color: #fff;
  overflow-y: auto;
  z-index: 100;
}
#header-gnavi-sp ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-gnavi-sp ul li {
  list-style: none;
  margin: 0;
  border-bottom: 1px dotted var(--c-gray);
}
#header-gnavi-sp ul li a {
  display: block;
  padding: 16px 20px;
  font-family: var(--ff-main);
  font-size: 16px;
  color: var(--c-text);
  text-decoration: none;
}
#header-gnavi-sp ul li a:hover {
  background-color: var(--c-sub1-light);
  color: var(--c-logo-green);
}
#header-gnavi-sp ul li a:before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 10px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--c-logo-green);
  vertical-align: middle;
}
#header-gnavi-sp ul li ul {
  padding-left: 20px;
}
#header-gnavi-sp ul li ul li a {
  font-size: 14px;
}

/* @ アクセシビリティ用：sr-only
---------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ フッター
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Figmaの footer 背景は3層構造：
 *   ① 白テクスチャ ＝ #footer の background-image（bg-onosyakyo-zentai2.png）
 *   ② 水色ウェーブ ＝ #footer::before（footer-subtract.svg, fill: #CCF5F2）
 *   ③ 雲 + ひまわり + 芝生 ＝ #footer::after（footer-bg.png 2880x665、雲は画像内に含まれる）
 * 重ね順は z-index で：コピーライト/コンテンツ > ひまわり > 水色ウェーブ > 白テクスチャ
 * 背景は #footer-inner ではなく親の #footer に置くことで、コピーライト行も同じ背景に乗る */
#footer {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  background-color: #fff;
  background-image: url('img/top/bg-onosyakyo-zentai2.png');
  background-repeat: repeat;
  background-size: 400px auto;
}
/* ② 水色ウェーブ */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/top/footer-subtract.svg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  z-index: 1;
  pointer-events: none;
}
/* ③ 雲＋ひまわり＋芝生：aspect-ratio で画像比率と一致したボックスを下端にフィット
   → ビューポート幅が変わってもひまわりが見切れない */
#footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 2880 / 665;
  background-image: url('img/top/footer-bg.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}

#footer-inner {
  position: relative;
  z-index: 3;
  padding-top: 90px;
}
/* カンプではコンテンツが画像上部の透明領域（雲）に少しオーバーラップする設計。
   .wrap padding-bottom はコンテンツ末尾と芝生の間に出るひまわり/中央葉の表示分のみ確保。
   ::after 高さ = width × 23.1% に対し、余白 6% にすることで全体が間延びしない */
#footer-inner > .wrap {
  position: relative;
  padding-bottom: 6%;
}

@media screen and (max-width: 768px) {
  #footer {
    margin-top: 40px;
  }
  #footer-inner {
    padding-top: 50px;
  }
  #footer-inner > .wrap {
    /* SP は ::after を固定高さ + cover で拡大表示するため、padding-bottom は実 px で確保 */
    padding-bottom: 170px;
  }
  /* footer-bg.png は 2880×665 (4.33:1) と横長過ぎ。SP で aspect-ratio を維持すると
     ひまわりが豆粒化するため、aspect-ratio を解除して高さを固定し cover で拡大。
     画像中央は芝生で、ひまわりは両コーナーに居るため、background-position: right bottom
     で右側ひまわりを viewport 右に大きく表示する（左側は芝生の middle 部分） */
  #footer::after {
    aspect-ratio: auto;
    height: 200px;
    background-size: cover;
    background-position: right bottom;
  }
  /* SP は footer が縦長になるため、wave SVG を 100% 100% で塗ると縦に引き伸ばされて
     波が暴れる。SVG 高さを固定 px (220px → 波振幅 ≈ 45px) で top に置き、
     その下は linear-gradient(cyan,cyan) で同色塗りを継続させる multi-bg 構成。
     ※ bg-color 一発だと波の上の透明部分も塗られて波が消えるので NG */
  #footer::before {
    background-color: transparent;
    background-image:
      url('img/top/footer-subtract.svg'),
      linear-gradient(#CCF5F2, #CCF5F2);
    background-size:
      100% 220px,
      100% calc(100% - 220px);
    background-position:
      top center,
      bottom center;
    background-repeat: no-repeat, no-repeat;
  }
}
@media screen and (max-width: 480px) {
  #footer::after {
    height: 150px;
  }
  #footer-inner > .wrap {
    padding-bottom: 130px;
  }
}

/* @ フッター上段（ロゴ＋住所　/　TEL・FAX）
---------------------------------------------------------------------------- */
#footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--c-gray);
  gap: 20px;
}
@media screen and (max-width: 768px) {
  #footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* >>> 左：ロゴ＋住所 */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-logo-brown);
}
.footer-logo .logo-mark {
  /* SVG内に preserveAspectRatio="none" が指定されているため明示。viewBox=58.0385x59.3388 */
  width: 58px;
  height: 59px;
  flex-shrink: 0;
}
.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--ff-logo);
  font-weight: 500;
  line-height: 1;
}
.footer-logo .logo-text-sub {
  font-size: 18px;
}
.footer-logo .logo-text-main {
  font-size: 34px;
  white-space: nowrap;
}
.footer-logo .logo-text-main .g {
  color: var(--c-logo-green);
}
/* SP: ロゴテキストが横にはみ出すので段階的に縮小 */
@media screen and (max-width: 768px) {
  .footer-logo {
    gap: 8px;
  }
  .footer-logo .logo-mark {
    width: 48px;
    height: 49px;     /* viewBox 58.0385×59.3388 比 */
  }
  .footer-logo .logo-text-sub  { font-size: 14px; }
  .footer-logo .logo-text-main { font-size: 26px; }
}
@media screen and (max-width: 480px) {
  .footer-logo .logo-mark {
    width: 40px;
    height: 41px;
  }
  .footer-logo .logo-text-sub  { font-size: 12px; }
  .footer-logo .logo-text-main { font-size: 22px; }
}
@media screen and (max-width: 360px) {
  /* iPhone SE 等の極小幅向け：さらに縮小 */
  .footer-logo .logo-text-main { font-size: 19px; }
}
.footer-address {
  margin: 0;
  font-family: var(--ff-main);
  font-size: 1.125rem;             /* 18px相当 → 大ボタンで連動 */
  color: var(--c-text);
  line-height: 1.4;
}
@media screen and (max-width: 480px) {
  .footer-address { font-size: 14px; }
}

/* >>> 右：TEL（大）/ FAX（小） ※赤穂社協踏襲 */
.footer-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 30px;
  font-family: var(--ff-main);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}
.footer-right .label {
  font-size: 1.375rem;             /* 22px相当 → 大ボタンで連動 */
  margin-right: 2px;
}
.footer-tel,
.footer-fax {
  margin: 0;
  display: flex;
  align-items: baseline;
}
.footer-tel .num {
  font-size: 3rem;                 /* 48px相当 → 大ボタンで連動 */
  letter-spacing: 0.5px;
}
.footer-fax .num {
  font-size: 1.75rem;              /* 28px相当 → 大ボタンで連動 */
  letter-spacing: 0.5px;
}
@media screen and (max-width: 768px) {
  .footer-right {
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: flex-start;
  }
  .footer-right .label {
    font-size: 16px;
  }
  .footer-tel .num {
    font-size: 32px;
  }
  .footer-fax .num {
    font-size: 20px;
  }
}

/* @ フッター下段（リンク群）
---------------------------------------------------------------------------- */
#footer-bottom {
  padding: 20px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .footer-links {
    justify-content: flex-start;
    gap: 12px 20px;
  }
}
.footer-links li {
  list-style: none;
  margin: 0;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-main);
  font-size: 1.125rem;             /* 18px相当 → 大ボタンで連動 */
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.footer-links a:hover {
  color: var(--c-logo-green);
  opacity: 0.8;
}
.footer-links .arw {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url('img/top/footer-link-arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* @ コピーライト ─ 芝生（#footer::after の下端部）の上に乗せる
---------------------------------------------------------------------------- */
#footer-copyright {
  position: relative;
  z-index: 4;
  padding: 14px 0;
  background-color: transparent;
  text-align: center;
}
#footer-copyright .copyright {
  margin: 0;
  font-family: var(--ff-main);
  font-size: 14px;
  color: var(--c-text);
}
#footer-copyright .copyright small {
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  #footer-copyright .copyright,
  #footer-copyright .copyright small {
    font-size: 12px;
  }
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ メイン
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main.side_exist {
  display: flex;
  min-width: auto;
}
@media screen and (max-width: 768px) {
  #main.side_exist {
    display: block;
    min-width: 100%;
  }
}


/* @ 見出し
---------------------------------------------------------------------------- */


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ コンテンツ
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.side_exist #contents {
  width: calc(100% - (300px + 50px));
}
@media screen and (max-width: 1024px) {
  .side_exist #contents {
    width: calc(100% - (250px + 50px));
  }
}
@media screen and (max-width: 768px) {
  .side_exist #contents {
    width: 100%;
  }
  #contents {
    margin-top: 30px;
  }
}
#contents .clearfix > *:first-child,
#main.side_exist #contents > h3:first-child {
  margin-top: 0;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* @ サイドバー
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#sidebar {
  width: 300px;
  min-width: 300px;
  margin-left: 50px;
}
@media screen and (max-width: 1024px) {
  #sidebar {
    width: 250px;
    min-width: 250px;
  }
}
@media screen and (max-width: 768px) {
  #sidebar {
    width: 100%;
    min-width: auto;
    margin: 50px 0 0;
  }
}
#sidebar-wrap {
  border: solid #eee 10px;
}
#sidebar h2 {
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1;
}
#sidebar h2 a {
  display: block;
  padding: 20px;
  background: #004da0;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}
#sidebar ul {
  margin: 0;
  padding: 0;
}
#sidebar ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-bottom: dotted 1px #ccc;
}
#sidebar ul li a {
  position: relative;
  display: block;
  padding: 20px 40px 20px 20px;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}
#sidebar ul li a:after {
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 40px;
  margin-top: -10px;
  content: '\f105';
  font-family: 'FontAwesome';
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 20px;
  text-align: center;
}
#sidebar ul li a:hover {
  background: #f4f9fe;
}
#sidebar ul li.current_page_item a {
  background: #f4f9fe;
}
