@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    line-height: 1.5;
    letter-spacing: 1px;
    color: #4D4D4D;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}

main{
    flex: 1;
}

.container{
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.t_container{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%
}

.parent {
    display: flex;
    margin: auto;
    justify-content: space-between;
    padding: 1.5rem 0;
    flex-wrap: wrap
}

.parent::after {
    content: "";
    display: block;
    width: 300px;
}

.t-c{
    text-align: center
}

/** header **/

.logo{
    width:340px
}

li{
    list-style:none;
}


.site_name{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-weight: bold;
    font-size: 2.2rem
}

.title_logo{
    padding: 0 0.3rem;
}

.l-header {
    display: block;
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #fff;
}


.c-hamburger {
    position: relative;
    width: inherit;
    height: inherit;
    margin: 0;
    border: 1px solid lightblue;
    background: lightblue;
    cursor: pointer;
}


.c-hamburger span {
    display: block;
    position: relative;
    left: 50%;
    width: 30px;
    height: 2px;
    transform: translateX(-50%);
    background: #fff;
    transition: all 0.4s;
}


.c-hamburger span:nth-of-type(1) {
    top: -4px;
}

.c-hamburger span:nth-of-type(2) {
    top: 1px;
}


.c-hamburger span:nth-of-type(3) {
    top: 6px;
}


.c-hamburger .c-hamburger__text {
    display: block;
    top: 12px;
    background: transparent;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}


.c-hamburger.is-active span:nth-of-type(1) {
    top: 0;
    transform: translateX(-50%) rotate(225deg);
}


.c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}


.c-hamburger.is-active span:nth-of-type(3) {
    top: -4px;
    transform: translateX(-50%) rotate(-225deg);
}

a.p-nav__link {
    color: #4D4D4D;
    text-decoration:none;
}

.p-header__nav {
    display: flex;
    z-index: 10;
    position: absolute;
    top: 0;
    right: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: transparent;
    font-weight: 700;
    opacity: 0;
    transition: 0.6s;
}


@media screen and (min-width:768px) {
    .p-header__nav {
        position: static;
        height: 100%;
        opacity: initial;
        align-items: flex-end;
    }
}

.p-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    padding: 0 20px;
}


.p-header__title {
    width: 100%;
    max-width: 120px;
    height: 48px;
    background: lightgray;
}


.p-header__title a {
    display: block;
    width: 100%;
    height: auto;
}


.p-header__title a img {
    height: 100%;
}


.p-header__hamburger {
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    width: 95px;
    height: 100%;
}

@media screen and (min-width:768px) {
    .p-header__hamburger {
        display: none;
    }
}

.p-header__nav.is-active {
    position: fixed;
    top: 0;
    right: 0;
    background: lightblue;
    opacity: 1;
    transition: 0.6s;
}

.p-nav {
    padding-top: 72px;
    padding-bottom: 72px;
}


@media screen and (min-width:768px) {
    .p-nav {
        padding-top: 16px;
        padding-bottom: 16px
    }
}


.p-nav__list {
    display: block;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    background: lightblue;
}

@media screen and (min-width:768px) {
    .p-nav__list {
        display: flex;
        background: #fff;
        padding-right: 0;
    }
}

.p-nav__item {
    /*position: relative;
    width: 100%;*/
}

.p-nav__link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    text-align: center;
}

/** main **/


.first_view {
    height: 100vh;
}

.example {
    position: relative;
}

.top_bk{
    background: linear-gradient(0deg, #fff 25%, #FFF5EA 15%, #FFF5EA 15%, #FFF5EA 100%);
}

.top_bk_2{
    background: linear-gradient(0deg, #F8F8F8 20%, #F8F8F8 15%, #F8F8F8 21%, #fff 100%);
}

.top_text{
    color: #4D4D4D;
    font-size: 4rem;
    margin: 8rem 0 0 0;

}

.top_text_2{
    color: #4D4D4D;
    font-size: 4rem;
    margin: -1rem 0 0 0;

}

.top_text_3{
    font-size: 2rem;
    line-height: 3rem;
    color: #4D4D4D;
    font-weight: 500;
}

.top_text_4{
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 5rem 0 0 0;
}


.top_program_text{
    margin: 3rem 1rem 0 0;
}

.top_img_block{
    color: #4D4D4D;
    font-size: 4rem;
    display: flex;
    justify-content: center;
    margin: 5rem 0 0 0;

}

.top_img{
    width: 100%;
    height: 430px;
    max-width: 200px;
    border-radius: 50% / 20%;
    overflow: hidden;
    object-fit: cover;
}

.top_img_position_1{
    object-position: 48% 45%;
}

.top_img_position_2{
    object-position: 30% 45%;
}

.top_img_position_3{
    object-position: 70% 30%;
}

.top_img_position_4{
    object-position: 35% 45%;
}

.top_img_position_5{
    object-position: 66% 45%;
}

.top_img_item{
    margin: 0 2rem 0 0;
}

.top_img_item:nth-child(even){
    margin: 6rem 2rem 0 0;
}

.top_img_item:last-child{
    margin: 0
}

.choices_box{
    width: 350px;
}

.choices_box_img{
    width: 350px;
}

.choices_text_box{
    padding: 1rem 2rem 1rem 2rem;
    background: #fff;
    border-radius: 40px 40px;
}

.choices_text_title{
    margin: 0 0 1rem 0;
    font-weight: 500;
    font-size: 1.2rem;
          -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.choices_detail_box{
font-weight: 500;
    font-size: 1rem;
}

.choices_detail_margin{
    height: 96px
}

.choices_orange_box{
    padding: 1rem;
      -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}

.choices_link:hover .choices_orange_box{
    background:#E6950E;

}

.more_mox{
    margin: 1rem 0;
    text-align: right;
    font-size: 0.8rem;
}

.more_line{
    border-bottom: solid 2px #E6950E;
}

.choices{
    display: flex;
    justify-content: center;
    max-width: 1000px;
    justify-content: space-around;
    margin: 5.5rem auto 0 auto;
}

a.choices_link{
 color: #000;
 text-decoration:none;
 margin-bottom: 5rem;
}

.active_box {
  cursor: pointer;
  max-width: 500px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.active_box img {
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.choices_link:hover img {
  transform: scale(1.1); /* 拡大 */
}

/* マスク */
.active_box::before {
  background: rgba(0, 0, 0, 0.28); /* マスクの色(黒の50%) */
  bottom: 0;
  content: '';
  height: auto;
  left: 0;
  opacity: 0; /* 最初は透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  z-index: 1;
}

.choices_link:hover .active_box::before{
    opacity: 1;
}

.choices_link:hover .choices_text_title{
    color: #E6950E
}

.orenge_container {
  background-color: #E6950E; 
  color: #fff; 
  padding: 40px;
  font-weight: 500;
}

.inquiry_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5rem 0;
}

.inquiry_box_l{
    display: block;
    width: 50%;
}

.inquiry_text_l{
    font-size: 2rem
}

.contact-section h2 {
  font-size: 2em; /* おおよその見出しサイズ */
  margin-bottom: 20px; 
}


.contact-info > div { /* 電話とメールの各セクション */
  text-align: left; 
}

.label {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.phone{
    color: #000
}

.value {
    font-size: 1.8rem;
    color: #fff;
    padding: 0 0 0 5rem;
    font-weight: bold;
}

.email .m_value {
font-size: 1.4rem;
    display: inline-block;
    background-color: #fff;
    color: #E66F02;
    padding: 20px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold
  
}

.email{
    color: #000;
    margin: 3rem 0 0 0;
}

.arrow_img{
    height: 17px;
    padding: 0 0 0 2rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) { 
  .contact-info {
    flex-direction: column; /* 縦並びに変更 */
    align-items: center; 
  }

  .contact-info > div {
    margin-bottom: 20px; 
  }
}


/** footer **/
footer{
    padding: 5rem 0 0 0;
}

.office_name{
    font-weight: 700;
}

.office_box{
    margin: 1.5rem 0 0 0
}

.office_flexbox{
    display: flex;
    flex-wrap: wrap;  
}

.f_menu{
    margin: 0 0 0 6rem;
    font-weight: 500
}

.pagetop {
margin-left: auto;
}


.lists{
    display: flex;
    align-items: center;
}
.list{
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    color: white;
}
.list a{
    display: block;
    padding: 0 12px;
    overflow: hidden;/*はみ出た要素を隠す*/
    letter-spacing: .1em;/*文字間を広げて余裕のある感じに*/
}
.list a.is-active{
    color: red;
}
.list a:hover span{
    color: red;
}
.list a.is-active{
    cursor: initial;
}
/* display:flexとalign-items:centerは中身の高さに合わせるために記述*/
.text-wrap{
    position: relative;
    display: flex;
    align-items: center;
}
.after{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}
.before{
    display: flex;
    align-items: center;
}
.before span,
.after span{
    line-height: 1.1;
    transition: color .3s ease-out;/*ease-outで余裕のある動きに*/
}
.after span{
    transform: translateY(100%);
}


@media  all and (max-width: 960px) {

    .parent {
        justify-content: space-around;
    }

    .classification_list_box {
        max-width: 900px;
        margin: auto;
    }
}

@media  all and (max-width: 900px) {
    /** main **/


    .renovation_midasi{
        margin: 2rem 0 0 0;
    }



}

@media  all and (max-width: 768px) {
    /** main **/


    .title_block{
        text-align: center
    }

}

@media  all and (max-width: 480px) {
    /** main **/
    .site_name {
        font-size: 1.5rem;
    }

    .top_midasi {
        font-size: 1.3rem;
    }
}