@charset "utf-8";

/*
font-family: 'M PLUS Rounded 1c', sans-serif;
font-weight: 400;
font-weight: 700;
*/

:root {
  --main-color: #ff9136;
  --main-text-color: #111111;
  --dormitory-color: #ffaf3c;
  --dormitory-male-color: #61b6e5;
  --dormitory-female-color: #f088ac;

  --coloring-box: #fffef3;
}

body{
  color: #111111;
}

@media (min-width: 1200px) {
  .container {max-width: 960px;}
}

.wp{
  overflow:hidden;
  position:relative;
}

#hd{
position:fixed;
top:0px;left:0px;
width:100%;
z-index: 10;
}
#hd .container {
padding-right: 0;
}
@media screen and (max-width: 991px) {
  #hd .container {
  padding-right: 0;
  padding-left: 0;
  width: 98%;
  }
}

#hd .inr{
color:#222222;
padding: .5rem 0 0;
background:rgba(255,255,255,1);
transition:.2s linear;
overflow: hidden;
}
#hd .inr.opacity{background:rgba(255,255,255,.9);}
#hd .inr.opacity:hover{background:rgba(255,255,255,1);}

@media screen and (max-width: 767px) {
  #hd .inr{padding: 0;}
}

#hd .site-title{
margin: 0;
float: left;
}
#hd .site-title a{text-decoration:none;}
#hd .site-title a:hover{text-decoration:underline;}

@media screen and (min-width: 768px) {
  #hd .site-title{margin-top: .8rem;}
}
@media screen and (max-width: 767px) {
  #hd .site-title{margin: .8rem 1em;}
}
@media screen and (max-width: 399px) {
  #hd .site-title{
  font-size: 80%;
  margin-left: .8em;
  }
}
@media screen and (max-width: 320px) {
  #hd .site-title{
  font-size: 70%;
  }
}

#hd .main-title{
  max-width: 350px;
  position: relative;
}
#hd .sub-title{
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  display: inline-block;
}
#hd .sub-title .sub-hx{
  color: white;
  font-size: 70%;
  font-weight: bold;
  letter-spacing: .3em;
  background: #44a828;
  display: inline-block;
}

@media screen and (min-width: 992px) {
  #hd .main-title{
    top: .4rem;
    display: inline-block;
  }
  #hd .sub-title{
    text-align: center;
    margin-left: 1rem;
  }
  #hd .sub-title .sub-hx{
    padding: .2rem 1.5em .1rem;
    border-radius: 3rem;
  }
}
@media screen and (max-width: 991px) {
  #hd .main-title{max-width: 300px;}
  #hd .sub-title{
    font-size: 1.4rem;
    line-height: 2;
  }
  #hd .sub-title .sub-hx{
    letter-spacing: .2em;
    vertical-align: .1rem;
    margin-left: .5em;
    padding: 0 .75em;
  }
}
@media screen and (max-width: 767px) {
  #hd .main-title{max-width: 240px;}
  #hd .sub-title{font-size: 1.1rem;}
}


#hd .navi-global .list-navi > li{
text-align: center;
display:inline-block;
position:relative;
}
#hd .navi-global .list-navi > li a{
color:#222222;
font-weight:bold;
letter-spacing:.05em;
line-height: 1.2;
text-decoration:none;
margin: 0 .2em;
padding:.5em .8em;
border-bottom:3px solid transparent;
display:inline-block;
transition:.1s linear;
}
#hd .navi-global .list-navi > li .icon-navi img{
height:3.5rem;
width:auto;
}
#hd .navi-global .list-navi > li .ja-navi{
font-size:.8rem;
font-weight:bold;
letter-spacing:.07em;
}

@media screen and (min-width: 1200px) {
  #hd .navi-global .list-navi > li a{padding:.5em 1em;}
}
@media screen and (min-width: 992px) {
  #hd .navi-global .list-navi{margin:0;}
  #hd .navi-global .list-navi > li.contact{margin-left:1.2em;}
  #hd .navi-global .list-navi > li a{
  font-size:100%;
  }
}
@media screen and (max-width: 991px) {
  #hd .navi-global .list-navi{
  margin-bottom:0;
  }
  #hd .navi-global .list-navi > li a{
  font-size:100%;
  padding:1em .6em;
  }
}
@media only screen and (max-width: 767px) {
  #hd .navi-global {margin: 0;}
}


#hd .navi-global .toggle-menu .list-navi {
    height:100vh;
    background: rgba(255,255,255,.95);
}
#hd .navi-global .toggle-menu li {
    /* width:50%; */
    width:100%;
    display: inline-block;
    text-align: center;
    border-bottom: 1px solid #333333;
}

#hd .navi-global .toggle-menu li a {
color: #333333;
font-size:150%;
font-weight: bold;
letter-spacing: 0.1em;
text-decoration: none;
width:100%;
margin: 0;
padding: .75em 1em .5em;
display:inline-block;
transition:.2s linear;
}
#hd .navi-global .toggle-menu li a:hover {background: #ddefff;}

#hd .navi-global .toggle-menu li a .hide-sm{font-weight:bold;}

@media screen and (min-width: 992px) {
  #hd .navi-global{text-align:right;}
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  #hd .navi-global{text-align:right;}
  #hd .navi-global .list-navi > li.top{display:none;}
}
@media screen and (max-width: 767px) {
  #hd .navi-global .list-navi{display:none;}
  .breadCrumb ul{margin:0 1em;}
}


#hd .btn-toggle-menu{
width: 5em;
height: 100%;
margin-bottom:0;
position: absolute;
right: 0;
top: 0;
cursor:pointer;
}

#hd .btn-toggle-menu span{
  display: block;
  position: absolute;
  top: 50%;
  left: calc( 50% - 2em / 4);
  width: 2em;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: #111;
  transition: .2s;
}
#hd .btn-toggle-menu span:after,
#hd .btn-toggle-menu span:before{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 2em;
  height: 2px;
  background: #111;
  transition: .3s;
}
#hd .btn-toggle-menu span:before{
  margin-top: .5em;
}
#hd .btn-toggle-menu span:after{
    margin-top: -.7em;
}
#hd .btn-toggle-menu.active span:before{
  -webkit-transform: translateY(21px) rotate(-45deg);
  transform: translateY(27px) rotate(-45deg);
  top: 0px;
}
#hd .btn-toggle-menu.active span{
  background: transparent;
  opacity: 1;
}
#hd .btn-toggle-menu.active span:after{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
#hd .btn-toggle-menu.active span:before{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
#hd .btn-toggle-menu.active span:before,
#hd .btn-toggle-menu.active span:after{
  margin-top:0;
}
#hd .btn-toggle-menu.active span:before{
  margin-top:1px;
}


#cnt{
position:relative;
}


#ft .inr{
color: white;
text-align:center;
padding: 2rem 0 1rem;
background: #44A828;
position:relative;
}
#ft .navi-global{
margin-bottom: 4rem;
}
#ft .navi-global li{
list-style-type: none;
}
#ft .navi-global li a{color:white;}
#ft .copyright{
font-size: 1rem;
letter-spacing: .2rem;
}

.btn-to-line{
position: fixed;
left: 1.5rem;
bottom: 2rem;
z-index: 2;
}
.btn-to-line a{
max-width: 20rem;
width: 20rem;
display: inline-block;
}
.btn-to-top {
position: fixed;
right: 2.5rem;
bottom: 4rem;
z-index: 2;
}
.btn-to-top .button{
color: white;
font-size: 1rem;
line-height: 1.5;
letter-spacing: 0;
text-decoration: none;
text-align:center;
padding: 1.5rem 1rem;
background: rgba(0,0,0,.5);
border-radius: .5rem;
display: inline-block;
}
.btn-to-top .icon img {
width: 2.5em;
height: auto;
margin-bottom: .3em;
}
@media screen and (max-width: 767px) {
  .btn-to-line a{
  width: 30vw;
  }
  .btn-to-top {
  right: 1rem;
  bottom: 3rem;
  }
}



.sb-slidebar .list-navi{
  margin-top: 2rem;
}
.sb-slidebar .list-navi li a{
  width: 100%;
  padding: 1.5rem;
  border-bottom: 1px dotted #8c8c8c;
  display: inline-block;
}
.sb-slidebar .list-navi li .icon-navi{
  vertical-align: middle;
  margin-right: .2rem;
  display: inline-block;
}
.sb-slidebar .list-navi li .icon-navi img{
  vertical-align: -.5rem;
  width: 2.8rem;
  height: auto;
}
.sb-slidebar .list-navi li .ja-navi{
  color: rgb(51,51,51);
  font-weight: bold;
}




.tophx-box{height:16em;}

.tophx-dormy-esaka-box{background: url(../assets/img/tophx/dormy-esaka.jpg) center center / cover no-repeat;}
.tophx-dormy-esaka-toyotsu-box{background: url(../assets/img/tophx/dormy-esaka-toyotsu.jpg) center center / cover no-repeat;}
.tophx-dormy-esaka-ch-box{background: url(../assets/img/tophx/dormy-esaka-ch.jpg) center center / cover no-repeat;}
.tophx-dormy-higashi-mikuni-box{background: url(../assets/img/tophx/dormy-higashi-mikuni.jpg) center center / cover no-repeat;}
.tophx-privacy-policy-box{background: url(../assets/img/tophx/privacy-policy.jpg) center center / cover no-repeat;}
/*
@media screen and (max-width: 767px) {
  .tophx-dormy-esaka-box{background: url(../assets/img/tophx/dormy-esaka-sp.jpg) center center / cover no-repeat;}
} 
*/

.tophx-box .box-inr{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
}
.tophx-box .text-tophx{
position:relative;
opacity: .95;
}

.tophx-box .hx{
color: white;
font-size: 3rem;
font-weight: bold;
letter-spacing: .03em;
text-align:center;
text-shadow:0.2rem 0.2rem 0.4rem rgba(0,0,0,.2);
}
.tophx-box .hx .en-hx{
font-size:.6em;
font-weight: 500;
letter-spacing: .05em;
}
.tophx-info-box .hx .en-hx{
letter-spacing: .1em;
}

@media screen and (max-width: 767px) {
  .tophx-box .hx{font-size: 5vw;}
  .tophx-box .hx .en-hx{font-size: 50%;}
}
@media screen and (max-width: 550px) {
  .tophx-box{
  height: 12em;
  }
  .tophx-box .hx{
  font-size: 6vw;
  line-height: 1.4;
  }
}


.breadcrumb-box{
  font-size: 1rem;
  padding: .5rem 0;
  margin-bottom: 4rem;
  background: #EAEAEA;
}
.breadcrumb-box .breadcrumb{
  margin-bottom: 0;
  padding: 0 1rem;
}
.breadcrumb-box .breadcrumb li{
  display: inline-block;
}
.breadcrumb-box .breadcrumb li:after{
  margin: 0 .75rem;
  content: '>';
  display: inline-block;
}
.breadcrumb-box .breadcrumb li:last-child:after{
  display: none;
}


.text-highlighter{
background: linear-gradient(transparent 50%,rgba(255, 239, 57, 0.6) 0);
background: -webkit-linear-gradient(transparent 50%,rgba(255, 239, 57, 0.6) 0);
background: -moz-linear-gradient(transparent 50%,rgba(255, 239, 57, 0.6) 0);
background: -ms-linear-gradient(transparent 50%,rgba(255, 239, 57, 0.6) 0);
background: -o-linear-gradient(transparent 50%,rgba(255, 239, 57, 0.6) 0);
}
