@charset "UTF-8";
/*!
Theme Name: toyota-loops
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.1.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;
  font-weight: inherit;
}

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

:where(button, [type="button"], [type="reset"], [type="submit"]) {
  touch-action: manipulation;
}

/*--------------------------------------------------------------
# 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 {
  --primary-color: #e85000;
  --secondary-color: #f4cc2c;
  --third-color: #eb0a1e;
  --body-color: #222222;
  --rich-black: #000;
  --contrast-color: #4e4e4e;
  --gray-1: #f0f0f0;
  --gray-2: #f2f2f2;
  --site-bg: #ffffff;
  --light-color: #ffffff;
  --primary-bg: #e85000;
  --secondary-bg: #f4cc2c;
  --third-bg: #eb0a1e;
  --tab-bg: #fadccc;
  --radio-bg: #fff;
  --radio-text-color: #e85000;
  --radio-hover-bg: #fadccc;
  --radio-hover-color: #e85000;
  --soft-bg: #fff8d9;
  --gradation-color-1: #f4a11a;
  --gradation-color-2: #eb6619;
  --gradation-color-3: #eb0a1e;
  --gradation-color-4: #e85000;
  --gradation-color-5: #ffe580;
  --gradation-color-6: #f4cc2c;
  --gradation-color-7: #fcc800;
  --label-color: #eb0a1e;
  --logo-color: #231815;
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --overlay-bg-light: rgba(255, 255, 255, 0.8);
}

body {
  background: var(--site-bg);
  color: var(--body-color);
}

body :is(.img-black, .img-blue) {
  display: none;
}

body.theme-black {
  --primary-color: #ff8c42;
  --secondary-color: #f4d03f;
  --third-color: #f06292;
  --body-color: #f5f5f5;
  --rich-black: #f5f5f5;
  /* --contrast-color: #b0b0b0; */
  --gray-1: #2e2e2e;
  --gray-2: #3a3a3a;
  --site-bg: #121212;
  --light-color: #121212;
  --primary-bg: #6a2e12;
  --secondary-bg: #7a5c00;
  --third-bg: #8a2be2;
  --tab-bg: #1a1a1a;
  --radio-bg: #1a1a1a;
  --radio-text-color: #fff;
  --radio-hover-color: #ff8c42;
  --radio-hover-bg: #1a1a1a;
  --soft-bg: #3a3a3a;
  --gradation-color-1: #6a2e12;
  --gradation-color-2: #4a0c14;
  --gradation-color-3: #2a0a12;
  --gradation-color-4: #6a2e12;
  --gradation-color-5: #5c4a00;
  --gradation-color-6: #7a5c00;
  --gradation-color-7: #8c6500;
  /* --mainimg-bg: linear-gradient(to bottom, #111111, #1a0f14 50% 75%, #1c0a10); */
  --label-color: #f5f5f5;
  --logo-color: #fff;
  --overlay-bg: rgba(0, 0, 0, 0.65);
  --overlay-bg-light: rgba(18, 18, 18, 0.8);
  --a11y-filter-1: brightness(0.8) saturate(0.5);
  --a11y-filter-2: brightness(0.8) contrast(1.1);
  --shape-recruit-color: #6a2e12;
}

body.theme-black :is(.img-white, .img-blue) {
  display: none;
}
body.theme-black .img-black {
  display: block !important;
}

body.theme-blue {
  --primary-color: #fdb861;
  --secondary-color: #ffe566;
  --third-color: #fc898b;
  --body-color: #ffffff;
  --rich-black: #f5f5f5;
  --contrast-color: #061f4d;
  /* --gray-1: #0f4fa8; */
  --gray-1: #134aa3;
  /* --gray-2: #1e5db8; */
  --gray-2: #1a3f6b;
  /* --site-bg: #003b8e; */
  /* --site-bg: #0f4fa8; */
  --site-bg: #0a3a78;
  --light-color: #003b8e;
  --primary-bg: #000f26;
  --secondary-bg: #7a5c00;
  --third-bg: #00695c;
  --tab-bg: #003b8e;
  --radio-bg: #003b8e;
  --radio-text-color: #fff;
  --radio-hover-color: #ff8c42;
  --radio-hover-bg: #003b8e;
  --soft-bg: #1e5db8;
  --gradation-color-1: #0d1b2a;
  --gradation-color-2: #132f4c;
  --gradation-color-3: #1b263b;
  --gradation-color-4: #000f26;
  --gradation-color-5: #5c4a00;
  --gradation-color-6: #7a5c00;
  --gradation-color-7: #8c6500;
  /* --page-header-bg: linear-gradient(-135deg, #000f26, #002a5c 70%, #004fc4); */
  --label-color: #ffffff;
  --logo-color: #fff;
  --overlay-bg: rgba(0, 0, 0, 0.65);
  --overlay-bg-light: rgba(0, 59, 42, 0.8);
  --a11y-filter-1: brightness(0.8) saturate(0.5);
  --a11y-filter-2: brightness(0.8) contrast(1.1);
  --shape-recruit-color: #000f26;
}

body.theme-blue :is(.img-white, .img-black) {
  display: none;
}
body.theme-blue .img-blue {
  display: block !important;
}

/* リンク
--------------------------------------------- */

a:not([href]) {
  pointer-events: none;
}

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

html,
body {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

@media (width < 48rem) {
  :root {
    --header-height: min(70 / 16 * 1rem, 96px);
  }
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/* ボタン
--------------------------------------------- */
/* サイズ */
.arrowBtn-l {
  display: block;
  background-color: var(--light-color);
  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,
.arrowBtn-l .inner {
  position: relative;
  display: block;
}

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

.arrowBtn-f-black {
  color: var(--rich-black);
  background: var(--light-color);
  border: 2px solid var(--rich-black);
}

.arrowBtn-f-default {
  color: var(--btn-f-color, var(--rich-black));
  background: var(--btn-bg-color, var(--light-color));
  border: 2px solid var(--btn-bd-color, var(--rich-black));
}

@media (any-hover: hover) {
  .arrowBtn-f-primary:hover {
    color: var(--light-color);
    background: var(--primary-color);
  }
  .arrowBtn-f-black:hover {
    color: var(--light-color);
    background: var(--rich-black);
  }
  .arrowBtn-f-default:hover {
    color: var(--btn-bg-color, var(--light-color));
    background: var(--btn-f-color, var(--rich-black));
  }
}
/* 矢印 */
.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 < 75rem) {
  #header .header-container {
    padding-inline: 20px;
  }
}
@media (width < 62rem) {
  #header .header-container {
    padding-right: 0;
  }
}
@media screen and (max-width: 540px) {
  #header .header-container {
    padding-left: 8px;
  }
}
#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: 170px;
  }
}
#header .Block.corpname h1 a {
  display: block;
}

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

#header .linksitem {
  display: flex;
  align-items: center;
}

@media (width < 62rem) {
  #header .linksitem {
    align-items: center;
    height: 100%;
    gap: 16px;
  }
}

@media (width < 62rem) {
  #header .linksitem .box-pc {
    display: none;
  }
}

@media screen and (max-width: 540px) {
  #header .linksitem {
    gap: 12px;
  }
}
#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);
  color: #222;
}

#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: var(--third-bg);
  font-weight: bold;
  border: 1px solid var(--third-bg);
  padding-inline: 24px;
  border-radius: 30px;
  transition: 0.3s;
  padding-block: 4px;
  background: #fff;
}

#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: var(--third-bg);
}

@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;
  margin-inline: auto;
}

#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;
  color: #222;
}

#header .linksitem .box-sp.sp_menu #nav-bg {
  width: 100%;
  position: fixed;
  z-index: 10001;
  top: var(--header-height);
  right: 0;
  background-color: var(--light-color);
  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: var(--gray-1);
  }
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus > * {
  width: 50%;
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus .note {
  font-size: clamp(12px, 10 / 375 * 100vw, 14px);
  margin-top: 4px;
}
#header .linksitem .box-sp.sp_menu #nav-bg .contactus .icon-r {
  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 a:hover {
    background: #fff;
    color: #000;
  }
  #header .linksitem .box-sp.sp_menu #nav-bg .contactus a: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;
    height: 100%;
  }
}
#header .linksitem .box-sp.recruit .icon-c {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    background-color 0.3s,
    color 0s;
  justify-content: center;
  color: #fff;
  background-color: var(--third-bg);
  padding-inline: 12px;
  border: 2px solid var(--third-bg);
  gap: 6px;
}

#header .linksitem .box-sp.recruit .icon-c .icon {
  display: inline-block;
  width: 40px;
  height: 23px;
  flex-shrink: 0;
  mask-image: url("image/share/recruit.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  background: currentColor;
}

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

@media (any-hover: hover) {
  #header .linksitem .box-sp.recruit .icon-c:hover {
    color: var(--third-bg);
    background-color: #fff;
  }
  #header .linksitem .box-sp.recruit .icon-c: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 .note {
  margin-top: -6px;
  font-size: 75%;
}
/* #footer.site-footer #footer-pc .block01 .info .contactus .button .icon-r { */
#footer.site-footer #footer-pc .block01 .info .contactus .button {
  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;
}

@media (any-hover: hover) {
  #footer.site-footer #footer-pc .block01 .info .contactus a.button:hover {
    color: #fff;
    background-color: #222;
  }

  #footer.site-footer #footer-pc .block01 .info .contactus a.button: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 {
  display: grid;
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  gap: 0 40px;
  grid-template-areas:
    "top company works interviews"
    "news company support recruit";
}

#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.top {
  grid-area: top;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.news {
  grid-area: news;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.company {
  grid-area: company;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.works {
  grid-area: works;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.interviews {
  grid-area: interviews;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.support {
  grid-area: support;
}
#footer.site-footer #footer-pc .block01 .footer-menu .menu-item.recruit {
  grid-area: recruit;
}

#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;
  align-items: flex-start;
}
#footer.site-footer #footer-sp .block01 .info .contactus > * {
  width: 50%;
}

#footer.site-footer #footer-sp .block01 .info .contactus .note {
  padding-inline: 10px;
  font-size: min(10 / 375 * 100vw, 14px);
  line-height: 1.4;
  margin-top: 4px;
}

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

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

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

#footer.site-footer
  #footer-sp
  .block01
  .info
  .contactus
  .button[href]:hover
  .icon-r
  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: grid;
  grid-template-columns: min(45%, 14em) 1fr;
  gap: 0 0px;
  padding-bottom: 12px;
}

#footer.site-footer #footer-sp .block01 .menu .sub-menu-inner .all {
  display: contents;
}
/* #footer.site-footer #footer-sp .block01 .menu #sub-menu-7 .sub-menu-inner {
  grid-template-rows: auto 1fr auto;
}
#footer.site-footer #footer-sp .block01 .menu #sub-menu-7 .application {
  grid-column: 2;
  grid-row: 1 / 3;
} */

@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: calc(6px + 0.9em);
}

#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: var(--site-bg);
  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: var(--rich-black);
}

#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;
    max-width: unset;
  }
  #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: var(--gray-1);
    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,
#sr-announce {
  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,
#sr-announce: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;
}

/* ══════════════════════════════════════
       アクセシビリティ起動ボタン（右上固定）
    ══════════════════════════════════════ */
#a11y-trigger {
  /* position: fixed; */
  /* top: 1.1rem; */
  /* right: 1.25rem; */
  /* z-index: 10000; */
  display: flex;
  align-items: center;
  gap: 0;
  flex-direction: column;
  padding-inline: 12px;
  background: var(--primary-bg);
  color: var(--body-color);
  justify-content: center;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  font-size: calc(14 / 16 * 1rem);
  font-weight: bold;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(255, 107, 0, 0.45);
  margin-left: 2.6041666667vw;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.2s;
}
#a11y-trigger .small {
  font-size: 64%;
}
@media (any-hover: hover) {
  #a11y-trigger:hover {
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.5);
  }
}
#a11y-trigger:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}
#a11y-trigger svg {
  flex-shrink: 0;
}

@media (width < 62rem) {
  #a11y-trigger {
    border-radius: 0;
    margin-left: -16px;
    width: min(64 / 16 * 1rem, 120px);
    height: var(--header-height);
    box-shadow: none;
  }
  @media (any-hover: hover) {
    #a11y-trigger:hover {
      box-shadow: none;
    }
  }
}

@media (width < 36rem) {
  #a11y-trigger {
    width: 64px;
    font-size: min(14 / 16 * 1rem, 16px);
  }
}

/* ══════════════════════════════════════
       パネル本体
    ══════════════════════════════════════ */
#a11y-panel {
  position: fixed;
  top: var(--header-height);
  right: 28px;
  z-index: calc(infinity);
  width: clamp(230px, 230 / 16 * 1rem, 80%);
  background: #ffffff;
  border: 3px solid var(--primary-bg);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  padding: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  color: #1a1a1a; /* パネル内は常に白背景・黒文字 */

  /* 非表示状態 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

@media (width < 36rem) {
  #a11y-panelr {
    right: 14px;
  }
}

#a11y-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

/* 閉じるボタン */
.panel-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  transition: background 0.15s;
}
.panel-close:hover {
  background: #f0f0f0;
}
.panel-close:focus-visible {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

/* セクションラベル */
.p-section {
  margin-bottom: 0.95rem;
}
.p-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  display: block;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.25rem;
}
.btn-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* ── 汎用ピルボタン ── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #ccc;
  background: #f8f8f8;
  color: #1a1a1a;
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    border-color 0.15s;
  white-space: nowrap;
}
.pill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
.pill-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.pill-btn:focus-visible {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

/* アクティブ状態 */
.pill-btn[aria-pressed="true"],
.pill-btn.active {
  border-color: #ff6b00;
  box-shadow: 0 0 0 2px #ff6b00;
}

/* ── 文字サイズボタン個別スタイル ── */
.btn-font-std {
  font-size: 0.78rem;
}
.btn-font-lg {
  font-size: 0.95rem;
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.btn-font-lg:hover {
  background: #333;
}
.btn-font-lg[aria-pressed="true"] {
  border-color: #ff6b00;
  box-shadow: 0 0 0 2px #ff6b00;
}

/* ── 背景色ボタン個別スタイル ── */
.btn-bg-white {
  background: #fff;
  color: #1a1a1a;
  border-color: #aaa;
}
.btn-bg-black {
  background: #141414;
  color: #fff;
  border-color: transparent;
}
.btn-bg-blue {
  background: #0f4fa8;
  color: #fff;
  border-color: transparent;
}

/* ── 動画無効化ボタン ── */
.btn-motion {
  width: 100%;
  background: #f8f8f8;
  color: #1a1a1a;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 0.45rem 0.9rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  text-align: center;
}
.btn-motion:hover {
  background: #eee;
}
.btn-motion[aria-pressed="true"] {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.btn-motion:focus-visible {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

/* ── サイト内検索 ── */
.search-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.search-row .searchform {
  width: 100%;
}
.search-input {
  flex: 1;
  padding: 0.42rem 0.65rem;
  font-size: 0.82rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.15s;
  width: 100%;
}
.search-input:focus {
  border-color: #ff6b00;
}
.search-btn {
  padding: 6px 16px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 5px;
  border-radius: 1000px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s;
}
.search-btn:hover {
  background: #333;
}
.search-btn:focus-visible {
  outline: 2px solid #ff6b00;
  outline-offset: 2px;
}

/* ══════════════════════════════════════
       オーバーレイ（パネル外クリックで閉じる）
    ══════════════════════════════════════ */
/* #a11y-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}
#a11y-overlay.open {
  display: block;
} */

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

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