/* =========================
   日本語フォントと基本フォント設定
   ========================= */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #f8f9fa;
  margin: 0;
  line-height: inherit;
}
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}
h2,
p,
ul,
button,
a,
svg,
img,
select,
input,
label {
  margin: 0;
  padding: 0;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button {
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: inherit;
}

input[type="checkbox"] {
  transform: scale(1.5);
}

/* =========================
   Layout & Sizing
   ========================= */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }

  input.input-station {
    flex: initial; /* flex-1をリセット */
    min-width: auto; /* min-w-0をリセット */
  }
  #js_request_area {
    min-width: 48%;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
.w-full {
  width: 100%;
}
.w-auto {
  width: auto;
}
.w-50 {
  width: 50%;
}
.w-1\/4 {
  width: 25%;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.w-4 {
  width: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.w-5 {
  width: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.w-6 {
  width: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.w-8 {
  width: 2rem;
}
.h-10 {
  height: 2.5rem;
}
.w-10 {
  width: 2.5rem;
}
.h-full {
  height: 100%;
}
.max-w-\[120px\] {
  max-width: 120px;
}
.min-w-\[120px\] {
  min-width: 120px;
}
.min-w-0 {
  min-width: 0;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-4 {
  flex: 4 4 0%;
}
.flex-6 {
  flex: 6 6 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}

/* =========================
   Display & Position
   ========================= */
.block {
  display: block;
}
.flex {
  display: flex;
}
.hidden {
  display: none;
}
.inline-block {
  display: inline-block;
}
.relative {
  position: relative;
}
.sticky {
  position: -webkit-sticky;
  position: sticky;
}
.top-0 {
  top: 0;
}
.z-50 {
  z-index: 50;
}
.z-60 {
  z-index: 60;
}
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.order-3 {
  order: 3;
}

/* =========================
   Flexbox
   ========================= */
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-x-4 {
  column-gap: 1rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0.25rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0.5rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.25rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.5rem;
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0.75rem;
}

/* =========================
   Padding & Margin
   ========================= */
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.25rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.pt-4 {
  padding-top: 1rem;
}

/* =========================
   Typography
   ========================= */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.text-nm {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.font-light {
  font-weight: 300;
}
.text-white {
  color: #fff;
}
.text-gray-700 {
  color: #374151;
}
.text-gray-800 {
  color: #1f2937;
}
.text-gray-600 {
  color: #4b5563;
}
.text-orange-500 {
  color: #f97316;
}
.text-red-500 {
  color: #ef4444;
}
.text-green-400 {
  color: #4ade80;
}
.text-blue-600 {
  color: #2563eb;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.underline {
  text-decoration: underline;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.text-ellipsis {
  text-overflow: ellipsis;
}
.overflow-hidden {
  overflow: hidden;
}
.object-contain {
  object-fit: contain;
}

/* =========================
   Background & Border
   ========================= */
.bg-white {
  background-color: #fff;
}
.bg-gray-50 {
  background-color: #f9fafb;
}
.bg-gray-100 {
  background-color: #f3f4f6;
}
.bg-gray-200 {
  background-color: #e5e7eb;
}
.bg-gray-300 {
  background-color: #b0b1b4;
}
.bg-gray-400 {
  background-color: #9aa0aa;
}
.bg-gray-500 {
  background-color: #62656a;
}
.bg-orange-500 {
  background-color: #f97316;
}
.bg-blue-600 {
  background-color: #2563eb;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.rounded-b-lg {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-gray-200 {
  border-color: #e5e7eb;
}
.border-gray-300 {
  border-color: #d1d5db;
}
.border-gray-400 {
  border-color: #9ca3af;
}
.border-t {
  border-top-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-transparent {
  border-color: transparent;
}

/* =========================
   Effects & Transitions
   ========================= */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.transition-colors {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transform {
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0))
    rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0))
    skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1))
    scaleY(var(--tw-scale-y, 1));
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: scale(1.05);
}
.hover\:opacity-90:hover {
  opacity: 0.9;
}
.hover\:bg-orange-600:hover {
  background-color: #ea580c;
}
.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}
.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}
.hover\:bg-gray-300:hover {
  background-color: #d1d5db;
}
.hover\:text-orange-500:hover {
  color: #f97316;
}
.hover\:text-blue-800:hover {
  color: #1e40af;
}

/* =========================
   Interactivity
   ========================= */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
    var(--tw-ring-offset-width, 0) var(--tw-ring-offset-color, #fff);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0
    calc(2px + var(--tw-ring-offset-width, 0)) var(--tw-ring-color, #3b82f6);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
    var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-orange-400:focus {
  --tw-ring-color: #fb923c;
}
.focus\:border-transparent:focus {
  border-color: transparent;
}

/* =========================
   Responsive Design
   ========================= */
@media (min-width: 640px) {
  .sm\:w-auto {
    width: auto;
  }
  .sm\:w-1\/2 {
    width: 50%;
  }
  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .sm\:order-1 {
    order: 1;
  }
  .sm\:order-2 {
    order: 2;
  }
  .sm\:order-3 {
    order: 3;
  }
  .sm\:justify-between {
    justify-content: space-between;
  }
  .sm\:block {
    display: block;
  }
}
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:w-auto {
    width: auto;
  }
  .md\:w-1\/2 {
    width: 50%;
  }
  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .md\:p-4 {
    padding: 1rem;
  }
  .md\:p-6 {
    padding: 1.5rem;
  }
  .md\:justify-start {
    justify-content: flex-start;
  }
  .md\:items-start {
    align-items: flex-start;
  }
  .md\:flex-col {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .md\:mb-1 {
    margin-bottom: 0.25rem;
  }
  .md\:mb-2 {
    margin-bottom: 0.5rem;
  }
  .md\:mb-3 {
    margin-bottom: 0.75rem;
  }
}
/* =========================
   カスタムスタイル（既存）
   ========================= */
/* モバイルメニュー表示時に背景のスクロールを禁止する */
body.menu-open {
  overflow: hidden;
}

/* --- カスタムカラー設定 --- */
.custom-orange {
  color: #f56529;
}
.custom-orange-bg {
  background-color: #f56529;
}
.custom-blue-bg {
  background-color: #007bff;
}
.custom-vibrant-green-bg {
  background-color: #4caf50;
}
.custom-light-peach-bg {
  background-color: #fbe3d6;
}
.custom-light-white-bg {
  background-color: #efefef;
}
.custom-red-text {
  color: #ff0000;
}
.custom-border-color {
  border-color: #dee2e6;
}

/* --- ハンバーガーメニューのスタイル --- */
.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}
.menu-btn-open .hamburger-lines {
  display: none;
}
.menu-btn-open .close-icon {
  display: block;
}
.close-icon {
  display: none;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}
.menu-btn-open .menu-text {
  opacity: 0;
}
.menu-text {
  transition: opacity 0.3s ease-in-out;
}
#menu-btn {
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}
#menu-btn > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* --- モバイルヘッダーのレスポンシブ調整 (幅767px以下) --- */
@media (max-width: 767px) {
  .mobile-header-text-container {
    position: absolute;
    top: -5px;
    right: 35px;
    left: 0;
    text-align: right;
    font-size: 0.65em;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
    text-overflow: ellipsis;
    padding-right: 1rem;
  }
  .header-top-row {
    position: relative;
    align-items: flex-end;
  }
}

/* --- PC用プルダウンメニューのスタイル (幅768px以上) --- */
@media (min-width: 768px) {
  .pc-menu-item {
    position: relative;
  }
  .pc-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
    z-index: 100;
    min-width: 220px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 3px solid #f56529;
  }
  .pc-menu-item.open > .pc-submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  .pc-submenu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
  }
  .pc-submenu a:last-child {
    border-bottom: none;
  }
  .pc-submenu a:hover {
    background-color: #f5f5f5;
  }
  .pc-menu-toggle-arrow {
    transition: transform 0.3s ease-in-out;
  }
  .pc-menu-item.open .pc-menu-toggle-arrow {
    transform: rotate(180deg);
  }
}

/* --- モバイル用スライドメニューの装飾 --- */
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background-color: #f9fafb;
  border-left: 1px solid #e5e7eb;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 60;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}
#mobile-menu.open {
  transform: translateX(0);
}
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 55;
  display: none;
}
#menu-overlay.visible {
  display: block;
}
#mobile-menu .close-menu-container {
  display: flex;
  justify-content: flex-end;
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
}
#close-menu-btn {
  font-size: 20px;
  font-weight: normal;
  color: #6b7280;
  background-color: #f3f4f6;
  border-radius: 9999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}
#close-menu-btn:hover {
  background-color: #e5e7eb;
  color: #111827;
}
#mobile-menu ul {
  list-style: none;
  padding-left: 0;
}
#mobile-menu > ul > li > a {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s, color 0.2s;
}
#mobile-menu > ul > li > a:hover {
  background-color: #fff7ed;
  color: #f56529;
}
#mobile-menu .menu-icon {
  margin-right: 16px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #9ca3af;
  transition: color 0.2s;
}
#mobile-menu > ul > li > a:hover .menu-icon {
  color: #f56529;
}
#mobile-menu .submenu {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  transition: max-height 0.3s ease-out;
}
#mobile-menu .submenu.open {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
  border-bottom: 1px solid #e5e7eb;
}
#mobile-menu .submenu a {
  display: block;
  padding: 12px 20px 12px 4rem;
  font-size: 0.9em;
  color: #4b5563;
  border-top: 1px solid #f3f4f6;
}
#mobile-menu .submenu a:hover {
  background-color: #fef2f2;
  color: #ef4444;
}
#mobile-menu .submenu-arrow {
  transition: transform 0.3s ease-in-out;
  margin-left: auto;
  padding: 8px;
}
#mobile-menu .submenu-arrow.rotate {
  transform: rotate(180deg);
}
#mobile-menu .menu-auth-buttons {
  margin-top: auto;
  padding: 24px;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
}
.has-submenu a {
  padding: 12px 20px !important;
}

/* --- 位置情報取得機能用のスタイル --- */
.location-section {
  padding: 5px;
  text-align: center;
}
.location-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.8em;
}
.location-section .message-box {
  margin-top: 10px;
  padding: 5px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
}
.location-section #location-prefecture {
  color: #33691e;
}
.location-section #location-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- 総物件数・お客様数セクションのスタイル --- */
.stats-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}
.stats-label {
  font-size: 0.8rem;
  color: #4b5563;
}
.stats-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ef4444;
}
@media (min-width: 640px) {
  .stats-label {
    font-size: 1rem;
  }
  .stats-number {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .stats-label {
    font-size: 1.1rem;
  }
  .stats-number {
    font-size: 1.75rem;
  }
}

/* --- グラデーションボタンの共通スタイル --- */
.btn-gradient {
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: none;
}
.btn-gradient:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
  transform: scale(1.02);
}
.btn-gradient-orange {
  background-image: linear-gradient(
    to right,
    #fb923c 0%,
    #f97316 51%,
    #ea580c 100%
  );
}
.btn-gradient-blue {
  background-image: linear-gradient(
    to right,
    #3b82f6 0%,
    #2563eb 51%,
    #1d4ed8 100%
  );
}
.btn-gradient-green {
  background-image: linear-gradient(
    to right,
    #22c55e 0%,
    #16a34a 51%,
    #15803d 100%
  );
}
.btn-gradient-search {
  background-image: linear-gradient(
    to right,
    #fb923c 0%,
    #f97316 51%,
    #ea580c 100%
  );
  font-size: 1rem;
}

/* --- アイコンの基本スタイル --- */
svg.icon {
  margin-right: 16px !important;
  width: 20px;
  height: 20px;
  fill: #9ca3af;
  transition: fill 0.1s ease-in-out;
  vertical-align: middle;
  margin-right: 8px;
}
a:active .icon {
  fill: #ff0000;
}
a:hover .icon {
  fill: #f56529;
}

.register-button {
  width: 60% !important;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .new_regist {
    display: none;
  }
}

/* --- スライダー用のCSS --- */
.my-benefits-swiper {
  width: 100%;
  height: 200px;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
}
.swiper-button-prev,
.swiper-button-next {
  color: #f56529;
  width: 24px;
  height: 24px;
  top: 45%;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 24px !important;
  font-weight: 700;
}
.swiper-pagination-bullet {
  background-color: #f56529;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background-color: #f56529;
  opacity: 1;
}
.swiper-container {
  box-shadow: 0px 2px 2px #999999;
}
/* --- スライダー用のCSSEND --- */

/* =========================
   セミナー一覧ページ専用クラス
   ========================= */
.seminar-list-wrap {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: center;*/
  gap: 1%;
  margin: 0;
}
.seminar-card {
  width: 100%;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .seminar-list-wrap {
    flex-direction: row;
  }
  .seminar-card {
    width: 49.5%;
    /*max-width: 420px;*/
    min-width: 320px;
  }
}
@media screen and (max-width: 767px) {
  .seminar-list-wrap {
    gap: 4px;
  }
}
.seminar-date {
  font-size: 17px;
  color: #0e466c;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; /* 高さ方向中央揃え */
}
.seminar-img-title-row {
  display: flex;
  align-items: self-start;
  width: 100%;
  gap: 18px;
  margin-bottom: 16px;
}
.seminar-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  flex-shrink: 0;
}
.seminar-title {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.seminar-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
  gap: 12px;
}
.seminar-venue {
  background: #e0f2fe;
  color: #222;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}
.seminar-detail-link {
  display: inline-block;
  background: #0e466c;
  color: #fff;
  border-radius: 6px;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.2s;
  text-align: center;
  width: 100%; /* 横並び2つにする場合は45% */
}
.seminar-app-link {
  display: inline-block;
  background: #2ca02c;
  color: #fff;
  border-radius: 6px;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background 0.2s;
  text-align: center;
  width: 45%;
}
.seminar-detail-link:hover {
  background: #145b8a;
}
.seminar-app-link:hover {
  background: #5fb05f;
}

.seminar-menu-bar {
  margin: 18px 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seminar-menu-row {
  font-size: 1em;
  margin-bottom: 2px;
}
.menu-link {
  display: inline-block;
  margin: 0 8px;
  padding: 4px 14px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.menu-link.active,
.menu-link:hover {
  background: #3b82f6;
  color: #fff;
}
@media (max-width: 600px) {
  .seminar-menu-bar {
    font-size: 0.9em;
    padding: 8px 0;
  }
  .menu-link {
    margin: 0 4px;
    padding: 8px;
  }
}

/* =========================
   セミナー一覧ページ専用クラスここまで
   ========================= */

/* =========================
   セミナー詳細ページ専用クラス
   ========================= */
.seminar-container {
  max-width: 1024px;
  margin: 0px auto 30px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 32px 18px 40px 18px;
}
.seminar-mainimg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
  border-radius: 8px;
  background: #f8fafc;
}
.apply-btn {
  display: block;
  width: 320px;
  max-width: 98%;
  margin: 18px auto 18px auto;
  background: #2ca02c;
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  padding: 16px 0;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(44, 160, 44, 0.13);
  transition: opacity 0.2s;
}
.apply-btn:hover {
  opacity: 0.7;
}
.section-title {
  background: #f98601;
  background: linear-gradient(#ffcd94, #f98601);
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  border-radius: 5px;
  text-shadow: 1px 1px 2px #930;
  box-shadow: 1px 1px 2px #666666;
  padding: 7px 0;
  margin: 2.2em 0 1em 0;
  text-align: center;
}
.seminar-detail-content {
  font-size: 0.9em;
  line-height: 1.7em;
  margin-bottom: 1.5em;
}
.seminar-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #f9f9f9;
}
.seminar-table th,
.seminar-table td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  font-size: 1em;
}
.seminar-table th {
  background: #f3f3f3;
  width: 120px;
  text-align: left;
}
.seminar-table td {
  background: #fff;
}
.form-title {
  background: #ffe5b4;
  color: #222;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 5px;
  padding: 7px 0;
  margin: 2.2em 0 1em 0;
  text-align: center;
}

/* =========================
   講師プロフィールページ専用クラス
   ========================= */
.lecturer-profile {
  padding: 1.2em;
  background-color: #ebebeb;
  overflow: hidden;
  font-family: "ヒラギノ角ゴシック", "Hiragino Kaku Gothic Pro", Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  border-radius: 4px;
  margin: 0 auto 2em;
}

/* ヘッダー */
.lecturer-profile .header {
  font-weight: bold;
  font-size: 1.3em;
  border: 3px double #888888;
  background-color: #f8f8f8;
  padding: 0.2em 0.5em;
  width: fit-content;
  border-radius: 3px;
  margin-bottom: 1em;
}

/* プロフィール内コンテナ */
.lecturer-profile .profile-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 全体左揃え */
}

/* 上の横並びコンテナ（画像＋氏名等） */
.lecturer-profile .profile-top {
  display: flex;
  flex-direction: row;
  align-items: center; /* 縦中央揃え */
  gap: 1em; /* 画像とテキストの間隔 */
  width: 100%;
}

/* 画像 */
.lecturer-profile img {
  width: 140px;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 氏名・役職部分 */
.lecturer-profile .profile-info-name {
  font-size: 1.15em;
  line-height: 1.4;
  white-space: pre-line; /* <br>タグを改行として扱う */
}

/* 紹介文 */
.lecturer-profile .profile-info-desc {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin: 0;
  white-space: pre-line; /* <br>を改行に */
}

/* スマホ対応 */
@media (max-width: 480px) {
  .lecturer-profile {
    font-size: 15px;
    padding: 1em;
  }
  .lecturer-profile .profile-top {
    flex-direction: column;
    align-items: center;
  }
  .lecturer-profile img {
    width: 100px;
    margin-bottom: 1em;
  }
  .lecturer-profile .profile-info-name {
    font-size: 1.1em;
  }
  .lecturer-profile .profile-info-desc {
    font-size: 0.95em;
  }
}

/* =========================
   講師プロフィールページ専用クラスここまで
   ========================= */

@media (max-width: 600px) {
  .seminar-container {
    padding: 10px 2vw 30px 2vw;
  }
  .seminar-table th,
  .seminar-table td {
    font-size: 0.95em;
  }
}
/* =========================
   セミナー詳細ページ専用クラスここまで
   ========================= */

/* =========================
    スライドショーのスタイル
   ========================= */
/* スライダー全体のコンテナ */
.slider-container {
  position: relative;
  width: 100%;
  max-height: 300px;
  margin: 2em auto;
  overflow: hidden;
}
@media (max-width: 480px) {
  .slider-container {
    height: 150px; /* モバイルでは高さを小さく */
  }
}

/* 各スライドアイテム */
.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* 表示するスライドに付けるクラス */
.slider-item.active {
  opacity: 1;
}

/* 画像のスタイル */
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ナビゲーション矢印の共通スタイル */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* 上下中央に配置 */
  z-index: 10; /* スライドより手前に表示 */
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0; /* 最初は隠しておく */
  transition: opacity 0.3s;
}

/* コンテナにホバーした時だけ矢印を表示 */
.slider-container:hover .slider-nav {
  opacity: 1;
}

.slider-nav.prev {
  left: 10px;
}
.slider-nav.next {
  right: 10px;
}

/* ページネーション・インジケーターのコンテナ */
.slider-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%); /* 左右中央に配置 */
  z-index: 10;
  display: flex; /* 中のアイテムを横並びに */
  gap: 10px; /* アイテム間の隙間 */
}

/* インジケーター（■）のスタイル */
.pagination-item {
  width: 12px;
  height: 12px;
  background-color: #fff;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  border: none; /* button要素のデフォルトスタイルをリセット */
  padding: 0;
}

/* アクティブなインジケーターのスタイル */
.pagination-item.active {
  opacity: 1;
}
/* =========================
    スライドショーのスタイル　ここまで
   ========================= */

/* =========================
    フッターのスタイル
   ========================= */

.site-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 8px;
}

.footer-nav {
  font-size: 14px;
  line-height: 2;
}

.footer-nav a {
  color: #005bac;
  text-decoration: none;
}

.footer-contact {
  font-size: 14px;
  margin: 8px 0;
}

.footer-bottom {
  width: 100%;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}

.footer-copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  color: #333;
}
.footer_secondline {
  margin-bottom: 1em;
  line-height: 1.5em;
  border-top: 2px solid #ff9900;
  padding-top: 5px;
}

.footer-btn {
  background-color: #1e40af;
  color: white !important;
  font-weight: bold;
  padding: 0.5rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  transition: background-color 0.3s ease;
  user-select: none;
}

.footer-btn:hover,
.footer-btn:focus {
  background-color: #1e3a8a;
  outline: none;
}

.footer-btn:active {
  background-color: #1e40af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .footer-nav,
  .footer-contact {
    font-size: 13px;
  }
  .footer-inner {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* =========================
    フッターのスタイル　ここまで
   ========================= */

/* =========================
    その他のカスタムスタイル
   ========================= */

/* =========================
    その他のスタイル　ここまで
   ========================= */
