/* 共通スタイル */
p {
  line-height: 1.7;
  font-size: 25px;
}

.lg_display {
  display: none;
}

.pc_display {
  display: block;
}

.sp_display {
  display: none;
}

body {
  color: #1e2023;
  font-family: "Source Sans 3", "Hiragino Kaku Gothic ProN", sans-serif;
}

.en,
:lang(en) {
  font-family: "Source Sans 3", sans-serif;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../../fonts/SourceSans3-VariableFont_wght.ttf") format("truetype"),
    url("../../fonts/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 100 900; /* 可変フォントの場合 */
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

/* イタリック */
@font-face {
  font-family: "Source Sans 3";
  src: url("../../fonts/SourceSans3-Italic-VariableFont_wght.ttf")
      format("truetype"),
    url("../../fonts/SourceSans3-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-024F, U+1E00-1EFF;
}

@media (max-width: 767px) {
  .pc_display {
    display: none;
  }

  .sp_display {
    display: block;
  }

  p {
    font-size: 16px;
  }
}

@media (max-width: 321px) {
  .pc_display {
    display: none;
  }

  .xs_sp_display {
    display: block;
  }
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.inner {
  margin: 0 auto;
}

/* ヘッダー */
header {
  width: 100%;
  background: #fff;
  padding: 5px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e5e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.header_logo img {
  width: 60px;
  height: auto;
}

.header_nav {
  width: 40%;
  white-space: nowrap;
}

.menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.menu li {
  display: inline;
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: bold;
}

.submenu a {
  font-size: 18px;
}

.header_brand a {
  font-size: 45px;
  font-weight: bold;
  text-decoration: none;
  color: #1e2023;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0;
  margin: 0;
  width: 250px;
  display: none;
}

.submenu a {
  padding: 10px;
  display: block;
  color: #333;
}

.submenu a:hover {
  background: #f5f5f5;
}

/* ホバーでサブメニューを表示 */
.menu li:hover .submenu {
  display: block;
}

.header_sns {
  position: absolute;
  top: 110px;
  font-size: 15px;
}

.header_sns.pc_display {
  transition: opacity 0.3s ease;
}

.header_sns.pc_display.hide {
  opacity: 0;
  pointer-events: none;
}

.header_sns img {
  width: 20px;
}

.header_sns ul {
  list-style: none;
}

.header_sns ul li {
  margin-bottom: 10px;
}

/* タブレット用スタイル（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .lg_display {
    display: block;
  }

  .pc_display {
    display: block;
  }

  .sp_display {
    display: none;
  }

  p {
    font-size: 20px;
  }

  /* ヘッダー調整 */
  .header_container {
    padding: 0 15px;
  }

  .menu {
    gap: 20px;
  }

  .menu a {
    font-size: 18px;
  }

  .submenu a {
    font-size: 16px;
  }

  .header_brand a {
    font-size: 26px;
  }

  .header_nav {
    width: 70%;
  }
}

/* 大型画面（1024px以上） */
@media (min-width: 1024px) {
  .lg_display {
    display: block;
  }
}

@media (max-width: 767px) {
  header {
    padding: 0;
    width: 100%;
  }

  .header_container {
    padding: 0 60px 0 0;
  }

  .header_logo {
    padding-left: 10px;
  }

  .header_brand a {
    font-size: 25px;
  }
  .hamburger_menu {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    right: 15px;
    top: 17px;
    width: 30px;
  }

  .hamburger_menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .first_bar,
  .second_bar {
    margin-bottom: 10px;
  }

  .hamburger_menu.active .first_bar {
    transform: translateY(13px) rotate(45deg);
  }

  .hamburger_menu.active .second_bar {
    opacity: 0;
  }

  .hamburger_menu.active .third_bar {
    transform: translateY(-11px) rotate(-45deg);
  }

  .mobile_menu {
    display: none;
  }

  .mobile_menu.active {
    display: block;
    position: absolute;
    top: 70px;
    width: 100%;
    height: 100vh;
    background-color: #fff;
  }

  .mobile_menu_content {
    width: 80%;
    margin: 0 auto;
    padding: 30px 0;
  }

  .mobile_menu_content ul li {
    margin-bottom: 15px;
  }

  .mobile_menu_content ul li ul {
    padding-left: 1rem;
    margin-top: 15px;
  }

  .social_links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }

  .social_links a {
    margin-bottom: 15px;
  }

  .social_links a img {
    width: 20px;
  }

  .mt15 {
    margin-top: 15px;
  }
}

/* フッター */
footer {
  background-color: #e5e5e6;
  padding: 100px 40px 150px;
}

.footer_container {
  max-width: 1200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 auto;
}

.footer_left {
  width: 20%;
}

.footer_left img {
  width: 100%;
}

/* 右側（コンテンツ） */
.footer_right {
  width: 70%;
  position: relative;
}

.footer_header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

/* タイトル */
.footer_title {
  font-size: 40px;
  font-weight: bold;
  font-family: "Source Sans 3", sans-serif;
}

/* 横線 */
.footer_line {
  height: 3px;
  background-color: #1e2023;
  border-radius: 3px;
  flex-grow: 1;
}

/* メニュー */
.footer_menu {
  display: flex;
}

.footer_menu ul {
  list-style: none;
  padding: 0;
  margin-right: 70px;
}

.footer_menu li {
  font-size: 30px;
  margin-bottom: 35px;
  white-space: nowrap;
}

.link-arrow::before {
  content: "▶";
  font-family: Arial, Helvetica, sans-serif; /* 絵文字フォント以外を指定 */
  display: inline-block; /* 必要に応じて */
}

/* サブメニュー */
.footer_submenu {
  margin-top: 20px;
  list-style: none;
  padding-left: 20px;
  font-size: 14px;
}

.footer_submenu li {
  font-size: 28px;
  margin-left: 40px;
}

/* ブランド名 */
.footer_brand {
  font-size: 60px;
  font-weight: bold;
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: "Source Sans 3", sans-serif;
}

@media (max-width: 1024px) {
  .footer_menu li {
    font-size: 16px;
  }

  .footer_submenu li {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  footer {
    background-color: #fff;
    padding: 50px 20px;
  }

  .footer_container {
    align-items: flex-start;
  }

  .footer_left {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer_right {
    width: 55%;
    margin-top: 10px;
  }

  .footer_title {
    font-size: 18px;
  }

  .footer_header {
    margin-bottom: 20px;
    gap: 10px;
  }

  .footer_menu {
    flex-direction: column;
  }

  .footer_menu ul {
    margin-right: 0;
  }

  .footer_menu li {
    font-size: 14px;
    margin-bottom: 10px;
    white-space: nowrap;
  }

  .footer_submenu {
    margin-top: 5px;
    padding-left: 1rem !important;
  }

  .footer_submenu li {
    margin-left: 0;
  }

  .foote_sp_brand {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
  }

  .footer_left img {
    max-width: 100px;
  }
}
