@charset "UTF-8";
/****************** header ******************/
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 50px;
  width: auto;
}

/* PC用ボタン */
.header-buttons {
  display: flex;
  gap: 15px;
}

.header-buttons a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-buttons a:hover {
  opacity: 0.8;
}

.btn-start {
  background-color: #5fb9e3; /* 水色 */
}

.btn-login {
  background-color: #f1607d; /* ピンク */
}

/* スマホ表示 */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header-logo {
    width: 80%;
    text-align: left;
  }
  .header-logo img {
    height: 50px;
    width: auto;
  }

  .header-buttons {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .header-buttons a {
    flex: none;
    border-radius: 10px;
    padding: 10px 15px;
  }
}
/******************** 新規グローバルナビゲーション ********************/
.global-nav {
  display: flex;
  font-size: 14px;
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 15px;
}
.global-nav-inner {
  display: flex;
  width: 100%;
}
.global-nav a{
  text-decoration: none;
}
.global-nav a:hover{
  _background-color: var(--swl-color_hov_gray);
  -webkit-transform:translateX(45px);
  transform:translateX(5px)
}
.main-category, .sub-category, .small-category {
  list-style: none;
  padding: 0;
  margin: 0;
}
.global-nav .main-category {
  position: relative;
  display:flex;
  flex:1;
  justify-content: center;
}
.global-nav .main-category li a {
  text-align: left;
  padding-left: 30px;
}
.global-nav .main-category li a.pl0 {
  padding-left: 0;
}
.global-nav .sub-category li:first-child {
  padding-top: 20px;
}
.sub-category .small-category li:first-child{
  padding-top: 5px;
}
.global-nav .small-category li a:nth-of-type(1) {
  padding-top: 0;
}
.global-nav .main-category a.down,.global-nav .long_submenu a span,.small-category li a span {
    position: relative;
}
.global-nav .main-category a.c-txt {
	padding-left: 0;
}
.global-nav .main-category a.c-txt {
  background-color:transparent;
  z-index: 100;
}
.global-nav .sub-menu a.rightarrow span {
  display: inline-block;
  position:relative;
}
.global-nav .sub-menu a.rightarrow span::after,
.global-nav .long_submenu a span::before,
.small-category li a span::before{
  position: absolute;
  top: -0.2em;
  right: -1.8em;
  content: ">";
  margin-right: 0.5em;
  color: #fc3f67 !important;
  display: inline-block;
  transform: rotate(90deg) scaleX(0.5);
  font-weight: bold;
}
.global-nav .main-category a.down span{
  color: #fc3f67 !important;
  display: inline-block;
  transform: rotate(90deg) scaleX(0.5);
  font-weight: bold;
  margin-left: 0.5em;
}
.global-nav .long_submenu a span::before{
  right:auto;
  left:-1.2em;
  top: 0;
  transform: scaleX(0.5);
}
.small-category li a span::before{
  right:auto;
  left:-1.2em;
  top: 0.2em;
  transform: scaleX(0.5);
}
.global-nav .long_submenu a:nth-of-type(4n-3) span::before {
  left:1.2em;
}
.global-nav .sub-menu a.rightarrow span::after {
  right: -2em;
  transform: scaleX(0.5);
}
.global-nav .main-category a {
  padding-bottom: 1.35em;
  color:#000;
}
.global-nav .sub-menu{
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-top: 15.5px !important;
  width: 320px;
  z-index: 10;
}
.global-nav .sub-menu a {
  padding-bottom: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
}
.global-nav .sub-menu a:hover,.global-nav .sub-menu a:active {
  border-bottom:none;
}
.global-nav .long_submenu{
  width: 1296px;
}
.menu_001{
  left: -430px !important;
}
.menu_002{
  left: -650px !important;
}
.menu_001 i {
  display: inline-block;
  font-style: normal;
  font-size: 0.8em;
}
.menu_001 i::before {
  content:"(";
  margin-left:0.5em;
}
.menu_001 i::after {
  content:")";
}
.global-nav .long_submenu a {
  width: 24%;
  float: left;
  height: 40px;
  display: flex;
  align-items: center;
}
.global-nav .long_submenu a span {
  display: inline-block;
}
.global-nav .long_submenu a:nth-of-type(4n-3) span {
  padding-left: 2.5em;
}
.global-nav .long_submenu a:nth-of-type(-n+4) {
  padding-top: 20px;
  height:60px;
}
.global-nav .long_submenu a:last-of-type {
  padding-bottom: 20px;
  height: 60px;
}
.short_submenu {
  width: 300px;
  padding-bottom:30px;
}
.short_submenu .sub-category{
  height: 420px;
}
.short_submenu .sub-category .small-category{
  height: 450px;
  width: 700px;
}
.sub-category .small-category div{
  display:block;
  width:50%;
  float:left;
}
.sub-category,.short_submenu a {
  width: 100%;
}

.small-category {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 1em 2em;
}

.main-category > li:hover > .sub-menu {
  display: block;
}

.sub-category > li:hover > .small-category {
  display: block;
}
.small-category li a{
  padding-left:1.5em;
}
.small-category li a.sub {
  pointer-events: none;
}
.small-category li a.sub span:before {
  display:none;
}
.small-category .sub span{
  border-left:solid 5px #fc3f67;
  padding-left:0.5em;
  margin-left:-1.5em;
}
.c-txt.line {
  padding-bottom: 5px;
  position: relative;
}
.c-txt.line::before {
  background: #fc3f67;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.main-category li:hover > .c-txt.line::before {
  transform-origin: center top;
  transform: scale(1, 1);
}
/******************** ハンバーガーメニュー **********************/
.hamburger-menu {
  display: none; /* デフォルトで表示 */
  position: fixed; /* 画面の固定位置に配置 */
  top: 10px;
  right: 10px; /* 右上に常に表示 */
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000; /* 他の要素より前面に表示 */
}
.hamburger-menu span {
  font-size:0.3em;
  position: absolute;
  bottom: -0.5em;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
@media screen and (max-width: 1199px) {
  .global-nav {
    display: none; /* デフォルトで非表示 */
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    padding-top: 50px;
	font-size: 1.1em;
	z-index: 50;
  }

  /* 開くときのスライドインアニメーション */
  .global-nav.open {
    display: block !important;
    animation: slideIn 0.5s ease-in-out;
  }

  /* 閉じるときのスライドアウトアニメーション */
  .global-nav.closing {
    animation: slideOut 0.3s ease-in-out;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    top: -0.2em;
    right: 0.5em;
    font-size: 3em;
    background: none;
    border: none;
    cursor: pointer;
	padding: 0;
  }
.global-nav .main-category {
  display: block;
  width: 90%;
  margin: 0 auto;
}
.global-nav .main-category li {
  height:auto;
  margin-bottom: 0.3em;
}
.global-nav .main-category li::before {
  content:"■";
  margin-right: 0.2em;
  color: #fc3f67;
  transform: scaleX(0.5);
  display: inline-block;
}
.global-nav .sub-category li::before {
  display: none;
}
.global-nav .main-category a.c-txt {
  margin-bottom:0;
  padding-bottom: 0 !important;
  display: inline-block;
}
.global-nav-inner {
  height: calc(100vh - 50px); /* padding-top の分を引く */
  overflow-y: auto; /* スクロール有効 */
  padding: 1rem;
  display: block;
}
.global-nav .sub-menu {
  position: static;
  margin-top: 0;
  width: auto !important;
  display: none;
  background: transparent;
  box-shadow: none;
}
.global-nav .sub-menu a {
  height: auto;
}
.global-nav .long_submenu a:nth-of-type(-n+4) {
  padding-top: 0;
  height: auto;
}
.global-nav .long_submenu a {
  width: 100%;
  float: none;
  height: auto;
  display: block;
  margin-bottom: 0.5em;
}
.global-nav .long_submenu a:nth-of-type(4n-3) span {
  padding-left: 0;
}
.global-nav .long_submenu a:nth-of-type(4n-3) span::before {
  left: -1.2em;
}
.global-nav .sub-menu a.rightarrow {
  padding:0;
  margin-left: 0.5em;
  margin-bottom: 0.3em;
}
.small-category {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: auto;
  width: 100%;
}
.small-category .sub span {
  border-left: none;
  margin-bottom: 0.3em;
  margin-top: 0.8em;
}
.global-nav .sub-menu a.rightarrow span {
  margin-bottom: 0;
  margin-top: 0;
}
.short_submenu .sub-category .small-category {
  height: auto;
  width: 100%;
}
.short_submenu .sub-category {
  height: auto;
}
.sub-category .small-category div {
  display: block;
  width: 100%;
  float: none;
}
.global-nav .sub-category li:first-child {
  padding-top: 0;
}
.global-nav .long_submenu a:first-of-type {
  padding-top: 0.5em;
}
.global-nav .long_submenu a:last-of-type {
  padding-bottom: 1em;
  height: auto;
}
.global-nav .sub-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  display: block; /* ← 常に block にする */
}
.global-nav .sub-menu.open {
  max-height: 5000px;
  opacity: 1;
}
/* サブカテゴリの開閉アニメーション */
.small-category {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.small-category.open {
  max-height: 5000px;
  opacity: 1;
  padding: 1em 0;
  background: #f6f6f6;
}
.sub-menu:not(.open) > .rightarrow {
  display: none;
}
.short_submenu {
  padding-bottom: 0;
}
.c-txt.line::before {
  background: transparent;
  content: '';
  width: 100%;
  height: 0;
  display:none;
}
.c-txt.line:hover::before {
  display:none;
}
.global-nav a:hover{
  -webkit-transform:none;
  transform:none;
}
.sub-category li:last-child {
  margin-bottom: 0.8em
}
}
@media screen and (max-width: 767px){
  .hamburger-menu {
    top: -0.1em;
	font-size: 2.5em;
  }
}

/* スライドイン */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* スライドアウト */
@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}
/****************** footer ******************/
footer {
  background: #fff;
  padding: 1vw 0;
}
footer a {
  width: 40%;
  margin: 0 auto;
  display: block;
}
footer a img{
  width:100%;
}

@media screen and (max-width: 767px){
footer a {
  width: 60%;
}
}
