html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #e6f3ff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  .dot {
    position: fixed;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 119, 204, 0.1);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.1s linear;
  }

  
  
  header {
    background-color: #0077cc;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    position: relative;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #ffe600;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    max-width: 250px;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
  }

  .logo-subtitle {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.1;
    margin-top: 2px;
  }

  /* ハンバーガーメニューボタン（PC版では非表示） */
  .hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  /* ハンバーガーメニューのアニメーション */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  
  nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .notice-box {
    background: #ffffff;
    border-radius: 10px;
    margin: 30px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 119, 204, 0.2);
  }
  
  .notice-box h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #0077cc;
    padding-bottom: 5px;
  }
  
  .accordion {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .accordion-header {
    background-color: #e0f0ff;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    transition: background 0.3s;
    position: relative;
    border-radius: 8px;
    margin-bottom: 2px;
    font-weight: 600;
    color: #0077cc;
    border: 2px solid #d0eaff;
    box-shadow: 0 2px 4px rgba(0, 119, 204, 0.1);
  }
  
  .accordion-header::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #0077cc;
    font-size: 0.8rem;
  }
  
  .accordion-header.active::after {
    transform: translateY(-50%) rotate(180deg);
  }
  
  .accordion-header:hover {
    background-color: #d0eaff;
    border-color: #0077cc;
    box-shadow: 0 4px 8px rgba(0, 119, 204, 0.15);
  }
  
  .accordion-header.active {
    background-color: #0077cc;
    color: white;
    border-color: #0077cc;
  }
  
  .accordion-header.active::after {
    color: white;
  }
  
  .accordion-body {
    display: none;
    padding: 10px 15px;
    background-color: #f9f9f9;
    font-size: 0.95rem;
    border-radius: 0 0 8px 8px;
    border: 2px solid #d0eaff;
    border-top: none;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 119, 204, 0.05);
  }

  .show-older-button {
    background-color: #0077cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: background-color 0.3s ease;
  }

  .show-older-button:hover {
    background-color: #005fa3;
  }

  #older-news-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
  }

  #older-news-container h3 {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .title-section {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 119, 204, 0.1);
  }
  
  .title-section h1 {
    font-size: 2.2rem;
    color: #0077cc;
    margin-bottom: 20px;
  }
  
  .title-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
  }

  /* 申し込みボタンセクション */
  .application-buttons {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
  }

  .button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .large-button {
    display: inline-block;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid;
  }

  .external-button {
    background-color: #ff6b35;
    color: white;
    border-color: #ff6b35;
  }

  .external-button:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 90, 43, 0.3);
  }

  .internal-button {
    background-color: #0077cc;
    color: white;
    border-color: #0077cc;
  }

  .internal-button:hover {
    background-color: #0066b3;
    border-color: #0066b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 179, 0.3);
  }

  .result-report-button {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }

  .result-report-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  }

  #result-report-section .button-container {
    margin-top: 20px;
  }
  .info-section {
    background-color: #ffffff;
    margin: 40px auto;
    padding: 25px;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 119, 204, 0.1);
  }
  
  .info-section h2 {
    font-size: 1.5rem;
    color: #0077cc;
    margin-bottom: 15px;
  }
  
  .info-section h3 {
    font-size: 1.3rem;
    color: #0077cc;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  
  .info-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
  }
  /* トグル内のスケジュールブロック */
.schedule-block {
    margin-top: 10px;
    font-size: 0.95rem;
  }
  
  .schedule-row {
    display: flex;
    padding: 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    color: #333;
  }
  
  .schedule-row .date {
    width: 120px;
    font-weight: bold;
  }
  
  .schedule-row .content {
    flex: 1;
  }
  
  .schedule-row .detail {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
  }
  
  .schedule-row a {
    color: #0077cc;
    text-decoration: underline;
    font-size: 0.9rem;
  }
  
  /* カラーバリエーション */
  .blue {
    background-color: #e8f2ff;
  }
  
  .gray {
    background-color: #f0f0f0;
  }
  
  .orange {
    background-color: #fff5f0;
  }
  
  .light-blue {
    background-color: #f8fafe;
    color: #333;
  }
  
  .light-blue .detail,
  .light-blue a {
    color: #333;
  }
  
  /* フッタースタイル */
  footer {
    background-color: #0077cc;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
  }
  
  .footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #e0f0ff;
  }
  
  .fee-table-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .fee-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
  }
  
  .fee-table th {
    background-color: #003366;
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: center;
  }
  
  .fee-table td {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ccc;
    font-weight: bold;
    background-color: #f9f9f9;
  }
  
  /* 幅いっぱいに表示する表 */
  .fee-table.full-width {
    width: 100%;
    max-width: none;
    margin: 20px auto;
  }
  
  .info-section .fee-table {
    margin: 20px auto;
  }
  
  .fee-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #003366;
  }
  
  .fee-arrow .arrow {
    width: 8px;
    height: 100px;
    background: linear-gradient(to top, #ffff00, #ffcc00);
    position: relative;
    margin: 4px 0;
  }
  
  .fee-arrow .arrow::after {
    content: "";
    position: absolute;
    top: -8px;
    left: -6px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #ffcc00;
  }
  
  
  
/* スマートフォン対応 */
@media (max-width: 768px) {
  header {
    flex-direction: row;
    text-align: left;
    padding: 10px 15px;
    min-height: auto;
  }
  
  .logo {
    margin-bottom: 0;
    font-size: 1.2rem;
    gap: 0;
    justify-content: flex-start;
  }

  .logo img {
    height: 30px;
    width: auto;
    max-width: 200px;
    display: none;
  }

  .logo-text {
    align-items: flex-start;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-subtitle {
    font-size: 0.8rem;
  }

  /* ハンバーガーメニューボタンを表示 */
  .hamburger {
    display: flex;
  }

  /* ナビゲーションメニューを隠す */
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0077cc;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* メニューが開いている時のスタイル */
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 10px 0;
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 15px 20px;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: none;
    box-shadow: none;
  }
  
  .notice-box,
  .title-section,
  .info-section {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
  }
  
  .title-section h1 {
    font-size: 1.8rem;
  }
  
  .title-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .info-section h2 {
    font-size: 1.3rem;
  }
  
  .info-section h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }
  
  .info-section p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .accordion-header {
    font-size: 0.9rem;
    padding: 12px;
    min-height: 44px; /* タッチフレンドリーなサイズ */
    border-radius: 6px;
    margin-bottom: 2px;
  }
  
  .accordion-header::after {
    right: 12px;
    font-size: 0.7rem;
  }
  
  .accordion-body {
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 0 0 6px 6px;
    margin-bottom: 6px;
  }
  
  /* スケジュール表示のモバイル調整 */
  .schedule-row {
    flex-direction: column;
    padding: 12px;
    margin-bottom: 8px;
  }
  
  .schedule-row .date {
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
  }
  
  .schedule-row .content {
    font-size: 0.85rem;
  }
  
  .schedule-row .detail {
    font-size: 0.8rem;
    margin-top: 8px;
    line-height: 1.5;
  }
  
  .schedule-row a {
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
  }
  
  /* 背景サイズの調整 */
  body {
    background-size: 150px 150px;
  }
  
  /* モバイル用フッタースタイル */
  footer {
    padding: 15px 10px;
    margin-top: 30px;
  }
  
  .footer-content p {
    font-size: 0.8rem;
  }
  
  /* モバイル用表スタイル */
  .fee-table.full-width {
    width: 100%;
    max-width: none;
    margin: 15px auto;
    font-size: 0.9rem;
  }
  
  .fee-table th {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
  
  .fee-table td {
    padding: 8px;
    font-size: 0.85rem;
  }

  /* レスポンシブ対応: 申し込みボタン */
  .application-buttons {
    padding: 20px 10px;
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }

  .large-button {
    width: 100%;
    max-width: 280px;
    min-width: 0;
    padding: 18px 20px;
    font-size: 1.1rem;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
  }

  body {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .show-older-button {
    width: 100%;
    max-width: 280px;
    margin: 15px auto;
    display: block;
  }

  #older-news-container {
    margin-top: 15px;
    padding-top: 15px;
  }

  #older-news-container h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
}
  