@charset 'utf-8';

:root {
  --color1: #003477;
  --color2: #B2C8E1;
  --color3: #616161;
  --color4: #EDF3F7;
  --color5: #F3F3F3;
  --color6: #BAD7FA;
  --color7: #D3D3D3;
  --color8: #D28121;
  --color9: #FD4040;
  --color10: #0062DB;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: YakuHanJP_Narrow, "M PLUS 1p", sans-serif;
  box-sizing: border-box;
  overflow-x: hidden;
}

section {
  padding: 6rem 0;
}

.section_inner {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.section_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.section_title.wh h2,
.section_title.wh span {
  color: #fff;
}

.section_title.bl h2,
.section_title.bl span {
  color: var(--color1);
}

.section_title h2 {
  font-size: 2rem;
}

.section_title span {
  display: block;
  margin-left: 1rem;
  font-weight: 700;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.tab {
  display: none;
}

@media screen and (max-width: 1000px) {
  section {
    padding: 3rem 0;
  }

  .tab {
    display: block;
  }
}

@media screen and (max-width: 580px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .tab {
    display: none;
  }
}

/*--------------------------------------------------------
header
--------------------------------------------------------*/
header {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 100;
}

.header_logo {
  position: absolute;
  top: 10px;
  left: 20px;
  height: 100%;
}

.header_logo img {
  height: 100%;
}

.header_right {
  position: absolute;
  top: 10px;
  right: 20px;
}

@media screen and (max-width: 580px) {
  .header_logo {
    height: 70%;
  }

  .header_right {
    right: 10px;
  }
}

/*------------------------------------------------------------
header_menu
------------------------------------------------------------*/
.header_menu {
  position:fixed;
  top: 0;
  right: -120%;
  width: 650px;
  height: 100vh;
  background: var(--color1);
  opacity: 0;
  z-index: 999;
  transition: all .6s;
}

.header_menu.panelactive {
  right: 0;
  opacity: 1;
}


.header_nav {
  width: 75%;
  margin: 3rem auto 0;
}

.header_nav_logo {
  width: 120px;
  margin: 0 auto;
}

.header_nav_logo img {
  width: 100%;
}

.header_nav_list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.header_nav_list li {
  width: 50%;
  margin-top: 2rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  transition: all .3s;
}

.header_nav_list li:hover {
  opacity: 0.8;
}

.header_nav_list li span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
}

.header_contact {
  margin-top: 3rem;
  color: #fff;
  text-align: center;
}

.header_web {
  padding: 1rem 0;
  border: 2px solid #fff;
  font-weight: 400;
  transition: all .3s;
}

.header_web:hover {
  border: 2px solid var(--color1);
  background: #fff;
  color: var(--color1);
}

.header_tel a,
.header_web a {
  display: block;
}

.header_web {
  margin-top: 1.5rem;
}

.header_contact_text span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 300;
}

@media screen and (max-width: 580px) {
  .header_menu {
    width: 100%;
    height: 100vh;
    padding: 3rem 0;
  }

  .header_nav {
    width: 90%;
    margin: 2rem auto 0;
  }

  .header_nav_list {
    width: 80%;
    margin: 1rem auto 0;
  }

  .header_nav_list li {
    margin-top: 2.5rem;
    font-weight: 300;
  }

  .header_contact {
    margin-top: 2.5rem;
  }

  .header_web:hover {
    border: none;
    background: #fff;
    color: var(--color1);
  }
}

.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: relative;
	cursor: pointer;
  width: 50px;
  height:50px;
	border-radius: 25%;
  background: #fff;
  z-index: 1000;
}

/*ボタン内側*/
.openbtn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--color1);
}


.openbtn span:nth-of-type(1) {
	top:15px;	
  width: 45%;
}

.openbtn span:nth-of-type(2) {
	top:23px;
  width: 35%;
}

.openbtn span:nth-of-type(3) {
	top:31px;
  width: 20%;
}

/*activeクラスが付与されると線が回転して×になる*/
.openbtn.active {
  background: transparent;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
  background: #fff;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;

}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
  background: #fff;
}

/*--------------------------------------------------------
page_header
--------------------------------------------------------*/
.page_header {
  /* パンくずリスト位置決め */
  position: relative;
  margin-top: 10rem;
}

.page_title {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
  border-left: 1px solid var(--color1);
  color: var(--color1);
}

.page_title h1 {
  margin-left: 3rem;
  font-size: 4rem;
  font-weight: 800;
}

.page_title span {
  position: relative;
  display: block;
  margin: 2rem 0 0 7rem;
  font-weight: 300;
}

.page_title span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  display: block;
  width: 30px;
  height: 1.5px;
  background: var(--color1);
}

.page_header_img {
  width: 100%;
  height: 350px;
  margin-top: 4rem;
}

.page_header_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

@media screen and (max-width: 1000px) {
  .page_title {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    border-left: 1px solid var(--color1);
    color: var(--color1);
  }
}

@media screen and (max-width: 580px) {
  .page_header {
    height: fit-content;
    margin-top: 0;
    padding-top: 6rem;
    box-sizing: border-box;
  }

  .page_header_img {
    width: 100%;
    height: 300px;
    margin-top: 3rem;
  }

  .page_title {
    width: 90%;
    margin: 0 auto;
    padding: 1.5rem 0;
  }

  .page_title h1 {
    margin-left: 1.5rem;
    font-size: min(13cqw, 4rem);
  }

  .page_title span {
    margin: 1rem 0 0 5rem;
    font-size: min(4cqw, 1rem);
  }

  .page_title span::before {
    left: -40px;
    height: 1px;
  }
}

/*---------------------------------------------------
パンくずリスト
---------------------------------------------------*/
.breadcrumb {
  position: absolute;
  top: 10rem;
  right: 200px;
  margin-top: 2rem;
  list-style: none;
  overflow: hidden;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  color: var(--color1);
  font-weight: 300;
}

.breadcrumb li:nth-of-type(n + 2):before {
  content: '/';
  padding: 0 1em;
}

.breadcrumb li {
  position: relative;
}

.breadcrumb li a {
  transition: color .3s ease-out;
}

.breadcrumb li a:hover {
  color: var(--color3);
}

@media screen and (max-width: 1000px) {
  .breadcrumb {
    top: 150px;
    right: 5%;
    padding: 0;
    list-style: none;
    overflow: hidden;
  }

  .breadcrumb li:nth-of-type(n + 2):before {
    content: '/';
    padding: 0 0.5rem;
  }

  .breadcrumb li span {
    /* font-size: 2.5cqw; */
    font-size: min(2.75cqw, 0.9rem);
  }
}

@media screen and (max-width: 580px) {
  .breadcrumb {
    position: absolute;
    top: 16rem;
    right: 1rem;
    margin-top: 0;
    list-style: none;
    overflow: hidden;
  }
}


/*--------------------------------------------------------
btn viewmore
--------------------------------------------------------*/
.btn {
  margin-top: 5rem;
  text-align: center;
}

.viewmore_wh{
  position:relative;
  margin: 0 auto;
  padding: 15px 80px;
  display:inline-block;
  color: #fff;
  text-decoration: none;
}

/*線の設定*/
.viewmore_wh::before,
.viewmore_wh::after {
  content:'';
  position:absolute;
  border:solid #fff;
  width:10px;
  height:10px;
  transition:all 0.3s ease-in-out;
}

.viewmore_wh::before{
  top:0;
  left:0;
  border-width:1px 0 0 1px;
}

.viewmore_wh::after{
  bottom:0;
  right:0;
  border-width:0 1px 1px 0;
}

.viewmore_wh:hover::before,
.viewmore_wh:hover::after{
  width:calc(100% - 2px);
  height:calc(100% - 2px);
  border-color:#fff;
}

.viewmore_bl{
  position:relative;
  margin: 0 auto;
  padding: 15px 80px;
  display:inline-block;
  color: var(--color1);
  text-decoration: none;
}

.viewmore_bl::before,
.viewmore_bl::after {
  content:'';
  position:absolute;
  border:solid var(--color1);
  width:10px;
  height:10px;
  transition:all 0.3s ease-in-out;
}

.viewmore_bl::before{
  top:0;
  left:0;
  border-width:1px 0 0 1px;
}

.viewmore_bl::after{
  bottom:0;
  right:0;
  border-width:0 1px 1px 0;
}

.viewmore_bl:hover::before,
.viewmore_bl:hover::after{
  width:calc(100% - 2px);
  height:calc(100% - 2px);
  border-color:var(--color1);
}

@media screen and (max-width: 580px) {
  .btn {
    margin-top: 3rem;
  }
}

/*--------------------------------------------------------
contact
--------------------------------------------------------*/
.contact_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact_left {
  width: 40%;
}

.contact_logo {
  margin: 0 auto;
  width: 150px;
}

.contact_logo img {
  width: 100%;
}

.contact .section_title {
  display: block;
  margin-top: 2rem;
  text-align: center;
}

.contact .section_title span {
  margin-top: 0.5rem;
  margin-left: 0;
}

.contact_text {
  margin-top: 2rem;
  color: var(--color1);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.contact_right {
  width: 60%;
}

.contact_btn {
  position: relative;
  width: 90%;
  height: 350px;
  margin: 0 auto;
  background-image: url('../img/mv1.jpeg');
  background-size: cover;
  background-color: rgba(0, 36, 82, 0.9);
  background-blend-mode: multiply;
  transition: all .3s ease-in-out;
}

.contact_btn:nth-of-type(2) {
  margin-top: 2rem;
  background-image: url('../img/mv2.jpeg');
}

.contact_btn_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.contact_btn_ttl {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 5px;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact_btn_ttl::after,
.contact_btn_txt::after {
  content: '';
	position: absolute;
	z-index: -1;
	bottom: 0;
	left: 0;
	width: 100%;
	height:100%;
	background:#fff;
	transition:all .5s;
	opacity: 0;
  transform: scale(0, 1);
  transform-origin: top left;
}

.contact_btn:hover .contact_btn_ttl,
.contact_btn:hover .contact_btn_txt {
  color: var(--color1);
}

.contact_btn:hover .contact_btn_ttl::after,
.contact_btn:hover .contact_btn_txt::after {
  transform: scale(1, 1);
  opacity: 1;
}

.contact_btn_txt {
  position: relative;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 5px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.contact_btn a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.contact_btn:hover {
  background-color: rgba(0, 36, 82, 0.4);
}

.contact_btn span {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  opacity: 0;
}

.contact_btn span.tl {
  top: -15px;
  left: -15px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transition: all .3s ease-in-out;
}
.contact_btn span.tr {
  top: -15px;
  right: -15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: all .3s ease-in-out;
}
.contact_btn span.br {
  bottom: -15px;
  right: -15px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: all .3s ease-in-out;
}
.contact_btn span.bl {
  bottom: -15px;
  left: -15px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transition: all .3s ease-in-out;
}
.contact_btn:hover span.tl {
  top: 15px;
  left: 15px;
  opacity: 1;
}
.contact_btn:hover span.tr {
  top: 15px;
  right: 15px;
  opacity: 1;
}
.contact_btn:hover span.br {
  bottom: 15px;
  right: 15px;
  opacity: 1;
}
.contact_btn:hover span.bl {
  bottom: 15px;
  left: 15px;
  opacity: 1;
}

@media screen and (max-width: 700px) {
  .contact_container {
    display: block;
  }

  .contact_left {
    width: 100%;
  }

  .contact .section_title h2 {
    font-size: 3rem;
    font-weight: 700;
  }

  .contact .section_title span {
    font-size: 1.5rem;
  }

  .contact_right {
    width: 100%;
    margin-top: 2rem;
  }

  .contact_btn {
    height: 250px;
  }
}
/*--------------------------------------------------------
footer
--------------------------------------------------------*/
footer {
  width: 100%;
  height: 350px;
  background: #011F45;
}

.footer_inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer_left {
  width: 33%;
  text-align: center;
  order: 0;
}

.footer_sns_ttl {
  color: #fff;
  font-weight: 900;
}

.footer_sns_icon {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 1rem;
}

.footer_sns_icon img {
  width: 30px;
  height: 30px;
}

.footer_center {
  width: 33%;
  text-align: center;
  order: 1;
}

.footer_center img {
  width: 50%;
}

.footer_right {
  padding-left: 5rem;
  width: 33%;
  color: #fff;
  font-weight: 300;
  order: 2;
}

.footer_menu {
  width: fit-content;
  margin: 0 auto;
}

.footer_menu_list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  width: fit-content;
}

.footer_menu_list li {
  width: 50%;
}

.footer_menu_list li:nth-of-type(n + 3) {
  margin-top: 1.5rem;
}

.copyright {
  margin-top: 5rem;
}

@media screen and (max-width: 1000px) {
  footer {
    height: auto;
    padding: 4rem 0 1rem;
  }

  .footer_inner {
    width: 90%;
    margin: 0 auto;
    height: 100%;
    display: block;
  }

  .footer_center {
    width: 100%;
  }

  .footer_center img {
    width: 20cqw;
  }

   .footer_left {
    width: 100%;
    margin-top: 4rem;
  }

   .footer_right {
    margin-top: 4rem;
    padding-left: 0;
    width: 100%;
  }

  .footer_menu {
    width: 90%;
  }

  .footer_menu_list {
    justify-content: start;
    width: 100%;
  }

  .footer_menu_list li {
    width: calc(100% / 3);
    font-size: min(3cqw, 1.5rem);
  }

  .footer_menu_list li:nth-of-type(n + 3) {
    margin-top: 0;
  }

  .footer_menu_list li:nth-of-type(n + 4) {
    margin-top: 2rem;
  }

  .copyright {
    text-align: center;
  }
}

@media screen and (max-width: 580px) {
  .footer_right {
    margin-top: 2rem;
  }

  .footer_menu {
    width: 100%;
    margin: 0 auto;
  }

  .footer_menu_list {
    display: none;
  }

  .copyright {
    margin-top: 3rem;
    text-align: center;
  }
}