@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    padding: 0;
    font-size: 62.5%;
}

a{
    text-decoration: none;
    color: #fff;
}
p,img{
    margin: 0;
    padding: 0;
    font-size: 16px;
}

h1{
    font-family: Roboto;
    font-size: 32px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 0.03em;
    text-align: left;
    margin:0;
}

.roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.roboto-medium {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
}

.roboto-bold {
font-family: "Roboto", sans-serif;
font-weight: 700;
font-style: normal;
}

.roboto-black {
font-family: "Roboto", sans-serif;
font-weight: 900;
font-style: normal;
}

/* header */

#main-header {
    /* position: fixed;
    top: 0;
    left: 0; */
    /* width: 100%; */
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* z-index: 1000; */
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
  
.title-wrapper{
    display: flex;
    justify-content: space-between;   
    height: 120px; 
    padding: 0 16px;
}

.title-container{
    display: flex;
    align-items: center;
}

.logo-container {
    animation: fadeIn 0.5s ease-out 0.3s both;
}

.logo{
    margin-right: 16px;
    width: 78px;
}

.logo img{
    width: 100%;
}

.title{
    min-width: 200px;
}

.title p{
    font-size: 16px;
    margin-bottom: 16px ;

    overflow: hidden;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
}

.button{
    display: flex;
    align-items: center;
    margin: 4px 8px;
}

.contact{
    display: flex;
    align-items: center;
}

.instagram-header{
    height: 50px;
}
.contact-buttons {
    animation: fadeIn 0.5s ease-out 0.5s both;
}

.contact-container,.instagram-header-container{
    width: max-content;
    height: 50px;

    margin:4px;

    transition: .3s; /* 変化時間 0.3秒 */
    padding: 24px 24px; /* 内側の余白設定 */
    border-radius: 8px; /* 要素の角を丸くする */
    text-decoration: none; /* aタグの下線を非表示に */
    color: #fff; /* 文字色 */

    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: left;

    display: flex;

    padding: 5px;
}

.contact-container img{
    width: 35px;
    height: auto;
    margin: 0 8px 0 0  ;
}

.contact-container p{
    flex: 1; 
    color: #fff;
}
  
.button:hover { 
transition: .3s; /* 変化時間 0.3秒 */
filter: opacity(60%);
}

.tell-wrapper{
    display: flex;
}

#tel{
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.03em;
    text-align: left;

}

#phonenum{
    font-size: 28px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.03em;
    text-align: left;
    margin: 0;
}

#blue{
    background: #14389B;
}

#green{
    background: #3FB40D;
}

#orange{
    background: #FF8E1D;
    ;
}

.header-right{
    display: flex;
    align-items: center;
}

.instagram{
    /* text-align: center; */
    margin: 0 24px;

    display: flex;
    align-items: center;
}

.instagram p{
    font-size: 14px;
    color: #000000;
}

.instagram img{
    width: 29px;
    margin: 0 15px 0 0;
    
}


/*first-view*/
.fv-wrapper{
    /* margin-top: 120px; */
    /* width: 100%;
    height: 95%; */
    /* position: relative; */
}

/* .fv-wrapper img{
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: top;
} */

#hero-section {
    height: calc(100vh - 180px);
    /* height: 100vh; */
    background-image: url('images/fv.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

#hero-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* width: 100%;
    height: 100%;  */
    background: linear-gradient(to right, rgba(37, 65, 225, 0.5), transparent);
    animation: fadeIn 1s ease-out;
}


.fv-text{
    width: max-content;
    color: #fff;
    
    position: absolute;
    top:300px;
    left:50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);

    letter-spacing: 0.03em;
    text-align: left;

    white-space: normal;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    animation: slideInFromLeft 0.8s ease-out 0.5s both;
    white-space: nowrap;
}

.hero-content p {
    font-size: 1.6rem;
    line-height: 2;
    animation: slideInFromLeft 0.8s ease-out 0.7s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    /* animation: bounce 1.5s infinite; */
}
  
  
  #scroll-down {
      display: block;
      position: relative;
      padding-top: 39px;
    text-align:center;
  }
  .arrow-down {
      display: block;
      margin: 0 auto;
      width: 10px;
      height: 38px;
  }
  .arrow-down:after {
      content: '';
      display: block;
      margin: 0;
      padding: 0;
      width: 8px;
      height: 8px;
      border-top: 2px solid #ffffff;
      border-right: 2px solid #ffffff;
      behavior: url(-ms-transform.htc);
      -moz-transform: rotate(135deg);
      -webkit-transform: rotate(135deg);
      -o-transform: rotate(135deg);
      -ms-transform: rotate(135deg);
      transform: rotate(135deg);
  }
  #scroll-title {
      display: block;
      text-transform: uppercase;
      color: #ffffff;
    font-family: Helvetica Neue, Helvetica, Arial;
    font-size:14px;
    font-weight:bold;
    letter-spacing:.1em;
  }
  #scroll-down::before {
      -webkit-animation: elasticus 2.0s cubic-bezier(1, 0, 0, 1) infinite;
      /* Safari 4+ */
      
      -moz-animation: elasticus 2.0s cubic-bezier(1, 0, 0, 1) infinite;
      /* Fx 5+ */
      
      -o-animation: elasticus 2.0s cubic-bezier(1, 0, 0, 1) infinite;
      /* Opera 12+ */
      
      animation: elasticus 2.0s cubic-bezier(1, 0, 0, 1) infinite;
      /* IE 10+, Fx 29+ */
      
      position: absolute;
      top: 0px;
      left: 50%;
      margin-left: -1px;
      width: 2px;
      height: 50px;
      background: #ffffff;
      content: ' ';
  }
  @-webkit-keyframes elasticus {
      0% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
      50% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      50.1% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      100% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
  }
  @-moz-keyframes elasticus {
      0% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
      50% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      50.1% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      100% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
  }
  @-o-keyframes elasticus {
      0% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
      50% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      50.1% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      100% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
  }
  @keyframes elasticus {
      0% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
      50% {
          -webkit-transform-origin: 0% 0%;
          -ms-transform-origin: 0% 0%;
          -moz-transform-origin: 0% 0%;
          -o-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      50.1% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 1);
          -ms-transform: scale(1, 1);
          -moz-transform: scale(1, 1);
          -o-transform: scale(1, 1);
          transform: scale(1, 1);
      }
      100% {
          -webkit-transform-origin: 0% 100%;
          -ms-transform-origin: 0% 100%;
          -moz-transform-origin: 0% 100%;
          -o-transform-origin: 0% 100%;
          transform-origin: 0% 100%;
          -webkit-transform: scale(1, 0);
          -ms-transform: scale(1, 0);
          -moz-transform: scale(1, 0);
          -o-transform: scale(1, 0);
          transform: scale(1, 0);
      }
  }
  
  

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* contents1 */

.contents{
    padding: 48px 0;
    text-align: center;
}

.contents1-wrapper{
    background-color: #E9EEFE;
}

.contents h2{
    font-size:24px;
    line-height: 1em;
    letter-spacing: 0.03em;
    text-align: center;
}

hr{
   display: inline-block;
}

.contents-container{
    margin-top: 32px;
}

.contents1-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    margin: 0 16px;
}

.content1{
    background-color: #fff;
    margin: 16px;
    text-align: left;
}

.content1 img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.content1-text-wrapper{
    margin:16px 24px 24px 24px ;
    text-align: left;
}

.content-image-wrapper{
    position: relative;
}

.copyright{
    position: absolute;/*重ねたい子要素にabsolute*/
    bottom:10px;
    right: 10px;
    color: #747474;
    font-size: 8px;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 0!important;/*文字が折り返される場合*/
    font-weight: lighter;
}

h3{
    font-size: 24px;
    letter-spacing: 0.03em;
    color: #14389B;
    margin: 8px 0;
}






.instagram-container{
    display: flex;
    justify-content: center;

    background-color: #14389B;
    border-radius: 22px;
    border: none;

    margin: 32px auto;
    padding: 16px 16px;

    width: max-content;

}

.instagram-container img{
    width:40px;
    padding-right:20px;
}

#content1-text{
    letter-spacing: 0.03em;
    text-align: center;
    margin: 16px;
}

/* content2 */

.content2{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(375px,1fr));
}

.content2 img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
}

.content2-text{
    text-align: left;
    padding: 3% 5%;
    margin: auto;
}

/* contents2 animation */

.slide-in-image-left {
    opacity: 0;
    /* 左から */
    transform: translateX(-100px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-image-right {
    opacity: 0;
     /* 右からスライドさせる */
    transform: translateX(-100px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* contents3 */

table{
    margin: 32px auto ;
    width: 60%;
    height: auto;
    text-align: left;

    text-align: left;
    font-size: 16px;

}

tr{
    vertical-align: top;
}


th{
    padding: 32px 48px 32px 32px;
    min-width: 50px;
    white-space: nowrap;
    /* text-align: center; */
}

td{
    border-left:1px solid #A2A2A2 ;
    padding: 32px 32px;
    
}

#map{
    display: flex;
    flex-direction: column;
    /* flex-direction: row;
    white-space: nowrap; */
}

#map img{
    width:100%;
    padding-top: 24px;
    /* padding-left: 40px; */
}

.links-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
}

/* footer */

footer{
    display:flex;
    align-items:center;
    justify-content: center;
}

small{
    height: auto;
    font-size: 14px;
    margin: 40px  auto;
}

#sp-fixed-menu{
    position: fixed;
    width: 100%;
    bottom: 0px;
    font-size: 0;
    opacity: 0.9;
    z-index: 99;
 }
 
 /*メニューを横並びにする*/
 #sp-fixed-menu ul{
    display: flex;
    list-style: none;
    padding:0;
    margin:0;
    width:100%;
 }
 
 #sp-fixed-menu li{
    justify-content: center;
    align-items: center;
    width: 33%;
    padding:0;
    margin:0;
    font-size: 14px;
    border-right: 1px solid #fff;
 }
 
 #sp-fixed-menu img{
    width: 29px;
 }

 #sp-fixed-menu li:first-child{
    background: #14389B;
 }

 #sp-fixed-menu li:nth-child(2){
    background: #3FB40D;
 }

 #sp-fixed-menu li:last-child{
    background: #FF8E1D;
 }
 
 /*ボタンを調整*/
 #sp-fixed-menu li a{
    color: #fff;
    text-align: center;
    display:block;
    width: 100%;
    padding:10px 0;
 }

 #sp-fixed-menu li{
    display: flex;
    justify-content: center;
    align-items: center;
 }

 /* アニメーション */
 .fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 3.0s;
  &.fadein-left{
      transform: translate(-30px,0);
  }
  &.fadein-right{
      transform: translate(30px,0);
  }
  &.fadein-up{
      transform: translate(0,-30px);
  }
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}

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


    h1{
        font-size: 20px;
    }

    .title-wrapper{
        height: 78px;
        margin-right: 60px;
    }

    .title p{
        font-size: 10px;
        margin-bottom: 4px;
    }

    .logo{
        width: 45px;
    }

    .hero-content h1{
        font-size: 2rem;
    }

    .hero-content p{
        font-size: 1.2em;
        margin-bottom: 4px;
    }

    .header-right,.links-wrapper{
        display: none;
    }

    small{
        margin-bottom: 100px;
    }

    .fv-wrapper img{
        width: 100%;
        height: 490px;
        object-fit:cover;
        /* object-position: -100px 0px; */
        filter: opacity(60%);
    }

    .fv-text{
        font-size: 16px;
        line-height: 150%;
        margin: 3%;
        width:80%;
        top:40%;
        left: 45%;
        text-align: left;
    }

    #scroll-down {
        display: block;
        position: relative;
        padding-top: 19px;
        text-align: center;
    }

    #scroll-down::before {
        height: 30px;
    }

    .arrow-down{
        height: 20px;
    }
  
      #middle-img{
        order: 1;
      }

      .content2-text{
        order: 2;
        padding-bottom: 40px;
      }

      .content2 img{
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    table{
        width: 85%;
    }
    
    th{
        padding: 32px 16px 32px 0;
        max-width: 180px;
        white-space: normal;
        /* text-align: center; */
    }
    
    td{
        border-left:1px solid #A2A2A2 ;
        padding: 32px 0 32px 16px;
        
    }
    
    #map{
        display: flex;
        flex-direction: column;
        /* flex-direction: row;
        white-space: nowrap; */
    }
    
    #map img{
        width:100%;
        padding-top: 24px;
        /* padding-left: 40px; */
    }

      /* スマホ用メニュー */

      .spmenucontainer {
        height: 100vh;
        background-color: #14389B;
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        top: 0;
        right: 0;
        transform: translate(100vw, 0);
        transition: .6s ease-in-out;
        z-index: 100;
        /* opacity: .9; */
      }
      ul {
        padding: 0;
      }
      li {
        list-style: none;
      }
      .spmenu__navlist {
        margin: 30px 0;
        text-align: center;
      }
      .spmenu__navlist  a {
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        text-decoration: none;
      } 
      
      /* バーガーボタン */
      .burgerbtn {
      position: relative;
      display: none;
      z-index: 101;
      }

        .burgerbtn {
          position: fixed;
          display: block;
          width: 60px;
          height: 78px;
          top: 0px;
          right: 0px;
          background-color: #14389B;
        }
        .burgerbtn__border {
          position: absolute;
          width: 36px;
          height: 4px;
          border-radius: 2px;
          background-color:#ffffffff;
          transition: .6s;
        }
        .burgerbtn__border:nth-child(1) {
          top: 17px;
          left: 12px;
        }
        .burgerbtn__border:nth-child(2) {
          top: 29px;
          left: 12px;
        }
        .burgerbtn__border:nth-child(3) {
          top: 41px;
          left: 12px;
        }
        .burgerbtn__text {
            position: absolute;
            transition: .6s;
            top: 51px;
            left: 15px;
            color: #fff;
            font-size: 12px;
          }
        /* メニュー開閉 */
        .spmenuvisible {
        transform: translate(0, 0);
        transition: 0.6s ease-in-out;
        transition-delay: .1s;
        }
        .invisible {
          display: none;
        }
        /* ボタン開閉時のクラス */
        .bordertop_open {
          transform: translateY(10px) rotate(45deg);
          transition: .6s;
        }
        .bordermiddle_open {
          opacity: 0;
          transform: translateX(-10px);
          transition: .6s;
        }
        .borderbottom_open {
          transform: translateY(-14px) rotate(-45deg);
          transition: .6s;
        }

        /* モーダル */
        .modal__images .modal__trigger {
            cursor: pointer;
        }
        
        .modal__images .modal__image:nth-child(3n - 1),
        .modal__images .modal__image:nth-child(3n) {
        margin-left: 32px;
        }
        
        .modal__images .modal__image:nth-child(n + 4) {
        margin-top: 32px;
        }
        
        .modal__images .modal__image:before {
        display: block;
        padding-top: calc((2 / 3) * 100%);
        padding-top: 100%;
        content: '';
        }
        
        .modal__images .modal__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        }
        
        /* モーダル本体 */
        .modal__wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 102;
        z-index: 202;
        width: 100%;
        height: 100%;
        }
        
        .modal__layer {
        height: 100%;
        background: rgba(50, 50, 50, .85);
        cursor: pointer;
        
        }
        
        .modal__container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        overflow-y: scroll;
        width: min(calc(100% - 40px), 1000px);
        max-height: calc(100% - 40px);
        }
        
        /* モーダルを閉じるボタン */
        .modal__close {
        position: absolute;
        top: 24px;
        right: 0px;
        width: 44px;
        height: 44px;
        background: rgba(50, 50, 50, 1);
        cursor: pointer;
        transition: opacity .6s;
        }
        
        .modal__close:hover {
        opacity: .6;
        }
        
        .modal__close:before,
        .modal__close:after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 1px;
        background: #fff;
        content: '';
        }
        
        .modal__close:before {
        transform: translate(-50%, -50%) rotate(45deg);
        }
        
        .modal__close:after {
        transform: translate(-50%, -50%) rotate(-45deg);
        }
        
        .modal__content .modal__image img {
        width: 100%;
        }
    
}    

    

@media screen and (min-width: 834px) {
    .spmenucontainer,.burgerbtn,#sp-fixed-menu{
       display:none;
     }
    .modal__wrapper{
        display: none;
    }
 }

@media screen and (max-width:1100px) {
    .contact-container p{
        display:none;
      }
    .contact-container img{
        margin: 0;
    }
 }