/*!
Theme Name: wp_theme
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: wp_theme
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.

wp_theme 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.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 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;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
  margin: 100px 0 0 0;
}

@media screen and (max-width: 768px) {
  main {
    margin: 34px 0 0 0;
  }
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* 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.
 */

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
}

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

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -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"] {
  -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;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin: 0em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  font-family: "Noto Sans JP", sans-serif;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

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 {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

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

a:hover {
  opacity: 0.6;
}

@media (min-width: 767px) {
  a[href*="tel:"] {
    color: #000;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
  }
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: #e6e6e6;
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  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 {
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #666;
  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: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.site-branding {
  align-items: center;
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 996px) {
  .site-branding {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

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

/* Navigation
--------------------------------------------- */
.site-header {
  left: 0;
  position: fixed;
  top: 0;
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 999;
}

.site-header.hide {
  transform: translateY(-100%);
}

/*============
 nav
 =============*/

.open nav {
  left: 0;
  opacity: 1;
  width: 100%;
}

nav .inner {
  padding: 25px;
}

nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav .inner ul li {
  margin: 0;
  position: relative;
}

nav .inner ul li a {
  color: #fff;
  display: block;
  font-size: clamp(0.8rem, calc(0.76rem + 0.15vw), 1rem);
  letter-spacing: 2px;
  padding: 0.6em 0.9em;
  text-decoration: none;
  transition-duration: 0.2s;
  white-space: nowrap;
}

nav .inner ul li a::after {
  background-color: #fff;
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  top: 37px;
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform 0.2s ease;
  width: 100%;
}

/* リンクにホバーした際の下線の表示 */
nav li.inquiry a:hover::after {
  background-color: unset;
  transform: inherit;
}

nav .inner ul li a:hover::after {
  transform: scale(1, 1);
}

li.inquiry a::after {
  background-color: unset;
  transform: none !important;
}

li.inquiry a::after {
  background-color: unset !important;
}

li.policy {
  display: none;
}

nav .inner ul {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.inquiry a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 996px) {
  nav {
    background: #ffffff;
    bottom: 0;
    display: block;
    left: 0px;
    opacity: initial;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    transition: all 0.5s;
    width: 100%;
    z-index: 3;
  }

  nav {
    left: -220px;
    width: 220px;
  }

  nav .inner ul {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    width: 100%;
  }

  nav .inner ul li {
    border-bottom: 1px solid #fff;
    margin: 0 0 30px 0;
    position: relative;
  }

  nav .inner ul li a::after {
    height: 0px;
  }

  /* リンクにホバーした際の下線の表示 */
  nav .inner ul li a:hover::after {
    transform: scale(1, 1);
    /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
  }

  nav .inner ul li a {
    color: #fff !important;
    display: block;
    font-size: 1rem;
    padding: 0em 0 1.4em 0;
    text-decoration: none;
    transition-duration: 0.2s;
  }

  li.policy {
    display: block;
  }

  li.inquiry {
    display: none;
  }
}

/*============
 .toggle_btn
=============*/

.toggle_btn {
  background-color: #000;
  border-radius: 25px;
  cursor: pointer;
  display: block;
  height: 45px;
  position: fixed;
  right: 8px;
  top: 20px;
  transition: all 0.5s;
  width: 45px;
  z-index: 3;
}

.toggle_btn span {
  background-color: #fff;
  border-radius: 4px;
  display: block;
  height: 2px;
  left: 7px;
  position: absolute;
  transition: all 0.5s;
  width: 32px;
}

.toggle_btn span:nth-child(1) {
  left: 7px;
  top: 17px;
}

.toggle_btn span:nth-child(2) {
  left: 7px;
  top: 25px;
}

.open .toggle_btn span {
  background-color: #fff;
}

.open .toggle_btn span:nth-child(1) {
  left: 29px;
  top: 7px;
  transform: translateY(14px) translatex(-22px) rotate(42deg);
}

.open .toggle_btn span:nth-child(2) {
  left: 19px;
  top: 19px;
  transform: translateY(2px) translatex(-12px) rotate(141deg);
}

.open .toggle_btn span:nth-child(3) {
  transform: translateY(-10px) translatex(0px) rotate(-450deg);
}

.toggle_btn {
  display: none;
}

@media screen and (max-width: 996px) {
  .toggle_btn {
    display: block;
  }
}

/*============
 #mask
=============*/
#mask {
  display: none;
  transition: all 0.5s;
}

.open #mask {
  background: #000;
  cursor: pointer;
  display: block;
  height: 100%;
  left: 0;
  opacity: 0.8;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

/*============
#mask
 =============*/
@media screen and (max-width: 996px) {
  #mask {
    display: none;
    transition: all 0.5s;
  }

  .open #mask {
    background: #000;
    cursor: pointer;
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.8;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
  }
}

/* サブメニュー */
ul li.has-sub .sub.slidedown {
  opacity: 1;
  transform: translateY(0px);
  visibility: visible;
}

ul li.has-sub .sub li {
  padding: 16px 0;
}

ul li.has-sub .sub li + li {
  margin-left: 0;
}

ul li.has-sub .sub {
  display: flex;
  flex-direction: column;
  left: 0px;
  opacity: 0;
  padding: 4px 0px;
  position: absolute;
  top: 70px;
  transform: translateY(-20px);
  transition: 0.3s all ease-in-out;
  visibility: hidden;
  width: 100%;
  z-index: 999999;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.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 {
  flex: 1 0 50%;
  text-align: end;
}

.button.inquiry-sp {
  display: none;
}

.site-branding-logo2 {
  display: none;
}

@media screen and (max-width: 996px) {
  .inner {
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 0px,
      #284896 0%,
      #284896 100%
    );
    background-color: brown;
    display: flex;
    flex-direction: column;
    height: 120%;
    justify-content: flex-start;
    position: relative;
    top: 90px;
    width: 100%;
  }

  .button a {
    align-items: center;
    background: #ffffff;
    border-radius: 11px;
    color: #000000;
    display: flex;
    flex-direction: column;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    justify-content: center;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 300px;
    padding: 10px 25px;
    position: relative;
    text-decoration: none;
    transition: 0.3s ease-in-out;
  }

  .button a:hover {
    background: #313131;
    color: #fff;
  }

  .button a:hover:before {
    color: #fff;
  }

  .button.inquiry-sp {
    display: block;
  }

  .inquiry-sp-text {
    color: #979797;
    margin: 0;
  }

  /* 共通スタイル */

  /* 矢印スタイル */
  #primary-menu .menu-link::after {
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    content: "→";
    display: inline-block;
    font-size: 16px;
    height: 32px;
    line-height: 32px;
    margin-left: 20px;
    text-align: center;
    top: 4px;
    transform: scale(1.1);
    transition: background-color 0.3s ease;
    width: 32px;
  }

  img.site-branding-logo2 {
    display: block;
    margin: 40px auto 20px;
    max-width: 200px;
  }
}

li.inquiry {
  background-color: #003b96;
  padding: 0;
}

small.copy-txt {
  display: none;
}

@media screen and (max-width: 996px) {
  small.copy-txt {
    color: #fff;
    display: block;
    font-size: 0.8rem;
    text-align: center;
  }
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

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

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.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 {
  display: grid;
  grid-gap: 1.5em;
  margin-bottom: 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;
  margin-bottom: 1.5em;
  /*rtl:ignore*/
  margin-right: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  margin-bottom: 1.5em;
  /*rtl:ignore*/
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-bottom: 1.5em;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Headder
--------------------------------------------------------------*/
.swiper-container-wrap {
  position: relative;
}

a.swiper-sns {
  bottom: 306px;
  left: 20px;
  position: absolute;
  z-index: 2;
}

@media screen and (max-width: 500px) {
  a.swiper-sns {
    bottom: 220px;
    left: 22px;
  }
  a.swiper-sns img {
    width: 30px;
  }
}

.scroll_down {
  animation: arrowmove 3s ease-in-out infinite;
  bottom: 102px;
  left: 37px;
  position: absolute;
  z-index: 2;
}

.scroll_down a {
  bottom: 112px;
  color: #ffffff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  left: -11px;
  letter-spacing: 0.1em;
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll_down:before {
  background: #fff;
  bottom: 5px;
  content: "";
  height: 20px;
  position: absolute;
  right: -6px;
  transform: skewX(-31deg);
  width: 2px;
}

.scroll_down:after {
  background: #fff;
  bottom: 5px;
  content: "";
  height: 85px;
  position: absolute;
  right: 0;
  width: 2px;
}

@keyframes arrowmove {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(-5px);
  }

  75% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .scroll_down a {
    bottom: 76px;
    font-size: 0.85rem;
    left: -11px;
  }
  .scroll_down:after {
    height: 50px;
  }
}

.site-branding-logo {
  margin: 20px;
  max-width: 57px;
  position: relative;
  width: 100%;
  z-index: 4;
}

.swiper-container {
  position: relative;
}

.swiper-pagination {
  margin: 20px 0 20px 0;
  position: unset !important;
  text-align: center;
  transform: translate3d(0, 0, 0);
  transition: 0.3s opacity;
  z-index: 10;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #000;
}

.swiper-pagination-bullet {
  background: var(--swiper-pagination-bullet-inactive-color, #000);
  border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
  display: inline-block;
  height: var(
    --swiper-pagination-bullet-height,
    var(--swiper-pagination-bullet-size, 12px)
  );
  width: var(
    --swiper-pagination-bullet-width,
    var(--swiper-pagination-bullet-size, 12px)
  );
}

.slide-img {
  width: 100%;
}

.message-pc {
  animation: fadeIn 3s ease-in-out forwards; /* 2秒かけてフェードイン */
  left: 50%;
  max-width: 1068px;
  opacity: 0; /* 初期状態では非表示 */
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 999999;
}

.message-sp {
  animation: fadeIn 3s ease-in-out forwards; /* 2秒かけてフェードイン */
  left: 50%;
  max-width: 400px;
  opacity: 0; /* 初期状態では非表示 */
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 999999;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  .swiper-pagination {
    position: absolute !important;
  }

  .swiper-pagination-bullet {
    background: #fff;
    opacity: 100;
  }

  .message-sp {
    top: 42%;
  }

  .scroll_down {
    bottom: 49px;
  }
}

/*--------------------------------------------------------------
# Index-duties
--------------------------------------------------------------*/

.duties-section {
  align-items: center;
  display: grid;
  gap: 7vw;
  grid-template-columns: 1fr 1fr;
  /* max-width: 1100px; */
  justify-content: space-around;
  margin: 0 auto;
  width: 100%;
}

@media screen and (max-width: 1246px) {
  .duties-section {
    overflow: hidden;
  }
}

.duties__title {
  color: #00469b;
  font-family: "Blair Medium", sans-serif;
  font-size: clamp(3rem, calc(2.67rem + 1.5vw), 5rem);
  font-weight: 400;
  left: -0.5rem;
  letter-spacing: 5px;
  margin: 0;
  padding: 0px 0 0 0;
  position: relative;
}

.duties__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, calc(0.95rem + 0.22vw), 1.3rem);
  font-weight: 400;
  letter-spacing: 4px;
  margin: 0;
}

/* 
.duties__description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 31px;
  margin: 50px 0 0 0;
  max-width: 470px;
  width: 100%;
}*/

.duties__description {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 31px;
  margin: 50px 0 0 0;
}

.duties__button {
  margin: 131px auto 0 0;
}

.duties__button-link {
  align-items: center;
  background-color: black;
  border-radius: 9999px;
  color: white;
  display: inline-flex;
  font-family: sans-serif;
  font-size: 1.4rem;
  gap: 0.5em;
  justify-content: center;
  max-width: 300px;
  overflow: hidden;
  padding: 1.2em 2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

.duties__button-arrow {
  color: #fff;
  display: inline-block;
  left: 30px;
  position: relative;
  transition: transform 0.3s ease;
}

.duties__button-link:hover .duties__button-arrow {
  transform: translateX(5px);
}

.duties__button-text {
  color: #fff;
}

.duties__header-r {
  display: flex;
  overflow: hidden;
  position: relative;
}

.duties__header-l {
  padding: 0 20px 0 6vw;
}

.duties-img-l {
  margin: 127px 0 0 0;
  max-width: 70%;
  width: 100%;
}

.duties-img-r {
  max-width: 40%;
  position: absolute;
  right: -1vw;
  top: -10px;
  width: 100%;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .duties__subheader {
    margin: 0 auto;
    width: 90%;
  }

  .duties-section {
    display: block;
    gap: 7vw;
  }

  .duties-img-l {
    margin: 52px 0 0 0;
    max-width: 63vw;
    width: 100%;
  }

  .duties__header-r {
    overflow: hidden;
  }

  .duties__header-l {
    padding: 0;
  }

  .duties-img-r {
    max-width: 38%;
    position: absolute;
    right: -4vw;
    top: -10px;
    width: 100%;
    z-index: 2;
  }

  .duties__description {
    margin: 20px auto 0 auto;
    width: 90%;
  }

  .duties__button {
    display: flex;
    justify-content: center;
    margin: 34px auto 0 0;
  }
}

/*--------------------------------------------------------------
# Index-case
--------------------------------------------------------------*/

.case-section {
  background-color: #00469b;
  margin: 213px 0 0 0;
  padding: 190px 0 136px 0;
}

.case__title {
  color: #fff;
  font-family: "Blair Medium", sans-serif;
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 20px;
  margin: 0;
  position: relative;
  text-align: center;
}

.case__subtitle {
  color: #fff;
  font-family: "Blair Medium", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 10px;
  margin: 0;
  text-align: center;
}

.case__text {
  color: #fff;
  font-size: 0.9rem;
  line-height: 25px;
  margin: 71px auto 0;
  text-align: center;
}

.case__img {
  display: grid;
  flex-direction: row;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  margin: 76px auto 60px;
  max-width: 1100px;
  width: 100%;
}

.case__img-inner {
  margin: 0 0 30px 0;
}

.case__img-text {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  margin: 10px 0 0 0;
  text-align: center;
}

.case__button {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.case__button .color {
  background-color: #81cff4;
}

.case__button .duties__button-text {
  color: #000;
}

.case__button .duties__button-arrow {
  color: #000;
  display: inline-block;
  transition: transform 0.3s ease;
}

.more-inner {
  display: flex;
}

.more-inner-left {
  background: url("./img/company_img.jpg");
  background-repeat: no-repeat;
  background-size: cover, 100%;
  height: 444px;
  position: relative;
  width: 100%;
}

.more-inner-right {
  background: url("./img/recruit_img.jpg");
  background-repeat: no-repeat;
  background-size: cover, 100%;
  height: 444px;
  position: relative;
  width: 100%;
}

.more-inner-title {
  color: #fff;
  font-family: "Blair Medium", sans-serif;
  font-size: clamp(2rem, calc(1.73rem + 1.5vw), 4.06rem);
  font-weight: 400;
  left: 50%;
  letter-spacing: 10px;
  margin: 0;
  position: absolute;
  position: absolute;
  text-align: center;
  top: 40%;
  transform: translate(-50%, -50%);
}

.more-inner-subtitle {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 4rem;
  font-size: 1.4rem;
  left: 50%;
  letter-spacing: 6px;
  margin: 10px 0 0 0;
  position: absolute;
  text-align: center;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.more__button {
  left: 50%;
  position: absolute;
  top: 72%;
  transform: translate(-50%, -50%);
}

.more__button .duties__button-link {
  align-items: center;
  background-color: unset;
  border: 1px solid;
  border-radius: 9999px;
  color: white;
  display: inline-flex;
  font-family: sans-serif;
  font-size: 1rm;
  justify-content: center;
  max-width: 300px;
  overflow: hidden;
  padding: 1em 4em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .case__img-text {
    font-size: 1rem;
  }

  .more-section {
    margin: 0px 0 0 0;
  }

  .case-section {
    margin: 52px auto 0 auto;
    padding: 38px 6% 50px;
  }

  .case__img {
    display: grid;
    flex-direction: row;
    grid-template-columns: 1fr;
    justify-items: center;
    margin: 35px auto 0;
    max-width: 1100px;
    width: 100%;
  }

  .case__title {
    font-size: 3.2rem;
    left: -7px;
    text-align: left;
  }

  .case__text {
    margin: 36px auto 0;
    text-align: left;
  }

  .case__subtitle {
    font-weight: 600;
    letter-spacing: 4px;
    margin: 0;
    text-align: left;
  }

  .more-inner {
    display: flex;
    flex-direction: column;
  }

  .more__button .duties__button-link {
    font-size: 0.9rem;
  }

  .more-inner-right {
    background: url(./img/recruit_img_sp.jpg);
    background-position-x: 0vw;
    background-repeat: no-repeat;
    background-size: cover, 100%;
  }
}

/*--------------------------------------------------------------
# Page duties
--------------------------------------------------------------*/

.page-duties-section {
  border-bottom: 1px solid #000;
  margin: 160px auto 20px;
  max-width: 1180px;
  position: relative;
  width: 100%;
}

.page-duties-title {
  color: #e6e2dd;
  font-family: "Blair Medium", sans-serif;
  font-size: clamp(2.25rem, calc(1.1rem + 5.24vw), 9.5rem);
  letter-spacing: 4px;
  line-height: 0.79;
  margin: 0 0 0 50px;
}

.page-duties-subtitle {
  font-size: 1rem;
  left: 2vw;
  margin: 0;
  position: absolute;
  top: 24px;
}

.page-duties-inner {
  padding: 107px 0vw 0 0;
}

.page-duties-item {
  align-items: flex-start;
  background-color: #f2f0ed;
  display: flex;
  gap: 30px;
  margin: 0 auto 43px;
  max-width: 1100px;
  padding: 40px;
  position: relative;
}

.page-duties-number-odd {
  color: #c8bdb5;
  font-family: "Nata Sans", sans-serif;
  font-size: 8rem;
  font-weight: bold;
  left: -61px;
  line-height: 1;
  position: absolute;
  top: -35px;
  z-index: 2;
}

.page-duties-number-even {
  color: #c8bdb5;
  font-family: "Nata Sans", sans-serif;
  font-size: 8rem;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  right: -61px;
  top: -31px;
  z-index: 2;
}

.page-duties-content {
  display: flex;
  z-index: 1;
}

.page-duties-image img {
  height: auto;
  max-width: 417px;
  object-fit: cover;
  width: 100%;
}

.page-duties-innertext {
  margin-left: 30px;
  max-width: 600px;
  width: 100%;
}

.page-duties-innertitle {
  color: #003366;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-duties-description {
  color: #333;
  font-size: 0.8rem;
  line-height: 1.8;
}

.page-duties__button {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin: 102px 0;
  top: 72%;
}

.page-duties__button .duties__button-link {
  align-items: center;
  background-color: unset;
  border: 1px solid;
  border-radius: 9999px;
  color: #000;
  display: inline-flex;
  font-family: sans-serif;
  font-size: 1.3rem;
  gap: 0.5em;
  justify-content: center;
  max-width: 300px;
  overflow: hidden;
  padding: 1.3em 2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 100%;
}

.page-duties__button .duties__button-text {
  color: #000;
}

.page-duties__button .duties__button-arrow {
  color: #000;
  display: inline-block;
  left: 30px;
  position: relative;
  transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
  .page-duties-subtitle {
    top: -35px;
  }
  .page-duties-title {
    margin: 0 0 0 0px;
  }
  .page-duties-section {
    width: 90%;
  }

  .page-duties-inner {
    background-color: #f2f0ed;
    padding: 107px 6% 10px 6%;
  }

  .page-duties-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
  }

  .page-duties-item {
    align-items: flex-start;
    background-color: #f2f0ed;
    display: flex;
    gap: 30px;
    margin: 0 auto 43px;
    max-width: 1100px;
    padding: 0px;
    position: relative;
  }

  .page-duties-number-odd {
    color: #fff;
    font-family: "Nata Sans", sans-serif;
    font-size: 4rem;
    font-weight: bold;
    left: -20px;
    letter-spacing: -4px;
    line-height: 1;
    position: absolute;
    top: -33px;
    z-index: 2;
  }

  .page-duties-number-even {
    color: #fff;
    font-family: "Nata Sans", sans-serif;
    font-size: 4rem;
    font-weight: bold;
    left: -20px;
    letter-spacing: -4px;
    line-height: 1;
    position: absolute;
    top: -33px;
    width: 100%;
    z-index: 2;
  }

  .page-duties-innertext {
    margin-left: 0px;
    max-width: 500px;
  }

  .page-duties__button .duties__button-link {
    max-width: 245px;
    padding: 1em 2em;
  }
  .page-duties__button {
    margin: 50px 0;
  }
}

@media screen and (max-width: 400px) {
  .page-duties-title {
    font-size: 2.6rem;
    margin: 0px;
  }
}

/*--------------------------------------------------------------
# Page-Case
--------------------------------------------------------------*/

.page-case-archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 210px auto 0;
  max-width: 1100px;
  width: 100%;
}

.page-case-entry {
  font-size: 1rem;
  margin: 16px 0 0 0;
  text-align: center;
}

.nav-links {
  margin: 0px auto 100px;
  max-width: 1100px;
  text-align: center;
}

span.page-numbers.current {
  background-color: #fcee21;
  border: 1px solid #000;
  margin: 0 10px;
  padding: 2px 10px;
}

a.page-numbers {
  border: 1px solid #000;
  color: #000;
  margin: 0 10px;
  padding: 2px 10px;
  text-decoration: none;
}

.category-case {
  margin: 0 0 70px 0;
}
.page-case-archive-section a img {
    height: 100%;
    max-height: 316px;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
  .page-case-archive {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin: 33px auto 0;
    max-width: 1100px;
    width: 90%;
  }

  .page-case-entry {
    margin: 11px 0 0 0;
  }

  .category-case {
    margin: 0 0 20px 0;
  }
}

/*--------------------------------------------------------------
# Case-single
--------------------------------------------------------------*/

.case_single {
  margin: 0px auto;
  max-width: 1190px;
  width: 100%;
}

.case_single .entry-title {
  font-size: clamp(1rem, calc(1rem + 0.27vw), 1.4rem);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .case_single {
    margin: 0px auto;
    width: 90%;
  }
}

/*--------------------------------------------------------------
# page-Company
--------------------------------------------------------------*/

/* ===== page header 透かし ===== */
.page-duties-section.page-company-hero {
  border-bottom: 1px solid #dcdfe6;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding: clamp(56px, 7vw, 90px) 0 0;
  position: relative;
}

.page-company-hero .page-duties-subtitle {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}

.page-company-hero .page-duties-title {
  font-size: 0;
  position: relative;
}

.page-company-hero .page-duties-title::after {
  color: rgba(10, 79, 162, 0.1);
  content: "Company";
  font-size: clamp(70px, 14vw, 180px);
  font-weight: 700;
  left: 0;
  letter-spacing: 0.02em;
  position: absolute;
  top: -18px;
}

/* ===== レイアウト ===== */

.company__section + .company__section {
  margin-top: clamp(40px, 4vw, 64px);
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.company__subtitle {
  color: #003b96;
  font-size: clamp(1.37rem, calc(1.29rem + 0.361vw), 1.875rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.8rem 1.2rem;
}

.company-table table {
  border-collapse: separate;
  border-spacing: 21px 0px;
  width: 100%;
}

.company-table th {
  font-weight: 700;
  width: 22%;
}

.company-table th {
  border-bottom: 1px solid #000;
  line-height: 1.9;
  text-align: left;
  vertical-align: middle;
}

.company-table td:first-child {
  border-bottom: 1px solid #b3b3b3;
}

.company-table td {
  border-bottom: 1px solid #b3b3b3;
  line-height: 1.9;
  padding: 30px 0;
  vertical-align: top;
}

/* ===== ブルー帯 ===== */

.company-principle {
  background: #0a4fa2;
  color: #fff;
  margin: 51px 0 0 0;
  padding: 90px 0;
}

.company-principle__block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
}

.company-principle__block:last-child {
  margin: 61px auto 0;
}

.company-principle__inner {
  margin: 0 auto;
  max-width: 1322px;
  width: 90%;
}

.company-principle__block + .company-principle__block {
  margin-top: 77px;
}

.company-principle__block:first-child {
  padding: 0 0 30px 0;
}

.company-principle__heading {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.page-company-inner {
  margin: 0 auto;
  max-width: 1100px;
  padding: 137px 0 0px 0;
  width: 90%;
}

.company-principle__statement {
  font-size: clamp(0.75rem, calc(0.73rem + 0.09vw), 0.875rem);
  margin: 0;
}

.principle-title {
  font-size: clamp(2.25rem, calc(2.18rem + 0.31vw), 2.68rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.principle-txt {
  font-size: 0.88rem;
  line-height: 2;
  margin: 30px 0;
}

.company-checklist li {
  font-size: clamp(0.75rem, calc(0.73rem + 0.09vw), 0.875rem);
  padding-left: 1em;
  position: relative;
  text-indent: -1em;
}

.company-checklist {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0.6rem 0rem 0 0;
  padding-inline-start: 0px;
}

@media (max-width: 768px) {
  .company-checklist {
    margin: 0.6rem 0;
  }

  .principle-txt {
    margin: 10px 0;
  }

  .page-company-inner {
    padding: 77px 0 0px 0;
  }

  .company-history__table table tr:first-child th {
    border-top: 1px solid #000;
    /* お好みの色や太さに */
  }

  .company-history__table table tr:first-child td {
    border-top: 1px solid #b3b3b3;
  }
}

/* ===== 沿革 ===== */

.company__section.company-history {
  margin: 0 0 109px 0;
}

.company-history__table th {
  background: #fff;
  width: 24%;
}

@media (max-width: 768px) {
  .company__subtitle {
    margin: 0;
  }

  .company-table.company-history__table {
    margin: 40px 0 0 0;
  }

  .company-table table {
    border-collapse: separate;
    border-spacing: 3px 0px;
    width: 100%;
  }

  .company-table th {
    font-size: 0.7rem;
  }

  .company-table td {
    font-size: 0.7rem;
  }

  .company-principle__block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .company-principle__block + .company-principle__block {
    margin-top: 56px;
  }
}

/*--------------------------------------------------------------
# inquiry
--------------------------------------------------------------*/

.page-inquiry {
  padding: 150px 0 0 0;
}

.inquiry-title-txt {
  font-size: clamp(1.6rem, calc(1.53rem + 0.28vw), 2rem);
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* ===== inquiry form base ===== */
.inquiry {
  font-size: 1rem;
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(12px, 2vw, 20px) 0;
}

.inquiry__lead {
  color: #525a66;
  font-size: 14px;
  margin: 8px 0 20px;
  text-align: center;
}

.inquiry__rule {
  background: #e6eaf0;
  border: 0;
  height: 1px;
  margin: 20px 0 28px;
}

/* 行レイアウト（ラベル左／入力右） */
.inquiry__row {
  align-items: start;
  display: grid;
  gap: 14px 24px;
  grid-template-columns: 220px 1fr;
  margin-bottom: 18px;
}

.inquiry__label {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.inquiry__label .req {
  color: #d60000;
  margin-left: 0.25em;
}

/* 入力系 */
.inquiry__field input[type="text"],
.inquiry__field input[type="email"],
.inquiry__field input[type="tel"],
.inquiry__field textarea,
.inquiry__field select {
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 0px;
  box-sizing: border-box;
  height: 46px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.inquiry__field textarea {
  height: 180px;
  resize: vertical;
}

.inquiry__field input::placeholder,
.inquiry__field textarea::placeholder {
  color: #9aa3ad;
}

.inquiry__field input:focus,
.inquiry__field textarea:focus,
.inquiry__field select:focus {
  border-color: #0a4fa2;
  box-shadow: 0 0 0 3px rgba(10, 79, 162, 0.08);
}

/* チェックボックス群 */
.inquiry .checks {
  display: grid;
  gap: 6px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inquiry .checks label {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
}

/* 郵便番号「〒」＋横並び */
.inquiry__inline {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.inquiry__zipmark {
  color: #6b7280;
}

span.wpcf7-form-control-wrap {
  display: inline-block;
}

.p-street-address {
  margin: 0 0 20px 0;
}

.p-extended-address {
  margin: 0 0 20px 0;
}

p.inquiry__label-txt {
  font-size: 0.7rem;
  margin: 10px 0 0 0;
}

/* 同意チェック行 */
.inquiry__row--policy .inquiry__field {
  color: #333;
  font-size: 14px;
}

/* 送信ボタン（横幅いっぱい・濃いブルー） */
.inquiry .btn-primary {
  background: #0a4fa2;
  color: #fff;
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 105px auto 0;
  /* border-radius: 4px; */
  max-width: 454px;
  padding: 56px 24px;
  width: 100%;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

span.wpcf7-list-item-label a {
  color: #000fff !important;
}

/* CF7 のエラー表示 */
.inquiry .wpcf7-not-valid-tip {
  color: #d60000;
  font-size: 12px;
  margin-top: 6px;
}

.inquiry .wpcf7-response-output {
  border: 1px solid #e4e8ee;
  font-size: 14px;
  margin-top: 18px;
  padding: 12px;
}

@media (max-width: 768px) {
  .page-inquiry {
    padding: 96px 0 0 0;
  }

  .inquiry {
    font-size: 1rem;
    margin: 27px auto 0;
    max-width: 880px;
    padding: clamp(12px, 2vw, 20px) 0;
    width: 90%;
  }

  .inquiry__lead {
    margin: 8px 0px 6px;
    text-align: center;
  }

  .inquiry__rule {
    margin: 0px 0 28px;
  }

  .inquiry-title {
    border-bottom: 1px solid #000;
    margin: 0 auto;
    width: 90%;
  }

  .inquiry__row {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .inquiry__label {
    font-size: 12px;
  }

  .inquiry .checks {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# page-thanks
--------------------------------------------------------------*/
.thanks__inner {
  border: 1px solid #000;
  margin: 130px auto;
  max-width: 1000px;
  padding: 20px;
  width: 90%;
}

.thanks__inner-title {
  font-size: 1.2rem;
  text-align: center;
}

.thanks__inner-text {
  margin: 0 0 38px 0;
  text-align: center;
}

.thanks-button {
  margin: 40px auto 105px;
}

.thanks-button a {
  align-items: center;
  background: #eee;
  border-radius: 3px;
  color: #333;
  display: flex;
  font-weight: 500;
  justify-content: space-around;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 250px;
  padding: 10px 25px;
  position: relative;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.thanks-button a:hover {
  background: #333;
  color: #fff;
}

/*--------------------------------------------------------------
# page-recruit
--------------------------------------------------------------*/

.page-recruit {
  background: url(./img/recruit_01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.page-recruit__inner {
  color: #fff;
  margin: 0 auto;
  max-width: 1080px;
  padding: 161px 0 73px 0px;
  text-align: center;
  width: 90%;
}

.page-recruit-subtitle {
  font-size: clamp(1.06rem, calc(0.977rem + 0.38vw), 1.6rem);
  letter-spacing: 6px;
  line-height: 36px;
  margin: 0 0 49px 0;
}

.page-recruit-txt {
  font-size: clamp(0.8rem, calc(0.768rem + 0.14vw), 1rem);
  line-height: 2;
  margin: 0 0 50px 0;
  text-align: center;
}

.recruit_point-title {
  margin: 140px auto 71px;
  text-align: center;
}

.recruit_point__inner {
  margin: 0 auto 122px;
  max-width: 1093px;
  width: 100%;
}

.recruit_point-contents {
  align-items: baseline;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
}

.page-recruit-title {
  display: block;
  font-size: 2rem;
  margin: 121px auto 85px;
  text-align: center;
  width: 100%;
}

.point-contents-img01 {
  display: block;
  margin: 0 auto;
  max-width: 220px;
  width: 100%;
}

.point-contents-img02 {
  display: block;
  margin: 0 auto;
  max-width: 49px;
  width: 100%;
}

.point-contents-img03 {
  display: block;
  margin: 0 auto;
  max-width: 180px;
  width: 100%;
}

.point-contents-img04 {
  display: block;
  margin: 0 auto;
  max-width: 70px;
  width: 100%;
}

.point-contents--title {
  color: #00469b;
  font-size: 1.1rem;
  text-align: center;
}

.point-contents--txt {
  font-size: 0.8rem;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .page-recruit {
    background: url(./img/recruit_01_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

  .page-recruit-title {
    display: block;
    font-size: 2rem;
    margin: 52px auto 17px;
    text-align: center;
    width: 100%;
  }

  .page-recruit__inner {
    padding: 50px 0;
  }

  .recruit_point-contents {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: space-between;
  }

  .recruit_point__inner {
    width: 90%;
  }

  .recruit_point-title {
    margin: 37px auto 71px;
    text-align: center;
  }

  .page-recruit-subtitle {
    letter-spacing: 0px;
    margin: 0 auto 50px;
  }

  .recruit_point__inner {
    margin: 0 auto 70px;
  }
}

.recruit_faq {
  background-color: #f2f2f2;
  padding: 151px 0 130px 0;
}

.recruit_faq__inner {
  margin: 0 auto;
  width: 90%;
}

.recruit_faq-title {
  margin: 0px auto;
  text-align: center;
}

.recruit_rec {
  --bg: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
    Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo,
    sans-serif;
  --ink: #0a0a0a;
  --line: #e6e6e6;
  --muted: #7a7a7a;
  padding: 114px 0;
  --tab-blue: #165ea6;
  --tab-dark: #111;
}

.recruit_rec__inner {
  border: 1px solid #000;
  margin: 0 auto;
  max-width: 1100px;
  padding: 80px 0;
}

.recruit_rec-title {
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  text-align: center;
}

.recruit_rec__spec {
  margin: 0 auto;
  max-width: 922px;
}

.recruit_rec__tabs {
  display: grid;
  gap: 0 16px;
  grid-template-columns: 180px 1fr;
  padding: 14px 0px;
}

.recruit_rec__tab {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 18px;
}

.recruit_rec__tab--dark {
  background: var(--tab-dark);
}

.recruit_rec__tab--blue {
  background: var(--tab-blue);
}

.recruit_rec__body {
  padding: 8px 0;
}

.recruit_rec__row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0 16px;
  grid-template-columns: 180px 1fr;
  padding: 14px 18px;
}

.recruit_rec__row:first-child {
  border-top: 0;
}

.recruit_rec__term {
  color: #333;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.recruit_rec__desc {
  font-size: 13px;
}

.recruit_rec__note {
  color: var(--muted);
  font-size: 12px;
}

.recruit_rec__desc ul {
  margin: 6px 0 0 1.1em;
  padding: 0;
}

.recruit_rec__desc li {
  margin: 0.2em 0;
}

@media (max-width: 1125px) {
  .recruit_rec__inner {
    border: 1px solid #000;
    margin: 0 auto;
    max-width: 1100px;
    padding: 80px 5%;
    width: 90%;
  }
}
@media (max-width: 768px) {
  .recruit_rec__tabs {
    display: grid;
    gap: 0 16px;
    grid-template-columns: 1fr 2fr;
    padding: 14px 0px;
  }
}
@media (max-width: 640px) {
  .recruit_rec__row {
    gap: 6px;
    grid-template-columns: 1fr;
  }
}

.mb {
  margin-bottom: 104px;
}

.recruit_partner__inner {
  background: url(./img/recruit_partner.jpg);
  background-position-x: 50%;
  background-repeat: no-repeat;
  background-size: cover, 100%;
  height: 566px;
  position: relative;
}

.recruit_partner__title {
  color: #fff;
  font-size: clamp(2rem, calc(1.71rem + 1.31vw), 3.75rem);
  left: 50%;
  position: absolute;
  top: 30%;
  transform: translate(-50%, -50%);
}

.recruit_partner__button .color {
  background-color: #f7931e;
  left: 50%;
  position: absolute;
  top: 64%;
  transform: translate(-50%, -50%);
}

/*====================================================================
.faq .accordion_one
====================================================================*/

.section.faq {
  margin: 102px auto 0 auto;
  max-width: 1092px;
}

span.faq-q {
  background-color: #000;
  color: #fff;
  font-size: 1.2rem;
  padding: 5px 10px;
}

span.faq-a {
  background-color: #00469b;
  color: #fff;
  font-size: 1.44em;
  margin: 4px 0 0 0;
  padding: 5px 10px;
}

span.faq-q-txt {
  margin: 0 0 0 20px;
}

span.faq-a-txt {
  margin: 0 0 0 20px;
}

.faq .accordion_one {
  border-top: 2px dotted #000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto 0px auto;
  max-width: 1100px;
  padding: 20px 0px;
}

.faq .accordion_one .accordion_header {
  align-items: center;
  color: #000000;
  cursor: pointer;
  display: flex;
  font-size: 1.1rem;
  position: relative;
  transition-duration: 0.2s;
  z-index: +1;
}

.faq .accordion_one .accordion_header:hover {
  opacity: 0.8;
}

.faq .accordion_one .accordion_header .i_box {
  align-items: center;
  border: 1px solid #fff;
  box-sizing: border-box;
  display: flex;
  height: 40px;
  justify-content: center;
  margin-top: -20px;
  position: absolute;
  right: 5%;
  top: 50%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  width: 40px;
}

.faq .accordion_one .accordion_header.stay .i_box {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.faq .accordion_one .accordion_header .i_box .one_i {
  display: block;
  height: 18px;
  position: relative;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  width: 18px;
}

.faq .accordion_one .accordion_header.stay .i_box .one_i {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.faq .accordion_one .accordion_header.stay.open .i_box .one_i {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.faq .accordion_one .accordion_header.open .i_box {
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}

.faq .accordion_one .accordion_header.stay.open .i_box {
  -webkit-transform: rotate(315eg);
  transform: rotate(315deg);
}

.faq .accordion_one .accordion_header .i_box .one_i:before,
.faq .accordion_one .accordion_header .i_box .one_i:after {
  background-color: #fff;
  border-radius: 10px;
  content: "";
  display: flex;
  height: 4px;
  left: 0;
  position: absolute;
  top: 7px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
  width: 18px;
}

.faq .accordion_one .accordion_header .i_box .one_i:before {
  height: 18px;
  left: 7px;
  top: 0;
  width: 4px;
}

.faq .accordion_one .accordion_header.stay .i_box .one_i:before {
  content: none;
}

.faq .accordion_one .accordion_header.open .i_box .one_i:before {
  content: none;
}

.faq .accordion_one .accordion_header.stay.open .i_box .one_i:before {
  content: "";
}

.faq .accordion_one .accordion_header.open .i_box .one_i:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.faq .accordion_one .accordion_header.stay.open .i_box .one_i:after {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.faq .accordion_one .accordion_inner {
  box-sizing: border-box;
  display: none;
}

.faq .accordion_one .accordion_inner.stay {
  display: block;
}

.faq .accordion_one .accordion_inner p.txt_a_ac {
  align-items: center;
  display: flex;
  margin: 0;
}

@media screen and (max-width: 1024px) {
  .faq .accordion_one .accordion_header {
    font-size: 18px;
  }

  .faq .accordion_one .accordion_header .i_box {
    height: 30px;
    margin-top: -15px;
    width: 30px;
  }
}

@media screen and (max-width: 767px) {
  .faq .accordion_one .accordion_header {
    font-size: 16px;
    padding: 15px 60px 15px 15px;
    text-align: left;
  }

  .faq .accordion_one .accordion_inner p.txt_a_ac {
    align-items: flex-start;
    display: flex;
    margin: 0;
    padding: 0px 60px 0px 15px;
  }

  .recruit_rec__inner {
    border: 0px solid #000;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0;
    width: 90%;
  }

  .recruit_rec {
    padding: 53px 0;
  }

  .recruit_partner__button .color {
    left: 50%;
    top: 60%;
  }

  .recruit_partner__inner {
    background: url(./img/recruit_partner.jpg);
    background-position-x: 49%;
    background-repeat: no-repeat;
    background-size: cover, 100%;
    height: 376px;
    position: relative;
  }

  .recruit_partner__title {
    color: #fff;
    font-size: clamp(2rem, calc(1.71rem + 1.31vw), 3.75rem);
    left: 26%;
    position: absolute;
    top: 20%;
    transform: none;
  }

  .recruit_faq {
    padding: 38px 0 30px 0;
  }

  .section.faq {
    margin: 42px auto 0 auto;
  }
}

/*--------------------------------------------------------------
# policy
--------------------------------------------------------------*/
.page-policy {
  margin: 57px auto 142px;
  max-width: 1100px;
  width: 90%;
}

.page-policy p:first-child {
  font-size: 0.9rem;
  margin: 0px 0 0px 0;
}

.page-policy p {
  font-size: 0.9rem;
  margin: 5px 0 20px 0;
}

.policy-text {
  margin: 0 0 30px 0;
}

ul.policy-list {
  margin: 0 0 20px 0;
  padding: 0;
}

ul.policy-list li {
  font-size: 0.9rem;
  list-style: none;
}

@media screen and (max-width: 767px) {
  .page-policy {
    margin: 106px auto 42px;
    max-width: 816px;
    width: 90%;
  }
}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/

footer {
  background-color: #2f2f2f;
  color: white;
  padding: 40px 20px;
  position: relative;
  text-align: center;
}

.contact-banner {
  background-color: #4d4d4d;
  border: 1px solid #ffffff;
  color: #fff;
  margin: 57px auto 30px auto;
  margin-bottom: 30px;
  max-width: 1120px;
  padding: 40px 0;
  text-decoration: unset;
}

@font-face {
  font-family: "Blair Medium";
  src: url("./BlairMdITC-TT-Medium-Font.ttf") format("truetype");
}

a .contact-banner,
a .contact-banner * {
  text-decoration: none;
}

a .contact-banner,
a .contact-banner * {
  text-decoration: none;
  transition: color 0.3s ease;
  /* じわっと色変化 */
}

a:hover .contact-banner,
a:hover .contact-banner * {
  color: #4da3ff;
  /* ホバー時のリンクカラー（青） */
}

.contact-banner-txt {
  font-family: "Blair Medium", sans-serif;
  font-size: clamp(1.375rem, calc(1.22rem + 0.7vw), 2.3rem);
  letter-spacing: 10px;
  margin: 0;
  padding: 0px 0 0 0;
}

.footer-content {
  margin: 75px 0 0 0;
}

.footer-content .logo {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-content h3 {
  font-size: 18px;
  margin: 0;
}

.footer-nav {
  font-size: 14px;
  margin: 20px 0;
}

.footer-nav a {
  color: #fff;
  font-size: 0.8rem;
  margin: 0 5px;
  text-decoration: none;
}

.sns img {
  height: 35px;
  width: 35px;
}

.copyright {
  color: #ffffff;
  font-size: 0.65rem;
  margin-top: 20px;
}

.site-branding-footer-logo {
  max-width: 318px;
}

a.top {
  bottom: 18px;
  position: fixed;
  right: 5%;
  z-index: 999999 !important;
}

.top-img {
  display: none;
}

@media screen and (max-width: 768px) {
  .contact-banner {
    margin: 0px auto 0px auto;
  }

  .footer-content {
    margin: 37px 0 0 0;
  }

  .top-img {
    display: block;
    width: 45px;
  }
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
section.error-404.not-found {
  height: 300px;
  margin: 200px auto 0;
  max-width: 800px;
  position: relative;
  text-align: center;
  width: 100%;
}

section.error-404.not-found h1 {
  font-size: 1.6rem;
  margin: 0 0 60px 0;
  text-align: center;
}

/*--------------------------------------------------------------
# medeia
--------------------------------------------------------------*/
.pc {
  display: block;
}

.company__section-pc {
  display: inline-block;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  .company__section-pc {
    display: none;
  }

  .sp {
    display: block;
  }
}
