@charset "UTF-8";
:root {
  --hover-opacity: 0.7;
  --hover-arrow-transition: opacity 0.3s;
  --hover-arrow-transition-time: 0.3s;
}

header,
body,
main#main,
footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* お知らせのWordPressとの干渉を避けるため、当てる範囲を個別指定 */
  font-family: "Noto Sans JP", sans-serif;
}

header *,
footer * {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* reset用。お知らせのWordPressとの干渉を避けるため、main#cms以外リセット
#cmsをリセットすると管理画面とお知らせ詳細の表示の整合性が合わなくなるので注意 */
main * {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

header img,
main#main img,
footer img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

header {
  background: #FFFFFF;
  color: #333333;
}

main#main {
  color: #333333;
}

footer {
  background: #4d5761;
  color: #dddddd;
}

footer a {
  color: #ffffff;
}

footer #footer_group {
  background: #434c55;
}

footer #footer_group dt {
  color: #ffffff;
}

footer #footer_group a {
  color: #dadbdc;
}

.en,
.marquee {
  font-family: "Rubik", sans-serif;
}

.marquee {
  color: #e4e9f3;
  opacity: 0.35;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
  }
  body {
    min-width: 1280px;
  }
  .sp {
    display: none !important;
  }
  .hover_link_effect {
    position: relative;
  }
  .hover_link_effect::before {
    transition: var(--hover-arrow-transition);
    content: "";
    width: 50px;
    height: 50px;
    background: url(/common/image/base/link_arw2.png) no-repeat;
    position: absolute;
    left: 0;
    top: 0;
  }
  .hover_link_effect::after {
    transition: var(--hover-arrow-transition);
    content: "";
    width: 50px;
    height: 50px;
    background: url(/common/image/base/link_arw_hover.png) no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
  }
  .hover_link_effect.white::before {
    background: url(/common/image/base/link_arw2_w.png) no-repeat;
  }
  .hover_link_effect:hover::before {
    opacity: 0;
  }
  .hover_link_effect:hover::after {
    opacity: 1;
  }
  .marquee {
    font-weight: 300;
    font-size: 14rem;
    line-height: 0.8;
    letter-spacing: 0.06em;
    display: flex;
  }
  .marquee span {
    padding-right: 0.5em;
    animation: 50s marquee 0s linear running infinite;
  }
  @keyframes marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
  }
  /* ヘッダー */
  header {
    position: sticky;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    transition: all 0.2s linear;
    z-index: 999;
  }
  header.off_screen {
    top: -90px;
  }
  header.off_screen.fixed {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  header::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #efefef;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  header #header_logo {
    margin-left: 40px;
  }
  header #header_menu_button {
    display: none;
  }
  header #header_navi {
    display: flex;
  }
  header #header_navi > ul {
    display: flex;
    gap: 0 38px;
  }
  header #header_navi > ul > li {
    display: flex;
    position: relative;
  }
  header #header_navi > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #333333;
    letter-spacing: 0.08em;
    transition: color 0.3s;
  }
  header #header_navi > ul > li > a:hover {
    color: #4984d1;
  }
  header #header_navi > ul > li > a#header_contact {
    position: relative;
    z-index: 2;
    height: 90px;
    color: #FFFFFF;
    border-left: 1px solid #ffffff;
    width: 200px;
    margin-left: 23px;
    font-size: 1.6rem;
    transition: all var(--hover-arrow-transition-time);
  }
  header #header_navi > ul > li > a#header_contact::before {
    transition: var(--hover-arrow-transition);
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #4984d1 0%, #83a9db 100%);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
  }
  header #header_navi > ul > li > a#header_contact > span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    height: 90px;
    width: 200px;
    padding-left: 29px;
  }
  header #header_navi > ul > li > a#header_contact > span::before {
    transition: var(--hover-arrow-transition);
    content: "";
    aspect-ratio: 1/1;
    background: url(/common/image/base/ic_paper-plane_w.svg) no-repeat;
    background-size: 18px auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    left: 36px;
    opacity: 1;
  }
  header #header_navi > ul > li > a#header_contact > span::after {
    transition: var(--hover-arrow-transition);
    content: "";
    aspect-ratio: 1/1;
    background: url(/common/image/base/ic_paper-plane.svg) no-repeat;
    background-size: 18px auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    left: 36px;
    opacity: 0;
  }
  header #header_navi > ul > li > a#header_contact:hover {
    border-left: 1px solid #efefef;
    color: #79a2da;
  }
  header #header_navi > ul > li > a#header_contact:hover::before {
    opacity: 0;
  }
  header #header_navi > ul > li > a#header_contact:hover > span::before {
    opacity: 0;
  }
  header #header_navi > ul > li > a#header_contact:hover > span::after {
    opacity: 1;
  }
  header #header_navi > ul > li .sub_list {
    position: absolute;
    display: none;
    z-index: 1000;
    top: 70px;
    left: 0;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px rgba(51, 51, 51, 0.06);
  }
  header #header_navi > ul > li .sub_list > ul > li {
    border-top: 1px solid #e9eaeb;
  }
  header #header_navi > ul > li .sub_list > ul > li:nth-child(1 of :not(.sp)) {
    border-top: none;
  }
  header #header_navi > ul > li .sub_list > ul > li > a {
    display: block;
    white-space: nowrap;
    padding: 13px 20px;
    font-size: 1.3rem;
    color: #4d5761;
    transition: color 0.3s;
  }
  header #header_navi > ul > li .sub_list > ul > li > a:hover {
    color: #83a9db;
  }
  header #header_navi > ul > li.pc_open .sub_list {
    display: block;
  }
  main#main {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    line-height: 1.875;
  }
  /* フッター */
  footer {
    padding: 80px 0 60px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }
  footer a:hover {
    text-decoration: underline;
  }
  footer #footer_contents {
    max-width: 1280px;
    margin: 0 auto;
  }
  footer #footer_navi {
    display: flex;
    justify-content: space-between;
    margin: 0 90px 0;
  }
  footer #footer_navi_main {
    display: flex;
    gap: 0 130px;
  }
  footer #footer_navi_main > dl > dt a {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
  }
  footer #footer_navi_main > dl > dt a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%) rotate(45deg);
  }
  footer #footer_navi_main > dl > dd > ul {
    margin-top: 20px;
  }
  footer #footer_navi_main > dl > dd > ul > li {
    margin-top: 17px;
  }
  footer #footer_navi_main > dl > dd > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_navi_other > ul > li {
    margin-top: 17px;
  }
  footer #footer_navi_other > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_group {
    border-radius: 10px;
    margin: 60px 60px 0;
    padding: 36px 38px;
  }
  footer #footer_group > dl > dt {
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
  footer #footer_group > dl > dd {
    margin-top: 13px;
    font-size: 1.4rem;
  }
  footer #footer_group_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
  }
  footer #footer_group_list li {
    display: flex;
    position: relative;
  }
  footer #footer_group_list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  footer #footer_group_list li:nth-last-of-type(n+2) {
    padding-right: 1.5em;
    margin-right: 1.5em;
  }
  footer #footer_group_list li:nth-last-of-type(n+2)::after {
    content: "";
    display: block;
    background: #dadbdc;
    width: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
  }
  footer #footer_logo_area {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 75px;
  }
  footer #footer_copyright {
    color: #dddddd;
    font-size: 1.1rem;
  }
}
