/* styles.css */
html {
  font-size: 62.5%;
}
/* ----------通常のスタイル---------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

p{
  font-size: 2rem;
  line-height: 5rem;
}

.menutitle{
    white-space: nowrap;
    text-align: center;
    font-weight:bold;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 2.5rem;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0 0 0 15px;
    color: #999999;
    background-color: #fff;
}
.MV{
  position: relative;
  margin: 75px 0 0 0;
}
.c-header {
  align-items: center;
  background-color: #eeeeee; /* カスタマイズしてください */
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem; /* カスタマイズしてください */
  width: 100%;
  position: fixed;
  top:0;
  z-index: 1000;
}

.c-header__logo {
  white-space: nowrap;
  font-weight:bold;
  justify-content: center;
  display: flex;
  font-size: 2.5rem;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin: 0 0 0 15px;
  color: #999999;
  min-width: 80px; /* カスタマイズしてください */
  text-decoration: none;
}

.c-header__list {
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #999; /* カスタマイズしてください */
  display: block;
  margin-right: 20px; /* カスタマイズしてください */
  text-decoration: none;
  padding: 10px 0px; /* カスタマイズしてください */
}

.c-header__list-link:hover {
  filter: opacity(0.6); /* カスタマイズしてください */
}


@media screen and (max-width: 750px) {
  .c-hamburger-menu__list {
    background-color: #eeeeee; /* カスタマイズしてください */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem; /* カスタマイズしてください */
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s; /* カスタマイズしてください */
    top: 100%;
    width: 100%;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #000; /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4; /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 750px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px; /* カスタマイズしてください */
    height: 32px; /* カスタマイズしてください */
    justify-content: center;
    width: 32px; /* カスタマイズしてください */
  }
}

.c-hamburger-menu__button-mark {
  background-color: #000; /* カスタマイズしてください */
  display: block;
  height: 1px; /* カスタマイズしてください */
  transition: 0.3s; /* カスタマイズしてください */
  width: 20px; /* カスタマイズしてください */
}

@media screen and (max-width: 750px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}

.MVcover{
  position: relative;
  display: inline-block;
  width: 100%;
}
.MVcover img{
  display: block;
  width: 100%;
  height: 18vh;
  object-fit: cover;
}
.MVcover::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.MVcover p{
  position: absolute;
  text-align: center;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 4rem;
  font-weight: bold;
  width: 100%;
  margin: 0;
}

nav {
    width: 100%;
    height: 70px;
    background-color: #ffffff;
    padding-top: 5px;
    box-sizing: border-box;
  }
  .menuul {
    display: flex;
    justify-content: right; 
    align-items: right; 
    list-style: none;
  }
  .menuul li {
    list-style: none;
  }
  .menuul a {
    display: block;
    text-decoration: none;
    color: #999999;
    margin-right: 35px;
    font-size: 2rem;
  }
  .memcon1{
    margin: 10% 8% 0% 8%;
    padding: 10% auto;
    background-image:url(image/back1.png);
    background-size:300px;
    background-repeat:no-repeat;
    background-position:top left;
    background-image:url(image/back2.png);
    background-size:150px;
    background-repeat:no-repeat;
    background-position:top right;
    display: flex;

  }
  .memcon1img{
    object-fit: cover;
    height: 100%;
    margin-right: 5%;
  }
  .memcon1ol{
    display: grid;
    grid-template-columns: repeat(2, auto);
    font-size: 2rem;
    margin-right: 5%;
    white-space: nowrap;
  }
  .memcon1ilhe a{
    padding-right: 10px;
    white-space: nowrap;
  }
@media screen and (max-width: 960px) {
    .col_3 > *{
        width: calc( 50% - 6px ) ;
    }
    .col_3 > *:nth-child(3n){
        margin-right: 12px;
    }
    .col_3 > *:nth-child(2n){
        margin-right: auto;
    }
}
@media screen and (max-width: 580px) {
    .col_3 > *{
        width: 100%;
        margin-right: auto;
    }
    .col_3 > *:nth-child(3n){
        margin-right: auto;
    }
}
  .img-item {

    width: 100%;

    object-fit: cover; /* width, heightといっしょに使います */
 
 }
  .memcon2{
    padding: 5px 10%;
    display: flex;
  }
  .memcon2item{
    flex: 1;
    display: block;
    padding: 0;
  }

  .img-frame{
    position: relative;
    width: 70%;
    height: 300px;
    overflow: hidden;
 }

 .img-frame{
    width: 500px;
    height: 300px;
    position: relative;
    right: 15%;
 }
 .img-01, .img-02, .img-03{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
 }
 .img-01{
    background-image: url('image/image2.jpg');
    animation: slide-animation-01 24s infinite;
 }
 .img-02{
    background-image: url('image/image2.jpg');
    animation: slide-animation-02 24s infinite;
 }
 .img-03{
    background-image: url('image/image2.jpg');
    animation: slide-animation-03 24s infinite;
 }
 @keyframes slide-animation-01 {
     0% {opacity: 1; transform: scale(1.0);}
   30% {opacity: 1;}
   40% {opacity: 0; transform: scale(1.15);}
   90% {opacity: 0}
 100% {opacity: 1; transform: scale(1.0);}
 }
 @keyframes slide-animation-02 {
     0% {opacity: 0;}
   30% {opacity: 0; transform: scale(1.1);}
   40% {opacity: 1;}
   60% {opacity: 1;}
   70% {opacity: 0; transform: scale(1.0);}
 100% {opacity: 0;}
 }
 @keyframes slide-animation-03 {
     0% {opacity: 0;}
   60% {opacity: 0;  transform: scale(1.0);}
   70% {opacity: 1;}
   90% {opacity: 1;}
 100% {opacity: 0; transform: scale(1.1);}
 }

  .memcon2img{
    width: 80%;
  }

.ah3-text{
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", sans-serif; /* フォントを游ゴシックに設定 */
  font-size: 5em;
  text-align: left;
  white-space: nowrap;
}
.memcon3{
  padding: 5px 10%;
}

.memcon4{
  padding: 5px 10%;
}

.memcon5{
  padding: 5px 10%;
}
  .ac{
    text-align: center;
  }
  .accon{
    text-align: center;
    display: block;
  }

  .accon ul{
    display: inline-block;
    margin: 30px 30px 0 30px;
  }

  .accon ul li{
    text-align: left;
    font-size: 2rem;
    margin: 8px;
    list-style:none;
  }

  .ulcon{
    margin-bottom: 30px;
  }

  .Och2{
    font-family: "Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", sans-serif; /* フォントを游ゴシックに設定 */
    text-align: center;
    font-size: 6em;
  }
  .Och2 p{
    border-width:5px;
    border-style:solid;
  }
  .Occon{
    text-align: center;
  }
  .Occontext{
    padding: 3% 18%;
    font-size: 2rem;
  }
  hr{
    width: 65%;
  }
  .hoge-list {
    display: flex;
    flex-wrap: wrap;
    padding: 3% 18%;
  }
  
  .hoge-item {
    width: calc(24% - 30px * 2 / 4);
    margin-right: 30px;
    margin-top: 30px;
    background-color: #fff;
    list-style:none;
  }
  
  .hoge-item:nth-child(4n) {
    margin-right: 0;
  }
  .hoge-item-picture{
    margin: 0;
    width: 50%;
  }
  
  .hoge-item-link{
    display: flex;
    text-decoration: none; 
  }

  .hoge-item-link {
    color: #333;
  }
  
  .hoge-item-picture img {
    width: 30%;
    height: auto;
  }
  
  .hoge-item-body{
    position: relative;
  }
  
  .hoge-item-title {
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
    padding:0 0 0 10px;
  }
  
  .hoge-item-text {
    white-space: nowrap;
    padding:0 0 0 10px;
    font-size: 1.5rem;
  }
  
  .hoge-item-more{
    position: absolute;
    bottom: 0;
    padding:0 0 0 10px;
    white-space: nowrap;
  }
  .memberimg{
    padding: 5px 10%;
  }
  .hoge-listimg {
    display: flex;
    flex-wrap: wrap;
  }
  
  .hoge-itemimg {
    width: calc(30% - 15px * 2 / 4);
    margin-right: 30px;
    margin-top: 30px;
    background-color: #fff;
    list-style:none;
  }
  .map{
    width: 100%;
    position: relative;
    padding-top: 56.25%;
  }
  .map iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 75%;
    height: 80%;
  }


  .dummy_btn {
    display:block;
    height:50px;
    background: #06063d;
    color: #fff;
    width: 250px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 50px auto;
    text-decoration: none;
  }

  footer{
    width: 100%;
    height: 100px; 
    text-align: center;
    padding: 50px 0;
    background-color: #06063d;
  }
  
  .footertext{
    color: white;
  } 



  .Occon img{
    text-align: center;
    width: 75%;
  }

  html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #505050;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #505050;
    border-right: 3px solid #505050;
    transform: translateY(20%) rotate(-45deg);
}

  @media screen and (max-width: 1600px){
    /* -------------------------------------------------------------------769px~1600pxの画面サイズで適用されるスタイル----------------------------------------------------------------------- */
    .memcon1{
      padding: 50px 30% 50px 10%;
      margin: 0,auto;
      background-image:url(image/back1.png);
      background-size:300px;
      background-repeat:no-repeat;
      background-position:top left;
      background-image:url(image/back2.png);
      background-size:150px;
      background-repeat:no-repeat;
      background-position:top right;
      display:block;
    }

    .memcon1img{
      object-fit: cover;
      height: 100%;
      display: block;
      float:left;
    }
    .memcon1ol{
      display: grid;
      grid-template-columns: repeat(2, auto);
      font-size: 2rem;
      margin-right: 30%;
    }
    .memcon1ilhe a{
      padding-right: 10px;
      white-space: nowrap;
    }

    .memcon1il a{
      white-space: nowrap;
    }
    .memcon2{
      padding: 4% 20%;
      display: flex;
    }
    .memcon2item{
      flex: 1;
      display: block;
      padding: 0;
    }

    .memcon1map{
      width: 100%;
      position: relative;
      padding-top: 56.25%;
      margin-bottom: 25%;
    }

    .memcon1map iframe {
      position: absolute;
      top: 60%;
      left: 0;
      width: 150%;
      height: 150%;
    }
    .memberimg{
      padding: 15% 20% 0 20%;
    }
    .hoge-listimg {
      display: flex;
      flex-wrap: wrap;
    }
    .hoge-itemimg {
      width: calc(90% - 15px * 2 / 4);
      margin-right: 30px;
      margin-top: 30px;
      background-color: #fff;
      list-style:none;
    }

    .memcon3{
      padding: 4% 20%;
      display: flex;
    }

    .memcon4{
      padding: 4% 20%;
      display: flex;
    }

    .memcon5{
      padding: 4% 20%;
      display: flex;
    }

    .map{
      width: 100%;
      position: relative;
      padding-top: 56.25%;
    }
    .map iframe {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      width: 55%;
      height: 60%;
    }

  }
    /* -----------------------------------------------------------------------------1100px以下の場合のスタイル--------------------------------------------------------------------------------- */
  @media screen and (max-width: 1100px) {
    .hoge-item {
      width: calc(45% - 30px * 2 / 4);
      margin-right: 30px;
      margin-top: 30px;
      background-color: #fff;
      list-style:none;
    }
  .hoge-item-picture{
    margin: 0;
    width: 45%;
  }
}
  @media screen and (max-width: 768px) {
    /* -----------------------------------------------------------------------------768px以下の場合のスタイル--------------------------------------------------------------------------------- */
    html {
      font-size: 52.5%;
    }
    .memcon1{
      padding: 15px 0% 0px;
      margin: 0,auto;
      background-image:url(image/back1.png);
      background-size:300px;
      background-repeat:no-repeat;
      background-position:top left;
      background-image:url(image/back2.png);
      background-size:150px;
      background-repeat:no-repeat;
      background-position:top right;
      display:block;
    }

    .memcon1img{
      object-fit: cover;
      width: 40%;
      clear:both;
      margin-left: 25%;
    }
    .memcon1ol{
      display: grid;
      grid-template-columns: repeat(2, auto);
      font-size: 2rem;
      padding-top: 5%;
      clear:both;
    }
    .memcon1ilhe a{
      padding-right: 10px;
      white-space: nowrap;
    }

    .memcon1il a{
      white-space: normal;
    }

    .memcon1map{
      width: 100%;
      position: relative;
      padding-top: 56.25%;
    }

    .memcon1map iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .memberimg{
      padding: 0% 10%;
    }

    .memcon2{
      padding: 5px 10%;
      display: flex;
    }
    .memcon2item{
      flex: 1;
      display: block;
      padding: 0;
    }
    .memcon3{
      padding: 5px 10%;
      display: flex;
    }
    .memcon3item{
      flex: 1;
      display: block;
      padding: 0;
    }

    .memcon4{
      padding: 5px 10%;
      display: flex;
    }
    .memcon4item{
      flex: 1;
      display: block;
      padding: 0;
    }
    .memcon5{
      padding: 5px 10%;
      display: flex;
    }
    .memcon5item{
      flex: 1;
      display: block;
      padding: 0;
    }

    .Och2{
      font-size: 4em;
    }

    .hoge-item {
      width: calc(45% - 30px * 2 / 4);
      margin-right: 30px;
      margin-top: 30px;
      background-color: #fff;
      list-style:none;
    }

    .hoge-item-picture{
      margin: 0;
      width: 45%;
    }

    .hoge-listimg {
      display: flex;
      flex-wrap: wrap;
      padding: -10% 11% 0% 18%;
    }

    .hoge-itemimg {
      width: calc(100% - 15px * 2 / 4);
      margin-right: 30px;
      margin-top: 30px;
      background-color: #fff;
      list-style:none;
    }

    .map{
      width: 100%;
      position: relative;
      padding-top: 56.25%;
    }
    .map iframe {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      width: 55%;
      height: 60%;
    }
  }

  @media screen and (max-width: 480px) {
    .hoge-item-title {
      white-space: nowrap;
      font-size: 15px;
      font-weight: bold;
      padding:0 0 0 10px;
    }
  }
  