@charset "UTF-8";

footer {
    padding-top: 1px;
}

main {
    margin-top: 120px;
}

/*メインビジュアル*/
#hero_Wrap {
    position: relative;
    width: 100%;
    height: calc(100svh - 120px);
    background: url(../img/main.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
}
#hero_Wrap .mv_Txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    width: 300px;
    margin: 0 auto;
}

.rela {
    position: relative;
}

/*メインコンテンツ*/
.contents {
    color: #552121;
    text-align: center;
}
.contents h4 {
    font-size: min(6vw,30px);
    margin-bottom: 50px;
}
.contents .mainTxt {
    width: 100%;
    background: url(../../common/img/bg.jpg) repeat-y;
    background-size: 100%;
    background-position: center;
    padding: 100px 0;
    color: #b79e6c;
}
.contents .mainTxt p {
    line-height: 2;
}

.sec_Box {
    width: 100%;
    padding: 100px 0;
}
.sec_Box.bg_white {
    background: #fff;
}
.sec_Box.bg_gray {
    background: #e3e3e6;
}
.sec_Box .inner {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto;
}
.sec_Box.jp_map {
    padding-bottom: 0;
}
.sec_Box.jp_map .txt {
    text-align: left;
	position: relative;
	z-index: 2;
}
.sec_Box.jp_map .txt h3 {
    font-size: 23px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.sec_Box.jp_map .txt h3 small {
    color: #000;
    font-size: 13px;
    margin-left: 0.5em;
}
.sec_Box.jp_map .txt p {
    font-size: 16px;
    line-height: 2;
}
.sec_Box.jp_map figure {
    transform: translateY(-15%);
}

.sec_Box.design {
    color: #552121;
}
.sec_Box.design h3 {
    font-size: min(6vw,35px);
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}
.sec_Box.design h4 {
    font-size: min(5vw,25px);
    margin-bottom: 20px;
}
.sec_Box.design p {
    font-size: 13px;
}
.sec_Box.design figure {
    margin: 30px auto;
}
.sec_Box.design article {
    margin-top: 30px;
    margin-bottom: 15px;
}
.sec_Box.design .att {
    text-align: left;
    font-size: 12px;
    line-height: 1.5;
}

.notes {
    margin-top: 40px;
}
.notes p {
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
}


/*loop*/
.loop_wrap {}
.loop_wrap ul {
  flex-flow: inherit;
}
.loop_wrap li a {
  /*pointer-events: none;*/
  /*display: block;*/
}
.loop_wrap li {
  width: auto;
  height: 300px;
  cursor: pointer;
}
.loop_wrap li img {
  max-height: 100%;
  max-width: 100%;
}
.loop_wrap li .cap_txt {
    font-size: 13px;
    font-feature-settings: "palt";
    letter-spacing: 0;
}

.modal{
  display: none;
  height: 100svh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.modal__bg{
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
  z-index: 9;
}
.modal__content{
  left: 50%;
  position: fixed;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 900px;
    height: fit-content;
    object-fit: cover;
    max-width: fit-content;
  z-index: 9;
}
.modal__content img{
    max-width: 100%;
    object-fit: cover;
    max-height: 80svh;
}
.modal__content .cap_txt {
    font-size: 15px;
    text-shadow: 0 0 5px #000;
}
.batsu {
  position: absolute;
  right: -40px;
  top: 0px;
  font-size: 25px;
  font-weight: bold;
  pointer-events: none;
    color: #fff;
}

@media only screen and (max-width: 768px) {
    
    /*メインビジュアル*/
    main {
        margin-top: 60px;
    }
    #hero_Wrap {
        height: 50svh;
        background: url(../img/main_sp.jpg) no-repeat;
        background-size: cover;
        background-position: center bottom;
    }
    #hero_Wrap .mv_Txt {
        width: 230px;
    }
    
    
    /*メインコンテンツ*/
    .contents {
        padding: 0px 0 0;
    }
    .contents h4 {
        line-height: 1.8;
        margin-bottom: 30px;
    }
    .contents p {
        font-size: 14px;
        line-height: 2.5;
    }
    .contents h5 {
        margin: 0 auto 40px;
    }
    .contents .mainTxt {
        padding: 70px 0;
    }
    .sec_Box {
        padding: 50px 0;
    }
    .sec_Box.jp_map {
        padding-bottom: 0px;
    }
    .sec_Box.jp_map .txt p {
        font-size: 14px;
    }
    .sec_Box.jp_map figure {
        transform: none;
        margin-bottom: 50px;
    }
    .sec_Box.design h3 {
        margin-bottom: 10px;
        line-height: 1.5;
    }
    .sec_Box.design figure {
        margin: 20px auto;
    }
    
    
    .notes {
        width: 90%;
        margin: 30px auto;
    }
    .notes p {
        text-align: left;
        text-indent: -1em;
        padding-left: 1em;
    }
    
    
  /*loop*/
  .loop_wrap li {
    width: auto;
    height: 130px;
  }
  .loop_wrap li img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
  }
    .loop_wrap li .cap_txt {
        font-size: 11px;
        bottom: 5px;
        text-align: right;
        line-height: 1.4;
    }
    .modal__content {
        max-width: 80%;
    }
    .modal__content .cap_txt {
        text-align: right;
        line-height: 1.5;
        bottom: 5px;
    }
  .batsu {
    right: 0;
    top: -50px;
      font-size: 25px !important;
  }
}