@charset "UTF-8";
/*!
Theme Name: toyota-loops
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: toyota-loops
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

toyota-loops is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# reset
# Base
	- タイポグラフィ
  - カラー
  - リンク
  - レイアウト
# Elements
  - 見出し
  - ボタン
# Components
  - header
  - footer
	- Navigation
  - big-menu
# Utilities
	- Accessibility
	- エディタ
  - Widgets
	- Media
	- Captions
	- Galleries

--------------------------------------------------------------*/
/* reset */
html {
  -webkit-text-size-adjust: none;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  line-break: strict;
  margin: 0;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  padding: 0;
  margin: 0;
  color: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

fieldset {
  min-inline-size: inherit;
  border: none;
  padding: 0;
  margin: 0;
}

label,
input {
  cursor: pointer;
}

input {
  padding: 0;
  margin: 0;
}

figure,
dl,
dt {
  margin: 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
  margin: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

p {
  margin: 0;
}

summary {
  display: block;
}

summary::marker {
  display: none;
}

summary::-webkit-details-marker {
  display: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* タイポグラフィ
--------------------------------------------- */
html,
body {
  overflow-x: hidden;
}

body {
  font-size: 100%;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-weight: 500;
}
em {
  font-style: normal;
}

/* カラー
--------------------------------------------- */
:root {
  color: var(--body-color);
  --primary-color: #e85000;
  --secondary-color: #f4cc2c;
  --third-color: #eb0a1e;
  --body-color: #222222;
  --contrast-color: #4e4e4e;
  --gray-1: #f0f0f0;
  --gray-2: #f2f2f2;
}

/* リンク
--------------------------------------------- */
/* レイアウト
--------------------------------------------- */
:root {
  --scroll-bar: 0px;
  --full: calc(100vw - var(--scroll-bar));
  --header-height: 80px;
  --footer-content: clamp(1290px, 1290 / 16 * 1rem, 1800px);
  --content: clamp(960px, 960 / 16 * 1rem, 1400px);
  scroll-padding: var(--header-height);
  scroll-behavior: smooth;
}

@media (width <= 87.5rem) {
  :root {
    --footer-content: var(--content);
  }
}

@media (width < 48rem) {
  :root {
    --header-height: 70px;
  }
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/* ボタン
--------------------------------------------- */
/* サイズ */
.arrowBtn-l {
  display: block;
  background-color: #fff;
  max-width: 480px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding-block: 10px;
  border-radius: 30px;
  margin: 0 auto;
  transition: 0.3s;
  width: 100%;
}

.arrowBtn-l p {
  position: relative;
}

/* 文字色 */
.arrowBtn-f-primary {
  color: var(--primary-color);
  background: #fff;
  border: 2px solid var(--primary-color);
}

.arrowBtn-f-black {
  color: #000;
  background: #fff;
  border: 2px solid #000;
}

.arrowBtn-f-default {
  color: var(--btn-f-color, #000);
  background: var(--btn-bg-color, #fff);
  border: 2px solid var(--btn-bd-color, #000);
}

@media (any-hover: hover) {
  .arrowBtn-f-primary:hover {
    color: #fff;
    background: var(--primary-color);
  }
  .arrowBtn-f-black:hover {
    color: #fff;
    background: #000;
  }
  .arrowBtn-f-default:hover {
    color: var(--btn-bg-color, #fff);
    background: var(--btn-f-color, #000);
  }
}
/* 矢印 */
.arrow::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  content: "";
  position: absolute;
  top: 50%;
  font-size: 12px;
}

@media (width < 48rem) {
  .arrow::before {
    width: 10px;
    height: 10px;
    font-size: 10px;
  }
}

/* 矢印の位置 */
.arrowBtn-to-next .arrow::before {
  right: 3%;
  border-top: 2px solid;
  border-left: 2px solid;
  transform: translateY(-50%) rotate(135deg);
}

.arrowBtn-to-back .arrow::before {
  left: 3%;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(-50%) rotate(-135deg);
}

.arrowBtn-to-bottom .arrow::before {
  right: 1em;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(calc((50% + 0.25em) * -1)) rotate(135deg);
}

/* アコーディオン
--------------------------------------------- */
.details-content {
  display: none;
}
.details summary {
  cursor: pointer;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* header
--------------------------------------------- */
#header {
  width: 100%;
  letter-spacing: -0.4em;
  height: var(--header-height);
  background-color: #fff;
  box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}

#header + * {
  margin-top: var(--header-height);
}

#header .header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 30px;
}

@media (width < 62rem) {
  #header .header-container {
    padding-right: 0;
  }
}
@media screen and (max-width: 540px) {
  #header .header-container {
    padding-left: 20px;
  }
}
#header .Block {
  letter-spacing: normal;
  display: inline-block;
  vertical-align: top;
}

#header .Block.corpname {
  width: 228px;
}

@media screen and (max-width: 540px) {
  #header .Block.corpname {
    width: 180px;
  }
}
#header .Block.corpname h1 a {
  display: block;
}

#header .Block.corpname img {
  width: 100%;
  height: auto;
}

#header .linksitem {
  display: flex;
}

@media (width < 62rem) {
  #header .linksitem {
    align-items: center;
    height: 100%;
    gap: 16px;
  }
}
@media (width < 62rem) {
  #header .linksitem .box-pc {
    display: none;
  }
}
#header .linksitem .pc_menu ul {
  display: flex;
  align-items: center;
  gap: 2.6041666667vw;
}

#header .linksitem .pc_menu ul a {
  position: relative;
  font-weight: bold;
  font-size: min(1.125rem, 27px);
}

#header .linksitem .pc_menu ul a::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: scale(0, 1);
  transition: 0.3s;
  background-color: var(--primary-color);
  transform-origin: top center;
}

#header .linksitem .pc_menu ul .current-menu-item a::after,
#header .linksitem .pc_menu ul a:hover::after {
  transform: scale(1, 1);
}

#header .linksitem .pc_menu ul .menu-item-page-recruit a {
  color: #eb0a1e;
  font-weight: bold;
  border: 1px solid #eb0a1e;
  padding-inline: 24px;
  border-radius: 30px;
  transition: 0.3s;
  padding-block: 4px;
}

#header .linksitem .pc_menu ul .menu-item-page-recruit a::after {
  content: unset;
}

#header .linksitem .pc_menu ul .menu-item-page-recruit a:hover {
  color: #fff;
  background-color: #eb0a1e;
}

@media (width < 62rem) {
  #header .linksitem .box-sp.sp_menu {
    display: block;
    margin-top: 6px;
  }
}
#header .linksitem .box-sp.sp_menu #nav-toggle .inner {
  width: 36px;
  height: 20px;
  position: relative;
  margin-bottom: 10px;
  display: block;
}

#header .linksitem .box-sp.sp_menu #nav-toggle .inner span:empty {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  position: absolute;
  left: 0;
}

#header .linksitem .box-sp.sp_menu #nav-toggle .inner span:nth-child(1) {
  top: 0;
  transition: top 0.3s;
}

#header .linksitem .box-sp.sp_menu #nav-toggle .inner span:nth-child(2) {
  top: 50%;
  transition: opacity 0.3s;
}

#header .linksitem .box-sp.sp_menu #nav-toggle .inner span:nth-child(3) {
  top: 100%;
  transition: top 0.3s;
}

#header .linksitem .box-sp.sp_menu #nav-toggle .title {
  display: block;
  width: 100%;
  font-size: 13px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

#header .linksitem .box-sp.sp_menu #nav-bg {
  width: 100%;
  position: fixed;
  z-index: 10001;
  top: var(--header-height);
  right: 0;
  background-color: #fff;
  padding: 12px 20px 56px 20px;
  box-shadow: 0px 3px 10px 3px rgba(34, 34, 34, 0.2);
  pointer-events: none;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top center;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s ease, opacity 0.2s ease, ease 0.2s;
  overflow: auto;
  height: min(calc(100svh - var(--header-height)), 606px);
}

@media screen and (max-width: 540px) {
  #header .linksitem .box-sp.sp_menu #nav-bg {
    top: 70px;
  }
}
#header .linksitem .box-sp.sp_menu #nav-bg .linksBlock {
  text-align: center;
}

#header .linksitem .box-sp.sp_menu #nav-bg .linksBlock li {
  position: relative;
  border-bottom: 2px solid #ccc;
}

#header .linksitem .box-sp.sp_menu #nav-bg .linksBlock li::before {
  content: unset;
}

#header .linksitem .box-sp.sp_menu #nav-bg .linksBlock li a {
  display: block;
  font-size: 20px;
  padding-block: 16px;
}

@media (any-hover: hover) {
  #header .linksitem .box-sp.sp_menu #nav-bg .linksBlock li a:hover {
    background-color: #ccc;
  }
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

#header .linksitem .box-sp.sp_menu #nav-bg .contactus .icon-r {
  width: 50%;
  color: #fff;
  background-color: #000;
  display: flex;
  border: 1px solid #000;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  gap: 6px;
  padding-block: 12px;
  border-radius: 30px;
}

#header .linksitem .box-sp.sp_menu #nav-bg .contactus .icon-r img {
  -webkit-filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
  filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
}

@media (any-hover: hover) {
  #header .linksitem .box-sp.sp_menu #nav-bg .contactus .icon-r:hover {
    background: #fff;
    color: #000;
  }
  #header .linksitem .box-sp.sp_menu #nav-bg .contactus .icon-r:hover img {
    -webkit-filter: none;
    filter: none;
  }
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus .contact {
  font-size: 1rem;
  font-weight: bold;
}

#header .linksitem .box-sp.sp_menu #nav-bg .contactus .contact img {
  max-width: 20px;
}

#header .linksitem .box-sp.sp_menu #nav-bg .contactus .tel {
  font-size: calc(18 / 16 * 1rem);
  font-weight: bold;
  font-family: "Barlow", sans-serif;
}

#header .linksitem .box-sp.sp_menu #nav-bg .contactus .tel img {
  max-width: 14px;
}

body:has(#nav-bg[aria-hidden="false"]) {
  /* overflow: hidden; */
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

#header
  .linksitem
  .box-sp.sp_menu
  #nav-toggle[aria-expanded="true"]
  .inner
  span:nth-child(2) {
  opacity: 0;
  transition: opacity 0.05s 0.3s;
}

#header
  .linksitem
  .box-sp.sp_menu
  #nav-toggle[aria-expanded="true"]
  .inner
  span:nth-child(1),
#header
  .linksitem
  .box-sp.sp_menu
  #nav-toggle[aria-expanded="true"]
  .inner
  span:nth-child(3) {
  transition: 0.3s cubic-bezier(0.36, -0.42, 0.68, -0.56), transform 0.3s 0.3s;
  top: 50%;
}

#header
  .linksitem
  .box-sp.sp_menu
  #nav-toggle[aria-expanded="true"]
  .inner
  span:nth-child(1) {
  transform: rotate(30deg);
}

#header
  .linksitem
  .box-sp.sp_menu
  #nav-toggle[aria-expanded="true"]
  .inner
  span:nth-child(3) {
  transform: rotate(-30deg);
}

#header .linksitem .box-sp.sp_menu #nav-bg[aria-hidden="false"] {
  visibility: visible;
  transform: scaleY(1);
  pointer-events: auto;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s ease, opacity 0.3s ease;
}

@media (width < 62rem) {
  #header .linksitem .box-sp.recruit {
    display: block;
  }
}
#header .linksitem .box-sp.recruit .icon-c {
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
  justify-content: center;
  color: #fff;
  background-color: #eb0a1e;
  padding-inline: 12px;
  border: 2px solid #eb0a1e;
  gap: 6px;
}

@media screen and (max-width: 540px) {
  #header .linksitem .box-sp.recruit .icon-c {
    height: 70px;
    width: 70px;
    padding-inline: 0;
    font-size: 0.8125rem;
  }
}
#header .linksitem .box-sp.recruit .icon-c img {
  max-width: 40px;
}

#header .linksitem .box-sp.recruit .icon-c:hover {
  color: #eb0a1e;
  background-color: #fff;
}

#header .linksitem .box-sp.recruit:hover img {
  -webkit-filter: brightness(0) saturate(100%) invert(15%) sepia(100%)
    saturate(7266%) hue-rotate(351deg) brightness(99%) contrast(89%);
  filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(7266%)
    hue-rotate(351deg) brightness(99%) contrast(89%);
}

#header .linksitem .box-sp {
  display: none;
}

/* footer
--------------------------------------------- */
@media (width < 62rem) {
  #footer.site-footer #footer-pc {
    display: none;
  }
}
#footer.site-footer {
  --side: 20px;
}
#footer.site-footer #footer-pc {
  background-color: var(--contrast-color);
  padding-inline: var(--side);
}
#footer.site-footer #footer-pc .block01 {
  padding-block: 62px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  /* gap: 90px; */
  max-width: var(--footer-content);
  margin-inline: auto;
}

#footer.site-footer #footer-pc .block01 .info .name {
  font-size: min(30 / 16 * 1rem, 30 * 1.2px);
  font-weight: bold;
  margin-bottom: 8px;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  line-height: 1;
}

#footer.site-footer #footer-pc .block01 .info .address {
  margin-bottom: 24px;
  font-size: calc(14 / 16 * 1rem);
}

#footer.site-footer #footer-pc .block01 .info .contactus {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(260 / 16 * 1rem);
}

#footer.site-footer #footer-pc .block01 .info .contactus .button .icon-r {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  background-color: #fff;
  border: 2px solid #fff;
  padding-block: 4px;
  line-height: 1.4;
  border-radius: 50px;
  gap: 8px;
}

#footer.site-footer #footer-pc .block01 .info .contactus .button .icon-r:hover {
  color: #fff;
  background-color: #222;
}

#footer.site-footer
  #footer-pc
  .block01
  .info
  .contactus
  .button
  .icon-r:hover
  img {
  -webkit-filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
  filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
}

#footer.site-footer #footer-pc .block01 .info .contactus .contact img {
  max-width: 23px;
}

#footer.site-footer #footer-pc .block01 .info .contactus .tel img {
  max-width: 15px;
}

#footer.site-footer #footer-pc .block01 .footer-menu .container {
  display: flex;
  gap: 40px;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu li {
  margin-block: 4px;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu > li > a {
  font-weight: bold;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu > li {
  margin-bottom: 24px;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu > li:first-of-type {
  margin-top: calc((1 - 1.5) * 0.5em); /* 上の行間を消す */
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a {
  margin-bottom: 10px;
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
  line-height: 1.5;
}

#footer.site-footer #footer-pc .block01 .footer-menu .sub-menu li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: #fff;
  transform: rotate(135deg);
  margin-right: 6px;
}

#footer.site-footer #footer-pc .block01 .footer-menu .sub-menu li {
  font-size: calc(14 / 16 * 1rem);
}

#footer.site-footer #footer-pc .block01 .footer-menu .sub-menu .sub-menu {
  -webkit-margin-start: 1em;
  margin-inline-start: 1em;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a {
  position: relative;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: scale(0, 1);
  transition: 0.3s;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a::after {
  background-color: #fff;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a::after {
  transform-origin: top left;
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu a:hover::after {
  transform: scale(1, 1);
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu .sub-item {
  padding-left: 1.5em;
}

#footer.site-footer #footer-sp {
  display: none;
}

#footer.site-footer #footer-sp .block01 .menu li a,
#footer.site-footer #footer-sp .block02 .menu li a {
  display: block;
  width: 100%;
  position: relative;
}

@media (width < 62rem) {
  #footer.site-footer #footer-sp {
    display: block;
  }
  #footer.site-footer #footer-sp .block01 .menu li a,
  #footer.site-footer .block02 .menu li a {
    padding: 16px var(--side);
    display: block;
    font-weight: bold;
  }
}
#footer.site-footer #footer-sp .block01 .menu .line {
  position: relative;
  transform-origin: top left;
}

#footer.site-footer #footer-sp .block01 .menu .line::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: scale(0, 1);
  transition: 0.3s;
}

#footer.site-footer #footer-sp .block01 .menu .line::after {
  background-color: #fff;
}

#footer.site-footer #footer-sp .block02 .menu .line {
  position: relative;
  transform-origin: top left;
}

#footer.site-footer #footer-sp .block02 .menu .line::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: scale(0, 1);
  transition: 0.3s;
}

#footer.site-footer #footer-sp .block02 .menu .line::after {
  background-color: #000;
}

#footer.site-footer #footer-sp .block01 .menu a:hover .line::after,
#footer.site-footer #footer-sp .block02 .menu a:hover .line::after {
  transform: scale(1, 1);
}

#footer.site-footer #footer-sp .block01 {
  color: #fff;
  background-color: #222222;
}

#footer.site-footer #footer-sp .block01 .info {
  padding: 32px var(--side) 0;
  margin-bottom: 24px;
}

#footer.site-footer #footer-sp .block01 .info .name {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 8px;
}

#footer.site-footer #footer-sp .block01 .info .address {
  margin-bottom: 24px;
}

#footer.site-footer #footer-sp .block01 .info .contactus {
  display: flex;
  gap: 12px;
}

#footer.site-footer #footer-sp .block01 .info .contactus .button {
  width: 50%;
  font-weight: bold;
  color: #222;
  background-color: #fff;
  border: 2px solid #fff;
  padding-block: 8px;
  border-radius: 1000px;
}

#footer.site-footer #footer-sp .block01 .info .contactus .button .icon-r {
  gap: 8px;
}

#footer.site-footer #footer-sp .block01 .info .contactus .button:hover {
  color: #fff;
  background-color: #222;
}

#footer.site-footer
  #footer-sp
  .block01
  .info
  .contactus
  .button
  .icon-r:hover
  img {
  -webkit-filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
  filter: brightness(0) saturate(100%) invert(100%) brightness(100%);
}

#footer.site-footer #footer-sp .block01 .info .contactus .contact img {
  max-width: 23px;
}

#footer.site-footer #footer-sp .block01 .info .contactus .contact {
  font-size: min(18 / 16 * 1rem, 27px);
}
@media screen and (width < 48rem) {
  #footer.site-footer #footer-sp .block01 .info .contactus .contact {
    font-size: min((18 - 2) / 375 * 100vw, 18 / 16 * 1rem);
  }
}

#footer.site-footer #footer-sp .block01 .info .contactus .tel img {
  max-width: 15px;
}

#footer.site-footer #footer-sp .block01 .info .contactus .tel {
  font-size: min(20 / 16 * 1rem, 30px);
  font-family: "Barlow", sans-serif;
}
@media screen and (width < 48rem) {
  #footer.site-footer #footer-sp .block01 .info .contactus .tel {
    font-size: min((20 - 2) / 375 * 100vw, 20 / 16 * 1rem);
  }
}

@media screen and (max-width: 540px) {
  #footer.site-footer #footer-sp .block01 .info .contactus .button {
    padding-block: 4px;
  }
}
#footer.site-footer #footer-sp .block01 .menu .container {
  display: flex;
  gap: 54px;
}

#footer.site-footer #footer-sp .block01 .menu li {
  border-top: 1px solid #fff;
  position: relative;
}

#footer.site-footer #footer-sp .block01 .menu > li > a {
  -webkit-padding-end: calc(3% + 20px);
  padding-inline-end: calc(3% + 20px);
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item:not(.menu-item-has-children)
  > a::before {
  transition: 0.3s;
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 3%;
  width: 12px;
  height: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-color: #fff;
  transform: rotate(135deg) translateY(50%);
}

@media screen and (width < 48rem) {
  #footer.site-footer #footer-sp .block01 .menu > li > a::before {
    width: 10px;
    height: 10px;
  }
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item-has-children
  > a::before,
#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item-has-children
  > a::after {
  content: "";
  transition: transform 0.3s;
  display: block;
  position: absolute;
  top: 50%;
  right: 3%;
  border-top: 2px solid #fff;
  width: 12px;
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item-has-children
  > a::before {
  /* transform: translateY(50%); */
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item-has-children
  > a::after {
  transition: transform 0.15s;
  transform: rotate(90deg) translateX(1px);
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  > .menu-item-has-children
  > a[aria-expanded="true"]::after {
  transform: none;
}

#footer.site-footer #footer-sp .block01 .menu .sub-menu-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  padding-bottom: 12px;
}

@media (scripting: enabled) {
  #footer.site-footer #footer-sp .block01 .menu > li > .sub-menu {
    display: none;
  }
}
#footer.site-footer #footer-sp .block01 .menu .sub-menu > * {
  flex-basis: calc((100% - 12px) / 2);
}

#footer.site-footer #footer-sp .block01 .menu .sub-menu li {
  border: 0;
}

#footer.site-footer #footer-sp .block01 .menu .sub-menu li a {
  width: auto;
  display: inline-block;
  font-size: 12px;
  padding-inline: 36px 16px;
  padding-block: 6px;
}

#footer.site-footer #footer-sp .block01 .menu .sub-menu li a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: #fff;
  transform: translateY(-3px) rotate(135deg);
  margin-right: 12px;
  position: absolute;
  left: 20px;
  top: 50%;
}

#footer.site-footer
  #footer-sp
  .block01
  .menu
  .sub-menu
  .sub-menu
  .sub-menu-inner {
  display: block;
  -webkit-margin-start: 1em;
  margin-inline-start: 1em;
}

#footer.site-footer .block02 {
  background: #fff;
  padding-inline: var(--side);
}
#footer.site-footer .footer-sub-inner {
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
  max-width: var(--footer-content);
  margin-inline: auto;
}

#footer.site-footer .block02 .menu ul {
  font-size: calc(14 / 16 * 1rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer.site-footer .block02 .menu ul li {
  font-weight: bold;
  position: relative;
}

#footer.site-footer .block02 .menu ul li a {
  position: relative;
  font-feature-settings: "palt";
}

#footer.site-footer .block02 .menu ul li a::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -2px;
  transform: scale(0, 1);
  transition: 0.3s;
}

#footer.site-footer .block02 .menu ul li a::after {
  background-color: #000;
}

#footer.site-footer .block02 .menu ul li a::after {
  transform-origin: top center;
}

@media (any-hover: hover) {
  #footer.site-footer .block02 .menu ul li a:hover::after {
    transform: scale(1, 1);
  }
}

#footer.site-footer .block02 .menu ul li::after {
  content: "｜";
  display: inline-block;
  margin-inline: 16px;
}

#footer.site-footer .block02 .menu ul li:last-of-type:after {
  content: unset;
}

#footer.site-footer .block02 .copyright {
  font-size: calc(13 / 16 * 1rem);
}

@media (width < 62rem) {
  #footer.site-footer .block02 {
    padding: 0;
  }
  #footer.site-footer .footer-sub-inner {
    display: block;
    padding: 0;
  }
  #footer.site-footer .block02 .menu ul {
    display: block;
  }
  #footer.site-footer .block02 .menu ul li {
    border-bottom: 1px solid #999;
    border-left: 0;
    border-right: 0;
  }
  #footer.site-footer .block02 .menu ul li::after {
    content: unset;
  }
  #footer.site-footer .block02 .menu ul li a::after {
    content: unset;
  }
  #footer.site-footer .block02 .menu ul li:first-child {
    border-top: 1px solid #999;
  }
  #footer.site-footer .block02 .copyright {
    text-align: center;
    background-color: #f0f0f0;
    padding-block: 16px;
    font-size: calc(12 / 16 * 1rem);
  }
}

div.CenterLayout {
  max-width: 1300px;
  margin: 0 auto;
  padding-inline: 20px;
}

.icon-r {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

/* Accessibility
--------------------------------------------- */
.alternative {
  position: fixed !important;
  inset: 0 !important;
  display: block !important;
  inline-size: 4px !important;
  block-size: 4px !important;
  contain: strict !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

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

.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;
  -webkit-clip-path: none;
  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;
}

#first-archive[tabindex="-1"]:focus {
  outline: 0;
}

/* エディタ
--------------------------------------------- */

main .entry-content {
  margin-bottom: 100px;
}

:where(.entry-content) a{
    box-shadow: 0 1px 0 0 currentColor;
    transition: 0.3s box-shadow ease;
}

@media (any-hover:hover){
    :where(.entry-content) a:hover{
        box-shadow: 0 1px 0 0 transparent;
    }
}

:where(.entry-content) p:empty {
  display: none;
}
:where(.page .entry-content) .head-group {
  margin-bottom: 20px;
}

:where(.entry-content) em.bold {
  font-weight: bold;
}

:where(.entry-content) img {
  display: inline-block;
  -o-object-fit: cover;
  object-fit: cover;
}

:where(.entry-content) .aligncenter {
  /* text-align: center; */
  width: fit-content;
  margin-inline: auto;
}

:where(.entry-content) .alignright {
  width: fit-content;
  margin-inline-start: auto;
}

:where(.entry-content) .alignleft {
  width: fit-content;
  margin-inline-end: auto;
}

:where(.entry-content) .aligncenter {
  /* text-align: center; */
  /* width: fit-content; */
  display: block;
  margin-inline: auto;
}

:where(.entry-content) .alignright {
  /* width: fit-content; */
  display: block;
  margin-inline-start: auto;
}

:where(.entry-content) .alignleft {
  /* width: fit-content; */
  display: block;
  margin-inline-end: auto;
}

:where(.entry-content) ul {
  list-style-type: disc;
  margin-inline-start: 1em;
}

:where(.entry-content) ol {
  list-style-type: decimal;
  margin-inline-start: 1em;
}

:where(.entry-content) table {
  max-width: 100%;
  border-collapse: collapse;
}

:where(.entry-content) th {
  background: var(--gray-2);
}

:where(.entry-content) :is(th, td) {
  border: 1px solid #ccc;
  padding: 4px 6px;
}

:where(.entry-content) .table-wrap {
  overflow: auto;
}

@media (width < 48rem) {
  :where(.page .entry-content) .head-group {
    margin-bottom: 30px;
  }
  :where(.entry-content) table {
    width: auto !important;
    table-layout: fixed;
    max-width: unset;
  }
  :where(.entry-content) :is(th, td) {
    width: auto !important;
  }
  :where(.entry-content) table.flow {
    width: max-content !important;
  }
  :where(.entry-content) table.flow :is(th, td) {
    max-width: 12em;
    word-break: break-all;
  }
}

/* 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-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.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;
}
