/*
Theme Name: Cocoon Child
Template: cocoon-master
*/

/* ============================================
   共通CSS
   ============================================ */
@charset "utf8";

html {
	font-family: "Sawarabi Mincho", serif;
	font-size: 10px;
	line-height: 1;
}
body {
	width: 100%;
	text-align: left;
	color: #000000;
	background-color: #ffffff;
	margin: 0;
	font-size: 2rem;
	overflow-x: hidden;
}
* {
	font-size: 1em;
	margin: 0;
	padding: 0;
}
img {
	line-height: 1;
	width: 100%;
	height: auto;
}
a {
	text-decoration: none;
}
a:hover {
	opacity: 0.6;
}

.pc-only {
	display: hidden;
}
section {
	width: 770px;
	margin: 0 auto 9.17%;
}



.section-head {
	display: block;
	text-align: left;
	line-height: 1;
	font-size: 3.6rem;
	font-weight: normal;
	border-bottom: solid 0.3rem #cdcdcd;
	padding-bottom: 0.3rem;
	margin: 10.399% 0 0;
	letter-spacing: 1rem;
}
.section-head img {
	width: 12.803%;
	margin-right: 2.08%;
}

section p {
	margin-top: 2.773%;
	font-size: 1.6rem;
}

footer {
	background-color: #444;
	color: #fff;
	font-size: 1.3rem;
}
footer section {
	margin-bottom: 0;
	display: flex;
	justify-content: center;
}
footer section p {
	font-size: 1.3rem;
}
#footer-access {
	margin: 0 auto;
	line-height: 1.6;
	padding: 2.427%;
}
#footer-access span {
	margin-left: 2em;
	margin-right: 1em;
}

#copyright {
	padding: 2.773% 0 4.16%;
	font-size: 1.2rem;
	text-align: center;
	border-top: double 3px #fff;
}


@media screen and (max-width: 999px) {
	section {
		margin-bottom: 8.146%;
		width: 77.0666666666666%;
	}
	html {font-size: 9px;}
	@media screen and (max-width: 899px) {
		html {font-size: 8px;}
		@media screen and (max-width: 799px) {
			html {font-size: 7px;}
			@media screen and (max-width: 699px) {
				html {font-size: 6px;}
				@media screen and (max-width: 599px) {
					html {font-size: 5px;}
					@media screen and (max-width: 499px) {
						html {font-size: 4px;}
						@media screen and (max-width: 399px) {
							html {font-size: 3px;}
							@media screen and (max-width: 299px) {
								html {font-size: 2px;}
							}
						}
					}
				}
			}
		}
	}
}



/* ============================================
   トップページ
   ============================================ */
@charset "utf8";

    /* Reset CSS */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
      color: #333;
    }
    
    /* common.cssで反映されているので解除 */
    section {
      width: 100%;
      margin: 0;
    }

    /* ヘッダー（#ヘッダー変更 の見た目＋ハンバーガーメニュー機能） */
    .site-header {
      font-family: "Sawarabi Mincho", serif;
      width: 100%;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo-container {
      flex-shrink: 0;
    }
    .logo {
      height: 50px;
      width: auto;
    }
    .main-nav {}
    .main-nav ul {
      display: flex;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .main-nav ul li {
      margin-right: 1rem;
    }
    .main-nav ul li:last-child {
      margin-right: 0;
    }
    .main-nav a {
      color: #333;
      text-decoration: none;
      font-size: 1.6rem;
      position: relative;
      padding: 0.5rem 0;
    }
    .main-nav a:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: #cc0000;
      transition: width 0.3s ease;
    }
    .main-nav a:hover:after {
      width: 100%;
    }
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
    }
    .menu-toggle span {
      display: block;
      width: 25px;
      height: 2px;
      background: #333;
      margin: 5px 0;
      transition: 0.3s;
    }
    .menu-toggle.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.open span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }
    @media screen and (max-width: 768px) {
      .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .main-nav.active {
        display: block;
      }
      .main-nav ul {
        flex-direction: column;
        align-items: center;
      }
      .main-nav ul li {
        margin-right: 0;
        margin-bottom: 1rem;
      }
      .main-nav ul li:last-child {
        margin-bottom: 0;
      }
      .menu-toggle {
        display: block;
      }
    }
    
    /* ボタン */
    .btn {
      padding: 0.5rem 1.5rem;
      border-radius: 4px;
      font-size: 0.9rem;
      text-decoration: none;
      transition: all 0.3s;
    }
    .btn-outline {
      border: 1px solid #1E3C8C;
      color: #1E3C8C;
    }
    .btn-outline:hover {
      background: #1E3C8C;
      color: white;
    }
    .btn-primary {
      background: #1E3C8C;
      color: white;
      border: 1px solid #1E3C8C;
    }
    .btn-primary:hover {
      background: #152a63;
    }
    /* 採用情報ボタン（白いボタン） */
    .btn-white {
      font-size: 1.2rem;
      padding: 0.5rem 2rem;
      background: #fff;
      color: #1E3C8C;
      border: 1px solid #fff;
    }
    .btn-white:hover {
      background: #f1f1f1;
    }
    @media screen and (max-width: 768px) {
    .btn-white {
      font-size: 2em;
      padding: 2rem 6rem;
    }
      
    }

    /* Hero Section */
    .hero {
      height: 60vh;
      background-position: center;
      background-size: cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                        url(https://tokaku.co.jp/img/tokakuhonsya7.webp?auto=format&fit=crop&q=80);
    }
    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 2;
    }
    .hero h1 {
      font-size: 3.5rem;
      line-height: 1.2;
      color: #fff;
      margin-bottom: 1.5rem;
      font-weight: bold;
    }
    .hero p {
      font-size: 2.2rem;
      color: #fff;
      margin-bottom: 2rem;
    }
    
    /* About Section */
    .about {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    }
    .about-container {
      max-width: 1080px;
      margin: 0 auto;
      display: flex;
      min-height: 300px;
    }
    .about-left {
      flex: 1;
      padding: 4rem 2rem;
      position: relative;
    }
    .vertical-text {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      position: absolute;
      left: 0;
      top: 4rem;
      font-size: 1.2rem;
      color: #666;
      letter-spacing: 0.1em;
    }
    /* キャッチコピーの変更 */
    .japanese-title {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      margin-left: 2rem;
      color: #333;
      /* 変更後の文言 */
      /* 期待を超える価値を、地域と共に。 */
    }
    .japanese-title::before {
      content: "期待を超える価値を、\A地域と共に。";
      white-space: pre-line;
    }
    .english-title {
      font-size: 2rem;
      line-height: 1.2;
      color: #1E3C8C;
      font-weight: bold;
      margin-left: 2rem;
      margin-bottom: 2rem;
      /* 変更後の文言 */
      /* Exceeding Expectations, Together with the Community. */
    }
    .english-title::before {
      content: "Exceeding Expectations, Together with the Community.";
      content: "Exceeding Expectations, \ATogether with the Community.";
      white-space: pre-line;
    }
    /* 説明文（1行目）変更 */
    .subtitle {
      font-size: 1.2rem;
      color: #333;
      line-height: 1.8;
      margin-left: 2rem;
      /* 変更後の文言 */
      /* 私たちは、地域社会の課題解決に挑むプロフェッショナルチームです。 */
    }
    .subtitle::before {
      content: "私たちは、地域社会の課題解決に挑むプロフェッショナルチームです。";
    }
    .about-right {
      flex: 1;
      background: #1E3C8C;
      padding: 4rem;
      /* display: flex;*/
      align-items: center;
    }
    .content {
      color: white;
    }
    .description {
      font-size: 1.2rem;
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }
    /* 説明文（2行目以降）の変更 */
    .content .description:nth-of-type(1)::before {
      content: "「期待以上の価値の提供」を理念とし、リユース事業を通じて、持続可能な未来の創造に貢献します。";
    }
    .content .description:nth-of-type(2)::before {
      content: "地域密着型のサービスで、お客様一人ひとりのニーズに応え、新たな価値を生み出し続けます。";
    }
    .content .description:nth-of-type(3)::before {
      content: "常に情報を収集し、変化を恐れず、「やりたい」をカタチにする企業として成長していきます。";
    }
    /* ボタン（「当社について」）はそのまま */
    .strength-button {
      background: white;
      color: #333;
      border: none;
      border-radius: 4px;
      padding: 1rem 2rem;
      width: 100%;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1.2rem;
      cursor: pointer;
      margin-top: 3rem;
      transition: background-color 0.3s;
    }
    .strength-button:hover {
      background: #f5f5f5;
    }
    .button-icon {
      font-size: 1.2rem;
      color: #1E3C8C;
    }
    @media (max-width: 768px) {
      .about-container {
        flex-direction: column;
        min-height: 150px;
      }
      .about-left {
        width: 90%;
        margin: 0 auto;
        padding: 7rem 1.5rem;
      }
      .vertical-text{
        font-size: 2.5rem;
        top: 12rem;
        left: -18px;
      }
      .japanese-title {
        font-size: 7.5rem;
        margin-bottom: 5%;
      }
      .english-title {
        font-size: 5.5rem;
      }
      .subtitle {
        font-size: 4.2rem;
        margin-top: 5%;
      }
      .about-right {
        padding: 9rem 2rem;
      }
      .content {
        width: 90%;
        margin: 0 auto;
      }
      .description {
        font-size: 4.2rem;
        margin-bottom: 4.5rem;
      }
      .strength-button {
        font-size: 4.2rem;
        padding: 4rem 8rem;
        margin-top: 8%;
      }
      .button-icon {
        font-size: 3.2rem;
      }
    }
    
    /* News Section */
    .news {
      padding: 4rem 0;
      background: #f8f9fa;
    }
    .section-container {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    .section-title {
      font-size: 2.4rem;
      color: #1E3C8C;
      margin-bottom: 2rem;
    }
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }
    .news-card {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      padding: 1.5rem;
    }
    .news-date {
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }
    
    /* Products Section */
    .products {
      padding: 4rem 0;
    }
    .products-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
    .product-menu {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .product-h3{
      font-size: 1.4rem;
    }
    .product-description{
      font-size: 1.2rem;
      margin-top: 0;
    }
    .product-menu-item {
      font-size: 1.2rem;
      padding: 1rem;
      border: 1px solid #1E3C8C;
      border-radius: 4px;
      color: #1E3C8C;
      text-decoration: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s;
    }
    .product-menu-item:hover {
      background: #1E3C8C;
      color: white;
    }
    .product-info {
      background: rgba(30, 60, 140, 0.05);
      padding: 2rem;
      border-radius: 8px;
    }
    @media (max-width: 768px) {
      .products {
        padding: 10rem 0;
      }
      .about-container {
        flex-direction: column;
        min-height: 150px;
        margin: 3% 0 2% 0;
      }
      .about-left {
        width: 90%;
        margin: 0 auto;
        padding: 7rem 1.5rem;
      }
      .content {
        width: 90%;
        margin: 0 auto;
      }
      .button-icon {
        font-size: 3.2rem;
      }
      .section-title {
        font-size: 6.5rem;
      }
      .section-container {
        padding: 0 4rem;
      }
      .product-menu-item {
        font-size: 2em;
        padding: 4rem;
      }
      .product-menu {
        gap: 4rem;
      }
      .product-info{
        padding: 8rem;
        margin-top: 3%;
      }
      .product-h3{
        font-size: 4.4rem;
      }
      .product-description{
        font-size: 3.6rem;
        margin-top: 0;
      }
    }
    
    /* Recruit Section */
    .recruit {
      padding: 8rem 0;
      background: #1E3C8C;
      color: white;
      text-align: center;
    }
    .recruit h2 {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    .recruit p {
      font-size: 1.2rem;
      margin-top: 0;
      margin-bottom: 2rem;
    }
    
    @media screen and (max-width: 768px) {
      .recruit {
        padding: 18rem 0;
      }
      .recruit h2 {
        font-size: 8.5rem;
    }
      section p {
        margin-top: 0;
        font-size: 1.4em;
    }
        .recruit p {
        font-size: 4rem;
        margin-bottom: 5rem;
    }
    }
    /* Contact Section */
    .contact {
      padding: 8rem 0;
      background: linear-gradient(rgba(30, 60, 140, 0.8), rgba(30, 60, 140, 0.8));
      color: white;
      text-align: center;
    }
    .contact-title {
      font-size: 3rem;
      margin-bottom: 0.5rem;
    }
    .contact-subtitle {
      font-size: 1.2rem;
      margin-top: 0;
      margin-bottom: 3rem;
    }
    .contact-card {
      background: white;
      border-radius: 8px;
      max-width: 800px;
      margin: 0 auto;
      padding: 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #333;
    }
    .contact-method {
      flex: 1;
      text-align: center;
    }
    .contact-method h3 {
      font-size: 1.4rem;
      margin-bottom: 1.5rem;
      color: #333;
    }
    .contact-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #1E3C8C;
      color: white;
      padding: 1rem 2rem;
      border-radius: 4px;
      text-decoration: none;
      transition: background-color 0.3s;
      font-size: 1.2rem;
    }
    .contact-button:hover {
      background: #152a63;
    }
    .contact-divider {
      width: 1px;
      height: 100px;
      background: #eee;
      margin: 0 3rem;
    }
    .contact-phone {
      font-size: 2.2rem;
      font-weight: bold;
      color: #1E3C8C;
      text-decoration: none;
      display: block;
    }
    .contact-hours {
      color: #666;
      font-size: 0.9rem;
      margin-top: 0;
    }
    @media (max-width: 768px) {
      .contact {
        padding: 18rem 0;
      }
      .contact-title {
        font-size: 8.5rem;
      }
      .contact-subtitle {
        font-size: 4rem;
      }
      .hero {
        height: 40vh;
      }
      .pro
      .contact-card {
        flex-direction: column;
        padding: 2rem;
      }
      .contact-card {
        display: block;
        padding: 6rem 3rem;
      }
      .contact-divider {
        width: 100%;
        height: 1px;
        margin: 4rem 0;
      }
      .contact-method {
        width: 100%;
      }
      .hero h1 {
        font-size: 6.5rem;
      }
      .hero p {
        font-size: 4.2rem;
      }
      .products-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .contact-method h3 {
        font-size: 4.2rem;
      }
      .contact-button {
        font-size: 4rem;
        padding: 3rem 8rem;
      }
      .contact-phone {
        font-size: 8rem;
      }
      .contact-hours {
        font-size: 3.5rem;
      }
    }
    
    /* Footer */
    .footer {
      padding: 4rem 0;
      background: #f8f9fa;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }
    .footer-column h3 {
      color: #1E3C8C;
      margin-bottom: 1rem;
    }
    .footer-column ul {
      list-style: none;
    }
    .footer-column ul li {
      margin-bottom: 0.5rem;
    }
    .footer-column ul a {
      color: #666;
      text-decoration: none;
      font-size: 0.9rem;
      transition: color 0.3s;
    }
    .footer-column ul a:hover {
      color: #1E3C8C;
    }
    .copyright {
      text-align: center;
      padding-top: 2rem;
      margin-top: 2rem;
      border-top: 1px solid #eee;
      color: #666;
      font-size: 0.9rem;
    }

/* ============================================
   会社概要 (/about/)
   ============================================ */
@charset "utf8";

/* ヘッダー本体 */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed; /* スクロール時も固定する場合 */
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ヘッダー内部コンテナ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo-container {
  flex-shrink: 0;
}
.logo {
  height: 50px;
  width: auto;
}

/* ===== PC表示時のメインナビ ===== */
.main-nav {
  /* PC表示では常に表示 */
}

/* ナビゲーションのUL */
.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各メニュー項目（li）の右マージンでスペースを作る */
.main-nav ul li {
  margin-right: 1rem; /* 余白を調整したい場合は値を変更 */
}

/* 最後のメニュー項目には右余白を付けない */
.main-nav ul li:last-child {
  margin-right: 0;
}

/* メニューリンク */
.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  position: relative;
  padding: 0.5rem 0;
}

/* ホバー時のアンダーラインアニメーション */
.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #cc0000;
  transition: width 0.3s ease;
}
.main-nav a:hover:after {
  width: 100%;
}

/* ===== ハンバーガーボタン ===== */
.menu-toggle {
  display: none; /* PC表示時は非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ハンバーガーボタンが「開き状態」(×に変形)のアニメーション */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== スマホサイズ以下でレイアウト切り替え ===== */
@media screen and (max-width: 768px) {

  /* PC時はflex表示だったナビを非表示にする */
  .main-nav {
    display: none;
    position: absolute; /* ドロップダウンのように配置 */
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* メニューが開いたら表示 */
  .main-nav.active {
    display: block;
  }

  /* 縦方向に並べる */
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* li の右余白は不要になるのでリセット */
  .main-nav ul li {
    margin-right: 0;
    margin-bottom: 1rem; /* 縦並び時の下余白 */
  }
  .main-nav ul li:last-child {
    margin-bottom: 0;
  }

  /* ハンバーガーボタンを表示 */
  .menu-toggle {
    display: block;
  }
}

/* ヘッダー終了 */

#representative p:last-of-type {
	text-align: right;
	margin-top: 8%;
}
section p {
	font-size: 1.8rem;
}

table {
	width: 100%;
	font-size: 1.9rem;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}
td {
	vertical-align: top;
	padding-top: 2.773%;
}
tr td:first-of-type {
	width: 19.065%;
}
tr td:last-of-type {
	width: 74.524%;
}

#map {
	display: flex;
	justify-content: center;
}
#map iframe {
	width: 75%;
	height: 20em;
	margin: 0 auto;
}

@media screen and (max-width: 1199px) {
}


/* ============================================
   事業内容 (/service/)
   ============================================ */
@charset "utf8";

/* ヘッダー開始 */
/* --- 全体設定が必要な場合は適宜追加 ---
@charset "utf-8";
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*/

/* ヘッダー本体 */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed; /* スクロール時も固定する場合 */
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ヘッダー内部コンテナ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo-container {
  flex-shrink: 0;
}
.logo {
  height: 50px;
  width: auto;
}

/* ===== PC表示時のメインナビ ===== */
.main-nav {
  /* PC表示では常に表示 */
}

/* ナビゲーションのUL */
.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各メニュー項目（li）の右マージンでスペースを作る */
.main-nav ul li {
  margin-right: 1rem; /* 余白を調整したい場合は値を変更 */
}

/* 最後のメニュー項目には右余白を付けない */
.main-nav ul li:last-child {
  margin-right: 0;
}

/* メニューリンク */
.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  position: relative;
  padding: 0.5rem 0;
}

/* ホバー時のアンダーラインアニメーション */
.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #cc0000;
  transition: width 0.3s ease;
}
.main-nav a:hover:after {
  width: 100%;
}

/* ===== ハンバーガーボタン ===== */
.menu-toggle {
  display: none; /* PC表示時は非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ハンバーガーボタンが「開き状態」(×に変形)のアニメーション */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== スマホサイズ以下でレイアウト切り替え ===== */
@media screen and (max-width: 768px) {

  /* PC時はflex表示だったナビを非表示にする */
  .main-nav {
    display: none;
    position: absolute; /* ドロップダウンのように配置 */
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* メニューが開いたら表示 */
  .main-nav.active {
    display: block;
  }

  /* 縦方向に並べる */
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* li の右余白は不要になるのでリセット */
  .main-nav ul li {
    margin-right: 0;
    margin-bottom: 1rem; /* 縦並び時の下余白 */
  }
  .main-nav ul li:last-child {
    margin-bottom: 0;
  }

  /* ハンバーガーボタンを表示 */
  .menu-toggle {
    display: block;
  }
}

/* ヘッダー終了 */


.subcategory {
	display: flex;
	align-items: flex-end;
}
.subcategory + .subcategory {
	margin-top: 12.825%;
}
.subcategory .text {
	width: 60%;
}
.subcategory .image {
	width: 46.968%;
}

.section-subhead {
	font-size: 2rem;
	font-weight: normal;
}
.section-subhead img {
	width: 7.844%;
	margin-right: 1.634%;
	transform: translateY(25%);
}

section p, ul {
	margin-top: 6.536%;
	font-size: 1.9rem;
}

ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}
li {
	margin-left: 1.5em;
	line-height: 1.2;
}

@media screen and (max-width: 1199px) {
}


/* ============================================
   採用情報 (/recruit/)
   ============================================ */
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: sans-serif;
  background-color: #f8fafc; /* tailwind's gray-50 */
  color: #1f2937; /* tailwind's gray-800 */
}

/* Utility classes / Replacements for tailwind used in the example */

/* ヘッダー本体 */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed; /* スクロール時も固定する場合 */
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ヘッダー内部コンテナ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo-container {
  flex-shrink: 0;
}
.logo {
  height: 50px;
  width: auto;
}

/* ===== PC表示時のメインナビ ===== */
.main-nav {
  /* PC表示では常に表示 */
}

/* ナビゲーションのUL */
.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各メニュー項目（li）の右マージンでスペースを作る */
.main-nav ul li {
  margin-right: 1rem; /* 余白を調整したい場合は値を変更 */
}

/* 最後のメニュー項目には右余白を付けない */
.main-nav ul li:last-child {
  margin-right: 0;
}

/* メニューリンク */
.main-nav a {
  font-family: "Sawarabi Mincho", serif;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

/* ホバー時のアンダーラインアニメーション */
.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #cc0000;
  transition: width 0.3s ease;
}
.main-nav a:hover:after {
  width: 100%;
}

/* ===== ハンバーガーボタン ===== */
.menu-toggle {
  display: none; /* PC表示時は非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ハンバーガーボタンが「開き状態」(×に変形)のアニメーション */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== スマホサイズ以下でレイアウト切り替え ===== */
@media screen and (max-width: 768px) {

  /* PC時はflex表示だったナビを非表示にする */
  .main-nav {
    display: none;
    position: absolute; /* ドロップダウンのように配置 */
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* メニューが開いたら表示 */
  .main-nav.active {
    display: block;
  }

  /* 縦方向に並べる */
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* li の右余白は不要になるのでリセット */
  .main-nav ul li {
    margin-right: 0;
    margin-bottom: 1rem; /* 縦並び時の下余白 */
  }
  .main-nav ul li:last-child {
    margin-bottom: 0;
  }

  /* ハンバーガーボタンを表示 */
  .menu-toggle {
    display: block;
  }
}

/* ヘッダー終了 */


/* Common Button Styles */
.btn-primary,
.btn-secondary {
  border: none;
  padding: 0.75rem 2rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 9999px; /* pill shape */
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn-primary {
  background-color: #2563eb; /* tailwind's blue-600 */
  color: #fff;
}
.btn-primary:hover {
  background-color: #1e40af; /* a deeper blue */
}
.btn-secondary {
  background-color: #2563eb;
  color: #fff;
  width: 100%;
}
.btn-secondary:hover {
  background-color: #1e40af;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge-blue {
  background-color: #bfdbfe; /* blue-100 */
  color: #1e40af; /* blue-800 */
}
.badge-green {
  background-color: #d1fae5; /* green-100 */
  color: #065f46; /* green-800 */
}
.badge-purple {
  background-color: #e9d5ff; /* purple-100 */
  color: #6b21a8; /* purple-800 */
}

/* Headings, etc. */
h1,
h2,
h3,
h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
p {
  line-height: 1.5;
}

/* Container and section spacing */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.section-spacing {
  padding: 4rem 0;
}
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.875rem; /* ~text-3xl */
}
.icon-section {
  width: 2rem;
  height: 2rem;
  color: #2563eb; /* same as text-blue-600 */
  margin-right: 0.75rem;
}

/* Hero Section */
.hero-section {
  height: 80vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-content {
  max-width: 800px;
  color: #fff;
  padding: 0 1rem;
}
.hero-title {
  font-size: 2.25rem; /* ~text-4xl on mobile */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.25rem; /* ~text-xl */
  margin-bottom: 2rem;
  max-width: 48rem;
  margin: 0 auto 2rem auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.card-image {
  height: 12rem;
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-badges {
  margin-bottom: 1rem;
}
.card-info {
  margin-bottom: 1rem;
}
.info-line {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.info-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  color: #9ca3af; /* tailwind's gray-400 */
}
.card-text {
  margin-bottom: 1.5rem;
}
.card-text h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}
.card-text ul {
  margin-left: 1rem;
  list-style: none;
}
.flex-start {
  display: flex;
  align-items: center;
}
.flex-start i {
  margin-right: 0.5rem;
}

/* Process Section */
.process-box {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.process-step {
  text-align: center;
}
.process-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-blue {
  background-color: #bfdbfe;
  color: #2563eb;
}

/* Overview Sections */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.overview-col {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.overview-img {
  margin-bottom: 2rem;
  height: 12rem;
  overflow: hidden;
  border-radius: 0.5rem;
}
.overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overview-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid #e5e7eb; /* gray-200 */
}
.info-table td {
  padding: 0.75rem 0;
  vertical-align: top;
}
.table-key {
  font-weight: 600;
  width: 8rem;
}
.quote {
  border-left: 4px solid #2563eb;
  padding-left: 1rem;
  font-style: italic;
  color: #6b7280; /* gray-600 */
  margin-bottom: 2rem;
}
.highlight-box {
  background-color: #f9fafb; /* gray-50 */
  padding: 1.5rem;
  border-radius: 0.5rem;
}
.italic-text {
  font-style: italic;
}
.text-right {
  text-align: right;
}
.font-semibold {
  font-weight: 600;
}

/* Desc Boxes */
.desc-box {
  margin-bottom: 2rem;
}
.desc-box ul {
  margin-left: 1rem;
  list-style: none;
  margin-top: 0.5rem;
}
.desc-box li {
  margin-bottom: 0.25rem;
}

/* Culture Section */
.culture-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.culture-img img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}
.culture-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .culture-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.culture-item {
  text-align: center;
}
.culture-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}
.culture-vision {
  text-align: center;
  margin-top: 3rem;
}
.quote-large {
  font-size: 1.25rem;
  font-style: italic;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-grid {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-item {
  display: flex;
  align-items: flex-start;
}
.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  color: #2563eb;
}
.contact-item h3 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: #1f2937; /* ~gray-800 */
  color: #fff;
  padding: 3rem 0;
  margin-top: 4rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-col {
  margin-bottom: 1rem;
}
.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-text {
  color: #9ca3af; /* gray-400 */
  font-size: 0.875rem;
}
.footer-link {
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}
.w-full {
  width: 100%;
}
.footer-bottom {
  border-top: 1px solid #374151; /* ~gray-700 */
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}


/* ============================================
   お問い合わせ (/contact/)
   ============================================ */
@charset "utf8";
/* ヘッダー本体 */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed; /* スクロール時も固定する場合 */
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ヘッダー内部コンテナ */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ部分 */
.logo-container {
  flex-shrink: 0;
}
.logo {
  height: 50px;
  width: auto;
}

/* ===== PC表示時のメインナビ ===== */
.main-nav {
  /* PC表示では常に表示 */
}

/* ナビゲーションのUL */
.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各メニュー項目（li）の右マージンでスペースを作る */
.main-nav ul li {
  margin-right: 1rem; /* 余白を調整したい場合は値を変更 */
}

/* 最後のメニュー項目には右余白を付けない */
.main-nav ul li:last-child {
  margin-right: 0;
}

/* メニューリンク */
.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  position: relative;
  padding: 0.5rem 0;
}

/* ホバー時のアンダーラインアニメーション */
.main-nav a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #cc0000;
  transition: width 0.3s ease;
}
.main-nav a:hover:after {
  width: 100%;
}

/* ===== ハンバーガーボタン ===== */
.menu-toggle {
  display: none; /* PC表示時は非表示 */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ハンバーガーボタンが「開き状態」(×に変形)のアニメーション */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== スマホサイズ以下でレイアウト切り替え ===== */
@media screen and (max-width: 768px) {

  /* PC時はflex表示だったナビを非表示にする */
  .main-nav {
    display: none;
    position: absolute; /* ドロップダウンのように配置 */
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* メニューが開いたら表示 */
  .main-nav.active {
    display: block;
  }

  /* 縦方向に並べる */
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* li の右余白は不要になるのでリセット */
  .main-nav ul li {
    margin-right: 0;
    margin-bottom: 1rem; /* 縦並び時の下余白 */
  }
  .main-nav ul li:last-child {
    margin-bottom: 0;
  }

  /* ハンバーガーボタンを表示 */
  .menu-toggle {
    display: block;
  }
}

/* ヘッダー終了 */


#contact p {
	font-size: 2.0rem;
}

#form {
	width: 100%;
	font-size: 2rem;
}
#form p, pre {
	font-size: 2rem;
	display: inline-block;
	vertical-align: top;
}
.form-contents {
	margin-top: 3.467%;
	width: 100%;
	position: relative;
	display: inline-block;
	vertical-align: top;
}
.required {
	background-color: #c52321;
	color: #fff;
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 3px;
	position: static;
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
	line-height: 1.4;
	transform: none;
}
.label {
	font-size: 2rem;
	display: inline-block;
	width: 36.569%;
	padding-left: 5.546%;
	box-sizing: border-box;
}

#contact .sample {
	padding-left: 36.569%;
	margin: 0.4rem 0 0;
	font-size: 1.8rem;
}


input, textarea {
	border: 0.5rem solid #cdcdcd;
}

input {
	width: 32.41%;
}
textarea {
	width: 53.727%;
	vertical-align: baseline;
	white-space: pre-wrap;
}

/* Cocoon上書き対策: コンタクトフォームのinput/textarea */
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"] {
	width: 32.41% !important;
	display: inline-block !important;
	box-sizing: border-box;
}
#contact textarea {
	width: 53.727% !important;
	display: inline-block !important;
	vertical-align: baseline;
	white-space: pre-wrap;
}


.button-area {
	display: flex;
	justify-content: center;
	margin-top: 7.28%;
}
button {
	background-color: #c52321;
	color: #fff;
	font-size: 2.1rem;
	padding: 0.8rem 2.4rem;
	border-style: none;
}
button + button {
	margin-left: 2em;
}


#contact #attention {
	margin-top: 8.839%;
	font-size: 2.0rem;
}

@media screen and (max-width: 1199px) {
}
