@charset "utf-8";
* {
  box-sizing: border-box;
}
/* 共通 */
body, h1, p, html, ul, li {
  margin: 0;
  padding: 0;
  /* color: #000; */
}

li {
  list-style: none;
  margin: 0 10px;
}

li a {
  color: #fff;
  transition: .6s;
}

li a:hover,.loaded header.white-bg li a:hover,
.btn-box .display-flex:hover, .view-box a:hover {
  color: #00a0a0;
}
h1 {
  font-size: 36px;
}
ul {
  align-items: center;
}

a {
  text-decoration: none;
}

body {
  font-family: 'Noto Sans JP', 'Yu Gothic Medium', 'Meiryo', sans-serif;
}

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

.text-right {
  text-align: right;
}
.margin_bottom {
  margin-bottom: 1em;
}
.bold {
  font-weight: bold;
}
.progress-container {
  width: 80%;
  margin: 1em auto;
}

.progress-bar {
  position: relative;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  margin-bottom: 1em;
}

.progress {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #f3d421, #fddf9d);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.reservation_steps {
  display: flex;
  justify-content: space-between;
}

.reservation_step {
  position: relative;
  text-align: center;
  flex: 1;
  color: #aaa;
  font-weight: bold;
}

.reservation_step::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 8px;
  background: #ccc;
  border-radius: 50%;
}

.reservation_step.active {
  color: gold;
}

.reservation_step.active::before {
  background: gold;
  box-shadow: 0 0 8px rgba(248, 193, 14, 0.507);
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:1em;
}
/* message */
.warning {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
  color: rgb(190, 30, 30);
  border: 1px solid rgb(190, 30, 30);
  background: rgb(250, 225, 225);
}
.message-box {
  margin: 0 auto 20px auto;
  padding: 20px;
  font-size: .75em;
  background: rgb(255, 255, 255);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .15);
}
.message-box.green {
  color: rgb(80, 120, 40);
  border: 1px solid rgba(80, 120, 40, .35);
}
.message-box.red {
  color: rgb(220, 15, 80);
  border: 1px solid rgba(220, 15, 80, .25);
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background-color: #333333; */
  background-color: #000;
  color: white;
  padding: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.header img {
  width:120px;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left:0;
}
.navbar {
  display: flex;
  justify-content: center;
}

.navbar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.navbar li {
  margin: 0 20px;
  position: relative; /* 縦線を挿入するための位置指定 */
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #d4af37; /* ホバー時に色が変わる */
}
.navbar li:not(:last-child)::after {
  content: "|"; /* 縦線の文字を表示 */
  position: absolute;
  right: -20px; /* 縦線がアイテムの右端に来るように */
  top: 50%;
  transform: translateY(-50%);
  color: white; /* 縦線の色 */
}
/* ハンバーガーメニューアイコン */
.hamburger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger-icon .bar {
  width: 100%;
  height: 3px;
  background-color: #000;
}

/* メニューのスタイル */
.menu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 300px;
  height: 100%;
  background-color: #fafad2;
  color: #fafad2;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  overflow-y: auto;
}

/* メニューが開いているとき */
.menu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: fixed;
  top: 15px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 100000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fafad2;
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: #333;
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #333;
}

/* メニューリストのスタイル */
.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 80px;
}

.menu li {
  padding: 20px 0;
  border-bottom: 1px solid #444;
}

.menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

/* 動画コンテナ */
.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden; /* 動画がはみ出さないように */
}

/* 動画のスタイル */
#background-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* 動画のアスペクト比を保ちながら、画面全体を覆う */
}
.top_body {
  margin-top: 3.5em;
}
/* テキストのオーバーレイ */
.text-overlay {
  position: absolute;
  top: 30%;  /* 垂直方向中央 */
  left: 5%; /* 水平方向中央 */
  /* transform: translate(-50%, -50%);  完全に中央に配置 */
  text-align: center;  /* テキストを中央揃え */
  z-index: 10;  /* 動画より上に表示 */
  font-family: "Mochiy Pop One", serif;
}

/* h1のスタイル */
.text-overlay h1 {
  font-size: 3em;  /* フォントサイズの調整 */
  margin: 0;  /* マージンをゼロに */
  color: #d4af37;  /* テキストの色 */
}
.concept_box {
  display: flex;
  width: 100%;
  height: 40vh;
  margin: 2em 0;
  position: relative; /* 親要素にpositionを設定 */
}

.left {
  flex: 1;
  position: relative;
  padding: 10px;
}

.left img {
  width: 100%;
  height: auto;
}

.right {
  flex: 1;
  background: 
  radial-gradient(circle, #ffd700 20%, #ffcc00 20%) 0 0, 
  linear-gradient(45deg, #ffd700, #ffcc00);
  background-size: 30px 30px, 100% 100%; /* 水玉模様のサイズとグラデーション */
  padding: 20px;
  position: relative; /* 右側にもpositionを設定 */
  z-index: 1; /* 右側のエリアを前面に */
  padding: 3em 3em 0 15em; /* 画像の重なり分だけ右にシフト */
}

.left img {
  position: absolute;
  width: 60%;
  top: 50%; /* 親要素の中央に縦の位置を合わせる */
  left: 80%; /* 親要素の中央に横の位置を合わせる */
  transform: translate(-50%, -50%); /* 画像の中央が親要素の中央に来るように調整 */
  z-index: 2; /* 画像を背面に */
}
.right2 {
  flex: 1;
  position: relative;
  padding: 10px;
}

.right2 img {
  width: 100%;
  height: auto;
}

.left2 {
  flex: 1;
  background: 
  radial-gradient(circle, #ffd700 20%, #ffcc00 20%) 0 0, 
  linear-gradient(45deg, #ffd700, #ffcc00);
  background-size: 30px 30px, 100% 100%; /* 水玉模様のサイズとグラデーション */
  padding: 20px;
  position: relative; /* 右側にもpositionを設定 */
  z-index: 1; /* 右側のエリアを前面に */
  padding: 3em 15em 0 3em; /* 画像の重なり分だけ右にシフト */
}
.left2 span {
  background: #333333;
  color: #fff;
}

.right2 img {
  position: absolute;
  width: 60%;
  top: 50%; /* 親要素の中央に縦の位置を合わせる */
  left: 20%; /* 親要素の中央に横の位置を合わせる */
  transform: translate(-50%, -50%); /* 画像の中央が親要素の中央に来るように調整 */

  z-index: 2; /* 画像を背面に */
}
.sub_title {
  width: 100%;
  text-align: center;
  background: #333333;
  color: #fff;
  padding: 1em 0;
  margin: 2em 0;
}
.sub_title h1 {
  letter-spacing: 0.12em;
  color:#d4af37;
}
/* カード全体のスタイル */
.card {
  width: 20%;
  border-radius: 10px; /* 丸みをつける */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 影をつける */
  overflow: hidden; /* 内容がカードの枠外にはみ出ないようにする */
  background-color: white;
  margin: 20px;
  transition: transform 0.3s ease; /* カードのホバー効果を設定 */
}

.card:hover {
  transform: translateY(-5px); /* ホバー時にカードが少し浮く */
}

/* 画像部分のスタイル */
.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 内容部分のスタイル */
.card-content {
  padding: 20px;
  min-height:280px;
}
.card-content-voice {
  padding: 20px;
  min-height:150px;
}

.card-content h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}

.card-content p {
  margin-top: 10px;
  color: #666;
  font-size: 1em;
}
.card_flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
section h1 {
  text-align: center;
}
.concept_box span {
  background: #333333;
  color: #fff;
  padding: 1em;
  margin: 1em 0;
}
.concept_box p {
  margin: 2em 0 0;
}
.news_box {
  width: 60%;
  margin: 0 auto;
}
.news-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 20px;
  margin: 15px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.news-item:hover {
  transform: scale(1.02);
}
.news-item h3 {
  /* font-size: 1.8em; */
  color: #333;
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 2px solid #d4af37; /* 下線を青で追加 */
}
.date {
  color: #888;
  font-size: 1em;
  margin-top: 10px;
  /* margin-bottom: 15px; */
  font-style: italic;
}
.news-item p {
  line-height: 1.6;
  font-size: 1.1em;
}
.info_title {
  /* width: 100%; */
  text-align: center;
  /* background: #333333; */
  color: #000;
  font-weight: bold;
  padding: 1em 0;
  margin: 2em 0 0;
}
.info_title h1 {
  letter-spacing: 0.12em;
  color:#d4af37;
}
/* 一覧ボタンのスタイル */
.button-container {
  text-align: center;
    margin-top: 30px;
}
.button-container a {
    display: inline-block;
    background-color: #d4af37; /* ボタンの背景色 */
    color: #000; /* ボタンの文字色 */
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.button-container a:hover {
    transform: scale(1.05); /* ホバー時に少し大きくなる */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* ホバー時にシャドウを強調 */
}
.m_top {
  margin-top: 5em;
}
.comparison {
  width: 100%;
  background: radial-gradient(circle, #ffd700 20%, #ffcc00 20%) 0 0, linear-gradient(45deg, #ffd700, #ffcc00);
  background-size: 30px 30px, 100% 100%;
  padding: 2em 0;
}
.comparison_text {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}
.comparison_table {
  width: 45%;
  margin: 0 auto;
  border-collapse: collapse;
  margin-top: 20px;
}
.comparison_table th, .comparison_table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
.comparison_table th {
  font-size: 1.2em;
  color: #333;
  background: #d1cbcb;
}
.comparison_table td {
  background-color: #f2f2f2;
  font-size: 1.1em;
  color: #666;
  width: 35%;
}
.counseling_box {
  background-color: #fff;
  border-radius: 8px;
  padding: 3em 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* 画像部分 */
.counseling_img {
  flex: 1;
  padding: 10px;
  width: 200px;
}

.counseling_img img {
  width: 80%;
  /* height: auto; */
  border-radius: 8px;
}

/* テキスト部分 */
.counseling_text {
  flex: 1;
  padding: 20px;
}

.counseling_text h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.counseling_text p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.counseling_inner1 {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
.counseling_inner2 {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.counseling_inner1 img{
  border-radius: 9999px;
}
.contact_img{
  width: 60%;
  margin: 0 auto;
}
.contact_img img {
  width: 100%;
}
.contact_btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #d4af37; /* ボタンの色 */
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 9999px; /* 角丸 */
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

/* FAQ ----------------------------------------------------------------*/
.faq_body {
  padding: 5em 0 0;
  background: #f7f7f7;
}
.title {
  text-align: center;
  width: 100%;
  /* background: #d4af37; */
  padding: 3em 0 0;
}
.faq-container {
  width: 60%;
  margin: 0 auto;
}
.faq-item {
  background-color: #fff;
  margin: 1.5em 0;
  border-radius: 5px;
  overflow: hidden;
}
.faq-header {
  padding: 15px;
  cursor: pointer;
  background-color: #333333;
  color: #d4af37;
  font-size: 18px;
}
.faq-answer {
  padding: 15px;
  display: none;
  background-color: #fff;
}
.faq-item.open .faq-answer {
  display: block;
}
/* .faq-item.open .faq-header {
  background-color: #45a049;
} */

/* FLOW ----------------------------------------------------------------*/

.flow_body {
  background: #f7f7f7;
  padding: 5em 0 0;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  width: 60%;
  margin: 2em auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
}

.step-content {
  flex-grow: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.step-description {
  font-size: 1rem;
  color: #555;
}

.flow {
  text-align: center;
  padding: 20px;
  color: #000;
  margin-top: 40px;
}

/* COUNSELING------------------------------------------------------ */

.required-style {
    padding: 2px 5px;
    margin-left: 5px;
    display: inline;
    color: rgb(255, 255, 255);
    font-size: 11px;
    background: rgba(190, 0, 0, .9);
    font-weight: normal;
    vertical-align: middle;
  }
  .required-style {
    padding: 2px 5px;
    display: inline;
    color: rgb(255, 255, 255);
    font-size: 11px;
    background: rgba(190, 0, 0, .9);
  }
  .optinal-style {
    padding: 2px 5px;
    display: inline;
    color: rgb(255, 255, 255);
    font-size: 11px;
    background: rgba(15, 18, 223, 0.9);
  }

/* フォームコンテナ */
.container {
    background: #fff;
    border: 2px solid #ecdf96; /* ゴールドの枠線 */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
    max-width: 600px;
    width: 100%;
    text-align: left;
    margin: 10em auto 5em;
}
a {
    text-decoration: none;
    color: inherit;
}
/* タイトルデザイン */
h1 {
    color: #13111d; /* ゴールド */
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ラベルのデザイン */
label {
    display: block;
    margin: 10px 0 0;
    font-weight: bold;
    color: #13111d;
    text-align: left;
}

/* 入力フィールド */
textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ecdf96; /* ゴールドの枠線 */
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}
.input {
    width: 100%;
    padding: 10px;
    /* margin-top: 5px; */
    border: 2px solid #ecdf96; /* ゴールドの枠線 */
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #ffcc00;
    outline: none;
}

/* 送信ボタン */
.button {
    margin-top: 1rem;
    /* padding: 12px 20px; */
    border: none;
    border-radius: 8px;
    background: #d4af37; /* ゴールド */
    color: black;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
    /* min-width: 150px; */
    max-width: 150px;
    width: 100%;
    padding: 10px 16px;
}
.ok_button {
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.ok_button:hover {
  background: #d4af37;
  transition: background 0.3s, transform 0.2s;
}
.back_button {
    margin-top: 1rem;
    /* padding: 12px 20px; */
    border: none;
    border-radius: 8px;
    background: #c0bfbd; /* ゴールド */
    color: black;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
    min-width: 150px;
    max-width: 150px;
    width: 100%;
    padding: 10px 16px;
}

.btn-box:hover {
    background: #ffcc00;
    transform: scale(1.05);
}




/* フッター----------------------------------------------------------------------------- */
.footer {
  background-color: #333333;
  text-align: center;
  padding: 5px;
  /* position: fixed; */
  /* bottom: 0; */
  /* left: 0; */
  width: 100%;
  box-sizing: border-box;
}
.footer_sns {
  margin: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
.footer_flex {
  display: flex;
  justify-content: center;
  gap: 3em;
}
.footer_line {
  width: 200px;
}
.text-left {
  text-align: left;
  color: #fff;
}
.map {
  width: 30%;
}
.footer p {
  margin: 1em 0;
  color: #fff;
}
.footer p:hover {
  /* color: #ddd; */
  color: #d4af37;
}
.margin_none {
  margin: 0;
}

/* 特定商取引法----------------------------------------------------------------------------- */

.legal_body {
  background: #f7f7f7;
}
.legal_content {
  width: 60%;
  margin: 7em auto;
  padding: 2em;
  background: #fff;
}
.legal_content h2 {
  background: #d4af37;
  color: #fff;
  padding: 1em;
}
/* メニュー ------------------------------------------------------------------------------ */
.menu_body {
  padding: 5em 0 0;
}
/* .title {
  text-align: center;
  width: 100%;
  background: #d4af37;
  padding: 3em 0;
} */
.menu_box {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}
.menu_box img {
  width: 100%;
}

/* ニュース --------------------------------------------------------------------------------*/
.policy_body {
  background: #f7f7f7;
}
.policy_content {
  width: 60%;
  margin: 7em auto;
  padding: 2em;
  background: #fff;
}
.policy_content h2 {
  background: #d4af37;
  color: #fff;
  padding: 1em;
}

/* ポリシー --------------------------------------------------------------------------------*/

.policy_body {
  background: #f7f7f7;
}
.policy_content {
  width: 60%;
  margin: 7em auto;
  padding: 2em;
  background: #fff;
}
.policy_content h2 {
  background: #d4af37;
  color: #fff;
  padding: 1em;
}

/* お客様の声 --------------------------------------------------------------------------------*/

/* モーダルのスタイル */
.modal {
display: none; /* 初期状態では非表示 */
position: fixed;
z-index: 1; /* 他のコンテンツより前面に表示 */
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4); /* 背景に半透明の黒を追加 */
}

.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%; /* モーダルの幅 */
}

.close {
color: #aaa;
font-size: 28px;
font-weight: bold;
position: absolute;
right: 15px;
top: 15px;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.custom-file {
  display: inline-block;
  padding: 8px 16px;
  background-color: #d1e6f0;
  color: black;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.custom-file:hover {
  background-color: #c1e6ec;
}
#imageInput {
  display: none; /* 元の input は非表示 */
}


/* 求人 --------------------------------------------------------------------------------*/

.recruitment_body {
  background: #f7f7f7;
  padding: 5em 0 0;
}
.job_contents {
  width: 60%;
  margin: 2em auto;
}
.job-listing {
  background-color: #fff;
  padding: 1em 3em;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.job-listing img {
  width:100%;
}

.job-listing h2 {
  color: #d4af37;
  font-size: 28px;
}

.job-listing p {
  font-size: 16px;
  line-height: 1.6;
}

.job-listing ul {
  list-style-type: none;
  padding-left: 0;
}

.job-listing ul li {
  background: url('check-icon.png') no-repeat left center;
  padding-left: 30px;
  margin: 10px 0;
}

.cta {
  text-align: center;
  margin: 2em 0;
}

.cta a {
  background-color: #d4af37;
  color: black;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
}

/* お客様の声 */
    .review { 
        background: white; 
        border-radius: 10px; 
        padding: 1rem; 
        margin-bottom: 1rem; 
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
        transition: transform 0.1s, box-shadow 0.2s;
    } 
    .review:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .author { font-weight: bold; }
    .rating { color: gold; }
    a.review-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }
    .review_box {
      width: 80%;
      margin: 0 auto;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      padding-top: 100px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow-x: scroll;
      background-color: rgba(0,0,0,0.4);
    }
    .modal-content {
      background: #fff;
      margin: auto;
      padding: 30px;
      border-radius: 12px;
      width: 90%;
      max-width: 400px;
      text-align: center;
    }
    .stars span {
      display: block;
      font-size: 22px;
      margin: 10px 0;
      padding: 10px;
      background: #f0f0f0;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .stars span:hover {
      background: #ffe680;
    }
    .close {
      position: absolute;
      /* right: 100px; */
      right: 3em;
      /* top: 15px; */
      top: 5em;
      font-size: 24px;
      cursor: pointer;
      color: #f1eaea;
    }
    .open-modal-btn {
      display: inline-block;
      border-radius: 5px;
      text-decoration: none;
      margin-top: 1rem;
      border: none;
      border-radius: 8px;
      background: #d4af37; /* ゴールド */
      color: black;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s, transform 0.2s;
      font-weight: bold;
      min-width: 150px;
      max-width: 150px;
      width: 100%;
      padding: 10px 16px;
    }

    .review-container {
      max-width: 600px;
      margin: 50px auto;
      background: #fff;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      font-family: "Noto Sans JP", sans-serif;
      text-align: center;
    }
    .review-container h2 {
      font-size: 1.2em;
      margin-bottom: 20px;
    }
    .star_box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 40px;
      color: #ccc;
    }
    .star_box .filled {
      color: #fbc02d;
      text-shadow: 0 0 3px rgba(0,0,0,0.2);
    }
    .review-container textarea {
      width: 100%;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 10px;
      font-size: 16px;
      resize: vertical;
    }
    .buttons {
      margin-top: 20px;
      display: flex;
      justify-content: center;
      gap: 15px;
    }
    .nickname_area {
      font-size: 0.7em;
    }
    .review_input {
      width: 100%;
      padding: 0.7em;
      border-radius: 10px;
      border: 1px solid #b6b3b3;
    }
    

    /* 商品選択 */
    .select_product_table {
      text-align: center;
      width: 95%;
      margin: 1em auto;
      border-collapse: collapse;
      table-layout: auto;
    } 
    .select_product_table th,
    .select_product_table td {
      border: 1px solid #000;
      font-size: 0.5em;
      padding: 2px;
    }
    .select_product_table td{
      height: 20px;
    }
    .select_product_table tr{
      border:none;
    }
    .profile_area {
      width: 95%;
      margin: 0 auto;
      text-align: center;

    }
    .profile_area label {
      
    }
    .profile_area input{
      min-width: 200px;
      max-width: 200px;
      padding: 0.5em 1em;
      border-radius: 5px;
      border: 1px solid #000;
    }
    .select_schedule_table {
      text-align: center;
      width: 95%;
      margin: 1em auto;
      /* border-collapse: collapse; */
      table-layout: auto;
      overflow: hidden;
    } 
    .select_schedule_table th,
    .select_schedule_table td {
      border: 1px solid #000;
      font-size: 0.5em;
      padding: 2px;
    }
    .select_schedule_table td{
      height: auto;
    }
    .select_schedule_table tr{
      border:none;
    }
@media (max-width: 768px) {
  .container {
    margin: 1em auto;
}

  .comparison_table td {
    padding: 8px 0;
  }
  .right2 {
    padding: 0;
  }
  .text-overlay {
    top: 60%;
    left: 3%;
    text-align: left;
  }
  .concept_box p {
    padding: 0 1em 1em;
  }
  .comparison_text {
    text-align: left;
  }
  .counseling_text {
    padding: 0;

  }
  .comparison_table th {
    font-size: 1.0em;
  }
  .left img , .right2 img {
    display: none;
  }
  /* .top_body {
    margin: 0;
  } */
  .news_box {
    width: 90%;
  }
  .right {
    padding: 0;
  }
  .left2 {
    padding: 0;
  }
  .card_flex {
    display: block;
    width: 100%;
  }
  .card {
    width: 90%;
    margin: 1em auto;
  }
  .card-content { 
    min-height: auto;
  }
  .comparison_text {
    width: 90%;
  }
  .comparison_table {
    width: 90%;
  }
  .counseling_inner1 {
    display: block;
    width: 90%;
  }
  .counseling_inner2 {
    display: block;
    width: 90%;
    margin-top: 1em;
  }
  .counseling_inner1 h1 {
    font-size: 1.2em;
  }
  .concept_box {
    display: block;
    height: auto;
  }
  h1 {
    font-size: 1.5em;
  }
  .text-overlay h1 {
    font-size: 1.8em;
  }
  .counseling_img {
      width: auto;
      padding: 0;
  }
  .counseling_img img {
    width: 100%;
  }
  .contact_btn {
    margin: 1em auto;
    width: 100%;
  }
  .contact_img {
    width: 90%;
    margin-top: 1em;
  }
  .faq-container {
    width:90%;
  }
  .title {
    padding: 1em 0;
    font-size: 1.2em;
  }
  .steps {
    width: 90%;
  }
  .step-title {
    font-size: 1.0em;
  }
  .step {
    display: block;
  }
  /* フッター */
  .flow_body {
    padding: 3em 0 0;
  }
  /* .title {
    padding: 2em 0;
  } */
  .footer_flex {
    display: block;
  }
  .map {
    width: 100%;
  }
  .footer p {
    margin: 0.5em 0;
  }

  /* 特定商取引法 */
  .legal_content {
    width: 90%;
    padding: 0;
  }
  .legal_content h2 {
      padding: 0.5em;
      font-size: 1.2em;
  }

  /* メニュー */
  .menu_box {
    width: 95%;
  }
  .menu_body {
      padding: 3em 0 0;
  }

  /* ポリシー */
  .policy_content {
    width:100%;
    margin: 3em auto;
    padding: 1em;
  }
  .policy_content h2 {
      font-size: 1.2em;
  }

  /* 求人 */
  .job_contents {
    width: 90%;
  }
  .job-listing {
      padding: 1em;
  }
  .job-listing h2 {
      font-size: 22px;
  }
  .recruitment_body {
      padding: 3em 0 0;
  }

  /* ヘッダー */
  .header {
    padding: 30px;
  }
  .header img {
      /* display:none; */
      width: auto;
  }
  .review-container {
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: none;
  }
}