@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ==========================================================================
   Base & Layout
   ========================================================================== */
body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  background-color: #ffffff;
}
.main {
  padding: 0;
}
.header-container, .main, .sidebar, .footer {
  background-color: unset;
}
.content {
  margin-top: 0;
}
.inner {
  width: 1200px;
  margin: 0 auto;
  padding: 1.5em 0;
  position: relative;
}
.sec_light {
  background: #e5f3f1;
}
.sec_light .sec_light_box {
  width: 600px;
}
.col2_box {
  background: #dbdbdb;
  padding: 2em 0;
}
.col2_box .headline_box {
  width: 1200px;
  margin: 0 auto;
}
.col2_box .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.col2_box .inner > div {
  width: calc(100% / 2 - 10px);
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}
.col2_box .col2_box_text {
  padding: 0.8em;
  text-decoration: none;
}
.col2_box .col2_box_text p {
  font-size: 0.85em;
}
.col2_box .col2_box_text strong {
  font-size: 1.25em;
}
.col2_box_img {
  vertical-align: bottom;
}
.col2_box img {
  width: 100%;
}
.col2_box a {
  text-decoration: none;
  color: #17af9b;
}
body .is-layout-flex {
  align-items: flex-start;
  flex: 1;
}
.is-layout-flex > :is(*, div) {
  width: 100%;
}
.color-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #17af9b;
  z-index: 2;
  transition: width 0.6s ease;
}
.color-box {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.color-box img {
  display: block;
  transition: opacity 0.1s;
}
.sec_light .inner .color-box {
  width: 600px;
  position: absolute;
  left: 650px;
  top: 130px;
}
.breadcrumbs {
  font-size: 0.8em;
  color: #5f5f5f;
  padding: 5px 5px 5px 1em;
}
.breadcrumbs a {
  color: #5f5f5f;
  padding: 0.5em;
  font-size: 0.85em;
}
.breadcrumbs .current-item {
  font-size: 0.85em;
}
#list, .list-wrap {
  margin-bottom: 1em;
}

/* ==========================================================================
   Typography & Headings
   ========================================================================== */
.article h2 {
  font-size: 28px;
  color: #17af9b;
  background-color: unset;
  padding: 0;
  margin: 2em 0 0.7em 0;
}
.article h2 img {
  vertical-align: bottom;
  margin-left: 0.5em;
}
.article h3 {
  border-left: unset;
  border-right: unset;
  border-top: unset;
  border: unset;
  font-size: 18px;
  padding: 0;
  margin: 0 0 0.5em 0;
  font-weight: bold;
  position: relative;
  color: #465755;
}
.article h4 {
  font-size: 22px;
  border-top: unset;
  border-bottom: unset;
  padding: 0;
  margin-bottom: 0.7em;
}
h1:before {
  content: "";
  font-size: 2.2em;
  display: block;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 0.1em;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.headline_xl {
  margin-bottom: 15px;
}
.headline_xl:before {
  content: attr(data-english);
  font-size: 2.2em;
  display: block;
  line-height: 1;
  font-weight: 900;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}
.catch_text {
  font-size: 1.6em;
  font-family: serif;
  font-weight: 600;
}
.green_text {
  color: #17af9b;
}
.green_text a {
  color: #17af9b;
  text-decoration: none;
  font-weight: bold;
}

.h1-area {
  overflow-x: clip;
  overflow-y: visible;
}
.h1-area h1 {
  position: relative;
  margin: 1.5em 0 1em 0;
  font-size: 2.2em;
  font-weight: 800;
  color: #32373c;
}
.h1-area h1::before {
  content: "Characteristics";
  font-size: 100px;
  display: block;
  font-weight: 900;
  position: absolute;
  top: -135px;
  background: linear-gradient(270deg, rgb(255 231 194), rgb(194 237 209), rgb(255 231 194));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
  background-size: 200% 100%;
  animation: gradientMove 15s ease infinite;
  padding-right: 0.3em;
}
.h1-area h1::after {
  content: "Characteristics";
  font-size: 14px;
  display: block;
  font-weight: 900;
  position: absolute;
  top: -16px;
}
.page-template-page-interviews .h1-area h1::before,
.single-interview .h1-area h1::before,
.page-template-page-interviews .h1-area h1::after,
.single-interview .h1-area h1::after {
  content: "Interview";
}
.page-id-9368 .h1-area h1::before,
.page-id-9368 .h1-area h1::after {
  content: "FAQ";
}
.page-id-9358 .h1-area h1::before,
.page-id-9358 .h1-area h1::after {
  content: "By the Numbers";
}
.page-id-9360 .h1-area h1::before,
.page-id-9360 .h1-area h1::after {
  content: "Social contribution";
}
.page-id-9364 .h1-area h1::before,
.page-id-9364 .h1-area h1::after {
  content: "Employee Benefits";
}
.page-id-9469 .h1-area h1::before,
.page-id-9469 .h1-area h1::after {
  content: "Company Profile";
}
.page-id-9525 .h1-area h1::before,
.page-id-9525 .h1-area h1::after {
  content: "Message";
}
main h2 {
  position: relative;
}
main h2::before {
  font-size: 14px;
  display: block;
  font-weight: 900;
  position: absolute;
  top: -16px;
  font-weight: 600;
  color: #32373c;
}
.before_onestop-service:before { content: "Onestop Service"; }
.before_Store-development:before { content: "Store Development"; }
.before_Community:before { content: "Community"; }





/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#header-container-in {
  border-radius: 8px;
  box-shadow: 1px 2px 4px #95959521;
  overflow: visible;
  background: #fff;
  max-width: 1600px;
  margin: 0 auto;
}
#navi {
  background: unset;
}
#navi-in {
  z-index: 1;
}
.navi-in > ul {
  justify-content: flex-end;
  z-index: 999;
}
.navi-in > ul li {
  flex: 0 0 calc((100% - 10px) / 6);
  font-weight: 500;
}
.navi-in > .menu-header > li:last-child {
  background: #17af9b;
  color: #fff;
  margin-left: 0.5em;
  border-radius: 0 8px 8px 0;
}
.navi-in > .menu-header > li:hover:last-child {
  background: #17af9b;
}
.navi-in > .menu-header > li:last-child a {
  color: #fff;
}
.navi-in > ul .sub-menu {
  display: block;
  margin: 0;
  width: 100%;
  list-style: none;
  padding: 0;
  z-index: 99;
  text-align: center;
}
.header-container-in.hlt-top-menu .navi {
  max-width: 840px;
  z-index: 1;
}
.navi-in a {
  position: relative;
  color: #17af9b;
  text-decoration: none;
  display: flex;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}
.navi-in a:hover {
  background-color: unset;
}
.logo-header .saiyo_tag {
  border: 1px solid #17af9b;
  color: #17af9b;
  border-radius: 50px;
  font-size: 14px;
  padding: 1px 10px;
  margin-left: 1em;
  font-weight: bold;
  vertical-align: bottom;
}
.menu-header-container > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
}
.menu-header-container li > a {
  text-decoration: none;
  color: #333;
  display: block;
  box-sizing: border-box;
  padding: 16px 24px;
  font-weight: bold;
}
.menu-header-container .sub-menu {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}
.menu-header-container .menu li > a {
  font-size: 16px;
  border-bottom: 1px solid #ccc;
  position: relative;
}
.menu-header-container .menu-item li > a {
  font-size: 16px;
  font-weight: 500;
}
.menu-header-container .menu-item .sub-menu li > a {
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.menu-header-container .menu li > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s ease;
}
.menu-header-container .menu li > a:hover::after {
  border-color: #17af9b;
}
.menu-header-container .menu li > a:hover {
  color: #17af9b;
  padding-left: 20px;
}
/* ==========================================================================
   Page Specific Styles
   ========================================================================== */
.front-top-page main {
  display: none;
}
.front-top-page #header-container {
  position: relative;
}
.front-top-page #header-container #header-container-in {
  width: 100%;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
      z-index: 1000;
}
.front-top-page #header-container .video-wrap p {
  width: 100%;
  font-family: serif;
  color: #fff;
  font-size: 2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  line-height: 1.8;
  text-align: center;
}
.front-top-page .navi {
  background: unset;
}
.front-top-page .is-list-horizontal.large-thumb .widget-entry-card-link {
  max-width: 33%;
}
.front-top-page #sidebar {
  display: none !important;
}

/* Page/Taxonomy Title Overrides */
.page-id-41 h1:before { content: "COMPANY"; }
.parent-pageid-49 h1:before, .page-id-49 h1:before { content: "ADVANTAGE"; }
.page-id-56 h1:before { content: "SERVICE"; }
.page-id-102 h1:before { content: "REUSE"; }
.page-id-13 h1:before { content: "VOICE"; }
.single-columns h1:before, .post-type-archive-columns h1:before { content: "COLUMN"; }
.tax-contracts_tag h1:before, .tax-contracts_cate h1:before, .single-contracts h1:before, .post-type-archive-contracts h1:before { content: "CASE STUDY"; }

.single-columns .content-in, .single-contracts .content-in {
  display: flex !important;
}
.single-columns .content .main, .single-contracts .content .main {
  width: 860px !important;
}
.single-columns .sidebar, .single-contracts .sidebar {
  display: inline-block !important;
}


/* =========================================
テーブル用
========================================= */
table tr {
  background: #fff!important;
}
.wp-block-table {
  margin-top:1em;
}
.wp-block-table table {
  width: 100%!important;
  border-collapse: collapse;
}

.wp-block-table table th,
.wp-block-table table td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: left;
}

.wp-block-table table th:first-child,
.wp-block-table table td:first-child {
  width: 15%;
  text-align: center;
}


@media screen and (max-width: 767px) {
  .responsive-table,
  .wp-block-table table tbody,
  .wp-block-table table tr,
  .wp-block-table table th,
  .wp-block-table table td {
    display: block;
    width: 100%;
  }
  .wp-block-table table th:first-child,
  .wp-block-table table td:first-child {
    width: 100%;
    text-align: left;
    border: none !important;
    background-color: #f4f8f6;
  }
  .wp-block-table table th {
    border-bottom: none;
  }
  
  .wp-block-table table tr {
    margin-bottom: 15px;
  }
}

/* ==========================================================================
   Components (Blocks, Buttons, Cards, Tabs, etc.)
   ========================================================================== */
main .wp-block-group {
  background: #fff;
  border-radius: 6px;
  padding: 1.2em;
}
.wp-block-image img {
  margin: 0 auto;
}
.wp-block-embed__wrapper {
  text-align: center;
}
.video-container {
  text-align: center;
  margin: 0 auto;
}
.fa-folder-open {
  display: none;
}

/* Hero Area */
.hero-area {
  align-content: center;
  color: #17af9b;
  height: 12em;
  padding: 1.5em;
  position: relative;
}
.hero-area .entry-title,
.hero-area .archive-title {
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Reason Box */
.reason-box > div {
  border: 1px solid #ccc;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px #ccc;
  position: relative;
  text-align: center;
  max-height: 380px;
}
.reason-box figure {
  display: block;
  margin: 0!important;
}
.reason-box > div:hover {
  box-shadow: unset;
  margin-top: -3px !important;
}
.reason-box a {
  text-decoration: none;
}
.reason-box .reason-num {
  font-size: 18px;
  font-weight: 900;
  border-radius: 100px;
  display: inline-block;
  width: 100px;
  text-align: center;
  line-height: 1.3;
  position: relative;
}
.reason-box .reason-num span {
  font-size: 40px;
  color: #c7430e;
  font-style: italic;
  vertical-align: 2px;
}
.reason-box .reason-num::before {
  content: "";
  width: 5em;
  height: 1.7em;
  background: #d9d1c0;
  position: absolute;
  z-index: -1;
  border-radius: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
}
.reason-box .reason-title {
  text-align: center;
  display: block;
  font-size: 20px;
  font-weight: 900;
  padding: 0.5em;
}

/* Buttons & CTA */
.cta-box {
  background-color: #e9e6df;
  color: #17af9b;
  padding: 20px;
}
.arrow-box {
  padding: 1em;
  width: 100%;
  text-align: center;
}
.arrow-box a {
  border: 1px solid #17af9b;
  color: #17af9b;
  padding: 10px 40px 10px 20px;
  border-radius: 50px;
  position: relative;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.arrow-box a::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #17af9b;
  border-color: transparent transparent #17af9b #17af9b;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(225deg);
}
.arrow-box2 a {
  border: 1px solid #17af9b;
  color: #17af9b;
  padding: 10px 40px 10px 20px;
  border-radius: 50px;
  position: relative;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.7em;
}
.arrow-box2 a::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #17af9b;
  border-color: transparent transparent #17af9b #17af9b;
  top: 14px;
  right: 20px;
  transform: rotate(225deg);
}

/* Category & Tag Buttons */
.contracts_tag_btn,
.contracts_cat_btn,
.columns_cat_btn {
  margin-bottom: 2em;
  border: 2px solid #d3cbb9;
  border-radius: 5px;
  padding: 0.7em;
  position: relative;
}
.contracts_cat_btn::before {
  content: "売却理由で絞り込む";
  font-size: 16px;
  font-weight: 600;
  color: #17af9b;
  width: 11em;
  background: #fff;
  position: absolute;
  top: -16px;
  left: 1em;
  text-align: center;
}
.columns_cat_btn::before {
  content: "カテゴリで絞り込む";
  font-size: 16px;
  font-weight: 600;
  color: #17af9b;
  width: 11em;
  background: #fff;
  position: absolute;
  top: -16px;
  left: 1em;
  text-align: center;
}
.contracts_tag_btn::before {
  content: "エリアで絞り込む";
  font-size: 16px;
  font-weight: 600;
  color: #17af9b;
  width: 10em;
  background: #fff;
  position: absolute;
  top: -16px;
  left: 1em;
  text-align: center;
}
.contracts_tag_btn a,
.contracts_cat_btn a,
.columns_cat_btn a {
  background: #f5f3ee;
  min-width: 6em;
  text-decoration: none;
  font-size: 0.8em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  color: #17af9b;
  display: inline-block;
  margin: 0.3em;
  text-align: center;
}
.contracts_cat_btn a i,
.contracts_tag_btn a i,
.columns_cat_btn a i {
  margin-right: 0.2em;
}
.contracts_cat_btn a:hover,
.contracts_tag_btn a:hover,
.entry-content a:hover,
.columns_cat_btn a:hover {
  color: #17af9b;
  opacity: 0.8;
}

/* Fixed CTA Box */
.cta_box {
  position: fixed;
  z-index: 999;
  bottom: 5px;
  right: 10px;
  text-align: center;
}
.tel_btn a {
  background: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  color: #17af9b;
  box-shadow: 1px 1px 5px #858585;
  line-height: 37px;
  border: 1px solid #fff;
  display: inline-block;
  margin: 5px;
}
.tel_btn,
.cta_btn {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cta_btn a {
  background: #17af9b;
  border-radius: 5px;
  text-align: center;
  box-shadow: 1px 1px 5px #858585;
  line-height: 40px;
  width: 150px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.tel_btn a:hover,
.cta_btn a:hover {
  background: #17af9b;
  box-shadow: unset;
}
.tel_btn a i,
.cta_btn a i {
  margin-right: 2px;
}
.fukidashi {
  background-color: #fff;
  border: 2px solid #17af9b;
  display: none;
  width: 200px;
  position: absolute;
  top: 0;
  right: 70px;
  border-radius: 5px;
  color: #17af9b;
  font-weight: bold;
  font-size: 1.4em;
}
.fukidashi:before, .fukidashi:after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -15px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #17af9b;
}
.fukidashi:after {
  right: calc( 4px - 15px );
  border-left: solid 15px #fff;
}

/* Read More */
.read-more {
  position: relative;
}
.read-more .read-more-text {
  position: relative;
  max-height: 200px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: max-height 1s;
}
.read-more:has(:checked) .read-more-text {
  max-height: 100%;
}
.read-more .read-more-text::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
  content: '';
}
.read-more:has(:checked) .read-more-text::after {
  content: none;
}
.read-more label {
  display: flex;
  align-items: center;
  gap: 0 4px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: .4em 1.2em;
  border-radius: 1px;
  background-color: #17af9b;
  color: #fff;
  font-size: .7em;
}
.read-more label:hover {
  border: 1px solid #17af9b;
  background-color: #fff;
  color: #17af9b;
  cursor: pointer;
}
.read-more:has(:checked) label {
  display: none;
}
.read-more label::after {
  display: inline-block;
  width: 10px;
  height: 5px;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}
.read-more label:hover::after {
  background-color: #17af9b;
}
.read-more input {
  display: none;
}

/* Tabs */
.tab-container {
  width: 100%;
}
input[name="tab-group"] {
  display: none;
}
.tab-labels {
  display: flex;
  max-width: 600px;
  margin: 0 auto 25px;
}
.tab-label {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  background-color: #fff;
  color: #17af9b;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}
.tab-label::after {
  content: "";
  border: 10px solid transparent;
  border-top: 10px solid #17af9b;
  margin-left: -10px;
  top: 100%;
  left: 50%;
  position: absolute;
  opacity: 0;
}
.tab-labels label[for="tab-career"] {
  border-radius: 6px 0 0 6px;
  border: 1px solid #17af9b;
}
.tab-labels label[for="tab-newgrad"] {
  border-radius: 0 6px 6px 0;
  border: 1px solid #17af9b;
}
#tab-career:checked ~ .tab-labels label[for="tab-career"],
#tab-newgrad:checked ~ .tab-labels label[for="tab-newgrad"] {
  background-color: #17af9b;
  color: #ffffff;
}
#tab-career:checked ~ .tab-labels label[for="tab-career"]::after,
#tab-newgrad:checked ~ .tab-labels label[for="tab-newgrad"]::after {
  opacity: 1;
}
.tab-content {
  display: none;
}
#tab-career:checked ~ .tab-content-wrap #content-career,
#tab-newgrad:checked ~ .tab-content-wrap #content-newgrad {
  display: block;
  animation: fade-in 0.4s ease;
}

/* Flex Elements */
.tab_flex_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.menu_box_text .tab_flex_box > div {
  width: calc(50% - 30px);
}
.menu_box_text .tab_flex_box {
  gap: 0 60px;
}
.flex_1_2 {
  width: calc(50% - 10px);
  display: flex;
  gap: 15px;
  align-items: flex-start;
  color: var(--cocoon-text-color);
  text-decoration: none;
  padding: 0.8em;
  background: #fff;
  border-radius: 6px;
}
.flex_1_2:hover {
  color: var(--cocoon-text-color);
  box-shadow: 3px 3px 5px #cccccc6b;
}
.flex_1_2 h4 {
  color: #17af9b;
  margin-bottom: 5px;
  line-height: 1.5;
  margin-top: 0;
  font-size: 1.1em;
}
.flex_1_2 p {
  font-size: 0.95em;
}
.flex_1_2 > div:first-child { flex: 1; }
.flex_1_2 > div:last-child { flex: 2; }
.flex_1_2 > div:first-child img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.flex_2_3 {
  display: flex;
  gap: 2.5em;
  align-items: flex-start;
}
.flex_2_3 img {
  border-radius: 6px;
}
.flex_2_3 > div:first-child { flex: 2; }
.flex_2_3 > div:last-child { flex: 3; }
.flex_2_3 > div:first-child img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.flex_2_3 h4 {
  margin-top: 0;
  margin-bottom: 8px;
}
a.flex_2_3 {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
a.flex_2_3:hover {
  opacity: 0.7;
}

/* Menu Box */
.menu_box {
  padding: 60px 0;
  background-color: #f8fbfb;
}
.menu_box_text h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}
.menu_box_text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #17af9b;
}
.menu_box_text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}
.menu_box_text div > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}
.menu_box_text div > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}
.menu_box_text div > a:hover {
  color: #17af9b;
  padding-left: 20px;
}
.menu_box_text div > a:hover::after {
  border-color: #17af9b;
}

/* Card Lists */
.list {
  flex-direction: row !important;
}
#list.front-page-type-index {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px;
  margin-bottom: 30px;
}
#list.front-page-type-index::before,
#list.front-page-type-index::after {
  display: none !important;
}
#list.front-page-type-index > a.entry-card-wrap {
  width: calc((100% - 40px) / 3) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}
#list.front-page-type-index .entry-card {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}
#list.front-page-type-index .entry-card-thumb {
  width: 100% !important;
  float: none !important;
  margin-bottom: 10px;
}
#list.front-page-type-index .entry-card-thumb-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
#list.front-page-type-index .entry-card-content {
  width: 100% !important;
  float: none !important;
  padding: 0 10px 10px !important;
}
.entry-card-content {
  margin-left: auto;
}

/* Interview Cards */
.interview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.interview-list .custom-interview-card {
  width: calc(33.33% - 18px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.interview-list .custom-interview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.interview-list .custom-interview-card .card-thumb {
  position: relative !important;
  width: 100%;
  overflow: hidden;
}
.interview-list .custom-interview-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.interview-list .custom-interview-card:hover .card-thumb img {
  transform: scale(1.05);
}
.interview-list .custom-interview-card .meta-job {
  position: absolute !important;
  bottom: 5px;
  left: 5px;
  background: #17af9b;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.75em;
  font-weight: bold;
  z-index: 10;
  border-radius: 50px;
  line-height: 1;
}
.interview-list .custom-interview-card .card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.interview-list .custom-interview-card .card-title-area {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 12px;
  margin-bottom: 8px;
}
.interview-list .custom-interview-card .meta-joining {
  font-size: 0.85em;
  color: #888;
  white-space: nowrap;
  display: block;
}
.interview-list .custom-interview-card .card-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1em;
  color: #17af9b;
  font-weight: bold;
  line-height: 1.4;
  width: auto;
  display: block;
}
.interview-list .custom-interview-card .card-lead {
  margin: 0 !important;
  font-size: 0.9em;
  line-height: 1.6;
  color: #444;
}

/* Video Wrap & Backgrounds */
.video-wrap {
  position: relative;
  background-image: url('https://royalgroup.xsrv.jp/images/main_back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  padding: 0.6em;
}
/* === はみ出す画像だけを切り取る専用ラッパー === */
.bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none; /* この箱が前面に出てもクリック操作を邪魔しないようにする */
  z-index: 1; /* ヘッダー（99999など）より背面に置く */
}
.fade-container {
  width: 100%;
  height: auto;
  position: relative;
}
.fade-slide {
  position: absolute;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0;
}
.row-1 .fade-slide { width: 280px; height: 190px; }
.row-2 .fade-slide { width: 320px; height: 220px; }
.row-3 .fade-slide { width: 260px; height: 180px; }

/* --- 1列目（30秒かけて1周するアニメーションループ） --- */
.row-1 .fade-slide:nth-child(1) { animation: pureFade 30s infinite linear; animation-delay: 0s; top: -20px; left: 3%; }
.row-1 .fade-slide:nth-child(2) { animation: pureFade 30s infinite linear; animation-delay: 10s; top: 24px; left: 55%; }
.row-1 .fade-slide:nth-child(3) { animation: pureFade 30s infinite linear; animation-delay: 15s; top: 80px; left: 8%; }

/* --- 2列目（36秒かけて1周するアニメーションループ） --- */
.row-2 .fade-slide:nth-child(1) { animation: pureFade 36s infinite linear; animation-delay: 1s; top: 190px; left: 18%; }
.row-2 .fade-slide:nth-child(2) { animation: pureFade 36s infinite linear; animation-delay: 13s; top: 134px; left: 2%; }
.row-2 .fade-slide:nth-child(3) { animation: pureFade 36s infinite linear; animation-delay: 20s; top: 180px; left: 60%; }

/* --- 3列目（24秒かけて1周するアニメーションループ） --- */
.row-3 .fade-slide:nth-child(1) { animation: pureFade 24s infinite linear; animation-delay: 2s; top: 380px; left: 55%; }
.row-3 .fade-slide:nth-child(2) { animation: pureFade 24s infinite linear; animation-delay: 10s; top: 290px; left: -10%; }
.row-3 .fade-slide:nth-child(3) { animation: pureFade 24s infinite linear; animation-delay: 19s; top: 440px; right: 10%; }

.video-wrap::after {
  content: "";
  position: absolute;
  left: 1em;
  bottom: 1em;
  width: 80%;
  height: 250px;
  background-image: url(https://royalgroup.xsrv.jp/images/main_catch.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left bottom;
  z-index: 15;
  pointer-events: none;
  max-width: 359px;
}
.go-to-top {
  right: 10px;
  bottom: 60px;
}
.faq-item-label {
  font-weight: 900;
}
.faq-question-content {
  margin-right: 0;
}
.cocoon-block-faq {
  padding: 0.5em!important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-bottom-logo,
.footer-meta .author-info {
  display: none;
}
.footer_company_address,
.footer_company_tel {
  font-size: 0.8em;
}
.footer-bottom {
  margin-top: 0;
}
#menu-footer-link-1 li,
#menu-footer-link-3 li,
.widget-footer-center li,
.widget-footer-right li {
  font-size: 0.8em;
  position: relative;
  padding-left: 1.5em;
}
#menu-footer-link-1 li::before,
#menu-footer-link-3 li::before,
.widget-footer-center li::before,
.widget-footer-right li::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-50%, 0);
  top: 50%;
  left: 0;
  position: absolute;
}
.widget_nav_menu ul li a:hover {
  background-color: unset;
  text-decoration: solid;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes textTickerMobile {
  0% {
    transform: translateX(0); /* 画面外からではなく、最初から見えている通常位置からスタート */
  }
  100% {
    transform: translateX(-100%); /* 文字自身の幅の分だけ完全に左へ抜けきる */
  }
}

@keyframes ani-mouse {
  0% { opacity: 0; top: 70%; }
  40% { opacity: 0; top: 30%; }
  70% { opacity: 1; top: 30%; }
  100% { opacity: 1; top: 70%; }
}

@keyframes pureFade {
  0%   { opacity: 0; transform: scale(0.95); }
  12%  { opacity: 1; transform: scale(1); }
  33%  { opacity: 1; transform: scale(1); }
  45%  { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; }
}

.scroll_down {
  display: block;
  left: 0;
  right: 0;
  text-align: center;
  bottom: 1em;
  position: absolute;
  z-index: 20;
}
.scroll_down div {
  letter-spacing: 0.1vw;
}
.scroll_down a {
  display: inline-block;
  line-height: 18px;
  font-size: 12px;
  font-weight: normal;
  color: #17af9b;
  letter-spacing: 2px;
  text-decoration: none;
}
.scroll_down .mouse {
  position: relative;
  display: block;
  width: 30px;
  height: 45px;
  margin: 0 auto 10px;
  box-sizing: border-box;
  border: 2px solid #17af9b;
  border-radius: 23px;
}
.scroll_down .mouse > * {
  position: absolute;
  display: block;
  top: 29%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #17af9b;
  border-radius: 50%;
  animation: ani-mouse 2.5s linear infinite;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%!important;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media screen and (min-width: 1024px) {
  #js-hamburger {
    display: none;
  }
  body.page-id-9469 #header-container,
  body.page-id-9368 #header-container,
  body.page-id-9358 #header-container,
  body.page-id-9362 #header-container,
  body.page-id-9360 #header-container,
  body.page-id-9364 #header-container,
  body.page-id-9525 #header-container,
  body.page-id-9300 #header-container {
    height: 350px;
    background-image: url(https://royalgroup.xsrv.jp/images/corp_large.jpg);
    padding: 0.7em;
  }
  body.page-id-9479 #header-container,
  body.page-id-9481 #header-container,
  body.page-template-page-interviews #header-container,
  body.single-interview #header-container {
    height: 350px;
    background-image: url(https://royalgroup.xsrv.jp/images/interview.jpg);
    padding: 0.7em;
    background-size: cover;
  }
 
 .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
    padding: 0;
    margin: 0;
  }
  .menu-pc .menu-item-has-children:hover .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 200px;
  }
  .menu-pc .sub-menu li {
    height: auto;
  }
  .menu-pc .sub-menu li a {
    display: block;
    padding: 12px 16px;
    color: #333333;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    height: auto;
    background: #fff;
  }
  .menu-pc .sub-menu li a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transition: all 0.3s ease;
    position: absolute;
    top: 55%;
    right: 15px;
    transform: rotate(45deg) translate(-50%, -50%);
    -webkit-transform: rotate(45deg) translate(-50%, -50%);
    -ms-transform: rotate(45deg) translate(-50%, -50%);
  }

  .menu-pc .sub-menu li a:hover::after {
    border-color:#17af9b;
  }
  .menu-pc .sub-menu li a:hover {
    color: #17af9b;
  }
  .sec_brown .sec_brown_box {
    width: 600px;
  }
  .sec_brown .inner .color-box {
    width: 600px;
    position: absolute;
    left: 650px;
    top: 130px;
  }
}
/* --- 835px 以上 --- */
@media screen and (min-width: 835px) {
  .fa-lg {
    font-size: initial;
    line-height: normal;
    vertical-align: unset;
  }
  .tel_btn a {
    width: 200px;
    font-weight: 500;
  }
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* ==========================================================================
   Tab Wrapper (インタビューページ用カスタムタブ)
   ========================================================================== */

/* タブエリア全体の下余白 */
.all_area {
  margin-bottom: 40px;
}

/* タブを囲むコンテナ */
.tab_wrapper {
  text-align: center;
  margin-bottom: 30px;
}

/* 「CATEGORY」のテキスト */
.tab_wrapper p {
  font-size: 14px;
  font-weight: 700;
  color: #17af9b;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

/* タブのリスト(ul) */
.tab_area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.modal-content .tab_area {
  margin: 1em!important;
}
/* 個別のタブ(li) */
.tab_area li {
  padding: 8px 20px;
  background-color: #fff;
  color: #17af9b;
  border: 1px solid #17af9b;
  border-radius: 50px; /* 全体のデザインに合わせて丸みを持たせる */
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}
.tab_area li a,
.tab_area li a:hover {
  color: #17af9b;
  text-decoration: none;
}
/* ホバー時の挙動 */
.tab_area li:hover {
  background-color: #e5f3f1;
}

/* 選択されているアクティブなタブ */
.tab_area li.select {
  background-color: #17af9b;
  color: #fff;
}



.footer-container {
  background: #fff!important;
  padding-top: 2em!important;
}
.footer-container ul { 
  list-style-type: none;
  padding-left:0;
}
.footer-container a,
.footer-container a:hover { 
  font-size: 15px;
  color: #17af9b;
}
.footer-container a[target="_blank"]:after{ 
  content: url('/images/arrow-up-right-from-square-solid-full.svg'); 
  vertical-align: middle; 
  margin-left: 8px;
  width: 16px;
  display: inline-block;
  filter: invert(53%) sepia(74%) saturate(718%) hue-rotate(135deg) brightness(94%) contrast(88%);
}
.footer-container .footer-link > div {
  width: 100%;
}
.footer-link > div {
  padding: 1em;
  box-sizing: border-box;
}
.footer-container .footer_text {
  font-size: 16px;
  font-weight: bold;
}

/* ボタンの基本スタイル */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #0056b3;
}

.close-btn {
  background-color: #6c757d;
}

.close-btn:hover {
  background-color: #5a6268;
}

/* モーダルの背景（初期状態は非表示） */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 表示の切り替え設定 */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* ★ JavaScriptでこのクラスを付け外しして表示を切り替える ★ */
.modal-overlay.is-show {
  visibility: visible;
  opacity: 1;
}

/* モーダルの中身のスタイル */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin-top: 0;
  color: #333;
}

.modal-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}
.modal-content h3 {
  margin-bottom: 1em;
}



/* タブボタンのスタイル */
.f-tab-buttons {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 2px solid #ddd;
}
.f-tab-btn {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  background: #f8f8f8;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: bold;
  margin-bottom: -2px; /* 下線を重ねるため */
  transition: all 0.3s ease;
  color: #17af9b;
}
/* アクティブなタブのスタイル */
.f-tab-btn.active {
  background: #e2f3f1;
  border-bottom: 2px solid #17af9b; /* サイトのテーマカラーに合わせて変更してください */
  color: #17af9b;
}

/* タブコンテンツのスタイル */
.f-tab-content {
  display: none; /* デフォルトは非表示 */
}
.f-tab-content.active {
  display: block; /* アクティブな時だけ表示 */
}

/* ==========================================================================
   Media Queries (スマホ用調整)
   ========================================================================== */
@media screen and (max-width: 1023px) {
  body.page-id-9469 #header-container,
  body.page-id-9368 #header-container,
  body.page-id-9358 #header-container,
  body.page-id-9362 #header-container,
  body.page-id-9360 #header-container,
  body.page-id-9364 #header-container,
  body.page-id-9525 #header-container,
  body.page-id-9300 #header-container {
    height: 275px;
    background-image: url(https://royalgroup.xsrv.jp/images/corp_large_sp.jpg);
    background-size: cover;
    padding: 0.7em;
  }
  body.page-id-9479 #header-container,
  body.page-id-9481 #header-container,
  body.page-template-page-interviews #header-container,
  body.single-interview #header-container {
    height: 350px;
    background-image: url(https://royalgroup.xsrv.jp/images/interview_sp.jpg);
    padding: 0.7em;
    background-size: cover;
  }
  .sec_light .sec_light_box {
    width: 100%;
  }
  .inner {
    width: 100%;
    padding: 1em;
  }
  .col2_box .headline_box {
    width: 100%;
    padding: 1em;
  }
  .col2_box .inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 1em;
    display: block;
  }
  .col2_box .inner > div {
    width: 100%;
    margin-bottom: 1em;
  }
  .menu-btn {
    position: relative;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: #17af9b;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    margin-left: auto !important;
  }
  .menu-btn.is-scrolled {
    position: fixed !important;
    top: 15px !important;   /* 画面上からの位置（お好みで調整） */
    right: 15px !important; /* 画面右からの位置（お好みで調整） */
    z-index: 10000 !important;
    box-shadow: 1px 1px 3px #cae3e0;
    -webkit-transform: translateZ(10000px) !important;
    transform: translateZ(10000px) !important;
  }
  /* 三本線のベーススタイル（transitionで滑らかに変形させる） */
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
    transition: all 0.3s ease;
  }
  .menu-btn span::before {
    top: -8px;
  }
  .menu-btn span::after {
    top: 8px;
  }

  /* === JSで .is-active が付与された時のボタンスタイル（✕に変形） === */
  .menu-btn.is-active span {
    background-color: transparent;
  }
  .menu-btn.is-active span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-btn.is-active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* === メニュー本体（ドロワー）の設定 === */
  #navi-in {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は画面右外に隠す */
    background-color: #17af9b;
    transition: right 0.4s ease;
    padding: 80px 1em 0 1em;
    z-index: 9998;
    box-sizing: border-box;
  }

  /* === JSで .is-active が付与された時のメニュースタイル === */
  #navi-in.is-active {
    right: 0;
  }
  #navi-in > ul {
    padding: 70px 10px 0;
    padding: 0;
  }
  #navi-in ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}
.navi-in > .menu-header > li:last-child {
  margin-left: 0;
  border-radius: unset;
}
.navi-in > .menu-header {
  display: block;
}



  #navi-in ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }
  #navi-in ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }
    #navi-in ul.sub-menu {
    position: relative;
    background-color: unset;
  }
    #navi-in ul.sub-menu li {
    padding-left:1em;
  }
  #navi-in ul.sub-menu li:first-child {
    border-top: solid 1px #ffffff!important;
  }
  #navi-in ul.sub-menu li:last-child {
    border-bottom: none!important;
  }
  .navi-in > ul li:last-child {
    margin-left: 0;
  }

.navi .item-label, .navi .item-description {
  text-align: left;
}
  .sec_light .inner .color-box {
    position: relative;
    width: 100%;
    left: unset;
    top: unset;
  }
  .go-to-top {
    bottom: 50px;
  }
  .interview-list .custom-interview-card {
    width: calc(50% - 12px);
  }
  .front-top-page .is-list-horizontal.large-thumb .widget-entry-card-link {
    max-width: 49%;
  }
  h1 {
    padding: 0 !important;
  }
  h1:before {
    font-size: 1.75em;
    display: block;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 0.25em;
  }
  .header-container-in.hlt-top-menu .navi {
    z-index: 9999;
  }
  .slicknav_menu {
    display: block;
    position: fixed;
    top: 40px;
    right: 0;
  }
  #header-container-in .header,
  #header-container-in .navi {
    background-color: transparent !important;
  }
  #header {
    width: 100%;
  }
  .header-container-in.hlt-top-menu {
    flex-direction: unset;
  }
  .scroll_down {
    display: none;
  }
  .front-top-page #header-container .video-wrap {
    height: auto;
  }
  .front-top-page #header-container .video-wrap p {
    width: 100%;
    font-size: 18px;
  }
  #sidebar {
    width: 100%;
  }
  .tel_btn a {
    font-size: 16px;
    width: 40px;
  }
  .tel_num {
    display: none;
  }
  .h1-area {
    padding: 32px 16px 0;
    margin: 12px 0;
    border-width: 0;
  }
  .h1-area h1 {
    margin: 0;
  }
  .h1-area h1::before {
    white-space: nowrap;
    width: max-content;
    left: 0;
    animation: gradientMove 15s ease infinite, textTickerMobile 30s linear infinite;
    font-size: 80px;
    top: -105px;
  }
  .logo-header .saiyo_tag {
    font-size: 12px;
  }
  .navi-in > .menu-header {
    display: inline;
  }
  /* ヘッダー内部をフレックスボックスにしてボタンを右端に配置 */
  #header-in {
    display: flex !important; /* フレックスボックスを有効化 */
    justify-content: space-between !important; /* 左端と右端に分けて配置 */
    align-items: center !important; /* 縦方向を中央揃え */
    width: 100%; /* 横幅いっぱいにする */
    box-sizing: border-box;
    padding: 5px;
    flex-direction: unset;
  }

/* === ロゴの微調整（必要に応じて） === */
  .logo-header {
    margin: 0 !important; /* 余計なマージンを消してスッキリさせる */
  }

  /* === ハンバーガーボタン（通常時） === */
  .menu-btn {
    position: relative; /* absolute から relative に戻してFlexboxの並びに組み込む */
    display: flex;
    height: 44px;
    width: 44px;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    flex-shrink: 0; /* ロゴが大きすぎてもボタンが潰れないようにする */
  }

  /* === モーダル展開時のボタンスタイル（固定配置） === */
  .menu-btn.is-active {
    position: fixed;
    top: 15px;
    right: 15px;
  }

  /* 三本線のベーススタイル（transitionを追加して滑らかに） */
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #17af9b;
    position: absolute;
    transition: all 0.3s ease;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }



  /* === JSで .is-active が付与された時のボタンスタイル === */
  .menu-btn.is-active span {
    background-color: rgba(255, 255, 255, 0);
  }
  .menu-btn.is-active span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  .menu-btn.is-active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* === メニュー本体（ドロワー）の設定 === */
  #navi-in {
    width: 100%;
    height: 100vh; /* 画面いっぱいに広げる */
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態は画面右外に隠す */
    background-color: #17af9b;
    transition: right 0.4s ease; /* スライドのアニメーション */
    padding: 60px 1em 0 1em;
    z-index: 9998; /* ボタン(9999)より下に配置 */
  }

  /* === JSで .is-active が付与された時のメニュースタイル === */
  #navi-in.is-active {
    right: 0;
  }
  #navi-in.is-active .menu-header {
    display: block;
  }
}
@media screen and (min-width: 961px) {
.footer-container .footer-link {
  display: flex;
  gap:2em;
}
.footer-container .footer-link > div {
  width: 33.33%;
}
}
/* --- 769px 以上 (PC Video Area) --- */
@media screen and (min-width: 769px) {
  .video-wrap { min-height: 750px; padding: 1em; }
  .row-1 .fade-slide { width: 390px; height: 260px; }
  .row-2 .fade-slide { width: 520px; height: 350px; }
  .row-3 .fade-slide { width: 340px; height: 230px; }

  .row-1 .fade-slide:nth-child(1) { top: 85px; left: 2%; }
  .row-1 .fade-slide:nth-child(2) { top: 120px; left: 60%; }
  .row-1 .fade-slide:nth-child(3) { top: 85px; left: 35%; }

  .row-2 .fade-slide:nth-child(1) { top: 320px; left: 55%; }
  .row-2 .fade-slide:nth-child(2) { top: 220px; left: 12%; }
  .row-2 .fade-slide:nth-child(3) { top: 200px; left: 68%; }

  .row-3 .fade-slide:nth-child(1) { top: 560px; left: 80%; }
  .row-3 .fade-slide:nth-child(2) { top: 300px; left: -2%; }
  .row-3 .fade-slide:nth-child(3) { top: 563px; left: 53%; }

  .video-wrap::after { width: 359px; left: 3em; bottom: 3em; }
}
/* --- 768px 以下 (モバイルレイアウト等) --- */
@media screen and (max-width: 768px) {
  .flex_1_2 {
    width: 100%;
  }
  .flex_2_3 {
    width: 100%;
    flex-direction: column;
    gap: 1.5em;
  }
  .flex_2_3 > div:first-child,
  .flex_2_3 > div:last-child {
    width: 100%;
    flex: auto;
  }
  #list.front-page-type-index > a.entry-card-wrap {
    width: 100% !important;
  }
  main h2 {
    font-size: 24px;
    margin: 1em 0;
  }
  .menu_box_text .tab_flex_box > div {
    width: 100%;
  }
.footer-link > div li:first-child {
  border-top: 1px dotted #ccc;
}
.footer-link > div li {
  border-bottom: 1px dotted #ccc;
  padding: 0.5em 0;
}
}
/* --- 641px 以上 --- */
@media screen and (min-width: 641px) {
  .front-top-page footer {
    margin-top: 200px;
  }
  .cta_box .cta_btn a {
    width: 140px;
    font-size: 16px;
    margin: 5px;
  }
}
/* --- 640px 以下 --- */
@media screen and (max-width: 640px) {
  .logo-header img {
    max-width: 50vw;
  }
  .header-container-in.hlt-top-menu .logo-text {
    justify-content: center;
  }
  .interview-list .custom-interview-card {
    width: 100%;
  }
  .row-1 .fade-slide:nth-child(3),
  .row-2 .fade-slide:nth-child(3),
  .row-3 .fade-slide:nth-child(3) {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .tab_area {
    gap: 8px;
  }
  .tab_area li {
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
  }
  .fade-container .sp_none {
    display: none;
  }
}
/* --- 480px 以下 --- */
@media screen and (max-width: 480px) {
  #header-in {
    padding: 0px;
  }
  .header-container-in.hlt-top-menu .site-name-text-link {
    padding: 0 0.5em;
  }
  .tel_btn a {
    width: 37px;
  }
  .logo-header .saiyo_tag {
      font-size: 10px;
      line-height: 1;
      padding: 0 4px;
      vertical-align: baseline;
  }
  .data-jobs .data-underline {
    width: 400px!important;
  }
}
/* --- 359px 以下 --- */
@media screen and (max-width: 359px) {
  .cta_btn a i {
    display: none;
  }
  .cta_btn a {
    line-height: 35px;
    width: 120px;
    margin: 2px;
    font-weight: 500;
    font-size: 0.75em;
    letter-spacing: .1em;
  }
}