/* ===================================
html base style
=================================== */
html {
	font-size: 1.05vw;
	-webkit-text-size-adjust:100%;
}
@media screen and (max-width:1280px){
	html {
		font-size:1vw;
		-webkit-text-size-adjust:100%;
	}
}

@media screen and (max-width:991px){
	html {
		font-size: 1.5vw;
		-webkit-text-size-adjust:100%;
	}
}

@media screen and (max-width:540px){
	html {
		font-size: 3vw;
		-webkit-text-size-adjust:100%;
	}
}

body {
  font-family: "kozuka-mincho-pr6n", serif;
  	font-weight: 400;
    line-height: 2;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
    box-sizing: border-box;
	font-optical-sizing: auto;
  color: #1F1B1B;
}

@media screen and (max-width:540px) {
	body {
    font-family: "kozuka-mincho-pr6n", serif;
  	font-weight: 500;
		text-align:left;
		line-height: 2;
    letter-spacing: 1px;
		width: 100%;
		height: 100%;
		margin:0;
		padding:0;
		box-sizing: border-box;
		font-optical-sizing: auto;
    /* ステータスバーの下からコンテンツを開始させる */
    min-height: 100dvh; 
    padding-top: env(safe-area-inset-top);
	}
}



/*
* {
  border: 1px solid #f00;
}

.row>div {
  padding: 0;
}
*/

*:focus-visible {
  outline: none;
  box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  /*
  -webkit-text-fill-color: inherit !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  transition: background-color 9999s ease-in-out 0s;*/
  -webkit-text-fill-color: inherit;
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
  box-shadow: 0 0 0 1000px var(--input-bg) inset;
  caret-color: inherit;
  border: 1px solid var(--input-border);
  transition: background-color 9999s ease-in-out 0s;
}

  /* Safariかつ、セーフエリア指定がある場合のみ 
  @media screen and (max-width: 540px) {
    .is-safari .status-bar-bg {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 9999;
      background-color: #ffffff; 
      
      height: env(safe-area-inset-top);
      

      pointer-events: none; 
    }
  }
*/



html{
    scroll-behavior: smooth;
}
.container-fluid {
	padding: 0;
}
.padding00 {
  padding: 0;
}
ul {
    list-style: none;
}

a {
  font-family: "Noto Sans JP", sans-serif;
    color: #1F1B1B;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-size: 1rem;
    font-weight: 400;
}
a:hover {
    color: #1F1B1B;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

h1 {
	font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
}

h2 {
	font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
}
h3 {
	font-size: 1.5rem;
}
p {
	margin-bottom: 0;
	/*font-size: 0.9rem;*/
  font-size: 1rem;
}
p.subtitle_p {
  font-size: 2.9rem;
  letter-spacing: -7px;
}
th,td {
  font-size: 1rem;
}
dt,dd {
    font-size: 1rem;
}
li {
  font-size: 1rem;
}
.big_font {
  font-size: 2.3rem;
  line-height: 1.3;
}
figcaption {
  margin-top: 0.2rem;
}
.c_bu {
  color: #004988;
}


@media screen and (max-width:1280px) {
  p {
    margin-bottom: 0;
    font-size: 1rem;
  }
  a {
    font-size: 1rem;
  }
  li {
    font-size: 1rem;
  }
  th,td {
    font-size: 1rem;
  }
}

@media screen and (max-width:991px) {
    h2 {
        font-size: 2.3rem;
        font-weight: 500;
    }
    h3 {
        font-size: 1.8rem;
    }
    p.subtitle_p {
        font-size: 2.5rem;
        letter-spacing: -3px;
    }
    p {
        margin-bottom: 0;
        font-size: 1.3rem;
        text-align: justify;
    }
    dt,dd {
        font-size: 1.3rem;
    }
    .big_font {
        font-size: 2rem;
        line-height: 1.3;
        }
    a {
        font-size: 1.3rem;
    }
    li {
        font-size: 1.3rem;
    }
    th,td {
        font-size: 1.3rem;
    }
}

@media screen and (max-width:540px) {
    h2 {
        font-size: 2.3rem;
        font-weight: 500;
    }
    h3 {
        font-size: 1.8rem;
    }
    p.subtitle_p {
        font-size: 2.2rem;
    }
    p {
        margin-bottom: 0;
        font-size: 1.3rem;
        text-align: justify;
    }
    dt,dd {
        font-size: 1.3rem;
    }
    .big_font {
        font-size: 2rem;
        line-height: 1.5;
        }
    a {
        font-size: 1.3rem;
    }
    li {
        font-size: 1.3rem;
    }
    th,td {
        font-size: 1.3rem;
    }
}



/** google font **/

.kozuka {
  font-family: "kozuka-mincho-pr6n", serif;
  font-weight: 400; /**200,300,400,500,700,900**/
  font-style: normal; 
}
.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}
.cormorant {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
}
.din{
font-family: "din-condensed", sans-serif;
font-weight: 400;
font-style: normal;
}
/** google font **/


img {
	width: 100%;
  height: auto;
  align-self: flex-start;
}
.img_radius {
  border-radius: 10px;
}
.img_shadow {
  box-shadow: 0px 3px 6px #868686;
}
.title_img_zone {
  box-shadow: none !important;
}
.bg_color {
  background-color: #F6F6F6;
  padding-top: 3.5rem;
}
iframe {
  border-radius: 10px;
}
table {
  width: 100%;
}
table tr {
  font-size: 0.9rem;
}
@media screen and (max-width:1080px) {

}

@media screen and (max-width:991px) {

}

@media screen and (max-width:540px) {

}



.wrap {
	margin: auto;
}
.margin_200 {
  margin: auto;
  margin-top: 10rem;
}
.margin_150 {
  margin-top: 7.5rem;
}
.margin_100 {
    margin-top: 5rem;
}
.margin_50 {
    margin: auto;
    margin-top: 2.5rem;
}



@media screen and (max-width:991px) {
  .res_inner_margin{
    margin-top: 2.5rem !important;
  }
  .margin_200 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_150 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_100 {
    margin: auto;
    margin-top: 3rem;
  }
}


@media screen and (max-width:540px) {
  .margin_200 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_150 {
    margin: auto;
    margin-top: 5rem;
  }
  .margin_100 {
    margin: auto;
    margin-top: 3rem;
  }
}



/**reponsive**/
.res_991 {
	display: none !important;
}
.res_540 {
	display: none !important;
}
.res_1280 {
	display: none !important;
}
.tab_991 {
  display: none !important;
}
@media screen and (max-width:1280px) {
	.pc_1280 {
		display: none !important;
	}
	.res_1280 {
		display: block !important;
	}
}
@media screen and (max-width:991px) {
  .tab_991 {
    display: block !important;
  }
	.pc_991 {
		display: none !important;
	}
	.res_991 {
		display: block !important;
	}
	
}
@media screen and (max-width:540px) {
  .tab_991 {
    display: none !important;
  }
	.pc_540 {
		display: none !important;
	}
	.res_540 {
		display: block !important;
	}
	.res_padding_top {
        padding-top: 40px !important;
    }
    .res_margin00 {
        margin-top: 0 !important;
    }
}
























/**=================
header
==================**/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255,255,255,1) 15%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0));
}
header nav {
  display: flex;
  justify-content: space-between;

}
.navbar-brand {
 /*position: fixed;
  top: 1.5rem;
  left: 3.5rem;*/
  margin-left:2rem;
  width:9.5rem;
  height: auto;
  padding:0.7rem 0;
  /*z-index: 1;*/
  z-index: 99999999999999;
}
header .navbar-collapse {
  justify-content: flex-end;
  margin-right: 8rem;
}
.hover-border li {
  padding: 0 1rem;
}
.hover-border li a{
	position: relative;
  color:#4E4E4E;
  font-size: 0.8rem;
  padding:0 !important;
  display: inline-block;
  background-image: linear-gradient(90deg, #0481A2 50%, #4E4E4E 50%);
  background-size: 200% 100%;
  background-position: right center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position .3s ease, color .3s ease;
}

.hover-border li.current a,
.hover-border li a:hover{
	color:#0481A2;
  font-size: 0.8rem;
  background-position: left center;
}

.hover-border li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left:0;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background:#0481A2;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

/*現在地とhoverの設定*/
.hover-border li.current a::after,
.hover-border li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}









/**=================
contact
==================**/
.footer_bgimg {
    background-image: url("../img/footer_bgimg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    padding-top: 7.5rem;
}
img.deco_border {
    width: 8.5rem;
    height: auto;
}
/*
.section_title p {
    font-size: 1.2rem;
}
    */
.contact_wrap .section_title p.en_title::after {
    left:5rem;
}
.contact_wrap .link_zone {
    /*margin: 6rem auto 0;
    min-height: 28rem;*/
    position: relative;
}
.contact_wrap .link_zone .tel_zone small {
    display: block;
    font-size: 1.2rem;
}
.contact_wrap .contact_link {
    background-image: url("../img/deco_border.png");
    background-repeat: no-repeat;
    background-size: 9rem auto;
    background-position: top left;
    padding-left: 4rem;
    padding-top: 4rem;
    position: absolute;
    width: fit-content;
    max-width: 100%;
}
.contact_wrap .link_zone div.tel_zone {
    /*top: 0;*/
    top: -3rem;
    left: 0;
}
.contact_wrap .link_zone div.form_zone {
    right: 4.5rem;
    bottom: 0;
}
.contact_wrap .link_zone p {
    color: #1F1B1B;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.96;
}
.contact_wrap .link_zone a {
    display: inline-block;
    font-size: 5rem;
    line-height: 0.95;
    letter-spacing: 0;
    margin-top: 0.5rem;
    white-space: nowrap;
    letter-spacing: -3px;
}
.contact_wrap .link_zone a:hover {
    color: #004988;
}
.contact_wrap .link_zone a:hover span::before {
    right: -3.5rem;
    transition: 0.5s;
}
.bu_arrow {
    position: relative;
}
.bu_arrow::before {
    content: "";
    position: absolute;
    top: 25%;
    right: -2.5rem;
    width: 0;
    height: 0;
    border-top: .6rem solid transparent;
    border-bottom: .6rem solid transparent;
    border-left: 1.2rem solid #004988;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}


@media screen and (max-width:991px) {
    .footer_bgimg {
        background-image: url("../img/footer_bgimg.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top;
        padding-top: 0rem;
        margin-top: 5rem;
    }
    .contact_wrap  {
        padding-bottom: 5rem;
    }
    #index .contact_wrap .section_title .en_title {
        position: relative;
        margin-bottom: 2.5rem;
    }
    #index .contact_wrap .section_title p.en_title::after {
        left:6.5rem;
    }
    #index .contact_wrap .section_title .en_title::after {
        position: absolute;
        content: "";
        left: 7rem;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 78%;
        height: 1px;
        background-color: #004988;
    }
    .contact_wrap .link_zone {
        min-height: initial;
    }
    .contact_wrap .contact_link {
        position: relative;
        width: 100%;
    }
    .contact_wrap .link_zone div.form_zone {
        margin-top: 4rem;
    }



    .contact_wrap .link_zone {
        margin-top: 2.5rem;
        position: relative;
        padding-bottom: 0rem;
    }
    .contact_wrap .link_zone::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 95%;
        height: 1px;
        border-top: 1px dashed #707070;
    }
    .contact_wrap .link_zone::after {
        position: absolute;
        content: "";
        top: 16%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 95%;
        height: 1px;
        border-top: 1px dashed #707070;
    }

    .contact_wrap .contact_link {
        background-image: initial;
        padding-left: 0rem;
        padding-top: 2.5rem;
        position: initial;
        width: fit-content;
        max-width: 100%;
        margin: auto;
        margin-left: 17%;
    }
    .contact_wrap .link_zone a {
        display: inline-block;
        font-size: 2rem;
        font-size: 4rem;
        line-height: 0.95;
        letter-spacing: 0;
        margin-top: 0.5rem;
        white-space: nowrap;
    }

    .contact_wrap .contact_link.tel_zone {
        padding-bottom: 2.5rem;
    }
    .contact_wrap .link_zone div.form_zone {
        margin-top: 0rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .contact_wrap .link_zone .tel_zone small {
        display: block;
        font-size: 1.2rem;
        line-height: 1.5;
    }
}

@media screen and (max-width:540px) {
    .contact_wrap .link_zone {
        margin-top: 4rem;
    }
    /*
    .contact_wrap .contact_link {
        background-size: 10rem auto;
        padding-left: 3.2rem;
        padding-top: 3rem;
    }*/
    .contact_wrap .link_zone p {
        font-size: 1.3rem;
    }
    .contact_wrap .link_zone a {
        font-size: 4.2rem;
        white-space: normal;
    }
    .bu_arrow::before {
        right: -2.4rem;
        /*border-top-width: 0.8rem;
        border-bottom-width: 0.8rem;
        border-left-width: 1.5rem;*/
        right: -2.4rem;
        border-top-width: 0.6rem;
        border-bottom-width: 0.6rem;
        border-left-width: 1.2rem;
    }
    .contact_wrap .contact_link {
        background-image: initial;
        padding-left: 0rem;
        padding-top: 2.5rem;
        position: initial;
        width: fit-content;
        max-width: 100%;
        margin: auto;
        margin-left: 13%;
    }
}

/**=================
last_comment
==================**/
.last_comment {
    position: relative;
    padding-top: 7.5rem;
}
.last_comment::before {
    position: absolute;
    content: "";
    border-top: 1px solid #3A3A3A;
    width: 98%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.last_comment>div {
    margin: auto;
}
.last_comment__image {
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    line-height: 0;
    overflow: hidden;
}
.last_comment__image img {
    aspect-ratio: 997 / 282;
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}


.last_comment__lead {
    line-height: 1.5;
    font-size: 1.5rem;
}
.last_comment__sub {
    /*
    font-size: 1.1rem;*/
    line-height: 1.8;
}

@media screen and (max-width:991px) {
    .last_comment {
        padding-top: 5rem;
        padding-bottom: 0rem;
        margin-top: 0;
    }
    .last_comment::before {
        position: absolute;
        content: "";
        border-top: 1px dashed #3A3A3A;
        width: 95%;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .last_comment__text {
        margin-top: 2.8rem;
    }
    .last_comment__lead {
        font-size: 2rem;
    }
    .last_comment__image img {
        aspect-ratio: initial;
        display: block;
        height:auto;
        object-fit: cover;
        object-position: center;
        width: 100%;
    }
    #compliance .last_comment {
        margin-top: 5rem;
    }
}
@media screen and (max-width:540px) {
    .last_comment__image img {
        aspect-ratio: 16 / 8;
    }
    .last_comment__lead {
        font-size: 2.0rem;
    }
    .last_comment__sub {
        font-size: 1.4rem;
    }
}





/**=================
about_contents__card
==================**/
.about_contents__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.about_contents__card {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 13rem;
    overflow: hidden;
    position: relative;
}
.about_contents__card img {
    filter: brightness(1);
    transition: 0.5s;
}
.about_contents__card:hover img {
    filter: brightness(0.8);
    transition: 0.5s;
}

.about_contents__card .text_zone  {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    line-height: 1.5;
}
.about_contents__card p,
.about_contents__card span {
    color: #fff;
    line-height: 1.5;
}

.about_contents__card p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 6px #707070;
}
@media screen and (max-width:991px) {
    .about_contents__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
   .about_contents__card {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 10px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: initial;
        overflow: hidden;
        position: relative;
    }
    .about_contents__card .text_zone  {
        display: inline-table;
        width: 80%;
        position: absolute;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        line-height: 1.5;
    }
}





/**=================
footer
==================**/
.split {
    break-before: column;
}
.footer_site {
  padding-bottom:3.2rem;
}
.footer_site > .footer_info {
  display: none;
}
.footer_site__inner {
  border-top: 1px solid #3A3A3A;
  align-items: flex-start;
  display: grid;
  grid-template-columns: 1.28fr 1.85fr 1fr;
  gap: 4.6rem;
  margin: 0 auto;
  max-width: 100%;
  padding: 3.5rem 0 2.5rem 0;
}
.footer_site__logo {
  margin-bottom: 3.4rem;
}
.footer_site__logo img {
  width: 19rem;
  height: auto;
}
.footer_site__address {
  font-size: 0.9rem;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 0;
}
.footer_site__address span {
  display: block;
  letter-spacing: 0.03em;
}
.footer_site__nav {
  display: grid;
  gap: 4.4rem;
  grid-template-columns: 1fr 1.2fr;
  /*padding-top: 0.5rem;*/
}
.footer_site__nav ul {
  margin: 0;
  padding: 0;
}
/*
.footer_site__nav li + li {
  margin-top: 0.5rem;
}
  */
.footer_site__nav a,
.footer_site__group p,
.footer_site__corp-link,
.footer_site__copy p {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.footer_site__nav a {
    display: inline-block;
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 500;
}
.footer_site__group {
  align-self: end;
  padding-bottom: 1.4rem;
}
.footer_site__group p.sumihei_logo {
  width: 6rem;
  height: auto;
  margin: auto;
  margin-bottom: 1rem;
}
.footer_site__group-label {
  font-size: 0.7rem;
  line-height: 1.2;
}
.footer_site__group-name {
  font-size: 1rem;
  line-height: 1.3;
  margin-top: 0.35rem;
}
.footer_site__corp-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.6rem;
  gap: 0.65rem;
  margin-top: 1rem;
  font-weight: 500;
}

span.pdf_icon {
  border: 1px solid #1F1B1B;
  display: inline-block;
  height: 0.5rem;
  position: relative;
  width: 1rem;
}
span.pdf_icon::after {
  border-right: 1px solid #1F1B1B;
  border-top: 1px solid #1F1B1B;
  content: "";
  height: 0.5rem;
  position: absolute;
  right: -0.25rem;
  top: -0.25rem;
  width: 1rem;
}
.footer_site__copy {
  border-top: 1px solid #3A3A3A;
  padding-top: 3.2rem;
  text-align: center;
}
.footer_site__copy p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.split {
  break-before: column;
}
footer:not(.footer_site) {
    background-image: url('../img/footer_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}






@media screen and (max-width:1280px) {
    footer .footer_link_zone ul{
        margin-bottom: 0;
        padding-left: 1.5rem;
    }
    footer .footer_link_zone ul a {
        letter-spacing: 0;
        font-size: 1rem;
    }
    footer .footer_link_zone a.ul_title {
        font-weight: bold;
        font-size: 1.1rem;
    }
}



@media screen and (max-width:991px) {

    footer:not(.footer_site) {
        background-image: url('../img/footer_bg_res.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .footer_site {
        margin-top: 5rem;
        padding: 0;
    }
    .footer_site__inner {
        position: relative;
        border-top: none;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 10px;
    }
    .footer_site__inner::before {
        position: absolute;
        content: "";
        border-top: 1px solid #707070;
        width: 95%;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .footer_site__logo {
        margin-bottom: 3rem;
    }
    .footer_site__logo img {
        width: 19rem;
    }
    .footer_site__address {
        font-size: 1rem;
        font-weight: 500;
        font-family: "Noto Sans JP", sans-serif;
        font-style: normal;
        line-height: 1.9;
        margin-bottom: 0;
    }
    .footer_site__nav {
        display: grid;
        grid-template-columns: 0.8fr 1fr;
        gap: 1.6rem;
    }
    
    .footer_site__group.res_991 {
        display: flex !important;
        justify-content: center;
        margin: auto;
    }
    .footer_site__group>div {
        margin: auto;
        margin-left: 2rem;
        text-align: left;
    }
    .footer_site__group p.sumihei_logo {
        margin: initial;
    }
    .footer_site__copy {
        border-top: none;
        padding: 3rem;
        display: grid;
        position: relative;
    }
    
    .footer_site__copy::before {
        position: absolute;
        content: "";
        border-top: 1px solid #707070;
        width: 95%;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .footer_site__copy p {
        font-size: 0.9rem;
        letter-spacing: 0.12em;
    }
    .footer_site__corp-link {
        align-items: center;
        display: inline-flex;
        font-size: 1rem;
        gap: 0.65rem;
        margin-top: 0.5rem;
    }
    .footer_site__nav a {
        display: inline-block;
        line-height: 1.5;
        font-size: 1rem;
    }
    .footer_site__nav li + li {
        margin-top: 0rem;
    }
    .footer_site__copy p.footer_site__group-name {
        font-size: 1.1rem;
    }
    #copyright {
        text-align: center;
        font-size: 1rem;
    }

}

@media screen and (max-width:540px) {
    .footer_site__inner {
        padding-inline: 10px;
    }
    footer .accordion-area .other .sns_zone img {
        width: 3.2rem;
    }
    .footer_site {
        margin-top: 5rem;
        padding: 0rem 0 3rem;
    }

    .footer_site__copy {
        border-top: none;
        padding: 3rem 1rem;
        display: grid;
        position: relative;
    }
    .footer_site__copy p {
        /*font-size: 1.1rem;*/
        letter-spacing: 0.12em;
    }
    .footer_site__copy p.footer_site__group-name {
        font-size: 1.1rem;
    }
    .footer_site__nav {
        display: grid;
        gap: 2.5rem;
        grid-template-columns: 0.8fr 1.2fr;
        /* padding-top: 0.5rem; */
    }
}


/* ===================================
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #447AB1;
    position: fixed;
    right: 2.5rem;
    top: 2.5rem;
    /*width: 50px;
    height: 40px;*/
    cursor: pointer;
    z-index: 300;
    padding: 1rem 1rem;
}
.hamburger:hover {
    position: fixed;
    right: 2.5rem;
    top: 2.5rem;
    /*width: 50px;
    height: 40px;*/
    cursor: pointer;
    z-index: 300;
}
.hamburger p {
    font-weight: 400;
    font-size: 1rem;
    color: #fff;
    line-height: 1;
}

.menu_border {
    position: relative;
    width: 1.5rem;
   /*height: 3rem;*/
}
.hamburger__line {
  position: absolute;
  width: 1rem;
  height: 1.5px;
  right: 0px;
  transition: all 0.5s;
  z-index: 1;
  background: #fff;
}

.hamburger__line--1 {
  top: 0.2rem;
}

.hamburger__line--2 {
  top: 0.7rem;
}

.hamburger__line--3 {
  top: 0.6rem;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 0.35rem;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 0.35rem;
}
.sp-nav {
  position: fixed;
  right: -100%;
  top: 0;
  width: 45%;
  height: 100vh;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
}
.sp-nav .logo_zone {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.sp-nav .logo_zone p {
  width: 6rem;
}
.sp-nav p.link_title {
  font-weight: 700;
}
@media screen and (max-width:1440px) {
    .hamburger {
        position: fixed;
        right: 1.5rem;
        top: 1.5rem;
        /*width: 50px;
        height: 40px;*/
        cursor: pointer;
        z-index: 300;
    }
    .hamburger:hover {
        display: flex;
        position: fixed;
        right: 1.5rem;
        top: 1.5rem;
        /*width: 50px;
        height: 40px;*/
        cursor: pointer;
        z-index: 300;
    }
}
@media screen and (max-width:991px) {
    .hamburger {
        display: none;
    }
}
@media screen and (max-width:540px) {
    .hamburger {
        display:block;
    }

}

.open .sp-nav {
  right: 0;
  display: block;
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
}

.open .black-bg {
  opacity: 0.5;
  visibility: visible;
}

body.is-sp-menu-open {
  left: 0;
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.open .sp-nav ul {
    margin: auto;
    padding-left: 0;
}
/* responsive hamburger menu */
#nav-wrapper {
    position: relative;
}
.sp-menu {
    box-sizing: border-box;
    color: #1f1b1b;
    margin: 0 auto;
    /*max-width: 760px;
    padding: 10rem 7.5% 10rem;*/
    width: 100%;
    background-color: #D0EEFD;

    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    padding: 0 7.5%;

}
.sp-menu a {
    color: inherit;
    text-decoration: none;
}
.sp-menu__logo {
  margin: 0 0 3.6rem;
  width: 15rem;
}
.sp-menu__pickup {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 3rem;
}
.sp-menu__label {
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.sp-menu__card {
  align-items: center;
  box-sizing: border-box;
  color: #fff !important;
  display: flex !important;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.5;
  /*min-height: 7.4rem;*/
  padding: 1.1rem 1.5rem;
  width: 100%;
}
.sp-menu__card + .sp-menu__card {
  margin-top: 1.2rem;
}
.sp-menu__card span,
.sp-menu__contact-btn span,
.sp-menu__links a span {
  display: inline-block;
  flex: 0 0 auto;
  height: 0;
  margin-left: 0.75rem;
  width: 0;
}
.sp-menu__card span,
.sp-menu__contact-btn span {
  border-bottom: 0.42rem solid transparent;
  border-left: 0.72rem solid #fff;
  border-top: 0.42rem solid transparent;
}
.sp-menu__card--consult { background: #004988; transition: 0.5s; }
.sp-menu__card--inheritance { background: #0b74c8; transition: 0.5s;}
.sp-menu__card--branch { background: #c9d000; transition: 0.5s;}
.sp-menu__card--dial { background: #7b0000; transition: 0.5s;}
.sp-menu__card--consult:hover { background: #003563; transition: 0.5s;}
.sp-menu__card--inheritance:hover { background: #054e89; transition: 0.5s;}
.sp-menu__card--branch:hover { background: #989d00; transition: 0.5s;}
.sp-menu__card--dial:hover { background: #500000; transition: 0.5s;}
.sp-menu__links {
  border-top: 1px dashed rgba(31, 27, 27, 0.56);
  margin-bottom: 1.4rem;
}
.sp-menu__links a {
  align-items: center;
  border-bottom: 1px dashed rgba(31, 27, 27, 0.56);
  display: flex !important;
  font-weight: 600;
  justify-content: space-between;
  line-height: 1.45;
  padding: 1.15rem 1rem 1.15rem 0;
  width: 100%;
  font-size: 1rem;
}
.sp-menu__links a span {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}
.sp-menu__links a span::before {
  border-bottom: 0.34rem solid transparent;
  border-left: 0.54rem solid #005595;
  border-top: 0.34rem solid transparent;
  content: "";
  display: block;
  margin-left: 0.14rem;
}
.sp-menu__links-child {
  padding-left: 0.45rem !important;
}
.sp-menu__contact-title {
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1.3rem;
}
.sp-menu__contact-btn {
  align-items: center;
  box-sizing: border-box;
  color: #fff !important;
  display: flex !important;
  font-weight: 600;
  justify-content: center;
  line-height: 1.5;
  padding: 1.1rem 1.5rem;
  width: 61.5%;
}
.sp-menu__contact-btn + .sp-menu__contact-btn {
  margin-top: 1rem;
}
.sp-menu__contact-btn--tel { background: #467fb6; }
.sp-menu__contact-btn--mail { background: #ffab31; }

@media screen and (max-width:991px) {
    .sp-nav {
        right: -100%;
    }
    .open .sp-nav a {
        color: inherit;
    }
    .sp-menu__label {
        line-height: 1.5;
        font-weight: 600;
        margin: 0 0 0.8rem;
        font-size: 0.8rem;
    }
    .sp-menu__contact-title {
        font-weight: 600;
        line-height: 1.5;
        margin: 0 0 1.3rem;
        font-size: 1rem;
    }
    .sp-menu a {
       font-size: 0.9rem;
    }
    .sp-menu__card {
        align-items: center;
        box-sizing: border-box;
        color: #fff !important;
        display: flex !important;
        font-weight: 600;
        justify-content: space-between;
        line-height: 1.5;
        /*min-height: 7.4rem;*/
        padding: 1.1rem;
        width: 100%;
    }

}

@media screen and (max-width:540px) {
     .sp-menu a {
       font-size: 1.2rem;
    }
   .sp-menu__label {
        line-height: 1.5;
        font-weight: 600;
        margin: 0 0 0.8rem;
    }
    .sp-menu__contact-title {
        font-weight: 600;
        line-height: 1.5;
        margin: 0 0 1.3rem;
        font-size: 1.2rem;
    }
    .sp-menu {
        box-sizing: border-box;
        color: #1f1b1b;
        margin: 0 auto;
        max-width: 760px;
        padding: 3rem 5.5% 20rem;
        width: 100%;
        background-color: #D0EEFD;
    }
    .sp-menu__pickup {
        /*display: grid;
        gap: 1rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 3rem;*/
        display: block;
    }
    .sp-menu .sp-menu__pickup-group:nth-child(4) {
        margin-top: 1rem;
    }
    .sp-menu__card + .sp-menu__card {
        margin-top: 0.8rem;
    }
    .sp-menu__label {
        line-height: 1.5;
        font-weight: 600;
        margin: 0 0 0.8rem;
        font-size: 1.2rem;
    }

}




.space{
  height: 100vh;
}

/*text animetions*/
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}



/**=============
width 991px 
==============**/

.sp-nav {
    display: block;
    position: fixed;
    right: -100%;
    top: 0;
    width: 45.5%;
    height: 100vh;
    transition: all 0.5s;
    z-index: 200;
    overflow-y: auto;
    background-color: #D0EEFD;
}
@media screen and (max-width:991px) {
    .navbar-brand {
        display: inline-block;
        width: 14rem;
        height: auto;
        margin-left: 1rem;
        padding: 0;
        padding-top: 1.8rem;
    }
    .sp-nav {
        right: 0;
    }
    .wrap {
        /*margin-left: 5px;*/
        margin-left: 19px;
    }
}

@media screen and (max-width:540px) {
    .wrap {
        margin-left: auto;
    }
      .sp-nav {
        padding-top: 3rem;
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        transition: all 0.5s;
        z-index: 200;
        background-color: #D0EEFD;
        /*overflow-y: auto;
        background-image: url(../img/h-menu_bg_img_res.jpg);
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;*/
    }
      .open .sp-nav {
      right: 0;
      display: block;
}
        #js-hamburger {
        display: flex;
        position: fixed;
        z-index: 210;
    }
}




/**=================
fixed menu
==================**/
.fixed_menu {
  position: fixed;
  right: 0;
  top: 7.2rem;
  width: 7.1rem;
  z-index: 50;
}
.fixed_menu p.fix_title {
  background-color: #fff;
  font-size: 0.8rem;
  text-align: left;
  padding: 0.3rem 0.5rem  0.3rem 1rem;
  font-weight: 600;
}
.fixed_menu__item {
  color: #fff;
  display: block;
  letter-spacing: 0;
  line-height: 1.3;
  padding: 0.66rem 1rem;
  position: relative;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
}
/*
.fixed_menu__item:hover {
  color: #fff;
  opacity: 0.88;
}
  */
.fixed_menu__item + .fixed_menu__item {
  border-top: 1px dashed #fff;
}
.fixed_menu__item span,
.fixed_menu__item strong {
  display: block;
  font-size: 0.8rem;
}
.fixed_menu__item span {
  font-weight: 600;
}

.fixed_menu__item--consult {
    background: #004988;
    transition: 0.5s;
}
.fixed_menu__item--inheritance {
   background: #066FC9;
}
.fixed_menu__item--consult:hover {
    color: #fff;
    background: #003360;
    transition: 0.5s;
}
.fixed_menu__item--consult:first-child span {
  margin-bottom: 0.55rem;
}
.fixed_menu__item--emergency {
    background: #fff;
    color: #8b0000;
    line-height: 1.3;
    padding: 0.3rem;
}
.fixed_menu__item--emergency span{
    font-size: 0.6rem;
}
.fixed_menu__item--branch {
    background: #C9C906;
    transition: 0.5s;
}
.fixed_menu__item--dial {
    background: #710000;
    transition: 0.5s;
}
.fixed_menu__item--branch:hover {
    color: #fff;
    background: #969603;
    transition: 0.5s;
}
.fixed_menu__item--dial:hover {
    color: #fff;
    background: #4c0000;
    transition: 0.5s;
}

@media screen and (max-width:1280px) {
    .fixed_menu {
        position: fixed;
        right: 0;
        top: 7.2rem;
        width: 8.3rem;
        z-index: 50;
    }
}

@media screen and (max-width:991px) {
    .fixed_menu {
        display: none !important;
    }
    .res_fixed_menu {
        position: fixed !important;
        top: 1.5rem;
        right: 9rem;
        background-color: #710000;
        padding: 1rem;
        line-height: 1;
        z-index: 10;
    }
    .res_fixed_menu a {
        color: #fff;
        font-size: 1rem;
    }
    
}

@media screen and (max-width:540px) {
    .res_fixed_down {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex !important;
        width: 100%;
        gap: 0;
        z-index: 20;
    }
    .res_fixed_down a {
        flex: 1 1 0;
        min-width: 0;
        width: 50%;
        padding: 0.8rem;
        color: #fff;
        text-align: center;
        font-size: 1rem;
        box-sizing: border-box;
        font-weight: 500;
    }
    .res_fixed_down a span {
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        height: 2.1rem;
        justify-content: center;
        width: 2.1rem;
    }
    .res_fixed_down a span::before {
        border-bottom: 0.34rem solid transparent;
        border-left: 0.54rem solid #fff;
        border-top: 0.34rem solid transparent;
        content: "";
        display: block;
        margin-left: 0.14rem;
    }
    .res_fixed_down a.tel_btn {
        background-color: #447AB1;
    }
    .res_fixed_down a.mail_btn {
        background-color: #FFAB38;
    }
}



.group_flex {
    display: flex;
}
@media screen and (max-width:991px) {
    .group_flex {
        display: flex;
        flex-direction: column;
    }
}
