@charset "UTF-8";
/* ---------------- base style ---------------- */

/* * {
   font-family:sans-serif;
 } */

html {
    font-size: 62.5%;
    /* rem指定用 */
    /* 修正するほう */
}

body {
    font-family: "Noto Sans Jp", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: 400;
    list-style: none;
    text-decoration: none;
}
a {
   font-family: "Noto Sans Jp";
    text-decoration: none;
 }
a:hover {
opacity: 0.5;
 }

 label, input, textarea, select, button {
   cursor: pointer;
}
button {
   border: 0;
}

h1, h2, h3, p{
   font-family: "noto sans jp";
}

.sp{
    display: none;
}

.pc{
    display: block;
}
.grid_item_caption{
   /* font-style: italic; */
   font-family: 'noto sans jp', sans-serif;
}
.sub_ttl {
   font-family: 'roboto', sans-serif;
   margin-bottom: 20px;
   /* font-style: italic; */
 }

 .section_secondary{
   background-color: #F0F6F8;
   padding-top: 100px;
   }
   .foot_banner_inner figcaption{
         text-align: center;
         width:auto;
      /* font-style: italic; */
      font-family: 'roboto', sans-serif;
   }

   .foot_banner_inner h2 {
      margin-top: 10px;
      font-size: 2.6rem;
      font-family: 'noto sans jp', sans-serif;
      font-weight: 400;  
}
/* ---------------- base style ---------------- */
/* -----------------------header start -------------------- */

#header_menu_media {
   display: flex;
   justify-content: flex-end;
   color: #808080;
}

#header_menu_media li {
   font-size: 1.4rem;
   font-family: 'noto sans jp';
   margin-right: 11px;
   font-weight: 500;
   transform: translateY(4px);
}
#header_menu_media li:nth-child(1):before{
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(4px);
}
#header_menu_media li:nth-child(2):before{
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(3px);
}
#header_menu_media li:nth-child(3):before{
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(5px);
}
#header_menu_media li {
   font-size: 1.3rem;
   font-family: 'noto sans jp';
   font-weight: 500;
   transform: translateY(7px);
   margin-right: 0px;
   margin-left: 10px;
}
#header_menu_media li:nth-child(6) {
   width: 29px;
   display: inline-block;
   transform: translateY(3px);
   /* FONT-WEIGHT: 100; */
   margin-right: 16px;
   margin-left: 20px;
}
#header_menu_media li:nth-child(7) {
   width: 24px;
   /* margin-right: 0px; */
   display: inline-block;
   transform: translateY(2px);
   margin-right: 14px;
   /* margin-left: 5px; */
}
#header_menu_media li:last-child {
   /* content: url(/../img/headermenu_fb_icon.svg); */
   width: 24px;
   /* margin-right: 0px; */
   /* display: inline-block; */
   transform: translateY(2px);
}

#header_menu_media li:nth-child(1):after {
   content: '';
   border-right: 1px solid #808080;
   padding-right: 14px;
}
#header_menu_media li:nth-child(2):after{
   content: '';
border-right: 1px solid #808080;
padding-right: 14px;
}
#header_menu_media li:nth-child(3):after{
   content: '';
border-right: 1px solid #808080;
padding-right: 14px;
}
#header_menu_media li:nth-child(4):after{
   content: '';
border-right: 1px solid #808080;
padding-right: 14px;
}

 #header_inner {
   display: flex;
    width: 100%;
 }
 #header_cont_pc {
   padding-top: 20px;
   display: flex;
   justify-content: space-between;
   max-width: 1280px;
   margin: 0 auto;
   padding-bottom: 15px;
}

 #header_masamilogo img {
    max-width: 197px;
    width: 100%;
 }
 @-moz-document url-prefix() {
   #header_masamilogo img {
      width: 197px;
   }
 }

.header_megamenu_fblogo img{
   width: 30px;
}

 #fb_logo img {
   color: #fff;
   width: 25px;
   margin-top: 5px;
}

#fb_contact_area {
   display: flex;
   justify-content: flex-end;
}

 #copyright {
    padding-bottom: 3%;
    margin-top: 5%;
 }

 #header_menu ul {
    list-style: none;
    display: flex;
    margin-top: 0;
 }

 #header_menu ul p {
   font-weight: 500;
    font-size: 1.5rem;
    padding-top: 21px;
    padding-top: 9px;
    padding-left: 20px;
    text-decoration: none;
    color: #808080;
    letter-spacing: 0.15rem;
 }

 .contact_info p {
    color: #fff;
    text-align: center;
    width: 150px;
    height: 25px;
    background-color: none;
    border-radius: 40px;
    border: solid #fff 1px;
    margin-top: 0;
    margin-left: 30px;
    padding: 4px 5px;
 }


 .contact_info p::before {
    content: url("/img/mail_icon.png");
    padding-top: 1px;
    padding-right: 10px;
    transform: translateY(2px);
    display: inline-block;
 }

/* -----------------------header-pc end -------------------- */
/* -----------------------footer start -------------------- */

#footer_menu_media {
   display: flex;
   justify-content: flex-end;
   color: #808080;
   padding-top: 3px;
}

#footer_menu_media li {
   font-size: 1.3rem;
   font-family: 'noto sans jp';
   font-weight: 500;
   color: #fff;
   margin-right: 0px;
    margin-left: 10px;
}
#footer_menu_media li:nth-child(1):before{
   /* content: url("./../img/footermenu_news_icon_white.svg"); */
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(4px);
}
#footer_menu_media li:nth-child(2):before{
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(3px);
}
#footer_menu_media li:nth-child(3):before{
   width: 30px;
      padding-right: 10px;
    display: inline-block;
    transform: translateY(5px);

}
#footer_menu_media li:nth-child(6) {
   width: 29px;
   margin-right: 16px;
   margin-left: 14px;
   display: inline-block;
   transform: translateY(-3px);
}
#footer_menu_media li:nth-child(7) {
   width: 24px;
   margin-right: 14px;
   display: inline-block;
   transform: translateY(-5px);
}
#footer_menu_media li:last-child {
   width: 24px;
   display: inline-block;
   transform: translateY(-4px);
}

#footer_menu_media li:nth-child(1):after{
   content: '';
border-right: 1px solid #fff;
padding-right: 14px;
}
#footer_menu_media li:nth-child(2):after{
   content: '';
border-right: 1px solid #fff;
padding-right: 14px;
}
#footer_menu_media li:nth-child(3):after{
   content: '';
border-right: 1px solid #fff;
padding-right: 14px;
}
#footer_menu_media li:nth-child(4):after{
   content: '';
border-right: 1px solid #fff;
padding-right: 14px;
}


.footer_megamenu_fblogo img{
   width: 30px;
}

#header_menu ul {
   list-style: none;
   display: flex;
   margin-top: 5px;
   justify-content: flex-end;
}
/* -----------------------footer-pc end -------------------- */

/* -----------------------header-pc-posi start -------------------- */

#header_inner_posi{
background-color: #fff;
box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
}
.header_shadow{
box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
z-index: 2;
}


#header_cont_posi{
   display: flex;
   justify-content: space-between;
   max-width: 1220px;
   margin: 0 auto;
   padding: 15px 0;
}
#fb_logo_posi img {
width: 25px;
margin-left: 10px;
margin-top: 3px;
}
.header_menu_posi ul{
   margin-top: 10px;
   display: flex; 
}
.header_menu_posi ul li{
display: flex;
justify-content: space-between;
}
.header_menu_posi p{
   color: #0051A4;
   font-weight: 700;
   font-size: 1.5rem;
   padding-top: 7px;
   text-align: center;
   height: 33px;
   background-color: none;
   margin-left: 20px;
   margin-bottom: 15px;
}

#contact_btn_posi p{
   border: #0051A4 1px solid;
   border-radius: 25px;
   padding: 5px 20px;
}

#contact_btn_posi p::before {
   content: url("../img/mail_icon_posi.jpg");
   padding-right: 10px;
   transform: translateY(2px);
   display: inline-block;
}

/* -----------------------footer-pc start -------------------- */

footer {
   background-color: #0051A4;
   min-height: 272px;
   /* padding-top: 24px; */
   color: #fff;
   margin: 0 auto;
   width: 100%;
}
 .footer_cont {
   padding-top: 45px;
   display: flex;
   justify-content: space-between;
   max-width: 1280px;
   margin: 0 auto;
   padding-bottom: 10px;
}

 #footer_inner {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
 }

 #footer_masamilogo a img {
   width: 213px;
   margin: 0 auto;
   display: block;
}

#copyright {
   margin-top: 5px;
   padding-bottom: 3%;
   font-size: 1.2rem;
   text-align: end;
}

#footer_menu ul {
   list-style: none;
   display: flex;
   justify-content: flex-end;
}

 #footer_menu ul p {
   font-weight: 500;
    font-size: 1.5rem;
    padding-left: 20px;
    padding-bottom: 20px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.15rem;
 }

 #fb_logo img {
    color: #fff;
    width: 25px;
    margin-top: 5px;
 }

 #fb_contact_area {
    display: flex;
    justify-content: flex-end;
 }

 .contact_info p {
    color: #fff;
    text-align: center;
    width: 150px;
    height: 33px;
    background-color: none;
    border-radius: 40px;
    border: solid #fff 1px;
    margin-top: 0;
    margin-left: 30px;
    padding: 4px 5px;
 }

 .contact_info p::before {
    content: url("../img/mail_icon.png");
    padding-top: 1px;
    padding-right: 10px;
    transform: translateY(2px);
    display: inline-block;
 }


/* -----------------------footer-pc end -------------------- */
@media screen and (max-width:769px) {
.pc{
    display: none;
}
.sp{
    display: block;
}
/* -----------------------header-SP start -------------------- */

#header_cont_pc {
   padding-top: 0px;
   /* display: flex;
   justify-content: space-between;
   max-width: 1280px;
   margin: 0 auto; */
   padding-bottom: 0px;
}

#header_masamilogo_sp{
width: 70px;
}
#header_inner {
   padding-top: 20px;
   padding-left: 20px;
}
#header_inner_posi{
   background-color:transparent;
   box-shadow: none;
   }

 #fb_contact_area {
    justify-content: center;
 }
 #header_menu {
    word-wrap: break-word;
 }
 #header_menu ul {
   flex-wrap: wrap;
   padding-left: 0px;
   margin: 40px auto;
}
#copyright p{
text-align: center;
}
#header_menu ul p {
padding-left: 0px;
padding-right: 40px;
}

#header_cont_posi {
   width: 90%;
   color: purple;
}
}
/* -----------------------header-SP end -------------------- */
/* ---------------------- 第1階層 ヒーロー　start --------------------- */
 /* ----------------------- pc -----------------------   */

 #mainvisual {
   background-color: gray;
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   width: 100%;
   margin: 0 auto;
   height: 470px;
   position: relative;
   z-index: -1;
 }

.hero_ttl {
   font-family: 'noto sans jp', sans-serif;
   text-align: center;
   position: absolute;
   color: #fff;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 .hero_ttl > h1 {
   font-size: 4.2rem;
   font-family: "noto sans jp";
}
 
 .hero_ttl>figcaption {
   font-size: 2.2rem;
   font-family: "roboto";
   font-weight: 500;
 }

 /* ----------------------- sp -----------------------   */
 @media screen and (max-width:769px) {

 .hero_ttl{
width: 100%;
 }
 
 }
/* ---------------------- 第1階層 ヒーロー　end --------------------- */

/* -------------------- 第2階層 ヒーローpc　start -------------------- */
#ttl_area {
   background-color: rgb(228, 228, 228);
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   width: 100%;
   margin: 0 auto;
   height: 200px;
   position: relative;
 }

.ttl_secondary {
   font-family: 'noto sans jp', sans-serif;
   text-align: center;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 .ttl_secondary > h1 {
   font-size: 3rem;
}
 
 .ttl_secondary>figcaption {
   font-size: 2rem;
   margin-bottom: 10px;
 }

 /* ----------------------- sp -----------------------   */
 @media screen and (max-width:769px) {

 .ttl_secondary{
width: 100%;
 }
 .ttl_secondary > figcaption{
   font-size: 2rem;
 }
 
 .ttl_secondary > h1{
   font-size: 2.5rem;
 }
 
 }
/* -------------------- 第2階層 ヒーロー　end -------------------- */
/* -----------------------footer-sp start -------------------- */
@media screen and (max-width:769px) {
.footer_cont {
    display: block;
 }

 #fb_contact_area {
    justify-content: center;
 }

 #footer_menu {
    word-wrap: break-word;
 }
 #footer_menu ul {
   flex-wrap: wrap;
   padding-left: 0px;
   margin: 40px auto;
}

#copyright p{
text-align: center;
font-size: 1.2rem;
margin-top: 60px;
}

#footer_menu ul p {
padding-left: 0px;
padding-right: 40px;
}
}
/* -----------------------footer-sp end -------------------- */





/* --------------back_top_btn start--------------- */

html{
   scroll-behavior: smooth;
}
.gotop{
   display: block;
   width: 60px;
   height: 60px;
   box-sizing: border-box;
   background: #FFF;
   border: 1px solid #999;
   padding-top: 30px;
   text-align: center;
   letter-spacing: -1px;
   font-size: 85%;
   text-decoration: none;
   color: #333;
   opacity: 0.5;
   position: fixed;
   bottom: 20px;
   right: 20px;
   border-radius: 60px;
   z-index: 10;
}
.gotop::before{
   content: "";
   display: block;
   border-top: 2px solid #333;
   border-right: 2px solid #333;
   width: 25%;
   height: 25%;
   top: 45%;
   left: 0;
   right: 0;
   margin: auto;
   position: absolute;
   transform: rotate(-45deg);
}
.gotop:hover{
   opacity: 1;
}



@media(max-width:750px){
   .gotop{
       width: 40px;
       height: 40px;
       text-indent: -9999px;
       opacity: 1;
       border: none;
       background: none;
       bottom: 10px;
       right: 10px;
       z-index: 10;
   }

   .gotop {
      display: block;
      width: 45px;
      height: 45px;
      box-sizing: border-box;
      background: #FFF;
      border: 1px solid #999;
      padding-top: 30px;
      text-align: center;
      letter-spacing: -1px;
      font-size: 85%;
      text-decoration: none;
      color: #333;
      opacity: 0.5;
      position: fixed;
      bottom: 45px;
      right: 20px;
      z-index: 10;
  }
  
}
/* --------------back_top_btn end--------------- */
/* hamburger_menu------------------ */

@media screen and (max-width:769px) {

.pc{
   display: none;
}
.sp, #sp_nav {
   /* display: inline-block; */
   display: block;
}
/* h1 sp master */
h1{
   font-size: 2.5rem;
   /* color: red; */
}
.global-nav__item:first-child a {
   border-top: 1px solid #D1D1D1;
}

.global-nav {
   font-family: 'noto sans jp', sans-serif !important;
   position: fixed;
   right: -100%;
   top: 0;
   width: 100%;
   height: 100vh;
   padding-top: 40px;
   -webkit-transition: all .6s;
   transition: all .6s;
   z-index: 200;
   /* overflow-y: auto; */
   font-size: 14px;
}

.hamburger, .black_hamburger {
   position: absolute;
   right: 10px;
   top: 0;
   cursor: pointer;
   z-index: 300;
   opacity: 0.7;
   width: 54px;
   height: 54px;
}
.index_hamburger, .black_hamburger {
   position: absolute;
   right: 10px;
   top: 0;
   cursor: pointer;
   z-index: 300;
   opacity: 0.7;
   width: 54px;
   height: 54px;
}

.hamburger__line {
   position: absolute;
   left: 7px;
   width: 38px;
   height: 3px;
   background-color: #fff;
   -webkit-transition: all .6s;
   transition: all .6s;
   -moz-transition: all .6s;
   -ms-transition: all .6s;
   -o-transition: all .6s;
}
.black_hamburger .hamburger__line {
   background-color: #000;
}
.hamburger__line--1 {
   top: 19px;
}
.hamburger__line--2 {
   top: 27px;
}
.hamburger__line--3 {
   top: 35px;
}
.black-bg {
   position: fixed;
   left: 0;
   top: 0;
   width: 100%;
   height: 100vh;
   z-index: 100;
   background-color: #fff;
   opacity: 0;
   visibility: hidden;
   -webkit-transition: all .6s;
   transition: all .6s;
   cursor: pointer;
}
.nav-open .global-nav {
   right: 0;
}
.nav-open .black-bg {
   opacity: 0.9;
   visibility: visible;
}
.nav-open .hamburger__line--1 {
   -webkit-transform: rotate(45deg);
   transform: rotate(45deg);
   top: 20px;
   background-color: #000;
}
.nav-open .hamburger__line--2 {
   width: 0;
   left: 50%;
   background-color: #fff;
}
.nav-open .hamburger__line--3 {
   -webkit-transform: rotate(-45deg);
   transform: rotate(-45deg);
   top: 20px;
   background-color: #000;
   -moz-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   -o-transform: rotate(-45deg);
}

.global-nav__list {
   margin: 0;
   padding: 10% 0 0 0;
   list-style: none;
   width: 100%;
}
.global-nav__item a {
   display: block;
   padding: 2% 10%;
   border-bottom: 1px solid #D1D1D1;
   text-decoration: none;
   text-shadow: 0px 0px 4px #fff;
   color: #333333;
   font-size: 2rem;
   line-height: 1.3;
   position: relative;
}
.global-nav__item a::after {
   content: "";
   width: 10px;
   height: 10px;
   border-width: 1px 1px 0px 0px;
   border-bottom-style: initial;
   border-left-style: initial;
   border-bottom-color: initial;
   border-left-color: initial;
   border-image: initial;
   border-top-style: solid;
   border-top-color: #8B8B8B;
   border-right-style: solid;
   border-right-color: #8B8B8B;
   transform: rotate(45deg);
   position: absolute;
   top: 50%;
   /* right: 26vh; */
   right: 26px;
   margin-top: -7px;
}
}


