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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* Full width of screen, no horizontal scroll */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
#container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hide article header (title, share buttons, date) on single posts and pages */
.article-header.entry-header {
  display: none !important;
}

/* Hide article footer (share buttons, follow section) on single posts and pages */
.article-footer.entry-footer {
  display: none !important;
}
.main-section-koide-heading1{
  font-size:2.2rem !important;
	padding-top:10px;
}
/* Hide site footer on all pages */
#footer {
  display: none !important;
}

/* Hide header-in (logo area wrapper) */
#header-in {
  display: none !important;
}

/* Fixed menu bar */
:root {
  --cocoon-child-menu-bar-height: 110px;
}
@media screen and (max-width: 834px) {
	:root {
     --cocoon-child-menu-bar-height: 80px;
}
 .hr-page-strength-text-col .hr-page-strength-text:last-child{
  max-width: 100% !important;
 }
}
#header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  /* padding-top: 12px; */
  /* padding-bottom: 12px; */
}
#container {
  padding-top: var(--cocoon-child-menu-bar-height);
}

/* Remove gap between banner and menu bar */
#main {
  padding-top: 0 !important;
  /* margin-top: 40px; */
}

/************************************
** Main top banners: one slide visible at a time, zoom from center; change every 5s
** Menu bar + banner = 100% of screen (100vh)
************************************/
:root {
  --cocoon-child-header-height: 72px; /* menu bar height (incl. padding); adjust to match your header */
}
.main-top-banners {
  width: 100vw;
  height: calc(80vh - var(--cocoon-child-header-height));
  min-height: 0;
  margin: 0 0 0 calc(-50vw + 50%);
  overflow: hidden;
  line-height: 0;
  position: relative;
  box-sizing: border-box;
}
/* Full banner blur effect on hover */
.main-top-banners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 2;
  pointer-events: none;
}
.main-top-banners:hover::before {
  opacity: 1;
}
/* Layer 1: images stacked, one visible at a time with zoom */
.main-top-banners-flow {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.main-top-banners-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.main-top-banners-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: main-top-banners-show 15s cubic-bezier(0.33, 0, 0.2, 1) infinite;
}
.main-top-banners-slide:nth-child(1) { animation-delay: 0s; }
.main-top-banners-slide:nth-child(2) { animation-delay: 5s; }
.main-top-banners-slide:nth-child(3) { animation-delay: 10s; }
.main-top-banners-img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: top;
  transform-origin: center center;
  animation: main-top-banners-zoom 15s cubic-bezier(0.33, 0, 0.2, 1) infinite;
}
.main-top-banners-slide:nth-child(1) .main-top-banners-img { animation-delay: 0s; }
.main-top-banners-slide:nth-child(2) .main-top-banners-img { animation-delay: 5s; }
.main-top-banners-slide:nth-child(3) .main-top-banners-img { animation-delay: 10s; }
/* Slide visibility: visible for 5s (33.33% of 15s), then hidden */
@keyframes main-top-banners-show {
  0% { opacity: 0; }
  1% { opacity: 1; }
  33.33% { opacity: 1; }
  34.33% { opacity: 0; }
  100% { opacity: 0; }
}
/* Image zoom from center during its 5s visible period */
@keyframes main-top-banners-zoom {
  0% { transform: scale(1); }
  33.33% { transform: scale(1.12); }
  100% { transform: scale(1.12); }
}

/* Layer 2: catch overlay (top), one per slide, synced with banner + border */
.main-top-banners-catches {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.main-top-banners-catches-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.main-top-banners-catch-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: main-top-banners-show 15s cubic-bezier(0.33, 0, 0.2, 1) infinite;
}
.main-top-banners-catch-slide:nth-child(1) { animation-delay: 0s; }
.main-top-banners-catch-slide:nth-child(2) { animation-delay: 5s; }
.main-top-banners-catch-slide:nth-child(3) { animation-delay: 10s; }
.main-top-banners-catch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  padding: 1em 0.7em;
  color: #fff;
  font-size: clamp(2.5rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: "Shippori Mincho", serif !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  /* border-radius: 4px; */
  box-sizing: border-box;
}
.main-top-banners-catch-line {
  display: block;
  white-space: nowrap;
}

/************************************
** Section: マティエールHRT設立の想い (text left, image + contact right)
************************************/
.main-section-about {
  width: 100%;
  padding: 3em 1em 0em 1em;
  background: #fff;
}
.main-section-about-in {
  display: flex;
  align-items: flex-start;
  gap: 2.5em;
  max-width: 1300px;
  margin: 0 auto;
}
.main-section-about-text {
  flex: 1;
  min-width: 0;
}
.main-section-about-title {
  font-size: 2.2rem;
  margin: 0 0 1em 0;
  font-weight: 700;
  line-height: 1.4;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
.main-section-about-body {
  font-size: 1rem;
  line-height: 1.9;
}
.main-section-about-body p {
  margin: 0 0 1em 0;
}
.main-section-about-body p:last-child {
  margin-bottom: 0;
}
/* Right column: CEO image + contact */
.main-section-about-right {
  flex: 0 0 320px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.main-section-about-right .main-section-about-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}
.main-section-about-contact {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #333;
}
.main-section-about-contact-title {
  margin: 0 0 0.75em 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}
.main-section-about-contact-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5em;
}
.main-section-about-contact-row:last-child {
  margin-bottom: 0;
}
.main-section-about-contact-label {
  flex: 0 0 4em;
  width: 4em;
  min-width: 4em;
  display: inline-block;
  text-align: right;
}
.main-section-about-contact-colon {
  flex-shrink: 0;
  margin-right: 0.15em;
}
.main-section-about-contact-value {
  flex: 1 1 auto;
  min-width: 0;
}
.main-section-about-contact-line {
  margin: 0 0 0.5em 0;
}
.main-section-about-contact-line:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 834px) {
  .main-section-about-in {
    flex-direction: column;
    align-items: center;
    gap: 2em;
    padding: 0 1em;
  }
  .main-section-about-text {
    width: 100%;
  }
  .main-section-about-right {
    flex: 0 0 auto;
    max-width: 280px;
    width: 100%;
  }
  .main-section-about-right .main-section-about-img {
    max-width: 260px;
    max-height: 320px;
    margin: 0 auto;
  }
  .main-section-about-title {
    font-size: 1.5rem;
  }
}

/************************************
** Section: 3-column info (company, business, contact)
************************************/
.main-section-info {
  width: 100%;
  padding: 3em 0;
  background: #fff;
}
.main-section-info-in {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: stretch;
  gap: 2em;
  max-width: 1300px;
  margin: 0 auto;
  /* flex-direction: column; */
  align-items: center;
}
.main-section-info-col {
  flex: 1 1 0;
  min-width: 0;
  /* min-width: 1000px; */
}
.main-section-info-box {
  height: 400px;
  padding: 3.5em 1.25em;
  border: 2px solid #014385 ;
  /* border-radius: 4px; */
  box-sizing: border-box;
}
.main-section-info-box p {
  margin: 0 0 0.5em 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  font-size: 20px;
}
.main-section-info-box p:last-child {
  margin-bottom: 0;
}
.main-section-info-heading {
  margin: 0 0 0.5em 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.main-section-info-sub {
  margin-bottom: 0.75em !important;
  font-size: 0.9rem;
  font-weight: 600;
}
.main-section-info-list {
  margin: 0;
  padding-left: 50px;
  list-style: none;
  /* text-align: center; */
}
.main-section-info-list li {
  margin-bottom: 0.35em;
  font-size: 20px;
  line-height: 1.5;
}
@media screen and (max-width: 834px) {
  .main-section-info-in {
    flex-direction: column;
    padding: 0 1em;
  }
  .main-section-info-col {
    width: 100%;
  }
}

/************************************
** Section: KOIDE GROUP概要
************************************/
.main-section-koide {
  width: 100%;
  padding: 3em 1em;
  background: #fff;
}
.main-section-koide-in {
  max-width: 1300px;
  margin: 0 auto;
}
.main-section-koide-title {
  margin: 0 0 1.5em 0;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
.main-section-koide-image {
  text-align: center;
  margin-bottom: 2em;
}
.main-section-koide-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.main-section-koide-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}
.main-section-koide-heading {
  margin: 2em 0 1.75em 0;
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 0.35em;
}
.main-section-koide-heading:first-child {
  margin-top: 0;
}
.main-section-koide-intro {
  margin: 0 0 1.5em 0;
}
.main-section-koide-block {
  margin-bottom: 1.25em;
}
.main-section-koide-block p {
  margin: 0;
}
.main-section-koide-company-cols {
  display: block;
  margin-bottom: 1.5em;
}
@media screen and (min-width: 835px) {
  .main-section-koide-company-cols {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2.5em;
  }
}
.main-section-koide-company-cols .main-section-koide-company {
  flex: 1 1 0;
  min-width: 0;
}
@media screen and (min-width: 835px) {
  .main-section-koide-company-cols .main-section-koide-company-left {
    margin-bottom: 0;
  }
  .main-section-koide-company-cols .main-section-koide-company-right {
    margin-bottom: 0;
  }
}
.main-section-koide-company {
  margin-bottom: 1.5em;
}
.main-section-koide-company-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.4em;
}
.main-section-koide-company-row:last-of-type {
  margin-bottom: 0;
}
.main-section-koide-company-label {
  flex: 0 0 6em;
  width: 6em;
  min-width: 5.5em;
}
.main-section-koide-company-value {
  flex: 1 1 auto;
  min-width: 0;
}
.main-section-koide-company-list-wrap {
  margin-top: 0.25em;
  margin-left: 0;
}
.main-section-koide-company p {
  margin: 0 0 0.4em 0;
}
.main-section-koide-company p:last-of-type {
  margin-bottom: 0;
}
.main-section-koide-list {
  margin: 0.5em 0 0 1.25em;
  padding: 0;
  list-style: none;
}
.main-section-koide-list li {
  margin-bottom: 0.25em;
  position: relative;
  padding-left: 1em;
}
.main-section-koide-list li::before {
  content: '・';
  position: absolute;
  left: 0;
}
@media screen and (max-width: 834px) {
  .main-section-koide-title {
    font-size: 1.5rem;
  }
}

/************************************
** Section: Contact (2 parts)
************************************/
.main-section-contact {
  width: 100%;
  /* padding: 3em 0; */
  background: #fff;
}
.main-section-contact-title1{
  width: 100%;
  padding: 3em 0;
  background: #fff;
  color: #333;
  text-align: center;
  margin: 0 0 1.5em 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}
.main-section-contact-title {
  margin: 0 0 1.5em 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #333;
}
.main-section-contact-in {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2em;
  max-width: 1000px;
  margin: 0 auto;
}
.main-section-contact-col {
  flex: 1 1 0;
  min-width: 0;
  background-color: #014385;
}
.main-section-contact-box {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  padding: 1em 1.5em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  /* border-radius: 4px; */
  box-sizing: border-box;

}
.main-section-contact-image {
  /* margin-bottom: 1.25em; */
  line-height: 0;
}
.main-section-contact-img {
  display: block;
  max-width: 100%;
  /* height: auto; */
  height: 50px;
  object-fit: contain;
}
.main-section-contact-label {
  margin: 0px 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: white;
}
@media screen and (max-width: 834px) {
  .main-section-contact-in {
    flex-direction: column;
  }
  .main-section-contact-col {
    width: 100%;
  }
}

/************************************
** Contact page: two-column forms (left: foreign nationals / right: companies)
************************************/
.contact-page .main-section-contact-title {
  margin-bottom: 2em;
}
/* Modal for contact form result (validation error / success / send error) */
.contact-toast {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.contact-toast::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.contact-toast-visible {
  opacity: 1;
  pointer-events: auto;
}
.contact-toast-box {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 420px);
  padding: 1.25em 1.5em;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: #fff;
  color: #333;
}
.contact-toast-success .contact-toast-box {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.contact-toast-error .contact-toast-box {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Thank-you modal (after contact form success) */
.contact-thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.contact-thankyou-modal.contact-thankyou-modal-visible {
  opacity: 1;
  visibility: visible;
}
.contact-thankyou-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.contact-thankyou-modal-box {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2em 2.5em 2em 2em;
  margin: 1em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #333;
  text-align: center;
}
.contact-thankyou-modal-close {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  width: 2.25em;
  height: 2.25em;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.contact-thankyou-modal-close:hover {
  color: #333;
  background: rgba(0, 0, 0, 0.06);
}
.contact-thankyou-modal-title {
  margin: 0 0 1em 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e7d32;
}
.contact-thankyou-modal-body {
  font-size: 0.95rem;
  line-height: 1.7;
}
.contact-thankyou-modal-body p {
  margin: 0 0 1em 0;
}
.contact-thankyou-modal-body p:last-child {
  margin-bottom: 0;
}
.contact-thankyou-modal-company {
  margin-top: 1.5em !important;
  padding-top: 1em;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9rem;
  color: #555;
}
.contact-thankyou-modal-company a {
  color: #1565c0;
  text-decoration: none;
}
.contact-thankyou-modal-company a:hover {
  text-decoration: underline;
}

.contact-page-forms {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2em;
  max-width: 1300px;
  margin: 0 auto;
  /* padding: 0 1em; */
}
.contact-form-col {
  flex: 1 1 0;
  min-width: 0;
}
.contact-form-heading {
  margin: 0 0 1.25em 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #014385;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.contact-form-heading-icon {
  width: 60px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.contact-form {
  padding: 1.5em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  background: #fafafa;
  box-sizing: border-box;
}
.contact-form-fieldset-row {
  margin: 0 0 1.25em 0;
}
@media screen and (min-width: 835px) {
  .contact-form-fieldset-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.5em;
  }
  .contact-form-fieldset-row .contact-form-fieldset {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    /* border-bottom: 1px solid #e0e0e0; */
  }
}
.contact-form-fieldset {
  margin: 0 0 1.25em 0;
  padding: 0.75em 0;
  border: none;
  /* border-bottom: 1px solid #e0e0e0; */
}
.contact-form-fieldset:last-of-type {
  border-bottom: none;
}
.contact-form-fieldset-row .contact-form-fieldset:last-of-type {
  /* border-bottom: 1px solid #e0e0e0; */
}
@media screen and (min-width: 835px) {
  .contact-form-fieldset-row .contact-form-fieldset:last-of-type {
    /* border-bottom: 1px solid #e0e0e0; */
  }
}
.contact-form-legend {
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}
.contact-form-check,
.contact-form-radio {
  display: block;
  margin: 0.35em 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}
.contact-form-check input,
.contact-form-radio input {
  margin-right: 0.5em;
  vertical-align: middle;
}
.contact-form-group {
  margin-bottom: 1.25em;
}
.contact-form-label {
  display: block;
  margin-bottom: 0.35em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.contact-form-input,
.contact-form-textarea {
  width: 100%;
  padding: 0.5em 0.6em;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
}
.contact-form-textarea {
  min-height: 80px;
  resize: vertical;
}
.contact-form-submit {
  margin-top: 1.5em;
}
.contact-form-btn {
  padding: 0.6em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #014385;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form-btn:hover {
  background: #013060;
}
@media screen and (max-width: 834px) {
  .contact-page-forms {
    flex-direction: column;
    padding: 0 1em;
  }
  .contact-form-col {
    width: 100%;
  }
}

/************************************
** Section: Footer (left: company + logo + phone; right: nav)
************************************/
.main-section-footer {
  width: 100%;
  padding: 2.5em 1em 0.5em 1em;
  background: #014385;
  color: #e0e0e0;
}
.main-section-footer-in {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 3em;
  max-width: 1300px;
  margin: 0 auto;
}
.main-section-footer-left {
  flex: 0 0 auto;
}
.main-section-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.main-section-footer-logo-link {
  display: block;
  line-height: 0;
}
.main-section-footer-logo {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.main-section-footer-company {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding-top: 20px;
}
.main-section-footer-tel {
  margin: 0;
  font-size: 0.95rem;
  color: #e0e0e0;
}
.main-section-footer-copyright {
  margin: 2em 0 0 0;
  padding-top: 1.5em;
  padding-right: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: right;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.main-section-footer-right {
  flex: 1 1 auto;
  margin-left: auto;
  display: flex;
  justify-content:end;
}

.main-section-footer-nav {
  display: block;
}
.main-section-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  /* justify-content: right; */
}
.main-section-footer-menu li {
  margin: 0;
}
.main-section-footer-menu a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
}
.main-section-footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}
.main-section-footer-contact {
  margin: 1.25em 0 0 0;
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.6;
}
.main-section-footer-contact-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.25em;
}
.main-section-footer-contact-row:last-child {
  margin-bottom: 0;
}
.main-section-footer-contact-label {
  flex: 0 0 4.5em;
  width: 4.5em;
  min-width: 4.5em;
  text-align: right;
  padding-right: 4px;
}
.main-section-footer-contact-value {
  flex: 1 1 auto;
  min-width: 0;
}
.width-80{
  width: 80%;
  margin:auto;
}
@media screen and (max-width: 834px) {
  .main-section-footer-in {
    flex-direction: column;
    align-items: center;
    gap: 2em;
    text-align: center;
  }
  .main-section-footer-brand {
    align-items: center;
  }
  .main-section-footer-right {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .main-section-footer-right .width-80 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-section-footer-nav {
    width: 100%;
  }
  .main-section-footer-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
  }
  .main-section-footer-contact {
    text-align: center;
  }
  .main-section-footer-contact-row {
    justify-content: center;
  }
  .main-section-footer-copyright {
    text-align: center;
    padding-right: 0;
  }
}

/************************************
** レスポンシブ：モバイルメニューボタン＋カラムメニュー
************************************/
/* Desktop: hide mobile hamburger and overlay */
.mobile-menu-checkbox.display-none {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.mobile-menu-hamburger,
.mobile-menu-overlay {
  display: none !important;
}

/* Logo on left of menu bar */
.navi-logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  margin-left: 5rem;
}
.navi-logo-img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Menu bar: text color + underline on hover/active, no background change */
#navi .navi-in > .menu-header.menu-pc li a {
  background-color: transparent !important;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
#navi .navi-in > .menu-header.menu-pc li a:hover,
#navi .navi-in > .menu-header.menu-pc li a:focus,
#navi .navi-in > .menu-header.menu-pc li a:active {
  background-color: transparent !important;
  color: #014385;
  font-weight: 700;
}
@media screen and (min-width: 835px) {
  #navi .navi-in > .menu-header.menu-pc li a {
    border-bottom: 2px solid transparent;
  }
  #navi .navi-in > .menu-header.menu-pc li a:hover,
  #navi .navi-in > .menu-header.menu-pc li a:focus,
  #navi .navi-in > .menu-header.menu-pc li a:active {
    border-bottom-color: #014385;
  }
}

/* Desktop: logo left, menu right */
@media screen and (min-width: 835px) {
  #navi {
    display: flex;
    align-items: center;
  }
  #navi .navi-logo-link {
    margin-right: 16px;
  }
  #navi .navi-in {
    margin-left: auto;
  }
}

/* Mobile: menu button + column menu */
@media screen and (max-width: 834px) {
  /* Logo left, menu button right */
  #navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    height: 80px;
  }
  .navi-logo-img {
    max-height: 40px;
  }
  .main-top-banners-catch{
    font-size: 20px;
  }

  /* Show hamburger button (caption "メニュー" hidden), right side */
  .mobile-menu-hamburger {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin: 0 0 0 auto;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 14px;
    color: inherit;
  }
  .mobile-menu-hamburger .mobile-menu-caption {
    display: none !important;
  }
  .mobile-menu-icon {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
    box-sizing: border-box;
  }
  .mobile-menu-icon::before,
  .mobile-menu-icon::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .mobile-menu-icon::before {
    top: 0;
  }
  .mobile-menu-icon::after {
    bottom: 0;
  }
  .mobile-menu-hamburger .mobile-menu-icon {
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }
  .mobile-menu-hamburger .mobile-menu-icon::before {
    top: 50%;
    margin-top: -1px;
  }
  /* Hamburger → X when open */
  #mobile-menu-toggle:checked ~ .mobile-menu-hamburger .mobile-menu-icon::before {
    transform: rotate(45deg);
  }
  #mobile-menu-toggle:checked ~ .mobile-menu-hamburger .mobile-menu-icon::after {
    transform: rotate(-45deg);
  }
  #mobile-menu-toggle:checked ~ .mobile-menu-hamburger .mobile-menu-icon {
    border-top-color: transparent;
    border-bottom-color: transparent;
  }

  /* Hide horizontal menu bar by default on mobile */
  #navi .navi-in {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 16px 0;
    max-height: 70vh;
    overflow-y: auto;
  }
  /* When checkbox checked: show menu in column */
  #mobile-menu-toggle:checked ~ #navi-in {
    display: block !important;
  }
  #navi .navi-in > .menu-header.menu-pc,
  #navi .navi-in > .menu-mobile {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
  }
  #navi .navi-in > .menu-mobile {
    display: none !important; /* use only one menu (menu-pc) in column */
  }
  #navi .navi-in > .menu-header.menu-pc li {
    width: 100% !important;
    margin: 0;
    height: auto !important;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  #navi .navi-in > .menu-header.menu-pc li:last-child {
    border-bottom: none;
  }
  #navi .navi-in > .menu-header.menu-pc li a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
  }
  #navi .navi-in > .menu-header.menu-pc li a::after {
    display: none;
  }

  /* Overlay: show when menu open, click to close */
  .mobile-menu-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
    cursor: pointer;
  }
  #mobile-menu-toggle:checked ~ .mobile-menu-overlay {
    display: block !important;
  }

  /* Ensure #navi has position for absolute dropdown */
  #navi {
    position: relative;
  }
}

/* Active/current menu item: different color when this page is open */
#navi .navi-in > .menu-header.menu-pc li.current-menu-item a {
  color: #014385;
  font-weight: 700;
}
@media screen and (min-width: 835px) {
  #navi .navi-in > .menu-header.menu-pc li.current-menu-item a {
    border-bottom: 2px solid #014385;
  }
}
@media screen and (max-width: 834px) {
  #navi .navi-in > .menu-header.menu-pc li.current-menu-item {
    background-color: transparent;
  }
  #navi .navi-in > .menu-header.menu-pc li.current-menu-item a {
    color: #014385;
    border-bottom: 2px solid #014385;
  }
  #navi .navi-in > .menu-header.menu-pc li a:hover,
  #navi .navi-in > .menu-header.menu-pc li a:focus,
  #navi .navi-in > .menu-header.menu-pc li a:active {
    background-color: transparent !important;
    color: #014385;
  }
  #navi .navi-in > .menu-header.menu-pc li a {
    border-bottom: 2px solid transparent;
  }
  #navi .navi-in > .menu-header.menu-pc li a:hover,
  #navi .navi-in > .menu-header.menu-pc li a:focus,
  #navi .navi-in > .menu-header.menu-pc li a:active {
    border-bottom-color: #014385;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /* Banner stays full viewport */
}

/*480px以下*/
@media screen and (max-width: 425px){
  .hr-page-faq-title{
    margin-inline: 1em !important;
  }
  .hr-page-faq-list {
    padding: 0 1em;
  }
  .hr-page-flow-arrow{
	 padding-left: 0px !important; 
	 text-align:  center;
  }
	
  .hr-page-flow{
    padding-left: 0px !important;
  }
  .navi-logo-link{
    margin-left: 1rem;
  }
  .main-top-banners-img{
    object-fit: cover;
  }
  .wrap{
    margin: 0 0rem;
  }
  .main-top-banners-catch{
    width: 90%;
    padding: 1em 0.2em;
    max-width: 90%;
    font-size: 16px;
  }
  .main-section-info-col{
    min-width: 100%;
  }
}

/************************************
** Human Resources ページ：メニューバー＋main（画像）＋フッター
************************************/
.hr-page-top {
  width: 100%;
  /* padding: 2em 0; */
  background: #fff;
  /* margin-top: 42px; */
}
.hr-page-top-in {
  /* max-width: 1200px; */
  margin: 0 auto;
}
.hr-page-top-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/************************************
** Job Placement ページ（母国への職業斡旋）
************************************/
.jp-page-top {
  width: 100%;
  padding: 2em 0;
  background: #fff;
}
.jp-page-top-in {
  margin: 0 auto;
}
.jp-page-top-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.jp-page-intro {
  width: 100%;
  padding: 3em 0;
  background: #fff;
}
.jp-page-intro-in {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em;
}
.jp-page-intro-title {
  margin: 0 0 1em 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #014385;
  padding-bottom: 0.5em;
}
.jp-page-intro-body {
  margin-top: 1.5em;
}
.jp-page-intro-body p {
  margin: 0 0 1em 0;
  line-height: 1.8;
  color: #333;
}
.jp-page-content {
  width: 100%;
  padding: 2em 0 3em;
  background: #f9f9f9;
}
.jp-page-content-in {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em;
}
.jp-page-content-heading {
  margin: 0 0 1em 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}
.jp-page-content-list {
  margin: 0 0 1.5em 0;
  padding-left: 1.5em;
  line-height: 1.8;
  color: #333;
}
.jp-page-content-note {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Job Placement: coming soon placeholder */
.jp-page-coming-soon {
  width: 100%;
  min-height: 50vh;
  padding: 4em 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jp-page-coming-soon-in {
  max-width: 800px;
  margin: 0 auto;
  padding: 181px 1em;
  text-align: center;
}
.jp-page-coming-soon-text {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.05em;
}

/************************************
** Blog page（まつりつくば・BBQ記事）
************************************/
.blog-page {
  width: 100%;
  padding: 2em 0 4em;
  background: #fff;
}
.blog-page-in {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1em;
}
.blog-page-header {
  margin-bottom: 2em;
}
.blog-page-title {
  margin: 0 0 0.5em 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}
.blog-page-date {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}
.blog-page-images {
  display: flex;
  gap: 3em;
  margin-top: 2em;
  margin-bottom: 2em;
  justify-content: center;
  align-items: flex-start;
}
.blog-page-images-left {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.blog-page-images-right {
  display: flex;
}
.blog-page-img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}
.blog-page-images-right .blog-page-img{
  max-width: 580px;
  padding: 100px 0px;
}
.blog-page-body {
  margin-top: 0;
}
.blog-page-body p {
  margin: 0 0 1.2em 0;
  line-height: 1.9;
  color: #333;
}
.blog-page-body p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 834px) {
  .blog-page-images {
    flex-direction: column;
    align-items: center;
  }
  .blog-page-images-left,
  .blog-page-images-right {
    align-items: center;
  }
  .blog-page-img {
    max-width: 100%;
  }
}

/************************************
** Blog listing (matsuri_bbq-2 page – Blog CPT)
************************************/
.blog-listing-page .blog-page-in {
  padding: 0 1em 3em;
}
.blog-listing {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-listing-item {
  margin-bottom: 2em;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 2em;
}
.blog-listing-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.blog-listing-link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.blog-listing-link:hover .blog-listing-title {
  color: #014385;
}
.blog-listing-thumb {
  margin-bottom: 1em;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.blog-listing-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.blog-listing-content {
  margin: 0;
}
.blog-listing-title {
  margin: 0 0 0.35em 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  transition: color 0.2s ease;
}
.blog-listing-date {
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.9rem;
  color: #666;
}
.blog-listing-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}
.blog-listing-excerpt p {
  margin: 0;
}
.blog-listing-empty {
  margin: 0;
  padding: 2em 0;
  text-align: center;
  color: #666;
}
.blog-listing-pagination {
  margin-top: 2.5em;
  text-align: center;
}
.blog-listing-pagination-in {
  display: inline-block;
}
.blog-listing-pagination-in .page-numbers {
  display: inline-block;
  margin: 0 0.25em;
  padding: 0.4em 0.75em;
  font-size: 0.95rem;
  color: #014385;
  text-decoration: none;
  border: 1px solid #014385;
  border-radius: 4px;
}
.blog-listing-pagination-in .page-numbers:hover,
.blog-listing-pagination-in .page-numbers.current {
  background: #014385;
  color: #fff;
  border-color: #014385;
}
.blog-listing-pagination-in .page-numbers.dots {
  border: none;
}

/* Blog modal (open on same page, no navigation) */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}
.blog-modal-visible {
  visibility: visible;
  opacity: 1;
}
.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.blog-modal-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 2em 2em 2em 2em;
  margin-top: 130px;
}
.blog-modal-close {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.blog-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
}
.blog-modal-body {
  padding-right: 1em;
}
.blog-modal-loading {
  padding: 2em;
  text-align: center;
  color: #666;
}
.blog-modal-title {
  margin: 0 0 0.5em 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}
.blog-modal-date {
  display: block;
  margin-bottom: 1.25em;
  font-size: 0.9rem;
  color: #666;
}
.blog-modal-entry {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.blog-modal-entry p {
  margin: 0 0 1em 0;
}
.blog-modal-entry p:last-child {
  margin-bottom: 0;
}
.blog-modal-entry img {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width: 835px) {
  .blog-listing-link {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.5em;
  }
  .blog-listing-thumb {
    flex-shrink: 0;
    width: 280px;
    margin-bottom: 0;
  }
  .blog-listing-content {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/************************************
** Human Resources：なぜマティエールHRTが選ばれるのか
************************************/
.hr-page-why {
  width: 100%;
  padding-top: 3em;
  background: #fff;
}
.hr-page-why-in {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1em;
}
.hr-page-why-title {
  /* margin: 0 0 0.5em 0; */
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  /* border-bottom: 2px solid #014385; */
  /* padding-bottom: 0.5em; */
}
.hr-page-why-note {
  margin: 0 0 2em 0;
  font-size: 0.9rem;
  text-align: center;
  color: #555;
  border-bottom: 2px solid #014385;
  padding-bottom: 0.5em;
}
.hr-page-why-group {
  padding-bottom: 2em;
  margin-bottom: 2em;
  border-bottom: 1px solid #ddd;
}
.hr-page-flow-blocks {
  display: block;
  margin-top: 2em;
}
@media screen and (min-width: 835px) {
  .hr-page-flow-blocks {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2em;
  }
}
.hr-page-flow-block {
  margin-bottom: 2.5em;
}
@media screen and (min-width: 835px) {
  .hr-page-flow-blocks .hr-page-flow-block {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
  }
}
.hr-page-flow-heading {
  margin: 0 0 1em 0;
  font-size: 1.1rem;
  font-weight: 200;
  color: #333;
}
.hr-page-flow {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 0.5em;
  padding-left: 40px;
}
.hr-page-flow-item {
  padding: 0.75em 1.25em;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}
.hr-page-flow-arrow {
  font-size: 1rem;
  color: #014385;
  letter-spacing: 0.2em;
  line-height: 1;
  padding-left: 150px;
}
.hr-page-strengths-heading {
  margin: 0 0 1.5em 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
}
.hr-page-strength-item {
  margin-bottom: 2em;
}
.hr-page-strength-item-1 {
  margin-bottom: 2em;
}
.hr-page-strength-item-1 .hr-page-strength-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}
.hr-page-strength-item-1 .hr-page-strength-number {
  flex: 0 0 1.5em;
  width: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}
.hr-page-strength-item-2 {
  padding-bottom: 2em;
  margin-bottom: 2em;
  border-bottom: 1px solid #ddd;
}
.hr-page-strength-item-3 {
  padding-bottom: 2em;
  margin-bottom: 2em;
  border-bottom: 1px solid #ddd;
}
.hr-page-strength-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2em;
}
.hr-page-strength-text-col {
  flex: 1 1 0;
  min-width: 0;
}
.hr-page-strength-text-col-1 {
  flex: 1 1 0;
  min-width: 0;
}
.hr-page-strength-group {
  display: flex;
  align-items: flex-start;
  /* gap: 0.5em; */
}
.hr-page-strength-number {
  flex: 0 0 1.5em;
  width: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}
.hr-page-strength-group-text {
  flex: 1 1 auto;
  min-width: 0;
}
.hr-page-strength-group-text .hr-page-strength-text {
  margin: 0 0 0.5em 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.hr-page-strength-group-text .hr-page-strength-text:last-child {
  margin-bottom: 0;
}
.hr-page-strength-group .hr-page-strength-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.hr-page-strength-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-bottom: 0.75em;
}
.hr-page-strength-header .hr-page-strength-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.hr-page-strength-text-col .hr-page-strength-text {
  margin: 0 0 0.75em 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}
.hr-page-strength-text-col .hr-page-strength-text:last-child {
  margin-bottom: 0;
  max-width: 286px;
}
.hr-page-strength-image-col {
  flex: 0 0 auto;
  width: 62%;
}
.hr-page-strength-img {
  display: block;
  width: 100%;
  /* max-width: 480px; */
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}
.hr-page-strength-images {
  display: flex;
  flex-direction: row;
  gap: 1em;
  align-items: stretch;
}
.hr-page-strength-images .hr-page-strength-img {
  flex: 1 1 0;
  max-width: 400px;
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}
@media screen and (max-width: 424px) {
  .hr-page-strength-images {
    flex-direction: column;
  }
  .hr-page-strength-images .hr-page-strength-img {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 834px) {
  .hr-page-strength-content {
    flex-direction: column;
  }
  .hr-page-strength-image-col {
    width: 100%;
  }
  .hr-page-strength-img {
    max-width: 100%;
  }
}
@media screen and (max-width: 834px) {
  .hr-page-why-title {
    font-size: 1.25rem;
  }
  .hr-page-flow-item {
    max-width: 100%;
  }
}

/************************************
** Human Resources：〜想い〜
************************************/
.hr-page-omoi {
  width: 100%;
  padding: 3em 0;
  background: #f9f9f9;
}
.hr-page-omoi-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1em;
}
.hr-page-omoi-title {
  margin: 0 0 1.5em 0;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: #333;
}
.hr-page-omoi-columns {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2.5em;
}
.hr-page-omoi-body {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}
.hr-page-omoi-body p {
  margin: 0 0 1.25em 0;
}
.hr-page-omoi-body p:last-child {
  margin-bottom: 0;
}
.hr-page-omoi-figure {
  flex: 0 0 350px;
  margin: 0;
  text-align: center;
}
.hr-page-omoi-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* border-radius: 4px; */
}
.hr-page-omoi-caption {
  display: block;
  margin: 1em 0 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}
@media screen and (max-width: 834px) {
  .hr-page-omoi-title {
    font-size: 1.25rem;
  }
  .hr-page-omoi-columns {
    flex-direction: column;
    gap: 2em;
  }
  .hr-page-omoi-figure {
    flex: 0 0 auto;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* 〜想い〜 full-width block (below two-column part) — PC: full viewport width */
.hr-page-omoi-full {
  width: 100%;
  padding: 2em 0 3em 0;
  background: #f9f9f9;
  box-sizing: border-box;
}
@media screen and (min-width: 835px) {
  .hr-page-omoi-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 1em 0 4em 0;
  }
}
.hr-page-omoi-full-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1em;
}
@media screen and (min-width: 835px) {
  .hr-page-omoi-full-in {
    max-width: min(1100px, 90vw);
  }
}
.hr-page-omoi-quote {
  margin: 0 0 1.5em 0;
  padding: 0 0 0 1em;
  border-left: 4px solid #014385;
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  font-style: normal;
}
.hr-page-omoi-full-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}
.hr-page-omoi-full-body p {
  margin: 0 0 1.25em 0;
}
.hr-page-omoi-full-body p:last-child {
  margin-bottom: 0;
}

/************************************
** Human Resources：マティエールHRTのサービス
************************************/
.hr-page-service {
  width: 100%;
  padding: 3em 0;
  background: #fff;
}
.wid-50{
  min-width: 164px;
}
.hr-page-service-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}
.hr-page-service-title {
  margin: 0 0 2em 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #014385;
  padding-bottom: 0.5em;
}
.hr-page-service-columns {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 2.5em;
}
.hr-page-service-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.hr-page-service-heading-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 1.25em;
}
.hr-page-service-heading-row .hr-page-service-image {
  flex-shrink: 0;
  margin-bottom: 0;
  text-align: left;
}
.hr-page-service-heading-row .hr-page-service-img {
  margin: 0;
}
.hr-page-service-heading-row .hr-page-service-heading {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.hr-page-service-image {
  margin-bottom: 1.5em;
  text-align: center;
  line-height: 0;
}
.hr-page-service-img {
  display: block;
  width: 100%;
  width: 60px;
  height: 50px;
  margin: 0 auto;
  object-fit: contain;
}
.hr-page-service-heading {
  margin: 0 0 1.25em 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}
.hr-page-service-qa {
  margin-bottom: 1.5em;
  padding: 15px 10px 15px 0px;
  background: #f9f9f9;
  border-left: 3px solid #014385;
  border-radius: 0 4px 4px 0;
}
.hr-page-service-qa:last-child {
  margin-bottom: 0;
  margin-top: auto;
}
.hr-page-service-q {
  margin: 0 0 0.5em 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  display: flex;
  align-items: flex-start;
}
.hr-page-service-q-prefix {
  flex: 0 0 24px;
  width: 24px;
  min-width: 20px;
  text-align: center;
}
.hr-page-service-q-body {
  flex: 1 1 auto;
  min-width: 0;
}
.hr-page-service-a {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  display: flex;
  align-items: flex-start;
}
.hr-page-service-a-prefix {
  flex: 0 0 24px;
  width: 24px;
  min-width: 20px;
  text-align: center;
}
.hr-page-service-a-body {
  flex: 1 1 auto;
  min-width: 0;
}
@media screen and (max-width: 834px) {
  .hr-page-service-title {
    font-size: 1.25rem;
  }
  .hr-page-service-columns {
    flex-direction: column;
    gap: 2.5em;
  }
  .hr-page-service-col {
    width: 100%;
  }
  .hr-page-service-heading-row {
    flex-direction: row;
    align-items: center;
  }
  .hr-page-service-heading-row .hr-page-service-image {
    text-align: center;
  }
  .hr-page-service-heading-row .hr-page-service-img {
    margin: 0 auto;
  }
}

/************************************
** Human Resources：visa-flow + FAQ
************************************/
.hr-page-faq {
  width: 100%;
  padding: 3em 0;
  background: #fff;
}
.hr-page-faq-in {
  max-width: 1300px;
  margin: 0 auto;
  /* padding: 0 1em; */
}
.hr-page-faq-visa {
  margin-bottom: 2.5em;
  text-align: center;
}
.hr-page-faq-visa-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hr-page-faq-title {
  margin: 0 0 1.5em 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #014385;
  padding-bottom: 0.5em;
  margin-inline: 1em;
}
.hr-page-faq-list {
  display: block;
  padding: 0 1em;
}
.hr-page-faq-item {
  margin-bottom: 1.75em;
  padding: 1.25em 1.25em 1.5em;
  background: #f9f9f9;
  border-left: 4px solid #014385;
  border-radius: 0 4px 4px 0;
}
.hr-page-faq-item:last-child {
  margin-bottom: 0;
}
.hr-page-faq-q {
  margin: 0 0 0 0;
  padding-right: 1.5em;
  font-size: 1rem;
  font-weight: 700;
  color: #014385;
  line-height: 1.5;
  cursor: pointer;
  position: relative;
  user-select: none;
  display: flex;
  align-items: flex-start;
}
.hr-page-faq-q-prefix {
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
}
.hr-page-faq-q::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.75em;
  opacity: 0.7;
  transition: transform 0.25s ease;
}
.hr-page-faq-item-is-open .hr-page-faq-q::after {
  transform: rotate(-180deg);
}
.hr-page-faq-a {
  margin: 0;
  padding-top: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: flex;
  align-items: flex-start;
}
.hr-page-faq-a-prefix {
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
}
.hr-page-faq-a-body {
  flex: 1 1 auto;
  min-width: 0;
  /* max-width: 1090px; */
}
.hr-page-faq-a-body-1 {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1090px;
}
.hr-page-faq-a-row {
  display: flex;
  align-items: flex-start;
  margin: 0 0 0.5em 0;
  letter-spacing: -1px;
}
.hr-page-faq-a-row:last-child {
  margin-bottom: 0;
}
.hr-page-faq-a-label {
  flex: 0 0 10em;
  width: 10em;
  min-width: 10em;
}
.hr-page-faq-item:hover .hr-page-faq-a,
.hr-page-faq-item-is-open .hr-page-faq-a {
  max-height: 2000px;
}
.hr-page-faq-item-is-open .hr-page-faq-a {
  padding-top: 0.6em;
  padding-right: 20px;
}
.hr-page-faq-item:hover .hr-page-faq-a {
  padding-top: 0.6em;
}
.hr-page-faq-a p {
  margin: 0 0 0.5em 0;
}
.hr-page-faq-a p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 834px) {
  .hr-page-faq-title {
    font-size: 1.25rem;
  }
}
@media screen and (max-width:1440px){
  .blog-page-in{
    max-width: 85%;
  }
}

/************************************
** Human Resources：インドネシア人の方の声 / クライアント様の声
************************************/
.hr-page-voices {
  width: 100%;
  padding: 3em 0;
  background: #f9f9f9;
}
.hr-page-voices-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}
.hr-page-voices-title {
  margin: 0 0 2em 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  border-bottom: 2px solid #014385;
  padding-bottom: 0.5em;
}
.hr-page-voices-columns {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 2.5em;
}
.hr-page-voices-col {
  flex: 1 1 0;
  min-width: 0;
}
.hr-page-voices-heading {
  margin: 0 0 1.25em 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  /* gap: 0.5em; */
}
.hr-page-voices-heading-icon {
  width: 60px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.hr-page-voices-item {
  margin-bottom: 2em;
  padding: 1.5em 1.25em;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}
.hr-page-voices-item:last-child {
  margin-bottom: 0;
}
.hr-page-voices-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.25em;
  margin-bottom: 1em;
}
.hr-page-voices-image {
  flex-shrink: 0;
  width: 50%;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.hr-page-voices-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}
.font-size-75 {
  font-size:0.9rem;
  padding-top: 15px;
}
.hr-page-voices-row .hr-page-voices-name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #014385;
  line-height: 1.5;
  padding-top: 30px;
}
.hr-page-voices-name {
  margin: 0 0 1em 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #014385;
  line-height: 1.5;
}
.hr-page-voices-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}
.hr-page-voices-body p {
  margin: 0 0 0.75em 0;
}
.hr-page-voices-body p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 834px) {
  .hr-page-voices-title {
    font-size: 1.25rem;
  }
  .hr-page-voices-columns {
    flex-direction: column;
    gap: 2.5em;
  }
  .hr-page-voices-col {
    width: 100%;
  }
  .hr-page-voices-row {
    flex-direction: column;
  }
  .hr-page-voices-image {
    width: 100%;
    /* max-width: 200px; */
  }
}

/************************************
** トップへ戻るボタン：縦ライン + PAGE TOP + フロー
************************************/
#go-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  right: 50px;
  bottom: 320px;
}
.go-to-top-button,
.go-to-top-button.go-to-top-button-icon-font {
  position: relative;
  width: 32px !important;
  min-height: 140px !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  color: transparent !important;
  font-size: 0 !important;
}
.go-to-top-button .fa {
  display: none !important;
}
/* 縦ライン（フローアニメーション・反対側から変化） */
.go-to-top-button::before {
  content: '';
  display: block;
  width: 2px;
  height: 72px;
  margin-bottom: 30px;
  /* 上→下のグラデーション：流れは反対側（下）から上へ */
  background: linear-gradient(
    to bottom,
    #d8d8ee 0%,
    #0f467e 25%,
    #2f88e0 50%,
    #689dd3 75%,
    #d8d8ee 100%

  );
  background-size: 100% 200%;
  animation: go-to-top-line-flow 6s linear infinite;
}
@keyframes go-to-top-line-flow {
  /* 反対側（上）から流れが来る：背景を下にずらす = 上から色が流れ下りる */
  0%   { background-position: 0 0%; }
  100% { background-position: 0 100%; }
}
/* PAGE TOP テキスト（90度時計回り） */
.go-to-top-button::after {
  content: 'PAGE TOP';
  display: block;
  transform: rotate(-90deg);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: gray;
  /* text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); */
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}
/* .go-to-top-button:hover::before {
  background: linear-gradient(
    to top,
    #000080 0%,
    #2a2a9a 40%,
    #000080 100%
  );
  background-size: 100% 200%;
  animation: go-to-top-line-flow 1.2s linear infinite;
}
.go-to-top-button:hover::after {
  color: #000060;
} */

/************************************
** 固定フッター：問い合わせボタン（2種類）
************************************/
.fixed-contact-buttons {
  position: fixed;
  width: 320px;
  bottom: 120px;
  right: 0;
  z-index: 9998;
  padding: 0.6em 0;
  /* padding-top: 2em; */
  /* border:2px solid #014385; */
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.856);
}
.fixed-contact-buttons-is-closed {
  display: none !important;
}
.fixed-contact-buttons-close {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 28px;
  height: 29px;
  padding: 0;
  border: none;
  background: white;
  color: #014385de;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.fixed-contact-buttons-close:hover {
   scale: 1.1;
   transition: scale 0.2s ease;
} 
.fixed-contact-buttons-in {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1em;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 1em;
}
.fixed-contact-btn {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  padding: 0.75em 1em;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fixed-contact-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #014385de;
  color: #014385de;
}
.fixed-contact-btn-left {
  border-color: rgba(255, 255, 255, 0.6);
  width: 83%;
  background: #014385de;
  padding-inline: 1.1em;
}
.fixed-contact-btn-right {
  border-color: rgba(255, 255, 255, 0.6);
  width: 83%;
  background: #014385de;
}
/* 固定ボタン分の余白（コンテンツが隠れないよう） */
body.has-fixed-contact-buttons #container {
  /* padding-bottom: 4.5em; */
}
@media screen and (max-width: 834px) {
  .fixed-contact-buttons-in {
    flex-direction: column;
    gap: 0.5em;
  }
  .fixed-contact-btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.65em 1em;
  }
  .main-section-info-box{
    height: 430px;
  }
  body.has-fixed-contact-buttons #container {
    /* padding-bottom: 6em; */
  }
}
.main-section-contact-title1{
	padding: 20px !important;
	font-size: 2.2rem !important;
}
.contact-page-forms{
	margin-bottom:40px;
}