/*!
Theme Name: eighteen_theme
Author: nj
Description: Description
Version: 1.0.0
*/

/*-------------------------------------------
# Generic
--------------------------------------------- */
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
============================================= */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
/* Sections
============================================= */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/* Grouping content
============================================= */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
/* Text-level semantics
============================================= */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
============================================= */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
============================================= */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}
button:hover {
  cursor: pointer;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: button;
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  appearance: button;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
/* Interactive
============================================= */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
============================================= */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
}

/* CSS変数
============================================= */
/* CSS変数：z-index
--------------------------------------------- */
:root {
  --z-default-base: 1;
  --z-default-modal: 2;
  --z-default-btn: 3;
  --z-header-base: 11;
  --z-header-modal: 12;
  --z-header-btn: 13;
  --z-highest-base: 111;
  --z-highest-modal: 112;
  --z-highest-btn: 113;
}
/* CSS変数： Color
--------------------------------------------- */
:root {
  --c-pri: #033e8c; /*キーカラー*/
  --c-sub: #1f64bf; /*サブカラー（キーカラー明るめ：リンク）*/
  --c-aux: #04d9b2; /*差し色（ホバー）*/

  --c-txt: #2d3536; /*基本文字色*/
  --c-txt-reverse: #ffffff; /*反転文字色*/
  --c-caution: #ff524a; /*注意を促す色*/

  --c-gray: #707070; /*グレー*/
  --c-gray-light: #efefef; /*ライトグレー*/

  --c-base-pri: #ffffff; /*背景の基本カラー*/
  --c-base-sub: #f2f2f2; /*背景のサブカラー（背景-囲み）*/
  --c-base-aux: #e4e9f2; /*背景色若干濃いめ（背景-補助）*/

  --c-modal: rgba(0, 9, 58, 0.85); /*モーダル背景*/
  --c-grad: linear-gradient(
    0deg,
    rgba(236, 254, 166, 1) 0%,
    rgba(244, 255, 218, 1) 100%
  ); /*基本グラデーション*/
}
/* CSS変数： border-radius
--------------------------------------------- */
:root {
  --radius-prime: 6px;
  --radius-small: 4px;
  --radius-large: 8px;
  --radius-ciecle: 9999px;
}
/* CSS変数： font-size
--------------------------------------------- */
:root {
  --fs-prime: 1rem;
  --fs-small: 0.85rem;
  --fs-xsmall: 0.7rem;
  --fs-large: 1.3rem;
  --fs-xlarge: 1.6rem;
}
/* CSS変数： font-family
--------------------------------------------- */
:root {
  /*読ませる文字*/
  --ff-pri: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Yu Gothic Medium",
    "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3",
    "メイリオ", sans-serif;
  /*見出し*/
  --ff-sub: "Zen Old Mincho", serif;
  /*ボタン・操作系*/
  --ff-aux: "M PLUS 1", sans-serif;
  /*社名等・強い書体*/
  --ff-title: "Arizonia", cursive;
  /*カッコいい欧文（欧文のみ・和文NG）*/
  --ff-euro: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--c-txt);
  font-family: var(--ff-pri);
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
/*テキストが溢れるときに改行する*/
p {
  overflow-wrap: anywhere;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: var(--c-base-pri);
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
  border-bottom: 1px dotted var(--c-txt);
  cursor: help;
}
mark,
ins {
  background: var(--c-caution);
  text-decoration: none;
}
big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
  background-color: var(--c-txt-light);
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
ul,
ol {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
}
ol {
  list-style: decimal;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 0.5rem;
}
.sub-menu a::before {
  content: "- ";
}
dt {
  font-weight: 700;
}
dd {
  margin: 0 1.5em 1.5em;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}
img {
  height: auto;
  max-width: 100%;
}
figure {
  margin: 1em 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  text-decoration: none;
  transition: 0.3s;
}
a,
a:visited,
a:focus,
a:active {
  color: var(--c-sub);
}
a:hover {
  color: var(--c-aux);
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: var(--c-txt);
  border: 1px solid var(--c-sub);
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--c-txt);
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*検索フォーム*/

.open-btn-search,
.open-btn-search-fxd {
  width: 2rem;
  height: 2rem;
  z-index: var(--z-header-btn);
  background-color: var(--c-sub);
  mask-image: url("img/magnifying-glass-solid.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 50%;
  /* Chrome, Safari用 */
  -webkit-mask-image: url("img/magnifying-glass-solid.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 50%;
}
.home .open-btn-search {
  background-color: var(--c-txt-reverse);
}
.open-btn-search:hover,
.open-btn-search-fxd:hover {
  cursor: pointer;
  background-color: var(--c-aux);
}
/*クリック後、JSでボタンに btnactive クラスが付与された後の見た目*/
.open-btn-search.btnactive,
.open-btn-search-fxd.btnactive {
  mask-image: url("img/xmark-solid.svg");
  /* Chrome, Safari用 */
  -webkit-mask-image: url("img/xmark-solid.svg");
}
.open-btn-search.btnactive:hover,
.open-btn-search-fxd.btnactive:hover {
  background-color: var(--c-aux);
}

.search-wrap {
  display: flex;
  align-items: center;
  height: 3rem;
  justify-content: flex-end;
  width: 100%;
}
.searchform,
.searchform-fxd {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  transition: all 0.3s;
}
.searchform.panelactive,
.searchform-fxd.panelactive {
  max-width: 100rem;
}
.searchform__inner {
  position: relative;
  margin-left: 1rem;
}
.searchform__inner input {
  background-color: var(--c-base-pri);
  border: 1px solid;
}
.searchform__field,
.searchform__field-fxd {
  height: 1.6rem;
  border-radius: 9999px !important;
  padding-left: 1rem !important;
  font-size: var(--fs-small);
  font-family: var(--ff-aux);
}
.searchform__btn {
  position: absolute;
  right: 1rem;
  top: 15%;
  background-color: inherit;
  border: none;
  padding: 0;
  color: var(--c-sub);
}
.searchform__btn:hover {
  cursor: pointer;
  color: var(--c-aux);
}
/*Contact Form7
--------------------------------------------- */

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.cf7__list dt,
.cf7__list dd {
  width: 100%;
  border-bottom: 1px dotted var(--c-sub);
}
.cf7__list dt {
  padding-top: 1rem;
}
.cf7__list dt p {
  font-size: var(--fs-prime);
}
.cf7__list dd {
  margin: 0;
  padding: 0 1rem;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 1rem;
  padding: 0.25rem 0.5rem;
  color: var(--c-txt-reverse);
  font-size: var(--fs-small);
  border-radius: var(--radius-small);
}

.cf7__required {
  background: var(--c-caution);
}

.cf7__optional {
  background: var(--c-sub);
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--c-gray-light);
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 2rem;
  z-index: var(--z-default-btn);
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: var(--c-gray-light);
  color: var(--c-txt);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid var(--c-gray);
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid var(--c-txt);
  background: var(--c-txt);
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--c-base-pri);
  border-bottom: 2px solid var(--c-base-pri);
  content: "";
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-txt);
  content: "";
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: var(--c-gray);
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: var(--c-gray);
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: var(--c-gray);
}

/* 送信ボタン */
.cf7__button {
  text-align: center;
  padding-right: 1rem;
}

.cf7__button input[type="submit"] {
  width: 100%;
  max-width: 16rem;
  font-size: var(--fs-prime);
  font-family: var(--ff-aux);
  height: 3rem;
  background: var(--c-sub);
  border-radius: var(--radius-small);
  color: var(--c-txt-reverse);
  transition: opacity 0.3s;
}

.cf7__button input[type="submit"]:hover {
  opacity: 0.6;
  cursor: pointer;
  background-color: var(--c-aux);
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
  display: none !important;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*サイト背景
--------------------------------------------- */
.body-bg-wrap {
  position: fixed;
  z-index: -1;
}
.body-bg-object {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}
/*サイト最大幅
--------------------------------------------- */
.cont-limited,
.ex-nav-wrap {
  margin: 0 auto;
  max-width: 1200px;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */

/* メインナビゲーション
--------------------------------------------- */
/*スマホでは非表示-pc用cssで表示記述*/
#site-navigation {
  display: none;
}
/*サブメニュー*/
.sub-navigation ul {
  display: none;
}
.sub-navigation ul li {
  position: relative;
  padding: 0 0.75rem;
  font-size: var(--fs-small);
  font-family: var(--ff-aux);
}
/*サブメニュータイトル間に縦線*/
/* .sub-navigation .menu > li + li::after {
  content: "";
  left: 0;
  width: 1px;
  height: 70%;
  background-color: var(--c-gray);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
} */

/*サブメニュータイトル右に縦線*/
.sub-navigation .menu > li::after {
  content: "";
  right: 0;
  width: 1px;
  height: 70%;
  background-color: var(--c-sub);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
/*サブメニュータイトルに疑似要素追加*/
.sub-navigation ul li a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f138";
  margin-right: 0.25rem;
}
.ex-nav-wrap {
  display: none;
  background: var(--c-base-sub);
  background: var(--c-grad);
  border-radius: var(--radius-large);
}
.main-navigation {
  z-index: var(--z-header-btn);
}
.main-navigation ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 1px;
  height: 100%;
  font-family: var(--ff-aux);
}
.main-navigation li {
  font-weight: 500;
  font-size: var(--fs-small);
  padding-left: clamp(2px, 2vw, 2rem);
  padding-right: clamp(2px, 2vw, 2rem);
  position: relative;
  transition: 0.3s;
}
.main-navigation .menu > li {
  display: flex;
  align-items: center;
  position: relative;
}

/*メニュータイトル間に縦線*/
.main-navigation .menu > li + li::after {
  content: "";
  left: 0;
  width: 1px;
  height: 50%;
  background-color: var(--c-sub);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.home .main-navigation .menu > li + li::after {
  background-color: var(--c-txt-reverse);
}
/*メニュータイトル両脇とタイトル間に縦線*/
/* .main-navigation .menu > li::after {
  content: "";
  left: 0;
  width: 1px;
  height: 50%;
  background-color: var(--c-gray);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.main-navigation .menu > li:last-child::before {
  content: "";
  right: 0;
  width: 1px;
  height: 50%;
  background-color: var(--c-gray);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
} */
.main-navigation .menu > li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0;
  font-size: var(--fs-prime);
  font-size: 0.9rem;
  margin: 1rem auto;
}
/*メニューサブタイトル*/
.main-navigation .menu > li a span {
  font-weight: normal;
  font-size: var(--fs-small);
  font-family: var(--ff-euro);
}

/* 子メニューがあることを示す記号を追加 */
.main-navigation .menu-item-has-children > a::after {
  /* content: "+"; */
  position: absolute;
  bottom: 0;
}
.main-navigation .menu-item-has-children:hover > a::after {
  display: none;
}
/* 子メニューがあることを示す記号を固定ヘッダーでは非表示 */
#fixed-header .main-navigation .menu-item-has-children > a::after,
#fixed-header .main-navigation .sub-menu .menu-item-has-children > a::after {
  display: none;
}
/*ホバー時に下線・カレントメニューに下線*/
.main-navigation li a::before,
.main-navigation .current-menu-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  transition: 0.3s;
}
.main-navigation li a:hover::before,
.main-navigation .current-menu-item::before {
  right: 0;
  left: 0;
  margin: 0 auto;
  width: calc(100% - 0.5rem);
}
.sub-menu .current-menu-item::before {
  display: none;
}
/*ホバー時色*/
.main-navigation li a:hover::before {
  background: var(--c-aux);
}
/*カレントメニュー色*/
.main-navigation .current-menu-item::before {
  background: var(--c-sub);
}
/*子メニュー*/
.main-navigation ul ul {
  display: flex;
  flex-direction: column;
  row-gap: 0;
  width: 12rem;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  max-height: 0; /*ホバーするまで見せない*/
  overflow: hidden;
  transition: all 1s;
  border-radius: var(--radius-small);
  z-index: var(--z-default-modal);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
/*親メニューliホバーで表示（max-height値で）*/
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  max-height: 800px;
}
.main-navigation ul ul li {
  background-color: var(--c-modal);
  padding: 0 1rem;
}
.main-navigation ul ul li a {
  font-weight: 500;
  font-size: var(--fs-small);
  display: block;
  margin: 0.5rem 0 !important;
  line-height: 1.2;
  color: var(--c-txt-reverse);
}
.main-navigation ul ul ul {
  position: static;
  margin-left: 0;
  width: 12rem;
  margin-bottom: 1rem;
}
.main-navigation .menu > li ul li a {
  align-items: flex-start;
  row-gap: 0.5rem;
}
.main-navigation .menu > li ul li a span {
  font-weight: normal;
  font-size: var(--fs-small);
}
/*固定ヘッダーナビゲーション
--------------------------------------------- */
/*スマホでは非表示-pc用cssで表示記述*/
#fixed-header-navigation {
  display: none;
}
#fixed-header .main-navigation li span,
.footer-nav li span {
  display: none;
}
#fixed-header .main-navigation li {
  padding-left: 1rem;
  padding-right: 1rem;
}
#fixed-header .main-navigation li a {
  font-size: var(--fs-small);
}
@media print {
  #fixed-header-navigation {
	  display: none;}
}
/* スマホナビゲーション
--------------------------------------------- */
/* Small menu. */
.menu-toggle {
  display: block;
  border: none;
  font-size: 1.5rem;
  padding: 0.25rem;
  background-color: inherit;
  color: var(--c-sub);
  position: fixed;
  top: 0.5rem;
  right: 1rem;
  z-index: var(--z-highest-btn);
}
.menu-toggle:hover {
  cursor: pointer;
}
#menu-toggle-icon::before {
  content: "\f0c9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.toggled #menu-toggle-icon::before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--c-txt-reverse);
}

#sp-navigation > div > ul {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--c-modal);
  color: var(--c-txt-reverse);
  padding: 2rem;
  padding-top: 3rem;
  z-index: var(--z-highest-modal);
  font-family: var(--ff-aux);
}
/*トグル押下時*/
#sp-navigation.toggled > div > ul {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  overflow-y: scroll;
}
#sp-navigation > div > ul > li {
  border-bottom: 1px dotted var(--c-txt-reverse);
  padding-bottom: 1rem;
}
#sp-navigation .sub-menu li {
  padding-top: 1rem;
}
#sp-navigation > div > ul a {
  color: var(--c-txt-reverse);
}
/*フェードインアニメ*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* フッターナビゲーション
--------------------------------------------- */
.footer-nav {
  font-family: var(--ff-aux);
}
.footer-nav a {
  display: block;
  font-size: var(--fs-small);
  color: var(--c-sub);
}
.footer-nav a:hover {
  color: var(--c-aux);
}
.footer-nav > div > ul {
  display: grid;
  grid-auto-flow: row;
  row-gap: 2rem;
  column-gap: 2rem;
  padding-right: 1rem;
}
.footer-nav ul ul {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.footer-nav > div > ul > li > a {
  font-weight: bold;
  border-bottom: 1px dotted var(--c-sub);
  padding-bottom: 0.5rem;
  font-weight: 500;
}
.footer-nav > div > ul > li > ul {
  margin-top: 1rem;
}

/* 投稿ナビゲーション
--------------------------------------------- */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  padding: 1rem 0;
  border-top: 1px dotted var(--c-txt);
  border-bottom: 1px dotted var(--c-txt);
  font-family: var(--ff-aux);
  font-size: var(--fs-small);
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Header
--------------------------------------------- */
.site-header {
  z-index: var(--z-header-base);
}
[class*="site-header-section"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0;
  padding: 0 1rem;
  position: relative;
}
[class*="site-header-section"] p {
  margin: 0;
}
.site-header-section00 {
  flex-direction: row;
}
.site-header-section01 {
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
.home .site-header-section01 {
  box-shadow: none;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(26, 29, 52, 0.33) 50%
  );
  padding-bottom: 100px;
}
.home .site-header-section01 a {
  color: var(--c-txt-reverse);
}
.home .site-description {
  color: var(--c-txt-reverse);
}
/*ヘッダー内ナビセクション*/
.in-nav-wrap {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
  width: 100%;
}
/*サイトブランディング*/
.site-branding {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
  width: 100%;
}
.custom-logo-link {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.site-header-section01 .custom-logo-link,
.site-footer .custom-logo-link {
  width: 100%;
  margin: 1rem auto;
}
.custom-logo {
  height: 100%;
  width: auto;
}
.site-title-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  justify-content: center;
  width: 100%;
}
.site-subtitle,
.site-title,
.site-description {
  display: block;
  margin: 0;
  padding: 0;
  text-align: center;
}
.site-subtitle {
  font-family: var(--ff-sub);
  font-size: small;
  color: var(--c-pri);
}
.site-title {
  font-family: var(--ff-title);
  font-weight: bold;
  color: var(--c-pri);
}
.site-description {
  font-family: var(--ff-sub);
  font-size: small;
}
.site-header-section01 .site-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.4rem;
}
/* 固定ヘッダー（スクロールで現れるヘッダー） */
#fixed-header {
  position: fixed;
  top: -100px;
  height: auto; /* ヘッダー高さ */
  width: 100%;
  transition: 0.5s; /* アニメーションタイミング */
  z-index: var(--z-header-base);
  background-color: var(--c-base-pri);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
#fixed-header.is-show {
  top: 0;
}
#fixed-header .site-branding {
  width: auto;
}
#fixed-header .custom-logo-link {
  height: 30px;
}
#fixed-header .site-title {
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 0;
}
#fixed-header .site-subtitle,
#fixed-header .site-title,
#fixed-header .site-description {
  display: none;
}
#fixed-header .search-wrap {
  margin-right: 3rem;
  width: auto;
}
/*パンクズリスト*/
.breadcrumbs-wrap {
  width: 100%;
  /* padding: 0.5rem; */
  margin: 0 auto;
  background-color: var(--c-base-pri);
  color: var(--c-txt);
  /* opacity: 0.8; */
}
/*トップページでは非表示*/
.home .breadcrumbs-wrap {
  display: none;
}
.breadcrumbs {
  font-size: var(--fs-small);
  font-family: var(--ff-aux);
  display: flex;
  column-gap: 0.5rem;
  /* border-bottom: 1px dotted var(--c-gray); */
  padding: 0.5rem;
  padding-top: 1.5rem;
}

/* Footer
--------------------------------------------- */
.site-footer {
  background-color: var(--c-base-sub);
  /* font-family: var(--ff-aux); */
}
[class*="site-footer-section"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 3rem;
  padding: 2rem 1rem;
}
.site-footer .site-branding {
  padding: 0;
  /* margin-bottom: 2rem; */
  justify-content: center;
}
.site-footer .custom-logo-link {
  height: 50px;
}
.site-footer a {
}
.site-footer a:hover {
  color: var(--c-aux);
}
.site-footer .site-title a {
  font-size: 2rem;
  margin: 0;
  padding: 0;
}
.site-footer .site-title a:hover {
  color: var(--c-aux);
}
.site-footer .site-discription {
  margin: 0;
  padding: 0;
  font-size: var(--fs-small);
  display: none;
}
.site-footer .widget-area p {
  font-size: var(--fs-small);
}

.site-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  width: 100%;
  font-family: var(--ff-aux);
}
.site-links {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}
.footer-freespace {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
}
.site-footer .copyright {
  background-color: var(--c-pri);
  color: var(--c-txt-reverse);
  text-align: center;
  font-size: small;
  font-family: var(--ff-euro);
  padding: 5rem 0 15rem;
}

/*問い合わせBOX*/
.inq-wrap {
  position: fixed;
  left: 1rem;
  bottom: 1.5rem;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #b7bdca;
  border-radius: var(--radius-prime);
  text-align: center;
  padding: 0.5rem;
}
.inq-wrap p {
  font-size: var(--fs-xsmall);
  margin: 0;
}
.inq-tel-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-sub);
}
.inq-tel-icon {
  margin-top: 0.3rem /*微調整*/;
}
.inq-tel {
  font-weight: bold;
  font-size: var(--fs-xlarge);
}
.inq-dtn-wrap {
  margin-top: 0.5rem;
}
@media print {
  .inq-wrap {display:none;}
}
/*TOPへふわっと戻るボタンのCSS*/
#goto_top {
  position: fixed;
  right: 1.5rem;
  bottom: 1rem;
  z-index: var(--z-highest-btn);
}
#goto_top a {
  font-size: 2rem;
  display: block;
  color: var(--c-sub);
  transition: all 0.3s ease 0s;
}
#goto_top a :hover {
  color: var(--c-aux);
  cursor: pointer;
}

/* Heading
--------------------------------------------- */
.entry-header,
.page-header {
  padding: 1rem 0;
  border-top: 2px dotted var(--c-sub);
  border-bottom: 2px dotted var(--c-sub);
  margin-top: 1rem;
  margin-bottom: 3rem;
  color: var(--c-pri);
}
.page .entry-title,
.page-title {
  font-family: var(--ff-aux);
  font-size: var(--fs-xlarge);
  text-align: center;
}
/*見出しレベル2*/
/* .single .entry-title, */
.entry-content h2,
.heading-2 {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  color: var(--c-pri);
  border-bottom: 1px dotted var(--c-pri);
}
/* .single .entry-title::before, */
.entry-content h2::before,
.heading-2::before {
  content: "";
  height: 1.5rem;
  width: 4px;
  /* border-radius: 3px; */
  background: var(--c-sub);
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
/* .single .entry-title::after, */
.entry-content h2::after,
.heading-2::after {
  content: "";
  height: 1.5rem;
  width: 4px;
  /* border-radius: 3px; */
  background: var(--c-aux);
  position: absolute;
  top: 55%;
  left: 10px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  /* transform: rotate(1deg); */
}
/*見出しレベル3*/
.entry-content h3,
.heading-3 {
  color: var(--c-pri);
  /* font-family: var(--ff-sub); */
  /* font-size: var(--fs-large); */
  /* font-weight: normal; */
  border-bottom: 2px solid var(--c-sub);
  padding: 0.5rem;
  position: relative;
}
.entry-content h3::before,
.heading-3::before {
  content: "";
  height: 2px;
  width: 12rem;
  position: absolute;
  left: 0;
  bottom: -2px;
  /* border-radius: 3px; */
  background: var(--c-pri);
}
/*見出しレベル4*/
.entry-content h4,
.heading-4 {
  color: var(--c-pri);

  /* font-size: var(--fs-large); */
  /* font-weight: normal; */
  border-bottom: 2px dotted var(--c-pri);
  padding: 0 0.75rem 0.25rem;
  border-left: 4px solid var(--c-pri);
}

/*見出し-中央寄せ-下線*/
.heading-center {
  text-align: center;
  position: relative;
  color: var(--c-pri);
  /* font-family: var(--ff-sub); */
  /* font-weight: 500; */
  padding-bottom: 1rem;
  margin-bottom: 4rem;
}
.heading-center:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 20px);
  width: 40px;
  height: 3px;
  content: "";
  border-radius: 1px;
  background: var(--c-sub);
}
/*見出し-中央寄せ-下線-サブタイトル（要data-text要素）*/
.heading-center-sub {
  text-align: center;
  position: relative;
  color: var(--c-pri);
  /* font-family: var(--ff-sub); */
  padding-bottom: 1rem;
  margin-bottom: 4rem;
}
.heading-center-sub:before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 1px;
  content: "";
  border-radius: 1px;
  background: var(--c-sub);
}
.heading-center-sub:after {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  content: attr(data-text) "";
  font-size: var(--fs-prime);
  font-family: var(--ff-euro);
  font-weight: normal;
  background-color: var(--c-base-pri);
  padding: 0 0.5rem;
}

/*ターム-見出し*/
.term-title {
  position: relative;
  font-size: var(--fs-prime);
}
/* TextMarkUp
--------------------------------------------- */
.markup-prime,
.comment-edit-link,
.comment-reply-link {
  border: 1px solid;
  border-radius: var(--radius-prime);
  padding: 0.2rem 1rem;
  margin-right: 1rem;
}
/* Button
--------------------------------------------- */
.btn-prime a,
.wp-block-button a {
  background-color: inherit;
  padding: 0.2rem 1rem;
  color: var(--c-sub);
  border: 1px solid var(--c-sub);
  border-radius: var(--radius-small);
  font-family: var(--ff-aux);
  font-size: var(--fs-small);
  font-weight: bold;
  background-color: var(--c-base-pri);
  position: relative;
  margin-bottom: 1rem;
}
.btn-prime a:hover,
.wp-block-button a:hover {
  background-color: var(--c-aux);
  cursor: pointer;
}
.btn-page-transition a,
.btn-pdf a,
.btn-file a {
  padding-right: 2rem;
}
.btn-page-transition a::after {
  font: var(--fa-font-solid);
  content: "\f08e";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.btn-pdf a::after {
  font: var(--fa-font-regular);
  content: "\f1c1";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.btn-file a::after {
  font: var(--fa-font-regular);
  content: "\f15b";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.btn-large {
  width: 100%;
  text-align: center;
}
.btn-large a {
  margin: 0 auto;
  background-color: var(--c-sub);
  padding: 0.5rem 2rem;
  color: var(--c-txt-reverse);
  border-radius: var(--radius-small);
  font-family: var(--ff-aux);
  font-size: var(--fs-prime);
  position: relative;
  display: inline-block;
}
.btn-large a:hover {
  color: var(--c-pri);
  background-color: var(--c-aux);
  cursor: pointer;
}
.btn-small a {
  background-color: var(--c-sub);
  padding: 0.15rem 0.75rem;
  color: var(--c-txt-reverse);
  border-radius: var(--radius-ciecle);
  font-family: var(--ff-aux);
  font-size: var(--fs-xsmall);
  /* font-weight: bold; */
  position: relative;
  display: inline-block;
}
.btn-small a:hover {
  background-color: var(--c-aux);
  cursor: pointer;
}
/* Table
--------------------------------------------- */
/*基本*/
.wp-block-table,
.table-prime {
  font-size: var(--fs-small);
}
.wp-block-table thead,
.table-prime thead {
  border-bottom: none;
}
.wp-block-table th,
.table-prime th {
  background-color: var(--c-base-aux);
  color: var(--c-pri);
}
.wp-block-table td,
.table-prime td {
  border: 1px solid var(--c-pri);
}
/*ストライブの背景色変更*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: var(--c-base-sub);
}
/*ストライブで背景色なし下線のみ*/
.wp-block-table.is-style-stripes.table-border-bottom-only
  tbody
  tr:nth-child(odd),
.wp-block-table.is-style-stripes.table-border-bottom-only
  tbody
  tr:nth-child(even) {
  background-color: transparent;
}
.wp-block-table.is-style-stripes.table-border-bottom-only tbody td {
  border-bottom: 1px solid var(--c-gray);
}

/* スペーサー
--------------------------------------------- */
.spacer-prime {
  height: 3rem;
}
/* アーカイブ表示
--------------------------------------------- */
/*カード型*/
.wrapper-card {
  display: grid;
  column-gap: 5%;
  row-gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* margin-top: 5rem; */
  margin-bottom: 5rem;
}
.wrapper-card .thumbnail {
  aspect-ratio: 1;
  border: 1px solid var(--c-base-sub);
}
.wrapper-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
/*リスト型*/
.wrapper-list {
}
/* front page
--------------------------------------------- */
.front-wrap {
}
.firstview-area {
  height: 100vh;
  position: relative;
  top: -1.5rem;
  /* z-index: -1; */
}
.firstview-catch {
  position: absolute;
  color: var(--c-txt-reverse);
  /* background-color: var(--c-modal); */
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0 1rem;
  font-family: var(--ff-sub);
  font-size: clamp(16px, 7vw, 4rem);
  font-weight: bold;
  top: 33%;
  transform: translateY(-50%);
  /* opacity: 0.8; */
  text-shadow: 2px 2px 4px rgba(5, 3, 100, 1);
  text-shadow: 0px 0px 10px rgba(5, 3, 100, 1);

  /* word-break: keep-all; */
}
/*meta slider全画面表示*/
#metaslider-id-10 {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100vw !important;
  height: 100vh !important;
  background: #fff;
}
#metaslider_container_10 img {
  object-fit: cover;
  height: 100vh;
}
.secondview-area .cont-limited,
.thirdview-area .cont-limited,
.fourthview-area .cont-limited {
  padding: 0 1rem;
}
.secondview-area {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1rem;
  /* text-align: center; */
}
.top-lead-img {
  text-align: center;
}

.top-lead-catch {
  color: var(--c-pri);
  text-align: center;
  font-family: var(--ff-sub);
}
.top-lead-subcatch {
  color: var(--c-pri);
  margin-bottom: 3rem;
}
.top-lead {
  line-height: 2;
  padding-bottom: 3rem;
  background-color: var(--c-base-pri);
  padding: 1rem 3rem;
  border-radius: var(--radius-prime);
  margin-bottom: 3rem;
}
.p-right {
  text-align: right;
}
.thirdview-area {
  background-color: var(--c-base-sub);
  padding: 0.5rem 0 2.5rem;
}
.thirdview-area > div {
  max-width: 1000px;
}
/*お知らせ*/
.post-top-header {
  color: var(--c-pri);
  font-size: var(--fs-large);
  font-weight: bold;
  font-family: var(--ff-sub);
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  border-bottom: 2px dotted var(--c-pri);
  padding-bottom: 0.5rem;
}
.post-top-header span {
  font-family: var(--ff-sub);
  letter-spacing: 0.05rem;
  display: inline-block;
  margin-bottom: 0.2rem;
  margin-right: -0.2rem;
}
.post-top {
  background-color: var(--c-base-pri);
  border-radius: var(--radius-prime);
  padding: 1rem;
  height: 20rem;
  overflow-y: scroll;
}
.post-top ul {
  list-style: none;
}
.post-top ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dotted var(--c-gray);
  padding: 1rem 0;
}

.post-top-date {
  font-family: var(--ff-aux);
  font-size: var(--fs-xsmall);
  display: inline-block;
  width: 6rem;
}
.post-top-title {
  font-size: var(--fs-prime);
  margin-right: 0.5rem;
  font-weight: bold;
}

.category-name {
  background-color: var(--c-pri);
  color: var(--c-txt-reverse);
  font-family: var(--ff-aux);
  font-size: var(--fs-xsmall);
  /* font-weight: bold; */
  border-radius: var(--radius-small);
  padding: 0.1rem 0.5rem;
  margin-right: 0.5rem;
  /*text-shadow: 1px 1px 0 rgba(5, 3, 100, 0.5);*/
}
.uncategorized {
  background-color: var(--c-sub);
}
.vehicle {
  background-color: var(--c-caution);
}
.work {
  background-color: var(--c-aux);
}

.fourthview-area {
  background-color: var(--c-base-pri);
  padding: 3rem 0 5rem;
}
/*トップバナーリンク*/
.top-bnr-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 2rem 0;
}
.top-bnr {
  background-color: var(--c-base-aux);
  /* border: 3px solid var(--c-sub); */
  /* border-radius: var(--radius-large); */
  /* padding: 0 1.5rem 1.5rem; */
}
.top-bnr-img img {
  aspect-ratio: 1;
  object-fit: cover;
}
.top-bnr-cont {
  position: relative;
  padding: 0 1rem 1rem;
}
.top-bnr h3 {
  position: absolute;
  top: -4rem;
  left: -5px;
  background-color: var(--c-pri);
  color: var(--c-txt-reverse);
  padding: 0.25rem 1rem;
  /* border-left: 5px solid var(--c-aux); */
}

.top-bnr .btn-wrap {
  text-align: right;
}
.js-scroll {
  transition: all 0.4s ease-in-out; /* フェードアウトのアニメーション */
  opacity: 1; /* 初期状態：表示されている */
}

.js-scroll.is-active {
  opacity: 0; /* スクロール時：透明になる（消える） */
  transform: scale(1.1) translate(0, -100px);
  overflow: hidden;
}

/* .entry-header {
  border-bottom: var(--c-second) 1px dotted;
}
.entry-meta {
  font-size: 0.8rem;
  margin-top: -1.8rem;
  padding: 0.5rem 0;
  text-align: right;
}*/

/* Posts and pages
--------------------------------------------- */
/* コンテンツエリア（Main+Sidebar）
--------------------------------------------- */
.content-area {
  background-color: var(--c-base-pri);
  margin-top: 1rem;
  margin-bottom: 5rem;
  /*メインコンテンツとサイドバーの並び*/
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem;
  row-gap: 2rem;
}
/* メインエリア
--------------------------------------------- */
.site-main {
  background-color: var(--c-base-sub);
  padding: 1rem;
  border-radius: var(--radius-small);
}
/*固定ページ入力がない場合も高さを確保*/
.page .site-main .entry-content {
  min-height: 25rem;
}

.site-main article {
  background-color: var(--c-base-pri);
  padding: 2rem;
  padding-top: 1rem;
  border-radius: var(--radius-prime);
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}
.content-area article p {
  margin-bottom: 1.5em;
  padding-left: 1rem;
}
.content-area article ul,
.content-area article ol {
  background-color: var(--c-base-aux);
  border-radius: var(--radius-small);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.content-area article ul li,
.content-area article ol li {
  list-style-position: inside;
  border-bottom: 1px dotted var(--c-txt);
  padding: 0.5rem 1rem;
}
.content-area article ul li {
  list-style-type: none;
}
.wp-block-image {
  /* margin: 0; */
}
.sticky {
  display: block;
}
.post,
.page {
  margin: 0 0 1.5em;
}
.updated:not(.published) {
  display: none;
}
.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
.entry-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.5rem 1rem;
  margin-top: 2rem;
  border-top: 1px dotted var(--c-txt);
  border-bottom: 1px dotted var(--c-txt);
  font-size: var(--fs-small);
  font-family: var(--ff-aux);
  /* border-radius: var(--radius-prime); */
}
.entry-footer span + span {
  border-left: 1px dotted;
  padding-left: 1rem;
}
/*固定ページ子ページリスト*/
.child-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1rem;
  /* background-color: var(--c-base-sub); */
}
/*追加css（ダッシュボードで指定が必要）*/
.column-prime {
  background-color: var(--c-base-aux);
  border-radius: var(--radius-prime);
  padding: 0 1rem;
}
/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}
.comment-respond {
  background-color: var(--c-base-aux);
  border-radius: var(--radius-prime);
  padding: 0.5rem 1rem;
  margin-top: 2rem;
}
.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}
/* サイドバー
--------------------------------------------- */
#secondary {
  font-family: var(--ff-aux);
}
#secondary h2 {
  font-size: var(--fs-prime);
  color: var(--c-pri);
}
#secondary li {
  padding: 0.25rem 0;
}
.postform {
  font-family: var(--ff-aux);
  font-size: var(--fs-small);
  border-radius: var(--radius-small);
}

/* Sidebar非表示
--------------------------------------------- */
.home #secondary {
  display: none;
}
.page #secondary {
  display: none;
}
