
/*　H1ロゴ上書き　*/

.nav-brand {
    display: flex;
}
.nav-brand > img {
    position: relative;
    display: block; 
    width: 2rem;
     top: 0; 
}
.nav-brand > h1 {
    display: inline;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: normal;
    font-feature-settings: "palt";
    letter-spacing: -1px;
    line-height: 2rem;
}

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

.nav-brand {
    display: flex;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
}
.nav-brand > img {
    position: relative;
    display: block; 
    width: 32px !important;
     top: 0; 
}
.nav-brand > h1 {
    display: inline;
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px !important;
    font-weight: normal;
    font-feature-settings: "palt";
    letter-spacing: -1px;
    line-height: 2rem;
}
}


/*　HEADER　*/

nav{
height: 70px;
}
.header_top_button{
position: absolute;
right: 0;
display: grid;
place-items: center; 
grid-template-columns: 1fr 170px 180px;
}
.header_top_catch{
display: inline-block;
font-size: 85%;
margin-right: 8px;
font-weight: bold;
}
.btn_web{
width: 160px;
font-size: 110%;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
background: #fff;
border-radius: 8px;
}
.btn_web a > div{
display: flex;
justify-content: space-between;
align-items: center;
height: 42px;
padding: 0 6px;
font-weight: bold;
}
.btn_web a{
border: solid 2px #000;
text-decoration: none;
display: block;
border-radius: 8px;
transition: 0.3s;
height: 46px;
}
.btn_web img{
width: 1.5em;
}
.btn_web img.arrow{
width: 0.4em;
}
.btn_web a:hover{
opacity: 0.7;
}
.btn_line{
width: 160px;
text-align: center;
line-height: 1.25;
font-size: 100%;
color: #fff;
border-radius: 8px;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
}
.btn_line a > div{
display: flex;
justify-content: center;
align-items: center;
height: 46px;
font-weight: bold;
line-height: 1.1;
}
.btn_line a{
background: #1cba15;
color: #fff;
text-decoration: none;
display: block;
border-radius: 8px;
transition: 0.3s;
height: 46px;
}
.btn_line img{
width: 2.2em;
padding-right: 5px;
box-sizing: content-box;
}
.btn_line a:hover{
color: #fff;
opacity: 0.7;
}


#globalmenu{
background: #f0fbf7;
color: #0f3662;
padding: 15px 0;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
z-index: 10;
position:-webkit-sticky; 
position:sticky; 
top:0;
}
ul.gmenu{
display: flex;
flex-wrap: nowrap;
justify-content:center;
}
ul.gmenu li {
margin-right: 1em;
font-weight: bold;
}
ul.gmenu li::after {
content: "│";
margin-left: 1em;
}
ul.gmenu li:last-child::after {
content: "";
}
ul.gmenu li a{
color: #0f3662;
text-decoration: none;
transition: 0.3s;
}
ul.gmenu li a:hover{
opacity: 0.7;
}
ul.gmenu li.menu_parent {
cursor: pointer;
}
.gnavi_tri{
font-size: 70%;
}
.menu_parent > a {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.menu_parent > a::after {
  content: "▼";
  font-size: 65%;
  opacity: 0.7;
  padding-left: 0.5em;
  line-height: 1;
   display: inline-block;
  transform: translateY(2px); 
}

.menu_sub{
display: none;
position: absolute;
width: fit-content;
background: #f0fbf7;
margin-left: -1em;
top: 54px;
}
ul.gmenu .menu_sub li{
color: #0f3662;
border-top: solid 1px #fff;
margin-right: 0;
}
ul.gmenu .menu_sub li::after {
content: "";
margin-left: 0;
}
ul.gmenu li .menu_sub a{
padding: 0.5em 1em;
display: block;
background: #f0fbf7;
color: #0f3662;
text-decoration: none;
transition: 0.3s;
}
ul.gmenu li .menu_sub a:hover{
display: block;
background: #d8ece5;
color: #0f3662;
opacity: 1;
}



/*
MODAL MENU
-----------------------------------------------------*/

#all_wrap{
position: relative;
width: 100%;
}

#modalmenu{
display: none;
z-index: 50;
background: #f9fbfd;
width: 100%;
min-height: 100vh;
position: absolute;
top: 0;
padding:0 0 20px;
color: #529289;
}
.modalmenu_top{
background: #fff;
width: 100%;
height: 60px;
margin-bottom: 50px;
position: fixed;
z-index: 20;
}
.modal_logo {
height: 60px;
display: flex;
position: absolute;
top: 0;
left:0.75rem;
}
.modal_logo > img {
    position: relative;
    display: block; 
    width: 2rem;
     top: 0; 
}
.modal_logo > h1 {
    margin-left: 5px;
    margin-top: 0.85em;
    font-size: 1rem;
    font-weight: normal;
    font-feature-settings: "palt";
    letter-spacing: -1px;
    line-height: 2rem;
	color: rgba(0,0,0,0.9);
}
.modal_contents{
padding-top: 90px;
 width: 80%;
 max-width: 400px;
 margin: auto;
}
.modal_contents a{
text-decoration: none;
}

.mounjaro_banner{
position: relative;
background: #fff;
border-radius: 10px;
padding: 15px;
text-align: left;
border: #529289 solid 1px;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
 text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.mounjaro_banner h3{
font-size: 30px;
padding-left: 10px;
}
.mounjaro_banner h3::after{
position: absolute;
content: "＞";
font-weight: normal;
left: 52%;
  transform: translateX(-50%);
}
@media screen and (max-width:500px){
.mounjaro_banner h3{
font-size: 1.8em;
padding-left: 5px;
}
}

.mounjaro_banner p{
font-size: 100%;
text-align: center;
}
.mounjaro_banner a{
display: block;
text-decoration: none;
}
/*
.mounjaro_btn{
position: absolute;
width: 36%;
text-align: center;
top: 17px;
right: 20px;
background: #529289;
color: #fff;
font-weight: bold;
border-radius: 4px;
padding: 0.2em 1em;
z-index: 2;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}*/
.mounjaro_btn {
position: absolute;
width: 36%;
text-align: center;
top: 14px;
right: 15px;
background: #529289;
color: #fff;
font-weight: bold;
border-radius: 4px;
font-size: 1.5em;
/* padding: 0.2em 1em; */
z-index: 2;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}
.mounjaro_btn a{
display: block;
text-decoration: none;
}


.modal_menu{
font-size: 17px;
text-align: left;
margin: 20px 0;
border-top: solid 1px #529289;
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.modal_menu li{
padding:0.5em 0 0.5em 0;
border-bottom: solid 1px #529289;
}
.modal_menu li a,
.modal_menu li span{
padding-left:1em;
}
.modal_menu_parent1,
.modal_menu_parent2 {
  position: relative;
  padding-right: 1.5em;
  padding-right: 1.5em;
  cursor: pointer;
}
.modal_menu_parent1::after,
.modal_menu_parent2::after {
  content: "＋";
  position: absolute;
  right: 0.5em;
  top: 10px;
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}
.modal_menu_parent1.open::after,
.modal_menu_parent2.open::after {
  content: "－";
}
.modal_menu_parent1.open,
.modal_menu_parent2.open {
padding-bottom: 0;
}

.modal_menu_sub1,
.modal_menu_sub2{
display: none;
background: #e7eff7;
margin-top: 0.5em;
}
.modal_menu_sub1 li,
.modal_menu_sub2 li{
padding: 0.5em 0 0.5em 0;
border-top: solid 1px #529289;
border-bottom: none;
}

.modal_menu_sml{
font-size: 15px;
text-align: left;
line-height: 2.4;
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}


.modal_cta{
text-align: center;
padding:  0.75rem;
margin-right: auto;
margin-left: auto;
width: 100%;
}
.modal_cta div {
text-align: center;
margin-top: 0.5rem;
margin-bottom: 30px;
}
.modal_cta .cta_btn a{
line-height: 1;
background: #529189;
color: #fff;
font-weight: bold;
font-size: 120%;
}
.modal_cta .action-button:before {
    border: none;
box-shadow: none;
}
.modal_cta .cta_wrap .action-button {
    padding: 1.2rem 0 1.2rem;
}
.modal_cta  h4{
display: inline-block;
color: #529189;
  position: relative;
  text-align: center; 
  padding: 0 1.25em; 
  font-size: 125%;
}
.modal_cta  h5{
text-align: center;
color: #529189;
padding-bottom: 15px;
}
.modal_cta  h4::before {
  left: 0;
  content: "＼";
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  font-size: 1.2em; 
  white-space: nowrap; 
  }
.modal_cta  h4::after {
  right: 0;
  content: "／";
  position: absolute; 
  top: 50%; /* 垂直方向の中央に配置 */
  transform: translateY(-50%); /* 垂直方向の中央を調整 */
  font-size: 1.2em; /* 必要に応じてサイズ調整 */
  white-space: nowrap; /* 折り返しを防ぐ */
}

.modal_cta .cta_banner{
box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
}
.modal_cta .cta_banner img{
vertical-align: top;
}


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

.modal_logo > img {
width: 32px;
}
.modal_logo > h1 {
margin-top: 0.75em;
font-size: 16px;
}
}



/*
HAMBURGER
-----------------------------------------------------*/

#hamburger {
display: none;
position: absolute;
width: 38px;
height: 36px;
border: none;
right: 15px;
top: 13px;
cursor: pointer;
z-index: 200;
}
.burger-btn{
display: block;
height:15px;
position: absolute;
border: none;
cursor: pointer;
top: 11px;
width: 30px;
left: 4px;
}
.burger-btn .bar{
width: 30px;
height: 1px;
display: block;
position: absolute;
left: 0;
background-color: #585858;
}
.burger-btn .bar_top{
top:0;
transition: 0.3s;
}
.burger-btn .bar_mid{
display: block;
top: 46%;
transition: 0.2s;
}
.burger-btn .bar_bottom{
bottom: 0;
transition: 0.3s;
}

/* MODAL open時 */
#hamburger.menuopen{
position: absolute;
right: 15px;
top: 13px;
}
#hamburger.menuopen .bar{
width: 30px;
height: 1px;  
display: block;
position: absolute;
}    
#hamburger.menuopen .bar_top{
top: 0;
transform: translate(0,7px) rotate(45deg);
}
#hamburger.menuopen .bar_mid{
opacity: 0;
}
#hamburger.menuopen .bar_bottom{
bottom: 0;
transform: translate(0,-7px) rotate(-45deg);
}

#hamburger_cl{
position: absolute;
width: 38px;
height: 36px;
border: none;
right: 15px;
top: 13px;
cursor: pointer;
}
#hamburger_cl .bar{
width: 30px;
height: 1px;  
display: block;
position: absolute;
}    
#hamburger_cl .bar_top{
top: 0;
transform: translate(0,7px) rotate(45deg);
}
#hamburger_cl .bar_bottom{
bottom: 0;
transform: translate(0,-7px) rotate(-45deg);
}



@media screen and (max-width:768px){
header{
z-index: 10;
position:-webkit-sticky; 
position:sticky; 
top:0;
background: #fff;
}
nav{
height: 60px;
}
#globalmenu{
display: none;
}
.header_top_button{
display: none;
}
#hamburger {
display: block;
}
}



/*
SIDE BUTTON --PC
-----------------------------------------------------*/
#side_btn{
position: fixed;
right: -84px;
top: 30vh;
width: 84px;
overflow: hidden;
z-index: 20;
transition: 0.3s;
}
#side_btn.show {
right: 0;
}
#side_btn a{
text-decoration: none;
}
.side_btn_web {
  position: relative;
  width: 84px;
  height: 160px;
  text-align: center;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background: #529189;
  color: #fff;
  margin-bottom: 10px;
  padding: 3px 0;
  display: grid;
  align-items: center;
  place-content: center;
  overflow: hidden; /* hover時のaがはみ出さないように */
}

.side_btn_web a {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; と同義 */
  z-index: 1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background: #529189;
  display: block;
  transition: 0.3s;
}

.side_btn_web a:hover {
  background: #66bdb2;
}
.side_btn_web a > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ← 縦中央揃え */
  height: 100%;
  gap: 6px; /* ← アイコンと文字の間の隙間を調整 */
}
.side_btn_web img{
width: 42%;
}
.side_btn_web p{
font-size: 120%;
line-height: 1.1;
font-weight: bold;
}
.side_btn_line{
  position: relative;
width: 84px;
height: 160px;
text-align: center;
line-height: 1.0;
font-size: 85%;
background: #1cba15;
color: #fff;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
display: grid;
align-items: center;
place-content:center;
  overflow: hidden;
}
.side_btn_line a{
  position: absolute;
  inset: 0;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
background: #1cba15;
display: block;
transition: 0.3s;
}
.side_btn_line a:hover{
opacity: 1;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
background: #4de546;
display: block;
}
.side_btn_line a > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 6px;
}
.side_btn_line img{
width: 60%;
}
.side_btn_line p{
font-size: 120%;
line-height: 1.1;
font-weight: bold;
}
.side_btn_line p .sml{
font-size: 90%;
letter-spacing: -0.15em;
}

@media screen and (max-width: 768px) {
  #side_btn {
    display: none !important;
  }
}

/*////スマホ用フッターボタン//////*/

#footer_btn_sp{display: none;}

@media screen and (max-width: 768px) {
footer{
padding-bottom: 150px;
}
#footer_btn_sp{
display: block;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
position: fixed;
bottom: 0;
width:100%;
background: #f0fbf7;
color: #666666;
color: var(--base-black);
text-align: center;
z-index: 5;
}

#footer_btn_sp h4,
#footer_btn_sp h5{
display: inline-block;
}

#footer_btn_sp h4{
font-size: 120%;
padding: 0 1.5em 0 0;
position: relative;
margin-left: 1em;
line-height: 2;
}
#footer_btn_sp h4::before {
  content: "＼";
  left: -1.2em;
  top: 4px;
  position: absolute;
  font-size: 1.2em; 
  white-space: nowrap; 
  }
#footer_btn_sp h4::after {
right: 0;
  top: 4px;
  content: "／";
  position: absolute; 
  font-size: 1.2em; /* 必要に応じてサイズ調整 */
  white-space: nowrap; /* 折り返しを防ぐ */
}
#footer_btn_area{
width: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
padding: 5px 0;
}
#footer_btn_area a{
text-decoration: none;
}
#footer_btn_web{
width: 50%;
background: #529189;
color: #fff;
font-size: 20px;
font-weight: bold;
}
#footer_btn_web div{
height: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
padding: 10px 0;
}
#footer_btn_web img{
width: 28px;
margin-right: 8px;
}

#footer_btn_line{
width: 50%;
background: #1cba15;
color: #fff;
font-size: 18px;
font-weight: bold;
}
#footer_btn_line div{
height: 100%;
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
padding: 10px 0;
}
#footer_btn_line img{
width: 24px;
margin-right: 5px;
}
#footer_btn_line div p{
text-align: center;
line-height: 1;
}


}

