/* 基本設定 */
body {
    font-family: 'Noto Sans JP', 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.site-header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    text-decoration: none;
}

.site-logo img {
    max-width: 100%;
    height: auto;
}

/* PC版のナビゲーションメニュー */
.site-nav {
    display: block;
}

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

.site-nav li {
    margin-left: 25px;
}

.site-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #4CAF50;
}

/* ハンバーガーメニューボタンのスタイル */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle .icon-bar {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: all 0.3s linear;
}

/* メニューが開いたときのハンバーガーアイコンのスタイル */
.menu-toggle.open .icon-bar:nth-child(1) {
    transform-origin: 0 0;
    transform: rotate(45deg) translate(2px, -2px);
}

.menu-toggle.open .icon-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .icon-bar:nth-child(3) {
    transform-origin: 0 100%;
    transform: rotate(-45deg) translate(0px, 0px);
}

/* main-visual */
.main-visual {
    padding: 0;
    background-color: transparent;
    background-image: none;
    position: relative;
    overflow: hidden;
    height: 600px;
}

/* スライドショーのラッパー */
.main-visual-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

/* 各スライドアイテム */
.slide-item {
    width: 33.33%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.slide-item:nth-child(1) {
    background-image: url('../images/slide1.jpg');
}
.slide-item:nth-child(2) {
    background-image: url('../images/slide2.jpg');
}
.slide-item:nth-child(3) {
    background-image: url('../images/slide3.jpg');
}

/* PC用スタイル */
.slide-content {
    position: absolute;
    right: 5%;
    bottom: 5%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 20px 40px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border-radius: 10px;
    text-align: left;
}

.slide-item.active .slide-content {
    opacity: 1;
}

.slide-content h2 {
    font-size: 40px;
    color: #006400;
    margin-top: 0;
}

.slide-content p {
    font-size: 30px;
    color: #000000;
    margin-bottom: 0;
}

.slide-content img {
    max-width: 100%;
    height: auto;
}

/* トピックスセクション */
.topics-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4CAF50;
    margin: 10px auto 0;
}

.topics-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.topic-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: calc((100% - 60px) / 3);
    text-align: left;
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-10px);
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-date {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.card-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

.card-text {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px;
}

.card-link {
    display: inline-block;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 700;
}

.view-more {
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #388E3C;
}

/* 特徴セクション */
.features-section {
    padding: 80px 0;
    text-align: center;
}


/* 固定ページセクション */
.kotei-section {
    padding: 80px 0;
}


.features-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: calc((100% - 60px) / 3);
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.color-green {
    border-bottom: 5px solid #90ee90;
}

.color-yellow {
    border-bottom: 5px solid #ffdead;
}

.color-blue {
    border-bottom: 5px solid #87cefa;
}

.feature-card .card-content {
    padding: 20px;
}

.feature-card .card-title {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

.feature-card .card-text {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 問い合わせバナー */
.contact-banner-section {
    background-color: #e8f5e9;
    padding: 50px 0;
    text-align: center;
}

.contact-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-image {
    width: 40%;
    max-width: 400px;
}

.contact-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-content {
    width: 50%;
    text-align: left;
}

.contact-text h3 {
    font-size: 28px;
    color: #388E3C;
    margin-bottom: 10px;
}

.contact-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.4;
}

.contact-text a {
    color: #388E3C;
    text-decoration: none;
    font-weight: bold;
    font-size: 40px;
}

.contact-button {
    margin-top: 20px;
}

.contact-button .btn {
    font-size: 18px;
    padding: 15px 40px;
}

.contact-button .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-icon {
    width: 24px;
    height: 24px;
}

/* フッター */
.site-footer {
    background-color: #fff;
    color: #333;
    padding: 40px 0;
    text-align: center;
}

.site-footer .container {
    padding: 0 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
    margin-bottom: 20px;
}

.footer-info {
    flex: 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 400px;
    height: auto;
}

.footer-info p {
    margin: 0 0 10px;
    line-height: 1.8;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: translateY(-5px);
}

.footer-map {
    flex: 1;
    max-width: 600px;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* --- レスポンシブ対応 (768px以下) --- */
/* すべてのレスポンシブスタイルをここに集約します */
@media (max-width: 768px) {
    /* containerのパディングを修正 */
    .container {
        padding: 0 5%;
    }

    /* ヘッダー */
    .site-header .container {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }

    .site-nav.open {
        display: block;
        transform: translateX(0);
    }
    
    .site-nav ul {
        background-color: #fff;
        width: 70%;
        height: 100%;
        padding: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        right: 0;
        top: 0;
        padding: 50px 20px;
    }

    .site-nav li {
        margin: 20px 0;
        width: 100%;
    }

    .site-nav a {
        font-size: 20px;
        font-weight: 700;
        color: #333;
        display: block;
        padding: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.open .icon-bar:nth-child(1) {
        transform-origin: 0 0;
        transform: rotate(45deg) translate(3px, -3px);
    }
    
    .menu-toggle.open .icon-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .icon-bar:nth-child(3) {
        transform-origin: 0 100%;
        transform: rotate(-45deg) translate(3px, 3px);
    }
    
    .button-icon {
        width: 20px;
        height: 20px;
    }
    
    /* main-visual */
    .main-visual h2,
    .main-visual p {
      font-size: initial;
    }
    
    .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
        background-color: rgba(255, 255, 255, 0.7);
        color: #333;
        border-radius: 10px;
    }
    
    .slide-content h2 {
        font-size: 26px;
        color: #006400;
    }
    
    .slide-content p {
        font-size: 20px;
        color: #000000;
    }
    
    .slide-content img {
        max-width: 100%;
        height: auto;
    }
    
    /* トピックス、特徴、問い合わせ */
    .topics-section,
    .features-section,
    .contact-banner-section {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .topics-cards,
    .features-cards {
        flex-direction: column;
        align-items: center;
    }

    .topic-card,
    .feature-card {
        width: 100%;
        max-width: 400px;
    }
    
    .contact-banner {
        flex-direction: column;
        gap: 20px;
    }

    .contact-image,
    .contact-content {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    
    .contact-text h3 {
        font-size: 24px;
    }

    .contact-text p {
        font-size: 16px;
    }
    
    .contact-text a {
        font-size: 20px;
    }
    
    .contact-button {
        margin-top: 10px;
    }

    .contact-button .btn {
        font-size: 16px;
        padding: 12px 30px;
    }
    
    /* フッター */
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info,
    .footer-map {
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }

    .footer-map iframe {
        height: 250px;
    }
}


/* --- レスポンシブ対応 (768px以下) --- */
@media (max-width: 700px) {
    .site-logo img {
        max-width: 70%;
        height: auto;
    }
}

/* --- レスポンシブ対応 (768px以下) --- */
@media (max-width: 700px) {
    .footer-logo img {
        max-width: 70%;
        height: auto;
    }

}


.gradient-hr {
    height: 5px;
    border: 0;
    background: linear-gradient(to right, #006400, #4CAF50, #90EE90);
    margin: 20px 0;
}

/*コアラが動く*/

.floating-koala-container {
  /* display: flex;  <-- 削除 */
  /* justify-content: center;  <-- 削除 */
  /* align-items: center;  <-- 削除 */
  height: auto; /* 高さを自動調整にする */
}

.floating-koala {
  width: 100px; /* 画像のサイズを調整 */
  animation: float 3s ease-in-out infinite; /* アニメーションの適用 */
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* 上に動く距離 */
  }
  100% {
    transform: translateY(0);
  }
}

.koala-and-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  /* ここに中央寄せのプロパティを追加 */
  margin: 0 auto;
  /* コンテンツの幅に合わせて自動調整 */
  width: fit-content;
}

/*footerのpdfダウンロード*/
.business-evaluation ul {
    display: flex; /* flexboxを使って子要素を横並びにします */
    list-style: none; /* デフォルトのリストマーカー（・）を非表示にします */
    padding: 0;
    gap: 20px; /* リンクの間に20pxのスペースを空けます */
    margin-top: 10px;
}

.business-evaluation li {
    /* 必要に応じて、個々の要素のスタイルを調整できます */
}


.carousel-item img {
    max-width: 100%;
    height: auto;
}


/* ページ上部の薄いグリーンヘッダーのようなセクション */
.page-hero-section {
    background-color: #E8F5E9; /* 薄いグリーンの背景色 */
    padding: 20px 0; /* 上下の余白 */
    margin: 0; /* セクション上部の余白をなくす */
}

.page-hero-content {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 50px; /* 画像とテキストの間の間隔を広げる */
}

.hero-image-wrapper {
    flex-shrink: 0;
}

.hero-image {
    max-width: 250px; /* 画像のサイズを大きくする */
    height: auto;
}

.hero-text-wrapper {
    flex-grow: 1; /* テキスト部分が残りのスペースを埋める */
}

.page-title {
    font-size: 40px; /* ヘッダーの文字を大きくする */
}


/* スマートフォンでのレイアウト */
@media (max-width: 768px) {
    .page-hero-content {
        flex-direction: column; /* 要素を縦に並べる */
        text-align: center;
    }
    
    .hero-image {
        max-width: 180px; /* スマホでは画像のサイズを調整 */
    }

    .page-title {
        font-size: 28px; /* スマホではヘッダーの文字サイズを調整 */
    }
}

/* 白いメインコンテンツの枠 */
.main-content-wrapper {
  background-color: #fff; /* 白い背景色 */
  padding: 40px 0; /* 上下の余白 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 軽めの影で浮き上がらせる */
  position: relative;
  z-index: 1; /* ヘッダーやフッターの上に配置 */
  margin-bottom: 40px; /* 下のセクションとの余白 */
}

/* 基本の表スタイル */
/* info-table クラスの全体的なデザイン */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border: 1px solid #ddd;
}

.info-table th, .info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  background-color: #f8f8f8;
  width: 25%; /* PC表示時のthの幅を調整 */
}

/* 最後の行の下線を消す */
.info-table tr:last-child td,
.info-table tr:last-child th {
  border-bottom: none;
}

/* 768px以下の画面幅で適用されるレスポンシブデザイン */
@media (max-width: 768px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block; /* すべての要素をブロック要素に変更して縦に並べる */
    width: 100%;
    box-sizing: border-box; /* paddingとborderをwidthに含める */
  }

  .info-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .info-table th {
    background-color: #eee;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
  }

  .info-table td {
    border-top: none;
  }
}

/* スライドショーのコンテナ */
.info-slider-container {
  max-width: 600px;
  margin: 0 auto 40px; /* ここを修正 */
  position: relative;
}

/* スライドを内包するラッパー */
.info-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* 各スライド画像 */
.info-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 4:3の比率を維持 */
  display: none; /* 初期状態では非表示 */
  flex-shrink: 0;
}

.info-slide.active-slide {
  display: block; /* アクティブなスライドのみ表示 */
}

/* スライド下部のドットナビゲーション */
.info-slider-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.6s ease;
}

.dot.active-dot {
  background-color: #717171;
}


/* ご利用までの流れセクションのスタイル */
.steps-section {
    padding: 40px 0;
}

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

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

.step-item {
    flex-basis: 24%;
    text-align: center;
    position: relative;
}

.step-content {
    /* コンテンツ部分のスタイル */
}

/* PC版の矢印のスタイル */
.step-arrow {
    position: absolute;
    top: 100px; /* ここを修正：矢印を<h3>と同じ高さに固定 */
    right: -25px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #4CAF50;
    transform: translateY(-50%);
}

/* ステップ番号の円 */
.step-number {
    background-color: #4CAF50;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: bold;
}

/* ステップタイトルのスタイル */
.step-title {
    margin-top: 10px; /* 余白を追加して位置を調整 */
}

/* スマートフォンでのレイアウト */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }

    .step-item {
        flex-basis: auto;
        margin-bottom: 40px; /* 各ステップ間のスペースを確保 */
        padding-bottom: 0;
    }
    
    .step-item:last-child {
        margin-bottom: 0;
    }

    .step-arrow {
        /* スマホ版では矢印の向きと位置を変更 */
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 15px solid #4CAF50;
    }
    
    /* 最後のステップの矢印を非表示にする */
    .step-item:last-child .step-arrow {
        display: none;
    }
}

/* 画像とテキストのセクション */
.image-text-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.image-text-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

.image-wrapper {
    flex: 1;
    max-width: 50%; /* PC版での画像の幅を50%に設定 */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-wrapper {
    flex: 1;
    max-width: 50%; /* PC版でのテキストの幅を50%に設定 */
}

.content-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

/* スマートフォンでのレイアウト */
@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }
    
    .image-wrapper, .text-wrapper {
        max-width: 100%;
    }

    .image-wrapper {
        margin-bottom: 20px; /* 画像とテキストの間に余白を確保 */
    }
}

/* スケジュールセクション */
.schedule-section {
    padding: 40px 0;
    background-color: #fff;
}

.schedule-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* タイムラインの縦線 */
.schedule-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ccc;
    top: 0;
    bottom: 0;
    left: 150px; /* PC版では左側にタイムラインを配置 */
    margin-left: -1px;
}

.schedule-item {
    padding: 10px 0;
    position: relative;
    padding-left: 200px; /* タイムラインとの間に余白を確保 */
    margin-bottom: 20px;
}

/* タイムライン上の丸いマーカー */
.schedule-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 140px; /* タイムラインの縦線と重なるように調整 */
    top: 50%;
    transform: translateY(-50%);
    background-color: #4CAF50;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

.schedule-time {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 120px;
    font-weight: bold;
    color: #4CAF50;
    text-align: right;
}

.schedule-description {
    background-color: #E8F5E9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* スマートフォンでのレイアウト */
@media (max-width: 768px) {
    .schedule-timeline::after {
        left: 20px; /* スマホでは左端にタイムラインを配置 */
    }

    .schedule-item {
        padding-left: 50px; /* 余白を調整 */
    }

    .schedule-item::before {
        left: 10px; /* スマホでは左端にマーカーを配置 */
    }
    
    .schedule-time {
        position: static;
        text-align: left;
        transform: none;
        margin-bottom: 5px;
        font-size: 1.1em;
    }
}

.map img {
    max-width: 100%;
    height: auto;
}

