@charset "utf-8";
/*------------------------------------------------------------------

  ヘッダーメニュー

------------------------------------------------------------------*/

/*
  メニューから自サービスを非表示
--------------------------*/
/* .menu_dropdown .menu4,
.logo_banner .menu4 {
  display: none !important;
} */

/* PCサイズ------------------------------- */
@media screen and (min-width: 768px) {
  .menu_sp {
    display: none !important;
  }
  main {
    position: relative;
    min-height: calc(100% - 600px);
    box-sizing: border-box;
    padding-top: 80px;
  }
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    height: 80px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: #fff; */
    transition: 0.3s;
  }
  .header_in nav {
    display: flex;
    align-items: center;
    gap: 10px 0;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .header .logo {
    display: inline-block;
  }
  .header a.logo:hover {
    opacity: 0.7;
  }
  .header .logo img {
    height: 55px;
    display: inline-block;
  }
  .header .btn_area {
    gap: 0 10px;
    padding: 0;
    width: auto;
  }
  .header .btn {
    width: 140px;
    height: 56px;
    font-size: 15px;
    text-align: center;
    justify-content: center;
    padding: 0;
    line-height: 1.2;
  }
  .header .btn span:not(.fukidashi) {
    padding: 0;
  }
  .header .btn:after {
    content: none;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: 0 20px;
    color: var(--c-black);
    font-size: clamp(15px, 1.1vw, 16px);
    width: 100%;
    justify-content: flex-end;
    font-weight: var(--fw-normal);
    font-family: var(--ff-maru);
  }
  .header_in .header_in_cont {
    display: flex;
    align-items: center;
    gap: 0 35px;
  }
  .header .menu .menu_txt {
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.1em;
    font-weight: var(--fw-bold);
  }
  .head_solution_link .drop_open span {
    padding: 3px 0 3px 20px;
    border-left: solid 1px #bbb;
  }
  .header .menu .drop_open:hover,
  .header .menu a:hover,
  .header .menu a.now,
  .header .menu a:hover span {
    color: var(--c-orange);
  }
  .menu_dropdown {
    width: 100%;
    padding: 50px 5%;
    position: absolute;
    display: flex;
    gap: 100px;
    justify-content: center;
    background: #fff;
    left: 0;
    transform: translate(0, -100%);
    z-index: -999;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
    text-align: left;
    box-shadow: 0 3px 12px rgb(0 0 0 / 10%);
  }
  .drop_open:hover + .menu_dropdown,
  .menu_dropdown:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }
  .menu_dropdown dt {
    font-weight: var(--fw-bold);
    padding-bottom: 20px;
    border-bottom: solid 1px var(--c-gray);
    color: var(--c-black);
  }
  .inner_menu li {
    margin-top: 20px;
  }
  .inner_menu a {
    font-weight: var(--fw-normal);
    color: var(--c-txtgray);
    font-size: 12px;
    display: inline-block;
  }
  .inner_menu a .ttl {
    color: var(--c-black);
    display: inline-block;
    text-decoration: underline;
    font-size: var(--fz-normal);
    line-height: 2;
    transition: 0.3s;
  }
  .inner_menu a .ttl:after {
    font-family: var(--ff-icon);
    content: "\f138";
    margin-left: 5px;
    font-weight: bold;
    color: var(--c-orange);
    background: #fff;
    display: inline-block;
  }
  .inner_menu a span:not(.ttl) {
    display: block;
  }
  .sp_btn_area {
    display: none !important;
  }
  .header.is-scrolled {
    background: #fff;
  }
}

/* タブレット以下サイズ------------------------------- */
@media screen and (max-width: 767px) {
  .menu_pc {
    display: none !important;
  }
  .popup_banner {
    display: none !important;
  }
  /*
  ナビ用
  --------------------------*/
  html > * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  main {
    position: relative;
    min-height: calc(100% - 600px);
    box-sizing: border-box;
    padding-top: 60px;
  }

  /*
  ヘッダー
  --------------------------*/
  .header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 4;
  }
  .sp_btn_area {
    display: none;
    position: fixed;
    justify-content: center;
    bottom: 0;
    left: 0;
    width: 100vw;
    gap: 0 2%;
    padding: 0 8px 10px;
    z-index: 3;
  }
  .sp_btn_area.is-scrolled {
    display: flex;
  }
  .sp_btn_area .btn {
    font-size: min(3.6vw, 14px);
    height: 60px;
    max-width: 100%;
    line-height: 1.4;
    border-radius: 10px;
    border: 2px solid #fff;
    gap: 5px;
    padding: 10px;
  }
  .sp_btn_area .btn:after {
    width: 28px;
    border-radius: 5px;
  }
  .header_menu {
    position: relative;
    height: 60px;
    line-height: 1;
    padding: 10px 0 0 15px;
    z-index: 10;
    transition: 0.3s;
  }
  .header_menu .btn {
    width: min(30vw, 120px);
    font-size: 15px;
    padding: 0;
    height: 46px;
    position: absolute;
    right: 65px;
    top: 8px;
  }
  .header_menu .btn span {
    padding: 0;
  }
  .header_menu .btn:after {
    content: none;
  }
  .header.is-scrolled .header_menu,
  .header_menu:has(~ .active) {
    background: #fff;
  }
  .header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px 0;
    width: min(41vw, 160px);
  }
  .header .logo img {
    height: auto;
    display: inline-block;
  }
  .menu_trigger,
  .menu_trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
  }
  .menu_trigger {
    position: fixed;
    top: 6px;
    right: 10px;
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 21px 0 0;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    border: 2px solid var(--c-bluegray);
  }
  .menu_trigger p {
    letter-spacing: 0;
    line-height: 1;
  }
  .menu_trigger .close_txt,
  .menu_trigger.active .open_txt {
    display: none;
  }
  .menu_trigger.active .close_txt {
    display: inline-block;
  }
  .menu_trigger span {
    position: absolute;
    background: var(--c-bluegray);
    width: 20px;
    height: 2px;
    left: 12px;
    margin: auto;
    border-radius: 5px;
  }
  .menu_trigger span:nth-of-type(1) {
    top: 10px;
  }
  .menu_trigger span:nth-of-type(2) {
    top: 16px;
  }
  .menu_trigger span:nth-of-type(3) {
    top: 22px;
  }
  .menu_trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
    top: 6px;
  }
  .menu_trigger.active span:nth-of-type(2) {
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
    top: 23px;
  }
  .menu_trigger.active span:nth-of-type(3) {
    display: none;
  }
  .header .header_in {
    position: fixed;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    text-align: left;
    z-index: 8;
    transition: all 0.5s ease;
    visibility: hidden;
    opacity: 0;
  }
  .overlay {
    content: "";
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    z-index: 3;
    opacity: 0;
    cursor: pointer;
  }
  .side_open .overlay,
  .side_open .header_in {
    opacity: 1;
    visibility: visible;
  }
  .header .scroll_area {
    overflow: auto;
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
  }
  .header .header_in_cont {
    padding: 120px 0 55px;
    background: url(../img/common/menu_bg01.png) right top 60px / min(59%, 230px) no-repeat, url(../img/common/menu_bg02.png) left bottom / min(58%, 225px) no-repeat #fff;
  }
  .header .btn_area {
    width: 100%;
    padding-top: 50px;
    gap: 15px 10px;
  }
  .sp_btn_area .btn span:not(.fukidashi),
  .kv .btn span:not(.fukidashi) {
    letter-spacing: 0.05em;
  }
  .header_in nav {
    display: flex;
    width: 100%;
  }
  .menu {
    width: 100%;
    padding: 0 13%;
  }
  .menu .menu_txt {
    position: relative;
    display: block;
    line-height: 2;
    padding: 16px 15px;
    border-bottom: solid 1px var(--c-lightgray);
    font-size: 16px;
  }
  .menu .menu_txt:before {
    position: absolute;
    font-family: var(--ff-icon);
    content: "\f30b";
    right: 15px;
    color: var(--c-green);
    font-size: 18px;
    line-height: 1;
    top: 50%;
    margin-top: -8px;
    font-weight: bold;
  }
  .menu .accordion_open {
    position: relative;
  }
  .menu .accordion_open:before {
    content: "\f055";
  }
  .menu .accordion_close:before {
    content: "\f056";
  }
  .menu .menu_dropdown {
    margin-top: 20px;
    display: none;
    background: var(--c-bg);
    border-radius: 20px;
    padding: 10px 20px 0;
  }
  .menu .menu_dropdown dt {
    font-weight: var(--fw-bold);
    line-height: 2;
  }
  .menu .menu_dropdown dl {
    padding: 20px 0 30px;
  }
  .menu .menu_dropdown dl + dl {
    border-top: solid 1px var(--c-gray);
  }
  .inner_menu li {
    margin-top: 10px;
  }
  .inner_menu a {
    font-weight: var(--fw-normal);
    color: var(--c-txtgray);
    font-size: 11px;
  }
  .inner_menu a .ttl {
    color: var(--c-black);
    display: inline-block;
    text-decoration: underline;
    font-size: var(--fz-normal);
    line-height: 2;
  }
  .inner_menu a .ttl:after {
    font-family: var(--ff-icon);
    content: "\f138";
    margin-left: 5px;
    font-weight: bold;
    color: var(--c-orange);
    display: inline-block;
  }
  .inner_menu a span:not(.ttl) {
    display: block;
  }
}
