@charset "utf-8";

/* 共通
============================== */
#wrapper {
  position: relative;
  z-index: 2;
}
.inner {
  width: calc(100% - 40px);
  max-width: 1600px;
  margin-inline: auto;
}
.section_title_en {
  font-size: 36px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #103666;
  font-family: "EB Garamond", serif;
}
.section_text {
  font-size: 18px;
  letter-spacing: normal;
  line-height: 2;
}
.section_text .under {
  display: block;
  margin-top: 10px;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .section_title_en {
    font-size: 24px;
  }
  .section_text {
    font-size: 12px;
  }
}

/* 共通ボタン
============================== */
.readmore-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 250px;
  padding-inline: 20px;
  background-color: #1d569e;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.readmore-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}
.readmore-btn .text {
  flex: 1;
  text-align: center;
  letter-spacing: 1px;
  padding-block: 12px;
}
.readmore-btn .arrow {
  border-left: 1px solid #fff;
  padding-left: 16px;
  margin-left: 16px;
  padding-block: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.readmore-btn .text,
.readmore-btn .arrow {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}

@media only screen and (min-width: 769px) {
  .readmore-btn:hover::before {
    transform: translateX(0);
  }
  .readmore-btn:hover {
    color: #103666;
    border: 1px solid #1d569e;
  }
  .readmore-btn:hover .arrow {
    border-color: #1d569e;
  }
}

  @media only screen and (max-width: 768px) {
  .readmore-btn {
    max-width: 210px;
    padding-inline: 14px;
    font-size: 14px;
  }
}


/* ヘッダー
=============================== */
.crm--header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  border-bottom: 5px solid #1d569e;
  background-color: transparent;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.crm--header.scrolled {
  background-color: #fff;
}
.crm--header.hide {
  transform: translateY(-100%);
}
.crm--header.show {
  transform: translateY(0);
}
.is-open .crm--header {
  border-bottom: none;
}

@media only screen and (max-width: 768px) {
  .crm--header {
    border-bottom: 4px solid #1d569e;
  }
}

/* logoare
-------------------------------- */
.crm--header .logoare {
  width: calc(100% - 60px);
  max-width: 1920px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: auto;
  padding: 18px 0;
  line-height: 0;
  column-gap: 10px;
}
.header_logo a {
  position: relative;
  z-index: 99999;
  display: block;
  max-width: 290px;
}
.is-open .crm--header .header_logo a {
  z-index: 1;
}

@media only screen and (max-width: 768px) {
  .crm--header .logoare {
    width: calc(100% - 40px);
    padding: 10px 0;
    column-gap: 20px;
  }
  .is-open .crm--header .logoare {
    position: relative;
    background-color: #fff;
    transition: 2s;
    z-index: 99999;
  }
  .header_logo a {
    max-width: 230px;
  }
}

.header_nav_wrap {
  display: flex;
}
.is-open .header_nav_wrap {
  z-index: -1;
  display: none;
}
.header_nav_item {
  display: block;
  width: auto;
  font-size: 16px;
  font-size: clamp(1.4rem, 0.906rem + 0.482vw, 1.6rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #000;
  padding: 4px 30px;
  padding: 4px clamp(1rem, -3.94rem + 4.819vw, 3rem);
  border-right: 1px solid #a3d3e3;
  transition: all 0.4s;
}
.header_nav_item a {
  color: #000;
}
.header_nav_title {
  color: #000;
  position: relative;
  z-index: 99999;
  display: block;
}
.header_nav_title::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -10px;
	left: 50%;
	width: 0;
	height: 2px;
	background: #1d569e;
	border-radius: 5px;
	transition: 0.4s all ease-in-out 0s;
}
.header_nav_item:last-child {
  border-right: none;
}
.header_right_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
}
.header_right {
  position: relative;
  column-gap: 40px;
  background-color: #1d569e;
  z-index: 99999;
}

@media only screen and (max-width: 1024px) {
  .header_nav_wrap {
    display: none;
  }
}

.header_nav_item.has-sub .sub {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100px;
  width: 100vw;
  background-color: rgba(255, 255, 255, 1);
  border-bottom: 1px solid #1d569e;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease-in;
  transition-delay: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}
.has-sub:hover .sub {
  height: 70px;
  transition-delay: 0s;
}
.sub_list {
  display: flex;
  justify-content: center;
}
.sub_list li {
  border-right: 1px solid #a3d3e3;
}
.sub_list li:last-child {
  border-right: none;
}
.sub_list li a {
  display: block;
  width: auto;
  font-size: 16px;
  font-size: clamp(1.4rem, 0.906rem + 0.482vw, 1.6rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: #000;
  padding: 4px 30px;
  padding: 4px clamp(1rem, -3.94rem + 4.819vw, 3rem);
  border-right: 1px solid #a3d3e3;
}

/* globalnavi
-------------------------------- */
.globalnavi {
  position: absolute;
  z-index: -1;
  opacity: 0;
  top: 100%;
  left: 0;
  width: 100%;
  transition: all 0.5s ease-out;
}
.globalnavi a {
  display: block;
}
.globalnaviInner {
  max-width: 1350px;
  margin: 0 auto;
}
.globalnavi .mainNav {
  display: block;
  padding: 0;
}
.is-open .globalnavi {
  z-index: 9999;
  opacity: 1;
}
.nav_title {
  min-height: 46px;
  margin-bottom: 14px;
}
.nav_title a {
  color: #103666;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: 0.05em;
  transition: 0.4s;
}
.mv_logo {
  width: 100%;
  max-width: 320px;
}
.nav_subtitle {
  margin-top: 12px;
}
.nav_subtitle a {
  font-size: 16px;
  color: #000;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3),
    0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3),
    0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3),
    0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3),
    0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3),
    0px 0px 10px rgba(255, 255, 255, 0.3), 0px 0px 10px rgba(255, 255, 255, 0.3);
}
.nav_title a:hover,
.nav_subtitle a:hover {
  opacity: 0.7;
}

.globalnavi .mainNav a {
  transition: all 0.5s ease-out;
}
.spAccordions {
  display: block !important;
  position: fixed;
  top: 0px;
  right: 0;
  overflow-y: auto;
  width: 100%;
  padding-bottom: 40px;
  -webkit-overflow-scrolling: touch;
  background: url(../../common/images/mv_open.jpg) no-repeat center center /
    cover;
  transition: opacity 0.8s ease-in-out;
  height: 100svh;
  max-height: 100svh;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mv_logo,
.spAccordions_wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-open .mv_logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.is-open .spAccordions_wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.spAccordions_area {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  margin-inline: auto;
  max-width: 1600px;
  display: flex;
  justify-content: space-between;
  column-gap: 60px;
  column-gap: 6%;
}
.spAccordions_wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 3%;
}

@media only screen and (max-width: 1440px) {
  .spAccordions_wrap {
    width: 60%;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .globalnavi .mainNav {
    border-bottom: 1px solid #103666;
    padding-bottom: 10px;
  }
  .spAccordions {
    padding-bottom: 140px;
    width: 100%;
  }
  .spAccordions_area {
    flex-direction: column-reverse;
    top: 100px;
    row-gap: 20px;
    padding-bottom: 80px;
  }
  .is-open .mv_logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
  }
  .is-open .spAccordions_wrap {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
  }
  .spAccordions_wrap {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 40px;
    row-gap: 14px;
  }
  .mv_logo {
    width: 80%;
    margin-inline: auto;
    padding-bottom: 40px;
  }
  .nav_title.top {
    margin-bottom: 20px;
  }
}

/* アコーディオン矢印（SPのみ表示） */
@media screen and (max-width: 768px) {
  .spAccordions_wrap .mainNav .nav_title {
    position: relative;
    margin-bottom: 0px;
    min-height: auto;
  }
  .spAccordions_wrap .mainNav .nav_title > a {
    position: relative;
    display: block;
    font-size: 18px;
    padding-right: 28px;
  }
  .spAccordions_wrap .mainNav .nav_title > a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
  }
  .spAccordions_wrap .mainNav[data-accordion-sp="open"] .nav_title > a::after {
    transform: translateY(-50%) rotate(-135deg);
  }
  .spAccordions_wrap .mainNav .nav_panel {
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .spAccordions_wrap .mainNav .nav_panel_item {
    margin-bottom: 0px;
  }
}

html.is-open,
body.is-open {
  height: 100%;
  overflow: hidden;
}


/* ハンバーガーメニュー
========================= */
.crm--header .menu {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 99999;
}
.crm--header .menu::before {
  display: none;
}
.crm--header .menu .bdr {
  position: relative;
  height: 21px;
}
.crm--header .menu .menublock {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  color: #fff;
}
.crm--header .menu .bdr span,
.crm--header .menu .bdr:before,
.crm--header .menu .bdr:after {
  position: absolute;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 3px;
  background-color: #fff;
}
.crm--header .menu .bdr span {
  position: absolute;
  top: 9px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
}
.crm--header .menu .bdr:before {
  top: 0;
}
.crm--header .menu .bdr:after {
  bottom: 0;
}
.is-open .crm--header .menu .bdr:before {
  animation: menuAnime01 0.4s forwards;
}
.is-open .crm--header .menu .bdr:after {
  animation: menuAnime02 0.4s forwards;
}
.is-open .crm--header .menu .bdr span {
  opacity: 0;
}
.is-close .crm--header .menu .bdr:before {
  animation: menuAnime01_close 0.4s forwards;
}
.is-close .crm--header .menu .bdr:after {
  animation: menuAnime02_close 0.4s forwards;
}

@media only screen and (max-width: 768px) {
  .crm--header .menu {
    width: 50px;
    height: 50px;
  }
  .crm--header .menu .bdr {
    position: relative;
    height: 19px;
  }
  .crm--header .menu .menublock {
    top: 16px;
  }
  .crm--header .menu .bdr span {
    top: 8px;
  }
}

@keyframes menuAnime01 {
  50% {
    top: 50%;
    transform: rotate(0deg);
  }
  100% {
    top: 50%;
    transform: rotate(40deg);
  }
}
@keyframes menuAnime01_close {
  0% {
    top: 50%;
    transform: rotate(30deg);
  }
  50% {
    top: 50%;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}
@keyframes menuAnime02 {
  50% {
    top: 50%;
    transform: rotate(0deg) translateY(0);
  }
  100% {
    top: 50%;
    transform: rotate(-40deg) translateY(0);
  }
}
@keyframes menuAnime02_close {
  0% {
    top: 50%;
    transform: rotate(-30deg) translateY(0);
  }
  50% {
    top: 50%;
    transform: rotate(0deg) translateY(0);
  }
  100% {
    top: 100%;
    transform: rotate(0deg) translateY(-100%);
  }
}

/* フッター
=============================== */
.footer {
  position: relative;
  padding-top: 60px;
  padding-bottom: 50px;
  z-index: 999;
  border-top: 1px solid #1d569e;
}
.footer .inner {
  width: 90%;
}
.footer_wrap {
  display: flex;
  justify-content: space-between;
}
.footer_logo {
  width: 100%;
  max-width: 136px;
}
.footer_nav_wrap {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 42px;
}
.footer_nav_item {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer_nav_item > li {
  list-style: none;
}
.footer_nav_title {
  letter-spacing: 0.05em;
  line-height: 1.5;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  font: inherit;
  font-size: 21px;
  color: #103666;
  position: relative;
}
.footer_nav_subtitle {
  margin-top: 10px;
}
.footer_nav_subtitle a {
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #000;
}
.footer_nav_ikura {
  margin-top: 30px;
  transition: all .4s;
}
.footer_nav_ikura:hover {
  opacity: .7;
}
.footer_nav_panel {
  overflow: hidden;
}

/* パネル内のリスト整形 */
.footer_nav_links {
  margin: 0;
  padding: 0;
}
.footer_nav_links > li {
  list-style: none;
}
.footer_copy {
  padding-inline: 20px;
  padding-block: 20px;
  text-align: center;
  background-color: #1d569e;
  font-family: "EB Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .footer .inner {
    width: calc(100% - 40px);
    margin-inline: auto;
  }
  .footer_wrap {
    flex-direction: column;
    row-gap: 40px;
  }
  .footer_logo {
    margin-inline: auto;
  }
  .footer_nav_wrap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 6px;
  }
  .footer_nav_title {
    font-size: 18px;
    padding-right: 28px;
    margin-bottom: 0;
    line-height: 1.5;
    cursor: pointer;
  }
  .footer_nav_title::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
  }
  .footer_nav_item[data-accordion-sp="open"] .footer_nav_title::after {
    transform: translateY(-50%) rotate(-135deg);
  }
  .footer_nav_subtitle {
    margin-top: 10px;
  }
  .footer_nav_subtitle a {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    color: #000;
  }
  .footer_nav_panel {
    transition: max-height 0.4s ease;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid currentColor;
  }
}

@media screen and (min-width: 768px) {
  .h_nav {
    display: flex;
    gap: 3em;
    margin-right: 2rem;
  }
  #header {
    font-size: 1rem;
  }
  .h_nav {
    text-align: right;
  }
  .h_nav li {
    display: inline-block;
    font-size: 1.5em;
  }
  .h_nav li:hover a {
    opacity: 1;
  }
  .h_nav li:hover a:before {
    width: 100%;
  }
  .h_nav li a {
    display: block;
    letter-spacing: 0.04em;
    position: relative;
    line-height: 4.5rem;
  }
  .h_nav li a:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    bottom: 0;
    width: 0;
    transition: width 0.2s ease-in;
    background: -moz-linear-gradient(0% 50% 0deg, #00a7ea 0%, #1d2088 100%);
    background: -webkit-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    background: -webkit-gradient(
      linear,
      0% 50%,
      100% 50%,
      color-stop(0, #00a7ea),
      color-stop(1, #1d2088)
    );
    background: -o-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    background: -ms-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A7EA', endColorstr='#1D2088' ,GradientType=0)";
    background: linear-gradient(90deg, #00a7ea 0%, #1d2088 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A7EA',endColorstr='#1D2088' , GradientType=1);
  }
  .h_nav li.current a::before,
  .h_nav .sub li.current a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    bottom: 0;
    width: 100%;
    transition: width 0.2s ease-in;
    background: -moz-linear-gradient(0% 50% 0deg, #00a7ea 0%, #1d2088 100%);
    background: -webkit-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    background: -webkit-gradient(
      linear,
      0% 50%,
      100% 50%,
      color-stop(0, #00a7ea),
      color-stop(1, #1d2088)
    );
    background: -o-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    background: -ms-linear-gradient(0deg, #00a7ea 0%, #1d2088 100%);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A7EA', endColorstr='#1D2088' ,GradientType=0)";
    background: linear-gradient(90deg, #00a7ea 0%, #1d2088 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A7EA',endColorstr='#1D2088' , GradientType=1);
  }
  .h_nav .sub li.current a::after {
    bottom: -1rem;
  }
  .h_nav li:hover .sub {
    height: 14rem;
    transition-delay: 0s;
  }
  .h_nav .sub {
    position: fixed;
    width: 100vw;
    left: 0;
    top: 8rem;
    background: rgba(255, 255, 255, 0.9);
    height: 0;
    transition: height 0.2s ease-in;
    overflow: hidden;
    text-align: left;
    transition-delay: 0.2s;
    display: flex;
    align-items: center;
  }
  .h_nav .sub ul {
    width: 82rem;
    margin: 0 auto;
  }
  .h_nav .sub li {
    font-size: 1.4rem;
    white-space: nowrap;
    margin-bottom: 2em;
    margin-left: 1.5em;
  }
  .h_nav .sub li a {
    line-height: 1.5;
    background: url(../img_01/ico_arrow02.svg) no-repeat left center/0.55rem;
    padding-left: 1.1em;
    letter-spacing: 0;
    position: relative;
  }
  .h_nav .sub li a:before {
    content: none !important;
  }
  .h_nav .sub li a:hover {
    opacity: 0.7;
  }
  .h_nav .com li:nth-child(5n + 1) {
    width: 10em;
  }
  .h_nav .com li:nth-child(5n + 2) {
    width: 15em;
  }
  .h_nav .com li:nth-child(5n + 3) {
    width: 6em;
  }
  .h_nav .com li:nth-child(5n + 4) {
    width: 10em;
  }
  .h_nav .biz li:nth-child(4n + 1) {
    width: 13em;
  }
  .h_nav .biz li:nth-child(4n + 2) {
    width: 11em;
  }
  .h_nav .biz li:nth-child(4n + 3) {
    width: 12em;
  }
  .h_nav .biz li:nth-child(4n + 4) {
    width: 15em;
  }
}
