/*
Theme Name: 日本肥満症治療学会
Description: 日本肥満症治療学会のテーマ
Version: 1.0
*/

/* CSS Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* iOS Safari でのボタンテキストの青色化を防ぐ */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: inherit;
  text-decoration: none;
}

/* iOS Safari でのリンクの青色化を防ぐ */
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
a {
  color: #000;
  text-decoration: none;
  transition: 0.2s;
}
.sp {
  display: none;
}
@media (max-width: 700px) {
  .sp {
    display: block;
  }
}

h2 {
  font-size: 32px;
  font-weight: normal;
}
.inner {
  max-width: 1040px;
  margin: 0 auto;
}
@media (max-width: 1050px) {
  .inner {
    padding: 0 20px;
  }
}

/* ヘッダー */
header {
  height: 70px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

/* ヘッダーが隠れている状態 */
header.header-hidden {
  transform: translateY(-100%);
}

/* ヘッダーが表示されている状態 */
header.header-visible {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ヘッダーの高さ分、bodyにpadding-topを追加 */
body {
  padding-top: 70px;
}

@media (max-width: 1050px) {
  header {
    height: 60px;
    padding: 0;
  }

  body {
    padding-top: 60px;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0;
  }
}

header .inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
}
@media (max-width: 1050px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    display: block;
  }
}

.logo-image {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
@media (max-width: 700px) {
  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
}

.nav-menu li {
  margin: 0;
  position: relative;
}

/* ドロップダウンメニューのスタイル */
.nav-menu .dropdown-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 0;
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  /* アニメーション用のプロパティ */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.nav-menu .has-dropdown:hover .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-menu .dropdown-submenu li {
  border-bottom: solid 1px #e0e0e0;
  margin: 0;
}

.nav-menu .dropdown-submenu li::after {
  display: none !important;
}

.nav-menu .dropdown-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  height: auto;
  transition: color 0.3s ease;
}

.nav-menu .dropdown-submenu a img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.nav-menu .dropdown-submenu a:hover {
  background: linear-gradient(to right, #ecfaff, #f4faff);
  color: #222681;
}

/* タブレット・スマホではドロップダウンを無効化 */
@media (max-width: 1050px) {
  .nav-menu .dropdown-submenu {
    display: none !important;
  }
}

.nav-menu li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: #e0e0e0;
}
@media (max-width: 700px) {
  .nav-menu li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li:not(:last-child)::after {
    display: none;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }
}

.nav-menu a {
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  transition: color 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 70px;
  position: relative;
}

.nav-menu a.current-page {
  background: linear-gradient(to left, #ecfaff, #f4faff);
  color: #222681;
  font-weight: bold;
  border-radius: 0;
  padding: 0 20px;
  margin: 0;
  height: 70px;
}

@media (max-width: 700px) {
  .nav-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    height: auto;
  }

  .nav-menu a.current-page {
    padding: 15px 10px;
    border-radius: 4px;
    height: auto;
  }
}

.nav-menu a:hover {
  color: #222681;
}

.nav-menu a.current-page:hover {
  opacity: 0.9;
}

/* グローバルメニュー（ハンバーガーメニュー） */
.global-menu {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #383c9e, #222681);
  border: none;
  cursor: pointer;
  padding: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  justify-content: space-around;
  align-items: center;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
}
@media (max-width: 700px) {
  .global-menu {
    display: flex;
  }
}

.global-menu:hover {
  background-color: #222681;
}

.hamburger-line {
  width: 20px;
  height: 1px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.global-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.global-menu.active .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* 準備中メッセージ */
.coming-soon-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.coming-soon-content {
  background-color: #ffffff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  max-width: 90%;
  width: 400px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.coming-soon-content p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}

.coming-soon-sub {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #666666 !important;
  margin-top: 8px !important;
}

.coming-soon-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #999999 !important;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.coming-soon-close:hover {
  background-color: #f5f5f5;
  color: #333333;
}

/* レスポンシブ対応 */
@media (max-width: 700px) {
  .coming-soon-content {
    padding: 30px 25px;
    margin: 0 20px;
    width: auto;
  }

  .coming-soon-content p {
    font-size: 16px;
  }

  .coming-soon-sub {
    font-size: 13px !important;
  }
}

/* グローバルメニュー */
.globalmenu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to left,
    rgba(236, 250, 255, 0.98),
    rgba(244, 250, 255, 0.98)
  );
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}
.globalmenu.open {
  opacity: 1;
  visibility: visible;
}
.globalmenu-inner {
  height: 100%;
}
.globalmenu-header {
  display: flex;
  height: 70px;
  max-width: 1040px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}
.globalmenu-header .close-menu {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 15px;
  margin: -15px;
}
.globalmenu-header .close-menu .close-icon {
  display: block;
  position: relative;
  width: 30px;
  height: 100%;
}
.globalmenu-header .close-menu .close-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 100%;
  height: 1px;
  background-color: #222681;
  display: block;
}
.globalmenu-header .close-menu .close-icon span:nth-of-type(1) {
  transform: rotate(45deg);
}
.globalmenu-header .close-menu .close-icon span:nth-of-type(2) {
  transform: rotate(-45deg);
}
@media (max-width: 1050px) {
  .globalmenu-header {
    padding: 0 20px;
    height: 60px;
  }
}
@media (max-width: 700px) {
  .globalmenu-header .close-menu {
    font-size: 12px;
  }
}

.globalmenu-content {
  width: 90%;
  max-width: 1040px;
  margin: auto;
  margin-top: 150px;
  padding-bottom: 200px;
}

/* グローバルメニューフッターリンク */
.globalmenu-footer-links {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.globalmenu-footer-links ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 50px;
}

.globalmenu-footer-links a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.globalmenu-footer-links a:hover {
  color: #222681;
  opacity: 0.8;
}

@media (max-width: 1000px) {
  .globalmenu-footer-links {
    margin-top: 0;
    border-top: none;
  }

  .globalmenu-footer-links ul {
    gap: 20px;
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .globalmenu-content .globalmenu-footer-links a {
    font-size: 12px;
  }
}

.globalmenu-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6em;
  transition: 0.2s opacity ease-in-out;
}
.globalmenu-content a:hover {
  opacity: 0.8;
}
.globalmenu-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 70px;
  gap: 20px;
}

.globalmenu-home a {
  font-weight: bold;
  flex-shrink: 0;
}

/* グローバルメニュー内の検索フォーム */
.globalmenu-search {
  flex: 1;
  max-width: 300px;
}

.globalmenu-search .search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.globalmenu-search .search-input {
  width: 100%;
  padding: 10px 15px;
  padding-right: 45px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.globalmenu-search .search-input:focus {
  border-color: #222681;
}

.globalmenu-search .search-input::placeholder {
  color: #999;
}

.globalmenu-search .search-submit {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.globalmenu-search .search-submit:hover {
  color: #222681;
}
.common-nav nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 60px;
}
.common-nav nav ul li {
  list-style-type: none;
}
.common-nav nav > div {
  width: auto;
  max-width: 215px;
}
.common-nav nav ul li a {
  margin: 10px 0;
}
.common-nav .nav-top {
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}
.common-nav .first {
  margin-bottom: 40px;
}
@media (max-width: 1000px) {
  .common-nav .first {
    margin-bottom: 0;
  }
  .common-nav nav > div {
    margin-bottom: 0;
  }
}
.common-nav .plus-icon {
  display: none;
}
@media (max-width: 1100px) {
  .common-nav nav {
    gap: 30px;
  }
}
@media (max-width: 1000px) {
  .globalmenu-content {
    width: auto;
    margin: 32px auto;
    padding: 0 20px 100px;
  }
  .globalmenu-content a {
    font-size: 14px;
  }
  .globalmenu-home {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border: none;
  }

  .globalmenu-home a {
    display: flex;
    gap: 0;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 5px;
  }

  .globalmenu-search {
    max-width: none;
    width: 100%;
  }

  .common-nav nav {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
  }
  .common-nav nav > div {
    max-width: 100%;
  }
  .common-nav .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    -webkit-tap-highlight-color: transparent;
  }
  .common-nav .plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #d7e5ee;
    cursor: pointer;
    position: relative;
    margin-left: auto;
    padding: 10px;
  }
  .common-nav .plus-icon::before {
    content: "";
    position: absolute;
    top: -130%;
    bottom: -70%;
    left: -15px;
    right: -15px;
    cursor: pointer;
  }
  .common-nav .plus-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 10px;
    height: 1px;
    background-color: #000000;
  }
  .common-nav .plus-icon span:nth-of-type(2) {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }
  .common-nav .has-dropdown.open .plus-icon span:nth-of-type(2) {
    transform: rotate(0deg);
  }
  .common-nav .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .common-nav .has-dropdown.open .dropdown-menu {
    max-height: 500px;
    transition: max-height 0.3s ease-out;
  }
  .common-nav .dropdown-menu li {
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
  .common-nav .has-dropdown.open .dropdown-menu li {
    opacity: 1;
    transition: opacity 0.2s ease-out;
  }
}

/* メインビジュアルセクション */
#mainvisual {
  position: relative;
  width: 100%;
  background: linear-gradient(to left, #ecfaff, #f4faff);
}

#mainvisual img {
  width: 100%;
  max-width: 2000px;
  height: auto;
  display: block;
  margin: auto;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}
@media (max-width: 700px) {
  #mainvisual img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* お知らせセクション */
.news-section {
  padding: 50px 0;
  background-color: #ffffff;
}
@media (max-width: 1050px) {
  .news-section {
    padding: 30px 0;
  }
}
@media (max-width: 700px) {
  .news-section {
    padding: 20px 0;
  }
}

.news-content {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}
@media (max-width: 1050px) {
  .news-content {
    gap: 50px;
  }
}
@media (max-width: 700px) {
  .news-content {
    flex-direction: column;
    gap: 30px;
  }
}

.news-header {
  flex-shrink: 0;
  padding-top: 20px;
}
@media (max-width: 700px) {
  .news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }
}

.news-header h2 {
  font-size: 32px;
  font-weight: normal;
  color: #333333;
  margin: 0;
  line-height: 1;
}
@media (max-width: 1050px) {
  .news-header h2 {
    font-size: 28px;
  }
}

.news-header h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background-color: #222681;
  margin: 20px 0 25px;
}
@media (max-width: 1050px) {
  .news-header h2::after {
    width: 40px;
    margin: 15px 0 20px;
  }
}
@media (max-width: 700px) {
  .news-header h2::after {
    margin: 15px 0;
  }
}

.news-header p {
  font-size: 16px;
  margin: 10px 0 35px;
  font-weight: 500;
}
@media (max-width: 1050px) {
  .news-header p {
    font-size: 15px;
    margin: 8px 0 20px;
  }
}
@media (max-width: 700px) {
  .news-header p {
    margin: 0;
  }
}

.view-all-btn {
  display: inline-block;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom, #383c9e, #222681);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.view-all-btn:hover {
  opacity: 0.8;
}
@media (max-width: 1050px) {
  .view-all-btn {
    padding: 6px 15px;
    font-size: 13px;
  }
}

.news-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item-wrapper {
  border-bottom: 1px solid #e5e5e5;
}

.news-item-wrapper:last-child {
  border-bottom: none;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 1050px) {
  .news-item {
    gap: 16px;
    padding: 14px 0;
  }
}
@media (max-width: 700px) {
  .news-item {
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
  }
}

.news-item:hover {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
  color: inherit;
  background: linear-gradient(to left, #fff, #f4faff);
  color: #222681;
  text-shadow: 0 0 0.5px currentColor, 0 0 0.5px currentColor;
}

.news-date {
  flex-shrink: 0;
  font-size: 14px;
  color: #666666;
  font-weight: 400;
  width: 80px;
}

.news-content-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}
@media (max-width: 700px) {
  .news-content-text {
    gap: 10px;
  }
}

.news-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  transition: color 0.3s ease;
}
@media (max-width: 1050px) {
  .news-title {
    font-size: 14px;
  }
}

.news-item:hover .news-title {
  color: #222681;
}

.news-arrow {
  flex-shrink: 0;
  margin: 0 0 0 auto;
}

.no-news-wrapper {
  border-bottom: none;
}

.no-news {
  color: #666666;
  font-size: 16px;
  text-align: center;
  padding: 40px 0;
}

/* Pickupセクション */
#pickup {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.pickup-banners {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.pickup-banners .swiper-wrapper {
  display: flex;
}
@media (max-width: 1050px) {
  #pickup .inner {
    padding: 0 20px;
  }
  .pickup-banners .swiper-wrapper {
    justify-content: flex-start;
  }
}

.pickup-banners .swiper-slide {
  width: auto;
  flex-shrink: 0;
}
.pickup-banners .swiper-slide:last-child {
  margin-right: 0 !important;
}

.banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.banner-item a:hover {
  transform: translateY(-1px);
}

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-no-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}

/* Swiperナビゲーションのカスタマイズ */
.pickup-banners .swiper-button-next,
.pickup-banners .swiper-button-prev {
  color: #383c9e;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: -20px;
}

.pickup-banners .swiper-button-next:after,
.pickup-banners .swiper-button-prev:after {
  font-size: 16px;
}

.pickup-banners .swiper-pagination {
  bottom: -40px;
}

.pickup-banners .swiper-pagination-bullet {
  background: #383c9e;
}

.pickup-banners .swiper-pagination-bullet-active {
  background: #222681;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.banner-item a:hover .banner-image {
  transform: scale(1.05);
}

/* Pickupレスポンシブデザイン */
@media (max-width: 1050px) {
  #pickup {
    padding: 50px 0;
  }

  .pickup-banners .swiper-button-next,
  .pickup-banners .swiper-button-prev {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }

  .pickup-banners .swiper-button-next:after,
  .pickup-banners .swiper-button-prev:after {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  #pickup {
    padding: 40px 0;
  }

  .pickup-banners .swiper-button-next,
  .pickup-banners .swiper-button-prev {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }

  .pickup-banners .swiper-button-next:after,
  .pickup-banners .swiper-button-prev:after {
    font-size: 12px;
  }

  .pickup-banners .swiper-pagination {
    bottom: -35px;
  }
}

/* CONTENTセクション */
.content-section {
  padding: 80px 0;
  background: linear-gradient(to left, #ecfaff, #f4faff);
}
@media (max-width: 1050px) {
  .content-section {
    padding: 60px 0;
  }
}
@media (max-width: 700px) {
  .content-section {
    padding: 40px 0;
  }
}

.content-header {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
@media (max-width: 700px) {
  .content-header {
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.content-header h2 {
  font-size: 32px;
  font-weight: normal;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.content-header h2::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background-color: #222681;
  margin: 0 30px;
}
@media (max-width: 1050px) {
  .content-header h2 {
    font-size: 28px;
  }
  .content-header h2::after {
    height: 40px;
    margin: 0 20px;
  }
}
@media (max-width: 700px) {
  .content-header h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-header h2::after {
    margin: 0;
    height: 1px;
    width: 40px;
    margin-bottom: 5px;
  }
}

.content-header p {
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 1050px) {
  .content-header p {
    font-size: 15px;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 1050px) {
  .content-grid {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.content-item {
  display: flex;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.content-item:hover {
  opacity: 0.8;
}

/* .content-item-wide {
  grid-column: 1 / -1;
} */

.content-image {
  flex-shrink: 0;
  width: 140px;
  height: 120px;
  overflow: hidden;
  border-radius: 10px;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-text {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 700px) {
  .content-text {
    padding: 0 0 0 15px;
  }
}

.content-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
}
@media (max-width: 1050px) {
  .content-title {
    margin: 0 0 8px 0;
  }
}

.content-description {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex: 1;
}

.content-link {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: #222681;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.content-link svg {
  transition: transform 0.3s ease;
}

/* PROCEDUREセクション */
#procedure {
  padding: 80px 0;
  background-color: #fff;
}
@media (max-width: 1050px) {
  #procedure {
    padding: 50px 0;
  }
}

.procedure-header {
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
@media (max-width: 700px) {
  .procedure-header {
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.procedure-header h2 {
  font-size: 32px;
  display: flex;
}
.procedure-header h2::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background-color: #222681;
  margin: 0 30px;
}
@media (max-width: 1050px) {
  .procedure-header h2 {
    font-size: 28px;
  }
  .procedure-header h2::after {
    height: 40px;
    margin: 0 20px;
  }
}
@media (max-width: 700px) {
  .procedure-header h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .procedure-header h2::after {
    margin: 0;
    height: 1px;
    width: 40px;
    margin-bottom: 5px;
  }
}

.procedure-header p {
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 1050px) {
  .procedure-header p {
    font-size: 15px;
  }
}

.procedure-buttons {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}
@media (max-width: 1050px) {
  .procedure-buttons {
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .procedure-buttons {
    gap: 10px;
    flex-direction: column;
  }
}

.procedure-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #383c9e 0%, #222681 100%);
  color: #ffffff !important;
  text-decoration: none;
  padding: 20px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
  flex: 1;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 1050px) {
  .procedure-btn {
    padding: 16px;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .procedure-btn {
    padding: 16px;
    gap: 10px;
  }
}

.procedure-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.procedure-icon img {
  width: 32px;
  height: 32px;
}

.procedure-text {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
}
@media (max-width: 1050px) {
  .procedure-text {
    font-size: 14px;
  }
}

.procedure-arrow {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.procedure-btn:hover .procedure-arrow {
  transform: translateX(4px);
}

/* フッターバナーエリア */
#footer-bnr {
  padding: 60px 0;
  background-color: #f8f9fa;
  background: linear-gradient(to left, #ecfaff, #f4faff);
}
@media (max-width: 1050px) {
  #footer-bnr {
    padding: 40px 0;
  }
}

#footer-bnr .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 1050px) {
  #footer-bnr .inner {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  #footer-bnr .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    align-items: start;
    justify-content: stretch;
  }
}

#footer-bnr img {
  max-width: 100%;
  height: auto;
}

/* フッター */
footer {
  padding: 60px 0;
}
@media (max-width: 700px) {
  footer {
    padding: 40px 0;
  }
}
footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 1050px) {
  footer .inner {
    flex-direction: column;
    gap: 20px;
  }
}

.footer-info {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}
@media (max-width: 700px) {
  .footer-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.footer-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.footer-info .copy {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .footer-info h3 {
    text-align: center;
  }
  .footer-info .copy {
    text-align: center;
  }
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.footer-nav ul li a:hover {
  color: #222681;
}
@media (max-width: 700px) {
  .footer-nav ul {
    gap: 15px;
  }
}
