/* 基本設定 */
:root {
  --header-and-footer: #a1d4b1;
  --primary-color: #d2efd8;
  --secondary-color: #d2efd8;
  /* アクセント */
  --accent-color: #fae9b2;
  /* 基本の文字色 */
  --text-color: #303030;
  /* 白 */
  --white-color: #fff;
  /* 淡い緑 */
  --light-green-bg: #f3f9f3;
  /* 基本背景色 */
  --base-background: #f2fbe9;
  /* ピックアップ背景色 */
  --pickup-background: #f6b1b4;
  /*ボタン背景色*/
  --buttom-background: #7eb0cd;
  /*枠線*/
  --border-glay: #bbbbbb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--base-background);
}

a {
  /*
  color: var(--primary-color);
*/
  text-decoration: none;
  transition: color 0.3s ease;
}

/*
a:hover {
  color: #4a6c4e;
}
*/
img {
  max-width: 100%;
  height: auto;
}

button {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 20px;
  font-weight: bold;
  background-color: var(--buttom-background);
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* ヘッダー */
.site-header {
  background-color: var(--white-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  background-color: var(--header-and-footer);
  /*
  background-color: #ddddff;
  background-image: repeating-linear-gradient(
      45deg,
      #aaaaff 0px,
      #aaaaff 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      -45deg,
      #aaaaff 0px,
      #aaaaff 1px,
      transparent 1px,
      transparent 20px
    );
  background-size: 20px 20px;
  background-position: 0 0;
    */
}

.logo-link {
  display: flex;
  align-items: center;
}

.product-logo {
  height: 40px;
  margin-right: 10px;
}

.product-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
}

.main-nav {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--text-color);
  font-weight: 600;
}

.login-button {
  margin-top: -0.5rem;
  padding: 0.25rem 0.5rem;
  background-color: white;
  color: var(--text-color);
  border: 1px solid black;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

/* ヒーローセクション（トップページ） */
.hero {
  background-color: var(--secondary-color);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.5rem, 2vw, 3rem);
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 1rem 0 2rem 0;
  text-align: left;
}

.hero-content-customr {
  text-align: center;
}

.hero-content-customr img {
  max-width: 320px;
}

.cta-button {
  background-color: var(--buttom-background);
  color: black;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--buttom-background);
  transform: translateY(-2px);
}

.intro-text {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.intro-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

.toppage-news {
  margin: 1rem;
  background-color: var(--white-color);
  border: 1px solid var(--border-glay);
  border-radius: 0.5rem;
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.toppage-news-header {
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  background-color: var(--pickup-background);
}

.toppage-news-item {
  margin-top: 0.5rem;
  padding: 1rem;
}

.toppage-news-date {
  font-weight: 800;
}

.toppage-news-text {
  margin-left: 1rem;
}

/* 機能紹介ページ */
.page-title {
  text-align: center;
  padding: 1rem;
  background-color: var(--secondary-color);
  border-bottom: 10px solid var(--accent-color);
}

.page-title h1 {
  font-size: 2.5rem;
  color: var(--text-color);
}

.page-title p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 1rem 0 2rem 0;
}

.feature-category {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.feature-category h2 {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.feature-category h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-item {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  min-height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.feature-item p {
  font-size: 0.95rem;
  color: #555;
}

.feature-item .feature-image {
  margin: auto 0;
}

/*
.feature-item img {
  height: 80px;
  margin-bottom: 1rem;
}
  */

.feature-detail h3 {
  margin: 0;
  padding: 0.5rem;
  background-color: var(--secondary-color);
  font-size: x-large;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid var(--border-glay);
}

.feature-detail h4 {
  margin: 0;
  padding: 0.5rem;
  background-color: #c8d8e4;
  font-size: arge;
  border-radius: 0.5rem;
}

.feature-detail .list-header {
  font-size: large;
  font-weight: 800;
}

.feature-detail .feature-detail-line {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-glay);
}

.feature-detail .feature-detail-img {
  flex: 1;
  margin: 1rem;
}
.feature-detail .feature-detail-text {
  flex: 2;
  padding: 1rem;
}

.feature-detail .feature-detail-item-footer {
  padding: 1rem;
}
.feature-detail .feature-detail-item-topic {
  padding: 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--pickup-background);
}

.feature-detail .feature-detail-item-footer button {
  width: 100%;
}

.feature-detail-item {
  margin: 0.5rem;
  border: 2px solid var(--border-glay);
  border-radius: 0.5rem;
  background-color: var(--white-color);
}

/* 料金ページ */

.pricing-section {
  margin: 4rem 1rem;
  padding: 0 2rem;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.pricing-section ul {
  font-size: large;
  font-weight: 600;
}

.pricing-section ul span {
  font-size: medium;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 1rem;
}

.pricing-section h3 {
  margin: 0;
  padding: 0.5rem;
  background-color: var(--pickup-background);
  font-size: x-large;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid var(--border-glay);
}

.pricing-detail {
  border-radius: 0.5rem;
  border: 1px solid var(--border-glay);
  margin-top: 2rem;
}

.pricing-detail-line {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-glay);
}

.pricing-detail-line .pricing-detail-img {
  flex: 1;
  margin: 1rem;
}

.pricing-detail-line .pricing-detail-img img {
  width: 100%;
}

.pricing-detail-line .pricing-detail-text {
  flex: 2;
  padding: 1rem;
}

.pricing-detail-line .pricing-detail-text-strong {
  font-size: x-large;
  font-weight: 800;
}

.privacy-policy-content {
  text-align: left;
}

.privacy-policy-content h2 {
  margin: 0 auto 3rem auto;
  font-size: xx-large;
  font-weight: 800;
  text-align: center;
}

.privacy-policy-content h3 {
  font-weight: 800;
}

.privacy-policy-content li {
  margin-top: 1rem;
}

/* 会社概要ページ */

.about-content-section {
  margin: 1rem;
  padding: 0 2rem;
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding: 1rem;
}

/* 問い合わせページ */

.contact-content-section {
  margin: 0.25rem;
  padding: 0.25rem;
}

.contact-content-item {
  border-radius: 0.5rem;
  background-color: var(--secondary-color);
  color: var(--white-color);
  text-align: center;
  padding: 0.25rem;
  margin: 0;
}

.contact-warning {
  border-radius: 0.5rem;
  background-color: var(--pickup-background);
  margin: 0.25rem;
  padding: 0.25rem 1rem;
  text-align: left;
  color: var(--text-color);
}

/* フッター */
.site-footer {
  text-align: center;
  background-color: var(--header-and-footer);
  color: var(--text-color);
  font-size: 0.9rem;
  text-align: right;
  padding: 0.25rem;
  margin-top: 2rem;
}

.site-footer a {
  color: var(--text-color);
}

#footer-placeholder {
  position: relative;
}

#div-footer-nav button {
  margin-top: 0.25rem;
  width: 100%;
}

.footer-sitemap {
  display: flex;
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.footer-sitemap a {
  flex: 1;
  text-align: center;
  display: block;
  padding: 10px 20px;
  margin: 1px;
  text-decoration: none;
  background-color: var(--white-color);
}

.footer-sitemap.is-active {
  max-height: 500px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.social-icons a {
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

/* レスポンシブ対応 */
@media (max-width: 1280px) {
  .logo-link {
    flex-basis: 100%;
  }

  .main-nav {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .logo-link {
    flex-basis: auto;
  }

  .main-nav {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background-color: var(--white-color);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    margin: 0.5rem 0;
  }

  .feature-detail .feature-detail-img {
    flex: 1 1 100%;
  }

  .feature-detail .feature-detail-text {
    flex: 1 1 100%;
  }

  .pricing-detail-line .pricing-detail-img {
    flex: 1 1 100%;
    text-align: center;
  }

  .pricing-detail-line .pricing-detail-img img {
    max-width: 320px;
  }

  .pricing-detail-line .pricing-detail-text {
    flex: 1 1 100%;
  }

  .hidden-on-mobile {
    display: none;
  }

  .visible-on-mobile {
    display: block;
  }
  .social-icons {
    position: static;
    justify-content: center;
    margin: 1rem 0;
  }

  .footer-content {
    margin-top: 1rem;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .footer-sitemap {
    flex-direction: column;
  }

  .footer-sitemap a {
    width: 100%;
  }
}
