/* CSS Document */

/*-------------------------------
  ハウメンテ　layout
-------------------------------*/

* {
  box-sizing: border-box;
}

html {
  /* ルートのフォントサイズを10px */
  font-size: 62.5%;
}

body {
  width: 100%;
  min-width: 360px;
  height: 100%;
  margin: 0;
  padding: 0;
  color: rgb(35, 24, 21);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 1px;
}

#contentsAll {
  width: 100%;
  display: block;
}

.flex {
  display: flex;
}

table{
  border-collapse: collapse;
}

body,
div,
h1,
h2,
h3,
h4,
h5,
p,
ol,
ul,
li {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

input[type="text"],
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

a {
  color: rgb(62, 58, 57);
  text-decoration: none;
}

.link::after {
  font-family: "Font Awesome 5 Free";
  content: '\f08e';
  font-weight: 600;
  padding-left: 2.5%;
}

.pan {
  width: 70%;
  margin: 0 auto 1%;
  padding-left: 1%;
  font-size: 1.2rem;
}

.pan a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

a.tel-link{
  font-style: normal;
}

/* responsive 共通 ------------------------------------------*/

.pn {
  display: none;
}

.sn {
  display: block;
}


@media screen and (max-width: 1440px) {
  .pan {
    width: 90%;
  }
}

@media screen and (max-width: 1200px) {
  img{
    image-rendering: auto;
  }
}

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

  .sn {
    display: none;
  }
}

@media screen and (max-width: 519px) {
  
  body {
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight:normal;
}

  .pan {
    display: none;
  }

}



/*-------------------------------
  header 
-------------------------------*/
#header {
  width: 100%;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  z-index: 100;
}

.header:hover {
  display: block;
}

.header h1 img {
  position: absolute;
  top: 17.5px;
  left: 3%;
  height: 45px;
  z-index: 200;
}

.header h1 a:hover {
  background-color: #fff;
}

.headmenu {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 85px;
  font-size: 1.4rem;
}

.headmenu > li {
  padding: 1% 0;
}

.headmenu > .menu__mega,
.headmenu > .w10 {
  width: 12%;
}

.headmenu > .menu__mega > a,
.headmenu > .menu__mega > p,
.menu__none > a {
  padding: 1%;
  line-height: 50px;
  width: 100%;
}

.headmenu > .menu__mega > a > i,
.headmenu > .menu__mega > p > i,
.menu__none > a > i {
  padding-left: 5%;
}

.headmenu > .mr0 {
  width: 10%;
  margin-right: 0;
}

.headmenu > li > a,
.headmenu > li > p {
  display: block;
  color: rgb(78, 78, 78);
  text-align: center;
}

.menu__none:hover,
.menu__mega:hover {
  background: rgba(199, 89, 81, 0.2);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.menu__mega.ml20 {
  margin-left: 15%;
}

.headmenu {
  *zoom: 1;
}

.bgn:hover {
  background-color: #fff;
}

/* mega menu ------------------------------*/
.menu__mega {
  position: relative;
}

.menu__mega .menu__second-level {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  background: rgba(225, 118, 110, 0.8);
  visibility: hidden;
  opacity: 0;
  z-index: 101;
  top: 100%;
  right: 0;
  margin: 0;
  padding: 0;
}

.menu__mega:hover .menu__second-level {
  top: 85px;
  visibility: visible;
  opacity: 1;
}

.menu__mega .menu__second-level > li {
  width: 100%;
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

.menu__mega .menu__second-level > li a {
  display: block;
  width: 300px;
  color: #fff;
  font-weight: 500;
  padding: 20px 40px;
}

.menu__mega:hover .menu__second-level img {
  width: 100%;
}

.menu__mega:hover .menu__second-level p {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
}

.menu__mega .menu__second-level a:hover {
  background-color: rgba(199, 89, 81, 0.8);
}

nav .sub-menu,
.mean-container .mean-nav ul ul {
  background: rgba(199, 89, 81, 0.8);
}

/*-----------------------------------
  header レスポンシブ
-----------------------------------*/
@media only screen and (max-width: 1200px) {
  #header {
    display: block !important;
    top: 0;
    height: 60px;
    background-color: #fff;
  }

  .header h1 img {
    position: absolute;
    top: 10px;
    left: 2%;
    height: 35px;
  }

  .headmenu > .menu__mega > a > i,
  .headmenu > .menu__mega > p > i,
  .menu__none > a > i {
    display: none;
  }

  .headmenu {
    position: relative;
    display: block;
    justify-content: flex-end;
    width: 100%;
    height: 100vh;
    font-size: 1.4rem;
  }

  .headmenu > li {
    padding: 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0.49);
  }

  .headmenu > li > a,
  .headmenu > li > p {
    color: #fff;
  }

  /* mega menu ------------------------------*/
  .menu__mega a,
  .menu__mega p {
    position: relative;
  }

  .menu__mega .menu__second-level {
    width: 100%;
    min-width: inherit;
    padding: 5px 0;
    visibility: visible;
    opacity: 1;
    /*--flex--*/
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    position: absolute;
    top: 0;
  }

  .menu__mega:hover .menu__second-level {
    top: 0px;
  }

  .spn {
    display: none !important;
  }

  .menu__mega .menu__second-level > ul {
    height: auto !important;
  }

  .menu__mega .menu__second-level > li {
    display: block;
    width: 100%;
    margin: 0;
    font-weight: 500;
  }

  .menu__mega .menu__second-level > li a {
    display: block;
    color: #fff;
    font-weight: 500;
    padding: 10px;
  }

  .menu__mega:hover .menu__second-level p {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: none;
  }
}


/*-------------------------------
  footer
-------------------------------*/
.h-footmenu {
  padding: 3% 7%;
  border-top: solid 4px rgb(225, 118, 110);
}

.h-footmenu .flex{
  justify-content: space-around;
  align-items: top;
}

.h-footmenu .logo{
  margin-top: 1%;
  width: 37%;
}

.h-footmenu .logo img {
  margin-bottom: 20px;
  height: 50px;
}


.h-footmenu .logo li{
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.h-footmenu .footlist {
  width: 63%;
  display: flex;
  align-self: flex-start;
  justify-content: space-between;
}

.h-footmenu .list-box {
  width: calc(99% / 3);
  margin: 1% 0;
}

.h-footmenu .list-box:nth-child(2){
  margin-right: 2%;
  padding-left: 5%;
}


.h-footmenu .list-box h3{
  color: rgb(206, 64, 54);
}

.h-footmenu .list-box p {
  margin-bottom: 20%;
}

.h-footmenu .list-box section {
  width: 100%;
  float: left;
  display: block;
  margin-bottom: 7%;
}

.h-footmenu .footlist h3 {
  margin-bottom: 2%;
  font-size: 1.6rem;
  border-bottom: solid 1px rgb(202, 202, 202);
  text-align: left;
}

.h-footmenu .footlist ul li {
  margin-bottom: 3px;
  font-size: 1rem;
}

.h-footmenu .footlist ul li a,
.h-footmenu .footlist ul li {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.h-footmenu .footlist ul li a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

.h-footmenu .footlist .foot-loc li{
  margin-bottom: 12px;
  line-height: 1.7;
}

.hm-copy {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  padding-bottom: 10px;
  margin: all;
  font-style: normal;
  background-color: rgb(232, 117, 109);
}


/*----------------------------------
    responsive
-----------------------------------*/
@media screen and (max-width: 1600px) {
  .h-footmenu .logo{
    width: 25%;
  }

  .h-footmenu .footlist{
    width: 75%;
  }
}

@media screen and (max-width: 1440px) {  
  .h-footmenu {
    width: 100%;
    margin: 0;
    padding: 2% 5% 1%;
    background-size: cover;
    background-position: left;
  }

  .h-footmenu .flex{
    flex-wrap: wrap;
  }

  .h-footmenu .logo {
    height: 45px;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 100%;
  }

  .h-footmenu .footlist{
    margin-top: 20px;
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .h-footmenu {
    padding: 1% 0;
    background-image: none;
    border-top: none;
  }

  .h-footmenu .logo {
    display: none;
  }

  .h-footmenu .footlist {
    display: none;
  }

  address {
    font-size: 0.8rem;
    padding-bottom: 0;
  }

  .hm-copy{
    font-size: 0.8rem;
    padding-bottom: 0;
  }
}

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

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

/*-------------------------------
  TOP戻るボタン
-------------------------------*/

#page-top {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 2%;
  bottom: 50px;
  z-index: 100;
}

#page-top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

#page-top i{
  font-size: 5rem;
  color: rgb(21, 108, 161);
}

#page-top i:hover {
  color: rgb(11, 77, 119);
}

/*------------------------------------------
    959px - 520px
-------------------------------------------*/

@media screen and (max-width: 959px) {
  #page-top {
    display: none !important;
  }
}

