@charset "utf-8";
/*
Theme Name: 和工房やなざき
Theme URI: wakoubou-yanazaki.com
Description: 山口県岩国市で昭和２年創業。古くより地域の皆様に親しまれてきた柳崎畳店。2009年7月1日より、社名を「和工房 やなざき」に変更し、より一層お客様のニーズにお応えし、最良のアドバイスをさせていただきます。
Version: 20260205

*/
/* ***************************************************************** 
*	共通設定
* ***************************************************************** */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1.5em;
  list-style: none;
  text-decoration: none;
}
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
.br-sp {
  display: none;
}
.br-pc {
  display: inline;
}
@media screen and (max-width: 750px) {
  .br-sp {
    display: inline;
  }
  .br-pc {
    display: none;
  }
}
:root {
  --main: #1e6f5c;
  --sub: #4fb286;
  --midashi: #009245;
  --bg: #f3f8f4;
}
.section {
  margin-bottom: 100px !important;
}
/* ***************************************************************** 
*	基本設定
* ***************************************************************** */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: #fff;
  color: #444;
  line-height: 190%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* リンク
---------------------------------------------------- */
a {
  color: #45AAB8;
  text-decoration: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
a:hover {
  color: #666;
}
a:active, a:focus {
  outline: 0;
}
/* 画像
---------------------------------------------------- */
img {
  border: 0;
  padding: 0px;
  margin: 0px
}
ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}
li {
  margin: 0;
  padding: 0;
}
li a {
  color: #45AAB8;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
li a:hover {
  color: #666;
}
/* *****************************************************************
*	全体Wrapper
* ***************************************************************** */
.wrapper {
  margin: auto;
  max-width: 1200px;
  padding: 80px 40px;
  position: relative;
}
/* ***************************************************************** 
*	ヘッダー
* ***************************************************************** */
#header {
  width: 100%;
}
.header-inner {
  overflow: hidden;
  margin: 0px auto;
  padding: 10px 30px;
  display: flex;
  align-items: center;
}
#header h1 {
  text-align: center;
  margin: 0;
}
.logo{
    width: 100%;
    max-width: clamp(280px, 20vw, 350px);
}
/* トップナビゲーション
---------------------------------------------------- */
#nav {
  width: 100%;
  margin: 0 auto;
  z-index: 9999;
  padding: 0;
  text-align: right;
}
#nav ul {
  list-style: none;
  margin: auto;
}
.main-navigation {
  clear: both;
  margin: 0 auto;
  position: relative;
}
ul.nav-menu, div.nav-menu > ul {
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: inline-block;
  position: relative;
  margin: 0 -2px 0 -2px;
}
/* 通常 */
.nav-menu li a {
  color: #0f393c;
  display: block;
    font-size: clamp(15px, 1.2vw, 18px);
  padding: 10px clamp(15px, 2vw, 30px);
  font-weight: bold;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
/* hover */
.nav-menu li:hover > a, .nav-menu li a:hover {
  color: #0f393c;
}
.nav-menu .sub-menu, .nav-menu .children {
  background: #eee;
  display: none;
  padding: 0;
  position: absolute;
  z-index: 99999;
}
.nav-menu .sub-menu ul, .nav-menu .children ul {
  border-left: 0;
  left: 100%;
  top: 0;
}
ul.nav-menu ul a, .nav-menu ul ul a {
  color: #333;
  margin: 0;
  width: 200px;
}
/* サブメニュー hover */
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover {
  background: #ddebea;
  color: #0f393c;
}
ul.nav-menu li:hover > ul, .nav-menu ul li:hover > ul {
  display: block;
  background: #eee;
}
/* current（現在地） */
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current-post-ancestor > a {
  background: #0f393c;
  color: #fff;
}
/* ★ current の hover 時も白文字を維持 */
.nav-menu .current_page_item > a:hover, .nav-menu .current_page_ancestor > a:hover, .nav-menu .current-menu-item > a:hover, .nav-menu .current-menu-ancestor > a:hover, .nav-menu .current-post-ancestor > a:hover {
  color: #fff;
}
/* ===== hover アニメーション（下線スライド） ===== */
.nav-menu li a {
  position: relative;
  color: #0f393c;
  transition: color .25s ease;
}
/* 下線 */
.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0f393c;
  transition: all .3s ease;
  transform: translateX(-50%);
}
/* hover時 */
.nav-menu li a:hover::after, .nav-menu li:hover > a::after {
  width: 60%;
}
/* current（現在地）は常に表示 */
.nav-menu .current_page_item > a::after, .nav-menu .current_page_ancestor > a::after, .nav-menu .current-menu-item > a::after, .nav-menu .current-menu-ancestor > a::after, .nav-menu .current-post-ancestor > a::after {
  width: 60%;
}
.toggle {
  display: none;
}
.menu-toggle {
  width: 40px;
  height: 40px;
}
.hamburger {
  display: none;
}
/* ハンバーガーメニュー
---------------------------------------------------- */
/*!
* Hamburgers
* @description Tasty CSS-animated hamburgers
* @author Jonathan Suh @jonsuh
* @site https://jonsuh.com/hamburgers
* @link https://github.com/jonsuh/hamburgers
*/
.hamburger {
  padding: 10px 2px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 35px;
  height: 3px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
/*
* Spin
*/
.hamburger--spin .hamburger-inner {
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
}
.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.34s ease-in, -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--spin.is-active .hamburger-inner {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
}
.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* トップヘッダー画像
---------------------------------------------------- */
.top-header {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  max-width: 1200px;
}
.slider-sp{
  display: none;
}

@media (max-width: 768px){
  .slider-pc{
    display: none;
  }
  .slider-sp{
    display: block;
  }
}

/* トップヘッダー画像
---------------------------------------------------- */
.sub_header {
  position: relative;
  padding: 120px 20px 100px;
  background: linear-gradient(135deg, #f4f7f6 0%, #e8f2ee 100%);
  overflow: hidden;
}
/* 背景装飾ライン */
.sub_header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: var(--main);
}
/* 中央ボックス */
.titlebox {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
/* 英語タイトル（背景的存在） */
.en_title {
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 700;
  color: var(--main);
  opacity: 0.07;
  position: absolute;
  top: -40px;
  left: 0;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
}
/* 日本語タイトル */
.title {
  position: relative;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.08em;
}
.sub_header::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: var(--main);
  opacity: 0.05;
  border-radius: 50%;
}
/* ***************************************************************** 
*	メイン（本文）コンテンツ
* ***************************************************************** */
#main {
  margin: 0;
  padding: 0;
}
/* 見出し
---------------------------------------------------- */
h1 {
  font-size: 24px;
}
h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--main);
  position: relative;
  letter-spacing: 3px;
  margin-bottom: 40px;
  padding: 0 10px 15px;
  line-height: 1em;
}
h2 span {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--sub);
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0px;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--sub); /* 薄いライン */
}
/* 手前の濃いライン（途中まで） */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 3px;
  background: var(--main);
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 20px;
}
h6 {
  font-size: 20px;
}
/* テキスト
---------------------------------------------------- */
p {
  font-size: 16px;
  line-height: 2em;
  text-align: justify; /* 両端揃え */
  text-justify: inter-ideograph; /* 日本語向けの詰め方 */
}
p a {
  color: #45AAB8;
  text-decoration: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
}
p a:hover {
  color: #666;
}
p a:active, a:focus {
  outline: 0;
}
/* パンくずリスト
---------------------------------------------------- */
.breadcrumb {
  margin: 10px 0 0px 0;
  line-height: 120%;
}
.breadcrumb div {
  display: inline;
  font-size: 11px;
  color: #999;
}
.breadcrumb span, .breadcrumb span a {
  color: #45aab8;
}
.breadcrumb ol {
  margin: 0px;
}
.breadcrumb li {
  margin: 0px;
  display: inline;
}
/* WP必須
---------------------------------------------------- */
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 90%;
  text-align: center;
}
.sticky {}
.gallery-caption {}
.bypostauthor {}
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
/* *****************************************************************
*	フッター
* ***************************************************************** */
#footer {
  background: var(--bg);
  clear: both;
  width: 100%;
  font-size: 80%;
  margin: 0px auto 0px auto;
}
.footer-inner {
  margin: 0px auto 0px auto;
  padding: 0px 0px;
  max-width: 960px;
}
#copyright {
  font-size: 14px;
  line-height: 1.5em;
  color: #FFF;
  text-align: center;
  position: relative;
  margin: 0;
  padding: 15px;
  background: #0f393c;
}
/* *****************************************************************
*	CSS3アニメーション
* ***************************************************************** */
.img-anime2 img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.img-anime2:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
/* *****************************************************************
*   レスポンシブ（メディアクエリ）
* ***************************************************************** */
/* Tablet (Portrait) 画面の横幅が751px〜1299pxまで
---------------------------------------------------- */
@media only screen and (min-width: 751px) and (max-width: 1299px) {
  .wrapper {
    width: 100%;
    margin: auto;
    padding: 30px 30px;
  }
  .header-inner {
    width: 100%;
    padding: 10px 20px;
  }
  #nav {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .footer-inner {
    width: 100%;
    padding: 0px 0px;
  }
}
/* Mobile (Portrait) 画面の横幅が300px~750pxまで（基本）
---------------------------------------------------- */
@media only screen and (max-width: 750px) {
  .wrapper {
    width: 100%;
    padding: 30px 20px;
  }
  .header-inner {
    width: 100%;
    margin: auto;
    padding: 10px;
  }
  #nav {
    display: none;
    position: absolute;
    top: 0;
    float: none;
    text-align: center;
    width: 100%;
    background: #fefefe;
    margin: 0 auto 40px auto;
    padding: 0;
  }
  .nav-menu li a {
    color: #333;
    display: block;
    font-size: 15px;
    padding: 20px 10px;
    text-decoration: none;
  }
  .nav-menu li {
    display: block;
    float: none;
    border-bottom: 1px solid #ededed;
  }
  .toggle {
    display: block;
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  p {
    font-size: 14px;
  }
  .footer-inner {
    width: 100%;
    padding: 0px 0px;
  }
}
.yb-wrap-full {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 0 12px;
  box-sizing: border-box;
  margin: 0 auto 30px;
  max-width: 1300px;
}
/* 5等分 */
.yb-wrap-full .yb {
  flex: 1;
  width: 20%;
  margin: 0;
  border-radius: 0; /* 横並びなので角丸を外す（任意） */
}
.yb {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin: 0 auto;
  padding: .9em 2em;
  overflow: hidden;
  border: 1px solid #2589d0;
  border-radius: 5px;
  background-color: #fff;
  color: #2589d0;
  font-size: 1.2em;
  padding-right: 2.5em; /* 右側に矢印分の余白 */
}
/* 末尾の「＞」 */
.yb::after {
  content: "＞";
  position: absolute;
  right: 1.2em;
  font-size: 0.9em;
  transition: transform .3s ease;
}
/* ホバーで少し動かす（クリック誘導UP） */
.yb:hover::after {
  transform: translateX(4px);
}
.yb:hover {
  background-color: transparent;
  color: #fff !important;
}
.yb::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  background-color: #2589d0;
  content: '';
  transition: width .3s ease;
}
.yb:hover::before {
  width: 100%;
}
.yb.bg01 {
  border: 1px solid #0f393c;
  color: #0f393c;
}
.yb.bg01::before {
  background-color: #0f393c;
}
.yb.bg02 {
  border: 1px solid #3fabe1;
  color: #3fabe1;
}
.yb.bg02::before {
  background-color: #3fabe1;
}
.yb.bg03 {
  border: 1px solid #F15A24;
  color: #F15A24;
}
.yb.bg03::before {
  background-color: #F15A24;
}
.yb.bg04 {
  border: 1px solid #192d79;
  color: #192d79;
}
.yb.bg04::before {
  background-color: #192d79;
}
.yb.bg05 {
  border: 1px solid #6BBE45;
  color: #6BBE45;
}
.yb.bg05::before {
  background-color: #6BBE45;
}
@media screen and (max-width: 768px) {
  .yb-wrap-full {
    flex-wrap: wrap;
    gap: 10px; /* 余白あると綺麗 */
  }
	.yb{
        padding: 10px 15px;
        font-size: 16px;
	}
.yb::after {
    content: "＞";
    position: absolute;
    right: 10px;
    font-size: 0.9em;
    transition: transform .3s ease;
}

    .yb-wrap-full .yb {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
    }
}

.message {
  position: relative;
}
.title_il {
  position: absolute;
  right: 60px;
  top: 40px;
  z-index:10;
}
.title_il img{
    width: clamp(100px, 12vw, 150px);
    height: auto;
}
.top_ms {
  position: relative;
}
.top_ms_txt {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.6);
  padding: 30px 30px 30px 0;
  border-radius: 30px;
  top: 30px;
}
.top_ms_txt p {
  padding: 30px 0;
}
.top_ms_img {
  position: absolute; /* absoluteをやめる */
  right: 0;
  top: 0;
}
.top_ms_img img {
  width: 100%;
  height: auto;
  display: block;
}
.top_ms_txt_title {
  font-size: clamp(22px, 2.6vw, 36px);
  color: var(--main);
  font-weight: 800;
}
.top_ms_name {
  font-size: clamp(26px, 3vw, 32px);
  text-align: right;
}
.top_ms_co_name {
  display: block;
  text-align: right;
  margin-top: 30px;
  font-size: 16px;
}
.top_ms_name span {
  font-size: 16px;
  margin-right: 10px;
}
.company, .staff_day, .rec_staff_ms, .rec_details {
  background: var(--bg);
}
.company__inner, .staff_day__inner, .rec_staff_ms__inner, .rec_details__inner {
  margin: 0 auto;
}
.company table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.company table th, .company table td {
  color: var(--midashi);
  border-bottom: 1px solid;
  padding: 20px 15px;
  line-height: 2em;
}
.company table th {
  width: 20%;
}
.company table td {
  color: #000;
  border-color: var(--midashi);
}
/* ===== 沿革（タイムライン） ===== */
.history {
  max-width: 1920px;
  margin: 0 auto;
  background: url(./images/aboutus/enkaku_bg.png) no-repeat;
  background-position: -200px center;
  background-size: contain;
}
.history__inner {
  margin: 0 auto;
}
.history__title {
  font-size: 28px;
  margin: 0 0 24px;
  font-weight: 800;
}
/* =========================
   リスト全体（縦ラインは1本）
========================= */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  width: 100%;
  max-width: 1000px;
}
/* 縦ライン（1本だけ） */
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; /* ドット中心に合わせる */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--midashi);
  opacity: .35;
}
/* =========================
   1行（1年分）
========================= */
.timeline__item {
  display: flex;
  gap: 36px;
  position: relative;
  padding: 18px 0;
}
/* ドット */
.timeline__item::after {
  content: "";
  position: absolute;
  left: 4px; /* 11px中心 - 半径7.5px */
  top: 26px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--midashi);
}
/* =========================
   日付（左カラム）
========================= */
.timeline__date {
  padding-left: 34px; /* ライン・ドット分の余白 */
  width: 260px;
  flex: 0 0 260px;
  color: var(--midashi);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
}
/* =========================
   右カラム
========================= */
.timeline__body {
  flex: 1;
  min-width: 0;
}
/* 説明文 */
.timeline__text {
  margin: 0;
  line-height: 1.9;
  font-size: 16px;
}
/* =========================
   SP（縦積み）
========================= */
@media (max-width: 768px) {
  .timeline__item {
    flex-direction: column;
    gap: 10px;
  }
  .timeline__date {
    width: auto;
    flex: 0 0 auto;
    padding-left: 34px; /* ドット位置は維持 */
  }
}
.staff_day_box {
  display: flex;
  height: 750px;
}
.staff_day__cate {
  padding: 0 5px;
  position: relative;
}
.staff_day__cate:first-child {
  width: 45%;
}
.staff_day__cate:nth-child(2) {
  width: 55%;
}
.staff_day__cate h3 {
  position: absolute;
  font-size: clamp(28px, 4vw, 42px);
  left: 20px;
  color: var(--main);
}
.h3sub {
  color: var(--sub) !important;
}
.staff_il {
  position: absolute;
  right: 0;
  top: -25px;
  width: 120px;
}
.staff_nai_photo {
  position: absolute;
  bottom: 0;
  left: 0;
}
.staff_ei_photo {
  position: absolute;
  bottom: 0;
  right: 0;
}
.staff_day__timeline {
  margin-top: 20px;
  background: #FFF;
  padding: 50px 30px;
  border-radius: 20px;
}
.staff_day__row {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid #e5e5e5;
}
.staff_day__row:last-child {
  border-bottom: none;
}
.staff_day__time {
  color: #1a9b58;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.staff_day__body {
  font-size: 15px;
  line-height: 1.8;
  color: #222;
}
.staff_day__body p {
  margin: 0;
}
.staff_day__list {
  margin: 0;
  padding-left: 1.5em;
}
.staff_day__list li {
  margin: 0;
  padding: 5px 0;
  list-style-type: decimal !important; /* ← 強制表示 */
}
/* SP */
@media (max-width: 600px) {
  .staff_day__time {
    font-size: 15px;
  }
}
.staff {
  max-width: 1200px;
  margin: 50px auto 100px;
}
.staff_inner {
  width: 100%;
}
.staff_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.staff_card {
  flex: 0 0 calc((100% - 40px) / 3);
  padding: 40px;
  background: #fff;
  box-sizing: border-box;
  box-shadow:
    15px 15px 0 rgba(0, 0, 0, .08), 0 0 15px rgba(30, 163, 108, .25);
}
/* 偶数 */
.staff_card:nth-child(even) {
  box-shadow:
    15px 15px 0 var(--sub), 0 0 15px rgba(30, 163, 108, .25); /* ← 光彩も書く */
}
.staff_img {
  text-align: center;
  position: relative;
}
.staff_position {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 20px;
  padding: 10px 20px;
  color: #FFF;
  text-align: center;
}
.staff_name {
  font-size: 24px;
  padding: 15px 0;
}
.staff_comment {
  font-size: 16px;
}
.recruit {
  width: 100%;
}
.recruit p {
  text-align: center;
  margin-bottom: 50px;
}
.rec_staff_box {
  display: flex;
}
.rec_staff_txt {
  width: 70%;
  padding: 0 25px 0 10px;
}
.rec_staff_txt p {
  padding-bottom: 15px;
}
.rec_staff_img {
  width: 30%;
}
.person_box {
  width: 100%;
  display: flex;
  gap: 20px;
}
.person_content {
  flex: 0 0 calc((100% - 40px) / 3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}
/* 1番目 */
.person_content:nth-child(1) {
  background-image: url("./images/recruit/person_01.png");
}
/* 2番目 */
.person_content:nth-child(2) {
  background-image: url("./images/recruit/person_02.png");
}
/* 3番目 */
.person_content:nth-child(3) {
  background-image: url("./images/recruit/person_03.png");
}
.person_content ul {
  width: fit-content; /* 中身の幅だけにする */
  margin: 0 auto; /* 中央配置 */
  text-align: left; /* ← 文字は左揃え */
}
.person_content ul li {
  list-style: disc;
  list-style-position: inside;
  font-size: 16px;
  padding: 5px 0;
}
.person_title {
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.5em;
  color: var(--main);
  font-weight: 800;
  margin-bottom: 15px;
}
.rec_details_box {
  max-width: 900px;
  margin: 0 auto 50px;
}
.rec_details_box h3 {
  font-size: clamp(22px, 2.5vw, 26px);
  color: var(--sub);
  font-weight: 600;
  border-bottom: 2px solid;
  margin-bottom: 30px;
  padding: 0 10px 5px;
}
.rec_details_box table {
  width: 100%;
}
.rec_details_box table th, .rec_details_box table td {
  color: #000;
  border-bottom: 1px solid;
  padding: 20px 15px;
  line-height: 2em;
}
.rec_details_box table th {
  width: 20%;
}
/* ===== flow ===== */
.flow_box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  margin-top: 60px;
}
/* 1つのステップ枠 */
.flow_content {
  position: relative;
  flex: 1;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border: 2px solid #1ea36c;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
/* タイトル（左） */
.flow_title {
  font-weight: 700;
  color: #1ea36c;
  line-height: 1.35;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.02em;
}
/* 右側アイコン */
.flow_content .flow_img {
  position: absolute;
  right: 0;
  bottom: 46px;
}
.flow_content .flow_img img {
  width: 80px;
  height: auto;
  display: block;
}
/* 矢印（区切り） */
.flow_content:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  color: #1ea36c;
  font-size: 20px;
  line-height: 1;
}
/* ===== responsive ===== */
@media (max-width: 900px) {
  .flow_box {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .flow_content {
    width: 100%;
  }
  /* 縦並び時の矢印を下向きに */
  .flow_content:not(:last-child)::after {
    content: "▼";
    right: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(50%);
    font-size: 18px;
  }
  .flow_content .flow_img img {
    width: 64px;
  }
}
/* ===== footer menu ===== */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
/* ボタン共通 */
.footer-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #333;
  transition: all .25s ease;
  border-right: 1px solid rgba(0, 0, 0, .12);
}
.footer-inner a:last-child {
  border-right: none;
}
/* 外部リンクだけアイコン */
.footer-inner a[target="_blank"]::after {
  content: "↗";
  font-size: 0.9em;
  opacity: .7;
}
/* hover */
.footer-inner a:hover {
  background: var(--main);
  color: #fff;
  border-color: var(--main);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
}
.n_green {
  color: #1e6f5c;
  font-size: 16px;
  margin-left: 20px;
}
.green {
  background: #1e6f5c;
}
.pink {
  background: #ff7bac;
}
.blue {
  background: #3fa9f5;
}

@media (max-width: 1150px) {
.sub_header {
    padding: 60px 20px;
}
.top_ms_txt {
    max-width: 610px;
    top: 20px;
}
	
}

@media (max-width: 1050px) {
p {
    font-size: 14px;
}
.history {
    background-position: -400px center;
}
.staff_il {
    width: 85px;
}
.staff_day__timeline {
    padding: 20px 30px 50px;
}
.staff_ei_photo {
    bottom: -110px;
}
.staff_card {
    padding: 50px 25px;
}
.staff_position {
    font-size: 16px;
    padding: 10px;
}
.staff_comment {
    font-size: 14px;
    line-height: 1.5em;
}

.n_green {
    margin-left: 0;
    display: block;
}
.person_content {
    background-size: 180px;
    margin-bottom: 50px;
}
.person_title {
    margin-bottom: 5px;
}
.person_content ul li {
    font-size: 14px;
}
    .logo {
        width: 200px;
    }
	
}

@media (max-width: 768px) {
.top-header {
  margin: 0 auto 15px;
}
    .logo {
        width: 200px;
    }
  .sub_header {
    padding: 30px 20px;
  }
  .title_il {
    right: 20px;
    top: 30px;
    width: 20%;
  }
  .top_ms {
    display: flex;
    flex-direction: column;
  }
  .top_ms_img {
    position: relative;
    order: 1;
    height: 400px;
    overflow: hidden; /* はみ出し防止（推奨） */
  }
.top_ms_img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 60% center;
}
  .top_ms_txt {
    order: 2;
  }
  .top_ms_co_name {
    margin-top: 10px;
  }
  .top_ms_name {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    color: #FFF;
    width: 100%;
    background: #00000080;
    padding: 5px 15px;
  }
  .top_ms_name span, .top_ms_co_name {
    font-size: 14px;
  }
  .top_ms_txt {
    order: 2;
    padding: 0;
    background: unset;
  }
  .top_ms_txt p {
    padding: 10px 0;
  }
  .company, .staff_day, .rec_staff_ms, .rec_details {
    padding: 50px 0;
  }
  .company table th, .company table td, .rec_details_box table th, .rec_details_box table td {
    display: block;
    width: 100%;
    padding: 15px;
  }
  .timeline__text {
    width: 100%;
    padding-left: 30px;
	  font-size: 14px;
  }
  .staff_day_box {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .staff_day__cate:first-child, .staff_day__cate:nth-child(2) {
    width: 100%;
  }
  .staff_day__cate:first-child {
    height: 670px;
    margin-bottom: 50px;
  }
  .staff_day__cate:nth-child(2) {
    height: 970px;
  }
  .staff_day__timeline {
    padding: 20px 20px 50px;
    border-radius: 20px;
  }
  .staff_il {
    top: -15px;
    width: 20%;
  }
  .staff_card {
    flex: 0 0 100%;
    padding: 30px; /* 少し余白調整（任意） */
  }
  .staff_card {
    box-shadow: 10px 10px 0 rgba(0, 0, 0, .08), 0 0 15px rgba(30, 163, 108, .25);
  }
  .staff_card:nth-child(even) {
    box-shadow: 10px 10px 0 var(--sub), 0 0 15px rgba(30, 163, 108, .25);
  }
  .staff_position {
    font-size: 16px;
  }
  .footer-inner {
    padding: 15px 15px;
  }
  .footer-inner a {
    width: calc(100% / 3);
    padding: 10px 0;
    font-size: 14px;
    border: none;
    letter-spacing: 0;
  }
  .recruit p {
    text-align: left;
  }
  .rec_staff_box {
    flex-direction: column;
  }
  .rec_staff_txt {
    width: 100%;
    padding: 0;
  }
  .rec_staff_img {
    width: 75%;
    margin: 0 auto;
	  text-align: center;
  }
  .person_box {
    flex-direction: column;
  }
  .person_content {
    flex: 0 0 100%;
    background-size: 180px;
    margin-bottom: 30px;
  }
  .person_title {
    margin-bottom: 10px;
  }
  .person_content ul li {
    font-size: 14px;
    padding: 3px 0;
  }
  .flow_content .flow_img {
    bottom: 30px;
  }
#copyright {
    padding: 15px 95px 15px 15px;
    text-align: left;
}
  #topcontrol{
    bottom: 10px !important;
    right: 15px !important;
  }
}

/* ===== ハンバーガー開閉（チェックボックス方式） ===== */
@media only screen and (max-width: 750px) {

  /* toggleがONになったら nav を表示 */
  .toggle:checked ~ #nav {
    display: block;
  }

  /* navがヘッダーの下に出るように */
  #nav{
    left: 0;
    margin-top: 60px; /* ヘッダー高さに合わせて調整 */
    z-index: 9999;
  }
}
