@charset "UTF-8";

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  z-index: 10;
  transition: .5s;
}
.page .header,
.header.change {
  background: #fff;
  box-shadow: 3px 3px 10px #555;
}
.header .logo-b {
  display: none;
}
.page .header .logo-w,
.header.change .logo-w {
  display: none;
}
.page .header .logo-b,
.header.change .logo-b {
  display: block;
}
.header-logo {
  display: block;
  max-width: 350px;
}
.header-logo:hover {
  opacity: 1;
}
.header-nav > ul {
  display: flex;
  align-items: center;
}
.header-nav > ul > li {
  position: relative;
}
.header-nav > ul > li > a {
  color: #fff;
  display: block;
}
.page .header .header-nav > ul > li > a,
.header.change .header-nav > ul > li > a {
  color: #181818;
}
.header-nav > ul > li:hover a {
  opacity: 1;
}
.header-nav > ul > li:not(:last-child) {
  margin-right: 2rem;
}
.header-nav > ul > li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  height: 1px;
  width: 100%;
}
.page .header .header-nav > ul > li::after,
.header.change .header-nav > ul > li::after {
  background: #005495;
}
.header-nav > ul > li:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}
.openbtn {
  display: none;
}
.header-nav-logo {
  display: none;
}

.accordion-menu {
  position: absolute;
  top: 40px;
  transition: .5s;
  opacity: 0;
  pointer-events: none;
  width: 120px;
}
.accordion-menu::before {
  position: absolute;
  content: "";
  width: 100px;
  height: 10px;
  top: -10px;
}
.accordion-menu > li > a {
  display: block;
  background:#fff;
  color: #181818 !important;
  padding: .5rem 1rem;
  transition: .5s;
}
.accordion-menu > li > a:hover {
  background: #015495;
  color: #fff !important;
  transition: .5s;
}
@media screen and (max-width: 1180px) {
  .accordion-menu {
    position: static;
  }
  .header-nav-wrap.open .accordion-menu {
    opacity: 1;
    pointer-events: all;
  }
  .header-nav > ul > li.has-menu:hover .accordion-menu {
    opacity: 1;
    pointer-events: all;
  }
  .accordion-menu::before {
    display: none;
  }
  .accordion-menu > li > a {
    display: block;
    background:#fff;
    color: #181818 !important;
    padding: 0 0 .5rem .5rem;
    width: 100%;
  }
  .accordion-menu > li > a:hover {
    background: unset !important;
    color: unset !important;
  }
}

@media screen and (max-width: 1180px) {
  .header {
    position: absolute;
    padding: 0;
  }
  .header-logo {
    position: absolute;
    top: 30px;
    left: 30px;
  }
  .header-nav a {
    pointer-events: none;
  }
  .header-nav-wrap.open .header-nav a {
    pointer-events: all;
  }
  .header-nav-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid #005495;
    overflow-y: scroll;
    padding: 4rem 2rem 2rem;
    width: 100%;
    max-width: 350px;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
  }
  .header-nav-wrap.open {
    opacity: 1;
    pointer-events: all;
    transition: .5s;
  }
  .header-nav-logo {
    display: block;
    margin: 0 auto 2rem !important;
    max-width: 250px;
  }
  .header-nav > ul {
    display: block;
  }
  .header-nav > ul > li {
    text-align: left;
    width: 100%;
  }
  .header-nav > ul > li:not(:first-child) {
    background: #fff;
    border: 2px solid #005495;
    margin-right: 0;
    margin-bottom: 1rem;
    padding: .5rem 2rem .5rem 3rem;
  }
  .header-nav > ul > li:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 13px;
    aspect-ratio: 206 / 199;
    background: #005495;
    mask: url(../images/common/icon-nav-arrow.svg) no-repeat center / contain;
    transition: .5s;
    width: 10px;
  }
  .header-nav > ul > li::after {
    display: none;
  }
  .header-nav > ul > li > a {
    color: initial;
  }
  .openbtn {
    position: fixed;
    top: 8px;
    right: 9px;
    background: #fff;
    border: 2px solid #005495;
    cursor: pointer;
    display: block;
    transition: .5s;
    height: 50px;
    width: 50px;
    z-index: 10;
  }
  .openbtn.open {
    background: #005495;
  }
  .openbtn::after {
    content: 'MENU';
    position: absolute;
    bottom: 5px;
    left: 9px;
    color: #005495;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
  }
  .openbtn.open::after {
    content: 'CLOSE';
    color: #fff;
    left: 5px;
  }
  .openbtn span {
    position: absolute;
    left: 14px;
    background: #005495;
    display: inline-block;
    transition: .5s;
    height: 2px;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 10px;
  }
  .openbtn span:nth-of-type(2) {
    top: 18px;
  }
  .openbtn span:nth-of-type(3) {
    top: 26px;
  }
  .openbtn.open .openbtn-area {
    transform: rotate(360deg);
  }
  .openbtn.open span {
    background: #fff;
  }
  .openbtn.open span:nth-of-type(1) {
    top: 12px;
    left: 17px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.open span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.open span:nth-of-type(3) {
    top: 24px;
    left: 17px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  .page .header .logo-w,
  .header.change .logo-w {
    display: block;
  }
  .page .header .logo-b,
  .header.change .logo-b {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .header-logo {
    top: 20px;
    left: 10px;
    max-width: 250px;
  }
  .header-nav-wrap {
    right: 50%;
    transform: translateX(50%);
  }
  .openbtn {
    right: 6px;
  }
}

/* フッター */
.footer {
  background: #015495;
}
.footer-flex {
  border-bottom: 1px solid #fff;
  display: flex;
  height: 300px;
}
.footer-nav-wrap {
  border-right: 1px solid #fff;
  padding: 6rem 10rem;
  width: 70%;
}
.nav-footer-link {
  margin-bottom: 2rem;
}
.ul-footer-link {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.ul-footer-link a {
  border-bottom: 1px solid #fff;
  color: #fff;
}
.ikeshita-gr-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ikeshita-gr-wrap .logo {
  max-width: 200px;
}
.ikeshita-gr-wrap .txt {
  color: #fff;
}
.footer-logo-wrap {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-logo-wrap .footer-logo {
  max-width: 300px;
}
.copyright-wrap {
  padding: 4rem 10rem;
  position: relative;
}
.copyright-wrap .txt small {
  color: #fff;
}
.scroll-top {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
}
.scroll-top a {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top a img {
  width: 18px;
  height: 30px;
  object-fit: contain;
}
@media screen and (max-width: 1024px) {
  .footer-flex {
    height: 100%;
  }
  .footer-nav-wrap {
    padding: 2rem;
  }
  .footer-logo-wrap .footer-logo {
    padding: 2rem;
  }
  .copyright-wrap {
    padding: 4rem 2rem;
  }
}
@media screen and (max-width: 767px) {
  .footer-flex {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .footer-nav-wrap {
    border-right: initial;
    width: 100%;
  }
  .footer-logo-wrap {
    width: 100%;
  }
  .footer-logo-wrap .footer-logo {
    max-width: 250px;
  }
  .ikeshita-gr-wrap {
    flex-wrap: wrap;
  }
  .ikeshita-gr-wrap .logo {
    max-width: 150px;
  }
  .copyright-wrap {
    padding: 2rem;
  }
}

/* flex */
.flex {
  display: flex;
  justify-content: space-between;
  gap: 8rem;
}
.flex-img-wrap {
  width: 50%;
}
.flex-ele-wrap {
  width: 50%;
}
.flex-ele-wrap p:not(:last-child) {
  margin-bottom: 10px;
}
@media screen and (max-width: 820px) {
  .flex {
    gap: 2rem;
    flex-wrap: wrap;
  }
  .flex-img-wrap {
    width: 70%;
  }
  .flex-ele-wrap {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .flex-img-wrap {
    width: 100%;
  }
}

/* インナー */
.inner1,
.inner2,
.inner3 {
  margin: 0 auto;
  padding: 0 2rem;
}
.inner1 {
  max-width: 1120px;
}
.inner2 {
  max-width: 1280px;
}
.inner3 {
  max-width: 1920px;
}

/* 要素間調整 */
.sec {
  position: relative;
  padding: 5rem 0;
}
.home .sec {
  padding: 0;
}
.page .sec:first-child {
  padding: 10rem 0 5rem;
}
.page .sec:last-child {
  padding: 5rem 0 10rem;
}
.page .sec:only-child {
  padding: 10rem 0;
}
.sec-head {
  margin-bottom: 2rem;
}
.eles:only-child {
  margin-bottom: 0;
}
.eles:not(:last-child) {
  margin-bottom: 3rem;
}
.eles p:not(:last-child) {
  margin-bottom: 1rem;
}
@media screen and (max-width: 767px) {
  .page .sec:first-child {
    padding: 5rem 0;
  }
  .page .sec:only-child {
    padding: 5rem 0;
  }
}

/* 見出し */
.en-ttl1 {
  color: #005495;
  font-size: 8rem;
  line-height: 1;
}
.h2-ttl1 {
  color: #005495;
  font-size: 2rem;
}
.en-ttl2 {
  background: #005495;
  color: #fff;
  display: inline-block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  padding: 1rem 2rem 1.5rem;
}
.h2-ttl2 {
  color: #005495;
  font-size: 2rem;
  padding-left: 12rem;
  position: relative;
}
.h2-ttl2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: #005495;
  height: 2px;
  width: 100px;
}
.h2-ttl3 {
  position: relative;
  font-size: 2.5rem;
  border-left: 5px solid #005495;
  padding-left: 2rem;
}
.h2-ttl3::before {
  position: absolute;
  content: attr(data-en);
  bottom: 15px;
  left: 5px;
  color: #00000017;
  font-size: 5rem;
  line-height: 1;
}
@media screen and (max-width: 820px) {
  .en-ttl1 {
    font-size: 6rem;
  }
}
@media screen and (max-width: 767px) {
  .en-ttl1 {
    font-size: 4.5rem;
  }
  .h2-ttl1 {
    font-size: 1.6rem;
  }
  .en-ttl2 {
    font-size: 2rem;
    padding: 1rem 2rem 1.3rem;
  }
  .h2-ttl2 {
    font-size: 1.6rem;
    padding-left: 6rem;
  }
  .h2-ttl2::before {
    width: 50px;
  }
  .h2-ttl3 {
    font-size: 1.6rem;
  }
  .h2-ttl3::before {
    bottom: 0;
    font-size: 3rem;
  }
}

/* ボタン */
.btn1 {
  border-bottom: 2px solid #0478D2;
  padding-bottom: 1rem;
  position: relative;
}
.btn1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -55px;
  background: url(../images/common/icon-news-btn.svg) no-repeat center / contain;
  height: 30px;
  width: 42px;
}
.btn2 {
  background: #0478D2;
  border: 2px solid #0478D2;
  color: #fff;
  padding: 1rem 4rem 1rem 1rem;
  position: relative;
}
.btn2::after {
  position: absolute;
  content: '\f138';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
}

/* お知らせリスト */
.ul-news {
  max-width: 1000px;
  margin: 0 auto;
}
.ul-news .cat {
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  padding: 0 1rem;
}
.ul-news .cat.news {
  background: #AC1C21;
}
.ul-news .cat.blog {
  background: #005495;
}
.ul-news .ttl {
  font-weight: 600;
}
.ul-news li {
  border-bottom: 2px dotted #005495;
  padding-bottom: .5rem;
}
.ul-news li:not(:last-child) {
  margin-bottom: 2rem;
}

/*---------------------------------
新フォーム 2025.08.01
---------------------------------*/
.contact-form-iframe {
	width:100%;
	height:0;
	display:block;
}

.contact-form-iframe iframe {
	width: 100%;
	height: 100%;
	margin:0;
	border:none;
}

.contact-form-eles .section-head {
    margin-bottom: 20px;
}
.contact-form-eles {
    margin: 0 auto;
}

.innerS {
    margin: 0 auto;
    max-width: 800px; /* 変更 */
    padding: 0;
}
