:root {
  --main-color: #fba53d;
  --sub-color: #ffffff;
  --accent-color: #ff5722;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kosugi Maru", "游ゴシック", sans-serif;
  font-style: normal;
  font-weight: 200;
}
.font_small {
  font-size: 0.9rem;
}
html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--sub-color);
  color: #333;
}
.hero {
  height: 100vh;
  background-image: url(../img/top.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: rgb(250, 129, 46);
  text-align: center;
}
.hero-content {
  overflow: hidden;
}
.hero p {
  font-size: 1.25rem;
  color: rgb(240, 130, 0);
  text-shadow: 0.2px 0.2px #000;
  margin-bottom: 1rem;
}
.main_title {
  margin: 15vh auto 0;
  width: fit-content;
  padding: 1rem;
  border: solid 1px;
  border-radius: 1rem;
  background-color: rgba(45, 45, 65, 0.5);
}
.main_title h1 img {
  margin: 0 auto;
  display: block;
  width: 80%;
}
.main_title p {
  margin-top: 1.5rem;
}
.cta-button {
  list-style-type: none;
  width: fit-content;
  background-color: var(--accent-color);
  color: #fff;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  margin: 15vh auto;
  cursor: pointer;
  border: 0.5px solid red;
}
.cta-button a {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.cta-button:hover {
  background-color: darkorange;
}
.get_mem {
  padding: 2rem 2rem 3rem;
  border: 1px solid;
  border-radius: 2rem;
  width: fit-content;
  height: fit-content;
  position: absolute;
  inset: 0;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.get_mem h2 {
  margin-bottom: 0.5rem;
  color: red;
}
.get_mem h3 {
  color: red;
}
.get_mem a {
  font-size: 1.5rem;
  color: #fff;
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.5rem;
  text-decoration: none;
  border: 1px solid var(--accent-color);
  border-radius: 0.3rem;
  background-color: var(--accent-color);
}
.get_mem a:hover {
  background-color: darkorange;
}
.close-btn {
  position: absolute;
  width: 20%;
  inset: auto 0 1rem;
  margin: auto;
  cursor: pointer;
  color: red;
  font-weight: 700;
}
.close-btn:hover {
  color: darkred;
}
#get_mem .block {
  display: block;
}
.features {
  margin: 2rem;
  text-align: center;
}
.features h2 {
  font-size: 2rem;
}
.features p {
  margin: 1.5rem 0;
}
.feature-list {
  justify-content: center;
  gap: 2rem;
}
.feature {
  margin: 0 auto 1rem;
  width: 100%;
  background-color: rgb(238, 231, 135);
  padding: 1rem;
  box-shadow: 1px 1px #000;
  border-radius: 8px;
}
.feature p {
  margin: 0.5rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.cta-ec {
  display: block;
  list-style-type: none;
  width: fit-content;
  background-color: var(--accent-color);
  color: #fff;
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  margin: 0.5rem auto;
  cursor: pointer;
}
.cta-ec:hover {
  background-color: darkorange;
}
.cyabudai_img {
  width: 200px;
}
.contact {
  padding: 2rem;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
}
.contact p {
  margin: 1rem;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
}
.instagram-link,
.facebook-link {
  display: inline-block;
  padding: 0.5rem;
}
.instagram-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease-in-out;
}

.facebook-icon {
  width: 40px;
  height: 40px;
}
.instagram-link:hover .instagram-icon,
.facebook-link:hover .facebook-icon {
  transform: scale(1.1);
}
@media screen and (min-width: 768px) {
  .feature,
  details {
    margin: 0 auto 1rem;
    width: 60%;
  }
}
@media screen and (max-width: 449px) {
  .main_title {
    padding: 1rem;
  }
  .main_title h1 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 385px) {
  .main_title {
    padding: 1rem 0.2rem;
  }
}
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1rem 0;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.about-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.6;
}

.about-section h2 {
  text-align: center;
  font-size: 2.5em;
  color: #2c5530;
  margin-bottom: 40px;
  border-bottom: 3px solid #f4a460;
  padding-bottom: 10px;
}

.about-content {
  background: linear-gradient(135deg, #fff8dc 0%, #f0f8ff 100%);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-info {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.company-info th {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 15px 20px;
  text-align: left;
  font-weight: bold;
  width: 200px;
  border-bottom: 1px solid #e0e0e0;
}

.company-info td {
  padding: 15px 20px;
  background: #fafafa;
  border-bottom: 1px solid #e0e0e0;
}

.company-info ul {
  margin: 0;
  padding-left: 20px;
}

.company-info li {
  margin: 8px 0;
  color: #444;
}

.representative {
  background: linear-gradient(135deg, #fff8dc 0%, #f0f8ff 100%);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.representative h3 {
  color: #2c5530;
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #f4a460;
  padding-bottom: 10px;
}

.profile-content {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.profile-text {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-text h4 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.profile-text h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--main-color);
}

.profile-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid var(--main-color);
}

@media (max-width: 768px) {
  .profile-text {
    padding: 15px;
  }

  .profile-text h4 {
    font-size: 1.5rem;
  }
}
/* ページヘッダーのスタイル */
.page-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.global-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.global-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.global-nav a:hover {
  background-color: #f5f5f5;
}

.global-nav a.current {
  color: var(--main-color);
  font-weight: bold;
}

/* テーブルの行間調整 */
.company-info th,
.company-info td {
  padding: 25px 20px;
  border: 1px solid #ddd;
  line-height: 1.6;
}

.company-info ul li {
  margin-bottom: 0.8rem;
}

/* 代表者プロフィールの改善 */
.representative {
  background: linear-gradient(135deg, #fff8dc 0%, #f0f8ff 100%);
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-content {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.profile-text {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-text h4 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.profile-text h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--main-color);
}

.profile-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid var(--main-color);
}

@media (max-width: 768px) {
  .profile-text {
    padding: 15px;
  }

  .profile-text h4 {
    font-size: 1.5rem;
  }
}

/* トップページ用の透明ヘッダー */
.hero .header-content.transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
}

.hero .global-nav.transparent a {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .global-nav.transparent a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hero .global-nav.transparent a.current {
  color: var(--main-color);
  text-shadow: none;
}

.hero .logo img {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}
