body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header,
footer {
  background: #f8f8f8;
  padding: 1em;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(253, 250, 250, 0.95);
  backdrop-filter: blur(5px);
  height: 60px;
  /* 高さを統一 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header {
  position: static;
  width: 100%;
  background: rgba(253, 250, 250, 0.8);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  /* これで縦方向中央揃え */
  justify-content: space-between;
  padding: 0 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  display: block;
  transition: all 0.3s ease;
}

/* open状態 */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.logo img {
  height: 40px;
}

.nav {
  display: flex;
  gap: 1.5em;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* .overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
} */

/* .overlay.show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}  */
/* .recruit-label {
  position: fixed;
  top: 0px;
  right: 0;
  background: #00c4b3;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 0 0 0 8px;
  z-index: 9999;
  text-align: center;
} */

/* PCのみ表示、スマホでは非表示 */
/* .recruit-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.recruit-type {
  margin: 0;
  font-weight: bold;
  font-size: 0.75em;
  color: #ffffff;
  margin-bottom: 0.3em;
}

.recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #fff;
  color: #00b2a6;
  font-weight: bold;
  padding: 0.3em 1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 0.3em;
}

.recruit-btn img {
  width: 1.2em;
  height: auto;
}

.recruit-label .recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.4em 1em;
  background-color: #ffffff;
  color: #00b2a6;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
} */

.hamburger {
  display: none;
}

/* フッター */
.site-footer {
  background: #fff;
  color: #333;
  font-size: 0.9em;
  border-top: 3px solid #00c4b3;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-between;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-left .footer-logo {
  width: 150px;
  margin-bottom: 0.5em;
}

.footer-left p {
  margin: 0.5em 0;
}

.btn-contact {
  display: inline-block;
  margin-top: 1em;
  background: #00c4b3;
  color: #fff;
  padding: 0.5em 1.2em;
  text-decoration: none;
  border-radius: 20px;
}

.btn-contact:hover {
  background: #009e92;
}

.footer-right {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0.3em 0;
}

.footer-links a {
  text-decoration: none;
  color: #333;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: #00c4b3;
  color: #fff;
  text-align: center;
  padding: 0.5em;
  font-size: 0.8em;
}

/* ヒーローセクション */
.hero {
  position: relative;
  background: url("/images/hero-bg.png") center center / cover no-repeat;
  text-align: center;
  padding: 5em 1em;
  overflow: hidden;
  height: 600px;
  padding-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  /* 白で30%の透明度 */
  z-index: 1;
}

.hero_message {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: left;
  background: url("/images/message2..jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero_message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  /* 薄い白を重ねる */
  z-index: 1;
  pointer-events: none;
}

.hero_message > * {
  position: relative;
  z-index: 2;
}

/* テキストの親要素 */
.hero-inner {
  position: absolute;
  top: 50%;
  left: calc(50% - 200px);
  /* 中央から200px左に */
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero_message h1 {
  font-size: 5em;
  color: #00c4b3;
  margin: 0;
}

/* キャッチコピー */
.catch {
  background: #00c4b3;
  color: #fff;
  font-size: 5em;
  margin: 0.1em 0;
  padding: 0.2em 1em;
  letter-spacing: 0.05em;
}

.message_catch {
  background: #00c4b3;
  color: #fff;
  font-size: 50px;
  margin: 0.1em 0;
  padding: 0.2em 1em;
  letter-spacing: 0.05em;
  text-align: left;
}

/* タイトル */
.hero-title {
  font-size: 5em;
  color: #00c4b3;
  margin: 0 0 0.3em;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: 5em;
  color: #00c4b3;
  margin: 0;
}

/* 丸い写真 */
.circle {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

/* person1: 営業 */
.circle1 {
  top: 80px;
  left: 600px;
  width: 200px;
  height: 200px;
}

/* 斉藤 */
.circle2 {
  top: 150px;
  left: 150px;
  width: 300px;
  height: 300px;
}

.circle3 {
  bottom: 10px;
  left: 250px;
  width: 230px;
  height: 230px;
}

/* イドマ */
.circle4 {
  bottom: 40px;
  right: 230px;
  width: 200px;
  height: 200px;
}

/* 3人写真 */
.circle5 {
  top: 150px;
  left: 60%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
}

/* 猫宮画像 */
.circle6 {
  top: 80px;
  right: 200px;
  width: 300px;
  height: 300px;
}

/* SVGアイコン */
.icon {
  position: absolute;
  width: 70px;
  height: auto;
  z-index: 1;
}

.icon1 {
  top: 150px;
  left: 200px;
}

.icon2 {
  top: 50px;
  right: 500px;
}

.icon3 {
  bottom: 550px;
  right: 50px;
}

.icon4 {
  bottom: 150px;
  right: 100px;
}

.icon5 {
  bottom: 50px;
  left: 400px;
}

/* アバウト */
.about {
  padding: 4em 1em;
  background: #fff;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2em;
  align-items: center;
  flex-wrap: wrap;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.5em;
  color: #00b2a6;
  margin: 0;
}

.about-text .subtitle {
  color: #00c4b3;
  margin-bottom: 1em;
}

.about-text p {
  margin-bottom: 1em;
  line-height: 1.6;
  color: #333;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00c4b3;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 0.8em 3em;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.about-btn:hover {
  background: #009e92;
}

/* 事業内容セクション */
.business {
  background: #def2e4 url("images/business-bg.png") center/cover no-repeat;
  padding: 4em 1em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* スクロールCSSアニメーション */
.scroll-text {
  position: relative;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  background: transparent;
  /* 好みで */
  color: rgba(255, 255, 255, 0.5);
  font-size: 3em;
  font-weight: bold;
  height: 1.5em;
}

.scroll-track {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLoop 20s linear infinite;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Swiperカルーセル */
.swiper-slide {
  flex-shrink: 0;
  width: 300px;
  box-sizing: border-box;
}

.swiper-slide {
  flex-shrink: 0;
  width: 300px;
  /* カードに合わせて調整 */
  box-sizing: border-box;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 1em;
  text-align: center;
  max-width: 250px;
  margin: auto;
}

.card a {
  margin: 0.5em 0;
  color: #00b2a6;
  font-size: 1.2em;
  text-decoration: none;
  display: inline-block;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #00b2a6;
  z-index: 10;
}

.btn-more {
  display: inline-block;
  margin-top: 1em;
  padding: 0.4em 1em;
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  text-decoration: none;
  color: #00897b;
  /* 青緑っぽく */
  font-weight: bold;
  font-size: 16px;
}

.more-link img.arrow-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* リクルート */
.recruit {
  background: #ffffff;
  padding: 4em 10em;
  text-align: center;
}

.recruit-images {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
}

.recruit-images img {
  width: 30%;
  border-radius: 10px;
}

.recruit-left h2 {
  color: #00b2a6;
  font-size: 3em;
  margin-bottom: 0;
}

.recruit-content .sub-title {
  color: #66cfc7;
  margin-bottom: 1em;
}

.recruit-text {
  font-size: 1.2em;
  margin-bottom: 1em;
}

.recruit-text-small {
  font-size: 0.9em;
  color: #333;
  margin-bottom: 2em;
}

.recruit-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
}

.recruit-card {
  background: #fff;
  border-radius: 10px;
  width: 180px;
  padding: 0.5em;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recruit-card img {
  width: 100%;
  border-radius: 10px;
}

.recruit-card span {
  display: block;
  margin: 0.5em 0;
  font-weight: bold;
  color: #00b2a6;
}

.recruit-card a {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: #00b2a6;
  text-decoration: none;
  font-size: 1.5em;
}

.recruit-btn {
  display: inline-block;
  padding: 0.7em 2em;
  background: #00b2a6;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.recruit-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: flex-start;
}

.recruit-left {
  flex: 1 1 300px;
  text-align: left;
}

.recruit-right {
  flex: 2 1 400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1em;
}

.recruit-card a svg {
  width: 24px;
  height: 24px;
  fill: #00b2a6;
  transition: transform 0.3s ease;
}

.recruit-card a:hover svg {
  transform: translateX(3px);
}

.recruit-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ヘッダー全体 */
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.logo img {
  height: 40px;
}

/* ナビゲーション（PC） */
#nav {
  display: flex;
  gap: 32px;
  z-index: 1200;
}

#nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}

#nav li a:hover {
  color: #0078d7;
}

/* ハンバーガーアイコン（PCでは非表示） */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  gap: 6px;
  z-index: 1300;
  /* navよりさらに上に */
}

#hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* PC用ドロップダウン */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1500;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

/* --------------------------------------------------------
ここからスマホ版
-------------------------------------------------------- */
@media (max-width: 768px) {
  /* ヘッダー */
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-direction: column;
    gap: 0.5em;
  }

  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    flex-direction: column;
    padding: 100px 20px 20px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    padding: 1em 0;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav ul {
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
    padding-left: 1.5em;
  }

  .recruit-label {
    display: none;
    /* スマホでは非表示 */
  }

  .recruit-nav-sp {
    display: block;
  }

  /* フッター */
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    min-width: auto;
  }

  .footer-right {
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links ul {
    padding: 0;
  }

  .footer-left .footer-logo {
    margin: 0 auto 0.5em;
  }

  .btn-contact {
    margin: 1em auto 0;
  }

  /* -------------------------------
    ヒーローセクション
  -------------------------------- */

  .hero {
    background: url("/images/hero-bg.png") center center / contain no-repeat;
    background-size: 300%;
    padding-top: 60px;
    background-color: #fff6b3;
  }

  .hero-inner {
    position: static;
    transform: none;
    padding: 2em 0;
  }

  .hero-title {
    font-size: 2em;
  }

  .catch {
    font-size: 1.4em;
    padding: 0.2em 0.8em;
  }

  /* -------------------------------
    アバウト
  -------------------------------- */
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-btn {
    margin-top: 1em;
  }

  /* -------------------------------
    事業内容セクション
  -------------------------------- */
  .swiper-slide {
    width: 90%;
    /* モバイルでスライド幅調整 */
  }

  .scroll-text {
    font-size: 1.5em;
  }

  /* -------------------------------
    RECRUIT（採用情報）
  -------------------------------- */
  .recruit {
    padding: 2em 1em;
  }

  .recruit-inner {
    flex-direction: column;
    gap: 1em;
  }

  .recruit-left {
    text-align: center;
  }

  .recruit-left h2 {
    font-size: 2em;
  }

  .recruit-text,
  .recruit-text-small {
    font-size: 1em;
  }

  .recruit-images {
    flex-direction: column;
    align-items: center;
  }

  .recruit-images img {
    width: 90%;
  }

  .recruit-right {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .recruit-card {
    width: 100%;
  }

  .recruit-btn {
    font-size: 0.9em;
    padding: 0.5em 1.5em;
  }

  /* キャッチコピー */
  .catch {
    margin-top: 1em;
    font-size: 30px;
    z-index: 3;
    transform: translate(-30%, -0%);
  }

  .hero h1 {
    margin-top: 2em;
    font-size: 70px;
    z-index: 2;
    transform: translate(-5%, -0%);
  }

  /* 丸い写真 */
  .circle {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
  }

  /* person1: 営業 */
  .circle1 {
    width: 120px;
    height: 120px;
    top: 100px;
    left: 150px;
  }

  /* 斉藤 */
  .circle2 {
    width: 150px;
    height: 150px;
    top: 180px;
    left: 20px;
  }

  .circle3 {
    width: 140px;
    height: 140px;
    bottom: 50px;
    left: 30px;
  }

  /* イドマ */
  .circle4 {
    width: 120px;
    height: 120px;
    bottom: 0px;
    right: 50px;
  }

  /* 3人写真 */
  .circle5 {
    transform: translateX(-15%);
    width: 300px;
    height: 300px;
    top: 300px;
    right: 25px;
  }

  /* 猫宮画像 */
  .circle6 {
    width: 100px;
    height: 100px;
    right: 15px;
    top: 120px;
  }

  /* SVGアイコン */
  .icon1 {
    top: 150px;
    left: 80px;
  }

  .icon2 {
    top: 80px;
    left: 50px;
  }

  .icon3 {
    top: 50px;
    right: 10px;
  }

  .icon4 {
    bottom: 100px;
    right: 25px;
  }

  .icon5 {
    bottom: 0px;
    left: 25px;
  }
}

/* タブレット用 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .card {
    width: 48%;
    margin: 1%;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ========  ハンバーガーメニュー ========== */
@media (max-width: 768px) {
  #hamburger {
    display: flex;
    position: fixed;
    top: 20px;
    right: 50px;
    z-index: 1300;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    height: 32px;
    cursor: pointer;
  }

  #hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
  }

  #nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 20px 20px 20px;
    z-index: 1200;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  #nav.active {
    display: flex !important;
    right: 0;
  }

  #nav ul {
    flex-direction: column;
    gap: 1.5em;
    align-items: flex-start;
    padding-left: 0;
    margin: 0;
  }

  #nav li a {
    font-size: 1.2em;
    padding: 12px 0;
    width: 100%;
    display: block;
  }

  .business-swiper .swiper-slide {
    width: 100% !important;
  }

  .recruit-images {
    display: flex;
    flex-direction: row;
    /* 横並びにする */
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
  }

  .recruit-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
  }
}

/* スマホ用：初期は非表示、.openで表示 */
@media (max-width: 768px) {
  .has-dropdown .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    background: #fff;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  background: #00b2a6;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.back-to-top.show {
  display: flex;
  opacity: 1;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 50px;
  }
}

.company-profile {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px 16px;
}

.company-profile-title {
  color: #00b2a6;
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 24px;
}

.company-profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.company-profile-table th,
.company-profile-table td {
  border: 1px solid #e0e0e0;
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 1em;
}

.company-profile-table th {
  background: #00b2a6;
  color: #fff;
  width: 140px;
  font-weight: bold;
}

.company-profile-table td ul {
  margin: 0;
  padding-left: 1.2em;
}

.company-profile-table td ul li {
  list-style: none;
  margin-bottom: 4px;
}

.contact-form-section {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 32px 20px;
}

.contact-form-title {
  text-align: center;
  color: #00b2a6;
  font-size: 1.5em;
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #b2dfdf;
  border-radius: 4px;
  font-size: 1em;
  background: #f8fefe;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .required {
  color: #e60033;
  font-size: 0.9em;
}

.form-submit {
  text-align: center;
}

.btn-contact {
  background: #00b2a6;
  color: #fff;
  padding: 0.7em 2em;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-contact:hover {
  background: #009e92;
}

/* 追加例: style.cssに追記 */
/* HEROセクション */
.recruit-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: left;
  background: url("/images/person3.jpg") center center / cover no-repeat;
}

.recruit-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.hero-title.recruit-title {
  font-size: 100px;
  color: #ff3399;
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
}

.recruit-catch span {
  display: block;
  font-size: 60px;
  background: #ff3399;
  color: #fff;
  margin-bottom: 6px;
  padding: 0.2em 0.5em;
  border-radius: 3px;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
}

/* RECRUIT STATUSセクション */
.recruit-status.section {
  max-width: 600px;
  margin: 40px auto;
  padding: 0 1em;
  text-align: center;
}

.recruit-status.section .section-title {
  color: #ff3399;
  font-size: 2em;
  margin-bottom: 0.2em;
  letter-spacing: 0.05em;
}

.recruit-status.section .section-subtitle {
  color: #ff3399;
  font-size: 1em;
  margin-bottom: 1.5em;
}

.recruit-status-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px 18px;
  margin-bottom: 2em;
  text-align: left;
  font-size: 1.05em;
  line-height: 1.8;
}

/* ボタン */
.recruit-btns {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.btn-recruit-gyomu,
.btn-recruit-entry {
  display: inline-block;
  background: #00b2a6;
  color: #fff;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.1em;
  text-decoration: none;
  margin: 0 8px;
  transition: background 0.2s;
}

.btn-recruit-entry {
  background: #222;
}

.btn-recruit-gyomu:hover {
  background: #008c7e;
}

.btn-recruit-entry:hover {
  background: #444;
}

/* ====== RECRUITページ スマホ対応 ====== */
@media (max-width: 768px) {
  .recruit-hero {
    min-height: 180px;
    height: auto;
    padding: 2em 0.5em 1.5em 0.5em;
    background-position: center top;
  }

  .recruit-hero .hero-inner {
    max-width: 98%;
    text-align: center;
  }

  .hero-title.recruit-title {
    font-size: 2em;
    margin-bottom: 0.7em;
  }

  .recruit-catch span {
    font-size: 25px;
    padding: 0.3em 0.5em;
    margin-bottom: 6px;
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }

  .recruit-status.section {
    max-width: 98%;
    margin: 24px auto 0 auto;
    padding: 0 0.5em;
  }

  .recruit-status.section .section-title {
    font-size: 1.3em;
  }

  .recruit-status.section .section-subtitle {
    font-size: 0.95em;
    margin-bottom: 1em;
  }

  .recruit-status-box {
    padding: 16px 8px;
    font-size: 0.98em;
  }

  .recruit-btns {
    flex-direction: column;
    gap: 1em;
  }

  .btn-recruit-gyomu,
  .btn-recruit-entry {
    width: 100%;
    font-size: 1em;
    padding: 12px 0;
    margin: 0;
  }
}

/* 追加: style.cssの末尾などに追記 */
/* ===== ブログ一覧カード ===== */
.blog.section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 1em;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-top: 2em;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1em 1.2em 1.2em 1.2em;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-date {
  color: #00b2a6;
  font-size: 0.95em;
  margin-bottom: 0.5em;
}

.blog-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}

.blog-card:hover {
  box-shadow: 0 6px 24px rgba(0, 178, 166, 0.13);
  transform: translateY(-4px) scale(1.02);
}

/* ページネーション */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin: 2.5em 0 0 0;
}

.blog-pagination .page {
  display: inline-block;
  padding: 0.5em 1.1em;
  border-radius: 24px;
  background: #f4f4f4;
  color: #00b2a6;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.blog-pagination .page.current,
.blog-pagination .page:hover {
  background: #00b2a6;
  color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2em;
  }
}

@media (max-width: 600px) {
  .blog.section {
    max-width: 98%;
    margin: 24px auto;
    padding: 0 0.7em; /* ←左右に余白をしっかり確保 */
  }
  .news-item {
    padding: 1em 0.7em;
    font-size: 0.98em;
  }
}

/* ===== お知らせ一覧専用 ===== */
.news.section {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 1em;
}

.news-list {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.news-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.2em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  transition: box-shadow 0.2s;
}

.news-item:hover {
  box-shadow: 0 4px 16px rgba(0, 178, 166, 0.1);
}

.news-title {
  font-size: 1.15em;
  margin: 0;
  font-weight: bold;
}

.news-title a {
  color: #00b2a6;
  text-decoration: none;
  transition: color 0.2s;
}

.news-title a:hover {
  color: #ff3399;
  text-decoration: underline;
}

.news-date {
  color: #888;
  font-size: 0.98em;
  letter-spacing: 0.05em;
  margin-left: auto;
}

@media (max-width: 600px) {
  .news.section {
    max-width: 98%;
    margin: 24px auto;
    padding: 0 0.7em; /* ←左右に余白をしっかり確保 */
  }

  .news-item {
    padding: 1em 0.7em;
    font-size: 0.98em;
  }
}

/* ブログ一覧タイトル中央・緑色に */
.blog.section .section-title {
  text-align: center;
  color: #00b2a6;
}

/* お知らせ一覧タイトルを中央・緑色に */
.news.section .section-title {
  text-align: center;
  color: #00b2a6;
}

/* style.cssに追記（既存のデザインと統一） */
.blog-detail.section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 1em;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 2em;
}

.blog-detail-img {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

.blog-detail-meta {
  text-align: center;
}

.blog-detail-title {
  font-size: 2em;
  color: #00b2a6;
  margin: 0.3em 0 0.2em 0;
  font-weight: bold;
}

.blog-date {
  color: #00b2a6;
  font-size: 1em;
  margin-bottom: 0.5em;
  display: block;
}

.blog-detail-body {
  font-size: 1.1em;
  color: #333;
  line-height: 1.9;
}

.blog-detail-body img {
  margin: 1.5em 0;
  max-width: 100%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .blog-detail.section {
    max-width: 98%;
    margin: 24px auto;
    padding: 0 0.5em;
  }

  .blog-detail-title {
    font-size: 1.3em;
  }

  .blog-detail-img {
    max-width: 100%;
    aspect-ratio: 16/10;
  }
}

/* style.cssに追記（お知らせ詳細用） */
.news-detail.section {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 1em;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-detail-header {
  text-align: center;
  margin-bottom: 2em;
}

.news-detail-title {
  font-size: 1.5em;
  color: #00b2a6;
  margin: 0.3em 0 0.2em 0;
  font-weight: bold;
}

.news-date {
  color: #00b2a6;
  font-size: 1em;
  margin-bottom: 0.5em;
  display: block;
}

.news-detail-body {
  font-size: 1.1em;
  color: #333;
  line-height: 1.9;
}

/* ===== Googleフォームだけの最小セット ===== */
.google-form-section {
  width: 100%;
  padding: 0 1em;
  display: block; /* ← flexやgridは使わない */
}
.google-form-section .form-wrap {
  width: min(640px, 100%); /* PC=640px、スマホ=100% */
  margin-left: auto; /* ←これで中央寄せ */
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}
.google-form-section iframe {
  display: block;
  width: 100%;
  min-height: 1522px;
  border: 0;
}

@media (max-width: 768px) {
  .news-detail.section {
    max-width: 98%;
    margin: 24px auto;
    padding: 0 0.5em;
  }

  .news-detail-title {
    font-size: 1.1em;
  }
}

/* hero_message内のキャッチコピー（スマホ対応） */
@media (max-width: 600px) {
  .hero_message {
    height: auto;
    min-height: 180px;
    padding: 2.5em 0.5em 2em 0.5em;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-inner {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100vw;
    width: 100%;
    align-items: center;
    padding: 0;
    text-align: center;
  }
  .hero-inner h1 {
    font-size: 60px;
    margin-bottom: 0.7em;
    text-align: center;
    width: 100%;
    word-break: break-word;
    margin-top: 200px;
  }
  .catch {
    font-size: 1.1em;
    padding: 0.7em 0.5em;
    margin: 0.3em 0;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* BUSINESSセクションのh2を大きく・緑色に */
.business > h2 {
  font-size: 2.2em;
  color: #00b2a6;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 0.3em;
  text-align: center;
}
