@charset "utf-8";


/* heroarea---------------------------------------------------- */
#heroarea {
  position: relative;
  padding-bottom: 200px;
}

#heroarea.wrapper {
  max-width: 1280px;
  margin: 40px auto;
}

#heroarea .flex{
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 100px;
  margin-top: 100px;
}

#heroarea .flex .left {
  width: 30%;
  text-align: center;
  position: relative;
}

#heroarea .flex .left img{
  width: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}



#heroarea .flex .right {
  width: 70%;
  text-align: left;
  padding-left: 40px;
}

#heroarea .flex .right .main-title{
  font-size: 5rem;
  margin-bottom: 20px;
}
#heroarea .flex .right .sub-title{
  font-size: 2rem;
  margin-bottom: 20px;
}
#heroarea .flex .right .description{
  font-size: 1.25rem;
}



#heroarea .filter-controls {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 100%;
}

#heroarea .filter-controls .flex{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
  gap: 20px;
}

#heroarea .filter-controls .filter-item{
  width: 150px;
  text-align: center;
}

#heroarea .filter-controls .filter-item img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 100%;
  transition: transform 0.1s ease-in-out;
  cursor: pointer;
}

#heroarea .filter-controls .filter-item img:hover{
  transform: translateY(-2px);
}

#heroarea .filter-controls .filter-item img:active{
  transform: translateY(2px);
}

/* タブレット横 */
@media screen and (min-width: 900px) and (max-width: 1180px){
#heroarea {
  padding-top: 100px;
  padding-bottom: 400px;
}

  #heroarea.wrapper {
    max-width: 1180px;
    width: 100%;
    margin-bottom: 100px;
  }

  #heroarea .flex{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 80px;
  margin-top: 0;
  width: 100%;
  padding: 0 40px;
  }

  #heroarea .flex .left {
    width: 35%;
    text-align: center;
  }

  #heroarea .flex .left img{
    width: auto;
    height: 90%;
    object-fit: cover;
  }


  #heroarea .flex .right {
    width: 65%;
    text-align: center;
    padding-left: 0;
  }
  #heroarea .flex .right .main-title{
  font-size: 4rem;
  margin-bottom: 10px;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 1.25rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 100px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0;
    width: 100%;
    gap: 20px;
  }

  #heroarea .filter-controls .filter-item{
    width: 150px;
    text-align: center;
  }

  #heroarea .filter-controls .filter-item img{
    width: 150px;
    height: 150px;
  }
  span .ss{
    font-size: 0.5rem;
  }
}


/* タブレット縦 */
@media screen and (min-width: 768px) and (max-width: 899px){
#heroarea {
  padding-top: 80px;
  padding-bottom: 400px;
}

  #heroarea.wrapper {
    max-width: 899px;
    width: 100%;
    margin-bottom: 100px;
  }

  #heroarea .flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 80px;
  margin-top: 0;
  width: 100%;
  padding: 0 40px;
  }

    #heroarea .flex .left {
    width: 100%;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
  }

  #heroarea .flex .left img{
    width: 40%;
    object-fit: cover;
    position: static;
    top: 0;
  }


  #heroarea .flex .right {
    width: 100%;
    text-align: center;
  }
  #heroarea .flex .right .main-title{
  font-size: 4rem;
  margin-bottom: 10px;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 1.25rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 100px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0;
    width: 100%;
    gap: 20px;
  }

  #heroarea .filter-controls .filter-item{
    width: 150px;
    text-align: center;
  }

  #heroarea .filter-controls .filter-item img{
    width: 150px;
    height: 150px;
  }
  span .ss{
    font-size: 0.5rem;
  }
}

/* スマホ横 */
@media screen and (min-width: 431px) and (max-width: 767px) {
  #heroarea {
    position: relative;
    padding-bottom: 350px;
    max-width: 767px;
  }

  #heroarea.wrapper {
    width: 100%;
  }

  #heroarea .flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 60px;
    margin-top: 100px;
  }

  #heroarea .flex .left {
    width: 30%;
    padding-top: 20px;
    text-align: center;
  }

  #heroarea .flex .left img{
    width: 100%;
    object-fit: cover;
    position: sticky;
    top: 80px;
  }

  #heroarea .flex .right {
    width: 70%;
    text-align: center;
  }

  #heroarea .flex .right .main-title{
    font-size: 3rem;
    margin-bottom: 20px;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.75rem;
    margin-bottom: 20px;
  }
  #heroarea .flex .right .description{
    font-size: 0.75rem;
  }

  #heroarea .filter-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
    gap: 15px;
  }

  #heroarea .filter-controls .filter-item{
    width: 130px;
    text-align: center;
  }

  #heroarea .filter-controls .filter-item img{
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 100%;
    transition: transform 0.1s ease-in-out;
    cursor: pointer;
  }

    span.ss{
    font-size: 1rem;
  }

  #heroarea .filter-controls .filter-item img:hover{
    transform: translateY(-2px);
  }

  #heroarea .filter-controls .filter-item img:active{
    transform: translateY(2px);
  }
}


/* スマホ縦 */
@media screen and (max-width: 430px){
  #heroarea {
  padding-top: 0;
  padding-bottom: 260px;
}

  #heroarea .flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-bottom: 40px;
  margin-top: 80px;
  padding: 0 20px;
  }



  #heroarea .flex .left {
    width: 100%;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
  }

  #heroarea .flex .left img{
    width: 60%;
    object-fit: cover;
    position: static;
    top: 0;
  }
  

  #heroarea .flex .right {
    width: 100%;
    text-align: center;
    padding-left: 0;
  }


  #heroarea .flex .right .main-title{
  width: 100%;
  font-size: 3rem;
  margin-bottom: 0;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.25rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 0.95rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 80px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 40px;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box; 
    gap: 5px;
  }

  #heroarea .filter-controls .filter-item{
    width: 90px;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 10px;
  }

  #heroarea .filter-controls .filter-item img{
    width: 90px;
    height: 90px;
  }
  span.ss{
    font-size: 0.7rem;
  }
}

/* スマホ縦(SE) */
@media screen and (max-width: 385px){
  #heroarea {
  padding-top: 0;
  padding-bottom: 260px;
}

  #heroarea .flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-bottom: 40px;
  margin-top: 80px;
  padding: 0 20px;
  }



  #heroarea .flex .left {
    width: 100%;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
  }

  #heroarea .flex .left img{
    width: 50%;
    object-fit: cover;
    position: static;
    top: 0;
  }
  

  #heroarea .flex .right {
    width: 100%;
    text-align: center;
    padding-left: 0;
  }


  #heroarea .flex .right .main-title{
  width: 100%;
  font-size: 2rem;
  margin-bottom: 0;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.15rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 0.85rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 40px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 10px;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box; 
    gap: 8px;
  }

  #heroarea .filter-controls .filter-item{
    width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 10px;
  }

  #heroarea .filter-controls .filter-item img{
    width: 80px;
    height: 80px;
  }
  span.ss{
    font-size: 0.6rem;
  }
}

/* スマホ縦(min) */
@media screen and (max-width: 374px){
  #heroarea {
  padding-top: 0;
  padding-bottom: 260px;
}

  #heroarea .flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 80px;
  padding: 0 20px;
  }



  #heroarea .flex .left {
    width: 100%;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
  }

  #heroarea .flex .left img{
    width: 50%;
    object-fit: cover;
    position: static;
    top: 0;
  }
  

  #heroarea .flex .right {
    width: 100%;
    text-align: center;
    padding-left: 0;
  }


  #heroarea .flex .right .main-title{
  width: 100%;
  font-size: 2rem;
  margin-bottom: 0;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.15rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 0.85rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 0px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 10px;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box; 
    gap: 10px;
  }

  #heroarea .filter-controls .filter-item{
    width: 70px;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 10px;
  }

  #heroarea .filter-controls .filter-item img{
    width: 70px;
    height: 70px;
  }
  span.ss{
    font-size: 0.6rem;
  }
}



/* タブレット(縦長) */
@media screen and (orientation: portrait) and (min-width: 600px) and (max-width: 767px){
#heroarea {
  padding-top: 80px;
  padding-bottom: 400px;
}

  #heroarea.wrapper {
    max-width: 899px;
    width: 100%;
    margin-bottom: 40px;
  }

  #heroarea .flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 80px;
  margin-top: 0;
  width: 100%;
  padding: 0 40px;
  }

    #heroarea .flex .left {
    width: 100%;
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
  }

  #heroarea .flex .left img{
    width: 40%;
    object-fit: cover;
    position: static;
    top: 0;
  }


  #heroarea .flex .right {
    width: 100%;
    text-align: center;
  }
  #heroarea .flex .right .main-title{
  font-size: 4rem;
  margin-bottom: 10px;
  }
  #heroarea .flex .right .sub-title{
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  #heroarea .flex .right .description{
    font-size: 1.25rem;
  }

  #heroarea .filter-controls {
    margin-bottom: 100px;
  }

  #heroarea .filter-controls .flex{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0;
    width: 100%;
    gap: 10px;
  }

  #heroarea .filter-controls .filter-item{
    width: 120px;
    text-align: center;
  }

  #heroarea .filter-controls .filter-item img{
    width: 120px;
    height: 120px;
  }
  .filter-item .ss{
    font-size: 0.8rem;
  }
}


/* gallery-container---------------------------------------------------------- */
:root {
  --gallery-column-width: 180px;
  --gallery-gutter: 10px;
  --gallery-item-height: 240px;
}

.gallery-null-pc {
  display: block;
}
.gallery-null-sp {
  display: none;
}

#gallery-container.wrapper {
  max-width: 1080px;
  margin: 40px auto;
  box-sizing: border-box;
  padding: 0;
}

.gallery-grid {
  margin: 0;
  display: block;
  width: 100%;
}

.gallery-grid {
  position: relative;
}

.grid-sizer {
  width: var(--gallery-column-width);
}


.gallery-item{
  width: var(--gallery-column-width);
  height: var(--gallery-item-height);
  margin-bottom: var(--gallery-gutter);
  overflow: hidden;
  object-fit: cover;
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 標準サイズ */
.gallery-item.grid-item {
  width: var(--gallery-column-width);
}

/* 横に2倍 */
.gallery-item.w2 {
    width: calc(var(--gallery-column-width) * 2 + var(--gallery-gutter));
}
/* 縦に2倍 */
.gallery-item.h2 {
    min-height: calc(var(--gallery-item-height) * 2 + var(--gallery-gutter));
}

/* 横に2倍縦2倍 */
.gallery-item.w2.h2 {
  width: calc(var(--gallery-column-width) * 2 + var(--gallery-gutter));
  height: calc(var(--gallery-item-height) * 2 + var(--gallery-gutter));
}

/* フィルター後 */
.is-filtered-grid {
  width: var(--gallery-column-width);
  height: var(--gallery-item-height);
}



@keyframes tilt {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(1deg);}
}

.gallery-item:hover{
  animation: tilt 0.1s ease-in-out alternate;
  animation-iteration-count: 4;
}

.details-content {
  display: none;
}


/* tablet_横--- */
@media screen and (max-width: 1024px){
.gallery-null-pc {
  display: none;
}
.gallery-null-sp {
  display: block;
}

  #gallery-container.wrapper {
    max-width: 1024px;
    width: 100%;
    margin: 40px auto;
  }
}

/* tablet--- */
@media screen and (min-width: 429px) and (max-width: 768px){
.gallery-null-pc {
  display: none;
}
.gallery-null-sp {
  display: block;
}

  #gallery-container.wrapper {
    max-width: 768px;
    width: 100%;
    margin: 40px auto;
  }
}


/* SP---------- */
@media screen and (max-width: 430px){
.gallery-null-pc {
  display: none;
}
.gallery-null-sp {
  display: block;
}

#gallery-container.wrapper {
  max-width: 100%;
  width: 100%;
  margin: 40px auto;
}
}

/* tablet(long)--- */
@media screen and (orientation: portrait) and (min-width: 600px){
.gallery-null-pc {
  display: none;
}
.gallery-null-sp {
  display: block;
}

  #gallery-container.wrapper {
    max-width: 768px;
    width: 100%;
    margin: 40px auto;
  }
}


/* ★ window★★★★ */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#imageModal.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}
#imageModal.hide {
  opacity: 0;
  visibility: hidden;
}

.modal {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color:rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.modal.show {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.modal-content {
  background-color: #fffff0;
  margin: 10% auto;
  padding: 40px 20px;
  border-radius: 3px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  position: relative;
  bottom: 2%;
  overflow: hidden;
}

.modal-content:before{
  position:absolute;
  content:'';
  display: block;
  width: 100%;
  height: 20px;
  top:0;
  left: 0;
  background-image: url(/img/square_line.png);
  background-size: contain;
}
.modal-content:after{
  position:absolute;
  content:'';
  display: block;
  width: 100%;
  height: 20px;
  bottom:0;
  left: 0;
  background-image: url(/img/square_line.png);
  background-size: contain;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
}

/* PC版スタイル */
.modal-body {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: flex-start;
  flex-wrap: nowrap;
  min-height: 60vh;
}



.modal-img-container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}
.modal-img-container img { 
 object-fit: contain;
 display: block;
 max-width: 90%;
 max-height: 80vh;
 width: auto;
 height: auto;
}
.modal-img-container.pc-images img { 
 height: auto;
 max-height: 70vh;
 object-fit: contain;
}
.modal-img-container.pc-images .yoko { 
 object-fit: contain;
 width: auto;
 max-width: 100%;
 height: auto;
 max-height: 60vh;
 display: block;
 margin: 0 auto;
}

.modal-img-container.pc-images{
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: auto;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.modalVideo {
  display: block;
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  align-self:center;
}


.modal-text-container {
  width: 55%;
  max-height: 60vh;
  overflow-y: auto !important;
  position: relative;
  padding-right: 10px;
}

.modal-text-container:not(.show-scroll-hint)::-webkit-scrollbar {
  display: none;
}

#modalDescription {
   white-space: pre-line; 
}


/* === PC用：2枚スライド === */
.pc-images {
  position: relative;
  width: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.pc-slides {
  display: flex;
  transition: transform 0.6s ease;
}

.pc-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.pc-slide img {
    max-width: 100%;
  max-height: 80vh;
  width: 55%;
  height: auto;
  object-fit: contain;
}

.pc-prev,
.pc-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.6);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.pc-prev:hover,
.pc-next:hover {
  background: rgba(255, 255, 255, 0.9);
}

.pc-prev { left: 10px; }
.pc-next { right: 10px; }


.modalImage1,
.modalImage2 {
  max-width: 100%;
  max-height: 80vh; 
  object-fit: cover; 
  display: block;
  margin: 0 auto;
  background-color: #000; 
}



/* 1枚画像（縦向き）のレイアウト */
.modal-body.one-image {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap:20px;
  max-height: 80vh;
}

.modal-body.one-image .modal-img-container.pc-images {
  width: 50%;
}

.modal-body.one-image .modal-img-container.pc-images img{
  width: 100%;
  object-fit: cover;
}

.modal-img-container.pc-images img,
.modal-img-container.pc-images video {
  max-width: 100%;   
  width: auto; 
  max-height: 60vh;
  height: auto;
  object-fit: contain; 
  display: block;
  margin: 0 auto;
}


.modal-body.one-image .modal-text-container{
  width: 50%;
}

/* 2枚画像（横並び）のレイアウト */
.modal-content.modal-large {
  max-width: 1200px;
}
.modal-content.modal-large .modal-img-container.pc-images {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 60%;
  max-width: 90vw;
  margin: 0 auto;
}
.modal-content.modal-large .modal-img-container.pc-images img{
  width: 48%;
  height: auto;
  object-fit: contain;
}
.modal-content.modal-large .modal-text-container {
  width: 40%;
  margin-left: 10px;
  max-height: 60vh; 
  overflow-y: auto !important; /* 縦スクロール */
  box-sizing: border-box; 
  padding: 10px; /* 余白 */
}




/* 横向き画像（1枚）のレイアウト */
.modal-content.modal-wide {
  max-width: 1000px;
  height: 70vh;
}
.modal-content.modal-wide .modal-body{
  height: 50vh;
  justify-content: center;
  gap: 15px;
}
.modal-content.modal-wide .modal-img-container.pc-images {
  width: 60%;
  margin-top: 10px;
}
.modal-content.modal-wide .modal-text-container {
  width: 40%;
  margin-top: 10px;
}
.modal-img-container.pc-images .yoko {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 60vh;
}

.modal-img-container.carousel-container {
  display:none;
}
.carousel-container .prev-btn,
.carousel-container .next-btn {
  display: none;
}

.carousel-img {
  display: none;
}

#modalTitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#modalDescription {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.modal-text-container p {
  white-space: pre-wrap;
}

/* all device */
.modal-text-container {
  position: relative;
  flex: 1;
  width: 100%;
  overflow-y: auto !important; 
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
  padding-top: 1rem;
  padding-right: 10px;
  scrollbar-width: thin;
}

/* scroll bar */
.modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
}

.modal-text-container::after {
  content: '';
  background-image: url(/img/scroll.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 30%;
  right: 30%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}


.modal-text-container.show-scroll-hint::after {
  animation: showScrollHint 2s ease-out forwards;
}

@keyframes showScrollHint {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  15% {
    opacity: 0.8;
    transform: translate(-50%, 0);
  }
  60% {
    opacity: 0.8;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -5px);
  }
}


/* タブレット横 */
@media screen and  (min-width: 767px) and (max-width: 1024px) {

  .modal-content {
    width: 95%;
    max-width: 800px;
    bottom: 2%;
    padding: 40px;
  }

  .modal-body{
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    gap: 20px;
  }

  .modal-img-container.pc-images {
    display: none;
  }

  .modal-img-container.carousel-container{
    display: block !important; 
    width: 50%;
    min-height: 50vh;
    position: relative;
  }

  .carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: none; 
    opacity: 0;
    transition: opacity 0.4s ease;
    margin: 0 auto;
  }

  
  .carousel-img.active {
    display: block !important; 
    opacity: 1 !important;
    position: relative;
    z-index: 2;
  }

  .carousel-container .prev-btn,
  .carousel-container .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    z-index:100;
  }

  .carousel-container .prev-btn{ 
    left: 0;
  }
  .carousel-container .next-btn{
    right: 0;
  }

  .modal-text-container {
    width: 50%;
    align-self: flex-start;
  }

  #modalTitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  #modalDescription {
    font-size: 1rem;
    line-height: 1.6;
  }
    .modal-content.modal-wide .modal-body {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }

  .modal-content.modal-wide .modal-img-container.carousel-container {
    width: 60%; 
    min-height: 60vh;
    display: block !important;
  }

  .modal-content.modal-wide .carousel-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
  }

  .modal-content.modal-wide .modal-text-container {
    width: 40%; 
    max-height: 70vh;
    overflow-y: hidden;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }
}

/* tablet縦 */
@media screen and (max-width: 768px) {
    .modal-content {
    width: 90%;
    max-width: 600px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80vh;
    overflow: hidden;
  }

  .modal-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    overflow: hidden;
  }

  .modal-img-container.pc-images {
    display: none;
  }

  .modal-img-container.carousel-container{
   display: block !important; 
    width: 100%;
    flex-shrink: 0;
    min-height: 20vh;
    position: relative;
  }

  .carousel-img {
    display: none; 
    max-width: 100%;
    margin: 0 auto;
    max-height: 60vh;
  }

  .carousel-img.active {
    display: block;
  }
  
  .carousel-img.active {
    display: block;
    max-height: 50vh;
    object-fit: contain;
  }

  .carousel-container .prev-btn,
  .carousel-container .next-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 101;
  }

  .carousel-container .prev-btn{ 
    left: 2%;
  }
  .carousel-container .next-btn{
    right: 2%;
  }

  .modal-text-container {
  position: relative;
  flex: 1;
  width: 100%;
  overflow-y: auto !important; 
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
  padding-top: 1rem;
  padding-right: 10px;
  scrollbar-width: thin;
}


.modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
}

.modal-text-container::after {
  content: '';
  background-image: url(/img/scroll.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 30%;
  right: 35%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}


.modal-text-container.show-scroll-hint::after {
  animation: showScrollHint 2s ease-out forwards;
}

.modal-content.modal-wide .modal-body {
  flex-direction: column !important;
  align-items: center !important;
  height: auto !important;
}

.modal-content.modal-wide .modal-img-container.carousel-container {
  width: 100% !important;
  min-height: 25vh !important;
  order: 1; 
}

.modal-content.modal-wide .modal-text-container {
  width: 90% !important;
  order: 2; 
  text-align: left;
}

  #modalTitle {
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-align: center;
  }

  #modalDescription {
    font-size: 1rem;
    line-height: 1.6;
  }

}

/* スマホ横向き */
@media screen and (min-width: 429px) and (max-width: 767px) {
  .modal-content {
    width: 100%;
    max-width: 600px;
    bottom: 0;
  }

  .modal-body {
    flex-direction: row;
    align-items: stretch;
    height: auto;
    width: 100%;
    max-width: 600px;
    flex-wrap: nowrap;

  }

  .modal-img-container.carousel-container {
    display: flex !important; 
    align-items: center;
    justify-content: center;
    width: 50%;
    min-height: 80vh;
    position: relative;
  }

  .carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: none; 
    opacity: 0;
    transition: opacity 0.4s ease;
    margin: 0 auto;
  }

  .carousel-img.active {
    display: block !important; 
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    max-height: 80vh;
  }

    .carousel-container .prev-btn,
  .carousel-container .next-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px 20px;
    z-index:200;
  }

    .carousel-container .prev-btn{ 
    left: -5%;
  }
  .carousel-container .next-btn{
    right: -5%;
  }

  .modal-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 45%;
    max-height: 80vh; 
    position: relative;
    overflow-y: scroll !important; 
    -webkit-overflow-scrolling: touch;
    padding-right: 10px; 
    scrollbar-width: thin;
    --scroll-thumb-top: 0%; 
  }

  .modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.modal-text-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 2px;
  width: 4px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  z-index: 5;
}

  .modal-text-container.scrolling::after {
    background: rgba(0, 0, 0, 0.6);
  }


  #modalTitle {
    font-size: 1.15rem;
    margin-bottom: 15px;
    text-align: center;
  }

  #modalDescription {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}


/* スマホ縦向き */
@media screen and (max-width: 430px) {

  .modal-content {
    width: 100%;
    max-width: 400px;
    bottom: 0;
    height: 80vh;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 80vh; 
    overflow: hidden; 
    width: 95%;
  }

  .modal-img-container.carousel-container {
    display: block;
    width: 100%;
  }

  .carousel-images {
    display: block;
    width: 100%;
    position: relative;
    overflow :hidden;
  }

  .carousel-img {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    display: none;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.4s ease, tranform 0.4s ease;
  }

  .carousel-img.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

   .carousel-container .prev-btn,
  .carousel-container .next-btn {
    top: 50%;
    z-index: 10;
  }
   .carousel-container .prev-btn {
   left: 0;
  }
   .carousel-container .next-btn {
   right: 0;
  }

  .modal-content {
    width: 90%;
    max-width: 400px;
    top: 0;
  }

  .modal-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 80vh; 
    position: relative;
    overflow-y: scroll !important; 
    -webkit-overflow-scrolling: touch;
    padding-right: 10px; 
    scrollbar-width: thin;
    --scroll-thumb-top: 0%; 
  }
  .modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.modal-text-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 2px;
  width: 4px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  z-index: 5;
}

.modal-text-container::after {
  content: '';
  background-image: url(/img/scroll.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 25%;
  right: 25%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

  .modal-img-container.pc-images img{
    height: 50%;
    max-width: 200px;
  }

    #modalTitle {
      font-size: 1.1rem;
      margin-bottom: 15px;
      text-align: center;
    }

    #modalDescription {
      font-size: 0.98rem;
      line-height: 1.6;
    }

  .close-btn {
    right: 10px;
}

/* --- ダメ押し：カルーセル画像は基本非表示にする --- */
.carousel-images img,
.carousel-images video,
.carousel-img {
  display: none;
  opacity: 0;
}

.carousel-images img.active,
.carousel-images video.active,
.carousel-img.active {
  display: block;
  opacity: 1;
}

}

/* スマホ縦向き(SE) */
@media screen and (max-width: 375px) {

  .modal-content {
    width: 100%;
    max-width: 400px;
    bottom: 0;
    height: 85vh;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 80vh; 
    overflow: hidden; 
    width: 95%;
  }

  .modal-img-container.carousel-container {
    display: block;
    width: 100%;
  }

  .carousel-images {
    display: block;
    width: 100%;
    position: relative;
    overflow :hidden;
  }

  .carousel-img {
    max-width: 100%;
    max-height: 50vh;
    object-fit: contain;
    display: none;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.4s ease, tranform 0.4s ease;
  }

  .carousel-img.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
  }

   .carousel-container .prev-btn,
  .carousel-container .next-btn {
    top: 50%;
    z-index: 10;
  }
   .carousel-container .prev-btn {
   left: 0;
  }
   .carousel-container .next-btn {
   right: 0;
  }

  .modal-content {
    width: 90%;
    max-width: 400px;
    top: 0;
  }

  .modal-text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 85vh; 
    position: relative;
    overflow-y: scroll !important; 
    -webkit-overflow-scrolling: touch;
    padding-right: 10px; 
    scrollbar-width: thin;
    --scroll-thumb-top: 0%; 
    padding-top: 0;
  }
  .modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.modal-text-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 2px;
  width: 4px;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  z-index: 5;
}

.modal-text-container::after {
  content: '';
  background-image: url(/img/scroll.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  position: absolute;
  bottom: 20%;
  right: 25%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

  .modal-img-container.pc-images img{
    height: 50%;
    max-width: 200px;
  }

    #modalTitle {
      font-size: 1rem;
      margin-bottom: 15px;
      text-align: center;
    }

    #modalDescription {
      font-size: 0.95rem;
      line-height: 1.6;
    }

  .close-btn {
    right: 10px;
}

/* --- ダメ押し：カルーセル画像は基本非表示にする --- */
.carousel-images img,
.carousel-images video,
.carousel-img {
  display: none;
  opacity: 0;
}

.carousel-images img.active,
.carousel-images video.active,
.carousel-img.active {
  display: block;
  opacity: 1;
}

}
/* --- タブレット横拡張 (1025px〜1200pxまで iPad横と同じレイアウトに) --- */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .modal-content {
    width: 95%;
    max-width: 900px;
    bottom: 2%;
    padding: 40px;
  }

  .modal-body {
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    gap: 20px;
  }

  /* PC用画像を非表示にしてカルーセル方式に統一 */
  .modal-img-container.pc-images {
    display: none !important;
  }

  .modal-img-container.carousel-container {
    display: block !important;
    width: 50%;
    min-height: 50vh;
    position: relative;
  }

  .carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .carousel-img.active {
    display: block;
    opacity: 1;
    position: relative;
    z-index: 2;
  }

  .carousel-container .prev-btn,
  .carousel-container .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 100;
  }

  .carousel-container .prev-btn {
    left: 0;
  }
  .carousel-container .next-btn {
    right: 0;
  }

  .modal-text-container {
    width: 50%;
    align-self: flex-start;
    overflow-y: auto !important;
    max-height: 70vh;
    padding-right: 10px;
  }

  #modalTitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  #modalDescription {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- 縦長デバイス（iPad縦・PCで縦長ウィンドウなど） --- */
@media screen and (orientation: portrait) and (min-width: 600px) {
   .modal-content {
    width: 90%;
    max-width: 600px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80vh;
    overflow: hidden;
  }

  .modal-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    overflow: hidden;
  }

  .modal-img-container.pc-images {
    display: none;
  }

  .modal-img-container.carousel-container{
   display: block !important; 
    width: 100%;
    flex-shrink: 0;
    min-height: 20vh;
    position: relative;
  }

  .carousel-img {
    display: none; 
    max-width: 100%;
    margin: 0 auto;
    max-height: 60vh;
  }

  .carousel-img.active {
    display: block;
  }
  
  .carousel-img.active {
    display: block;
    max-height: 50vh;
    object-fit: contain;
  }

  .carousel-container .prev-btn,
  .carousel-container .next-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    color: white;
    font-size: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 101;
  }

  .carousel-container .prev-btn{ 
    left: 2%;
  }
  .carousel-container .next-btn{
    right: 2%;
  }

  .modal-text-container {
  position: relative;
  flex: 1;
  width: 100%;
  overflow-y: auto !important; 
  max-height: 60vh;
  -webkit-overflow-scrolling: touch;
  padding-top: 1rem;
  padding-right: 10px;
  scrollbar-width: thin;
}

/* スクロールバー見やすく */
.modal-text-container::-webkit-scrollbar {
  width: 6px;
}
.modal-text-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
}

.modal-text-container::after {
  content: '';
  background-image: url(/img/scroll.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  bottom: 30%;
  right: 35%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}


.modal-text-container.show-scroll-hint::after {
  animation: showScrollHint 2s ease-out forwards;
}

.modal-content.modal-wide .modal-body {
  flex-direction: column !important;
  align-items: center !important;
  height: auto !important;
}

.modal-content.modal-wide .modal-img-container.carousel-container {
  width: 100% !important;
  min-height: 25vh !important;
  order: 1; 
}

.modal-content.modal-wide .modal-text-container {
  width: 90% !important;
  order: 2; 
  text-align: left;
}

  #modalTitle {
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-align: center;
  }

  #modalDescription {
    font-size: 1rem;
    line-height: 1.6;
  }

}






/* about------------------------------------------------------------------------------ */

#about {
  margin-top: 100px;
}

#about .top {
  margin-bottom: 1rem;
  text-align: center;
}


#about .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

#about .flex .left {
  width: 15%;
  text-align: center;
}

#about .flex .center {
  width: 50%;
  padding: 0 20px;
}


#about .flex .right {
  width: 15%;
  text-align: center;
}

#about .flex .left img, 
#about .flex .right img {
  width: 100px;
  height: auto;
} 

/* tablet_横 */
@media screen and (max-width: 1024px) {
  #about {
    margin-top: 80px;
  }

  #about .top {
    position: relative;
    font-size: 1.5rem;
  }

  #about .top::before {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_orange.png");
    background-size: 40px;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 30%;
  }
  #about .top::after {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_pink.png");
   background-size: 40px;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 70%;
  }

  #about .flex {
    align-items: flex-start;
    justify-content: space-around;
  }
  #about .flex .center p {
    text-align: justify;
  }

  #about .flex .left,
  #about .flex .right {
    display: none;
  }

  #about .flex .center {
    width: 80%;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

/* tablet縦 */
@media screen and (max-width: 768px) {
  #about {
    margin-top: 80px;
  }

  #about .top {
    position: relative;
    font-size: 1.25rem;
  }

  #about .top::before {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_orange.png");
    background-size: 28px;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 30%;
  }
  #about .top::after {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_pink.png");
   background-size: 28px;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 70%;
  }

  #about .flex {
    align-items: flex-start;
    justify-content: space-around;
  }
  #about .flex .center p {
    text-align: justify;
  }

  #about .flex .left,
  #about .flex .right {
    display: none;
  }

  #about .flex .center {
    width: 80%;
    padding: 0 10px;
    box-sizing: border-box;
  }
}


/* スマホ横向き */
@media screen and (min-width: 431px) and (max-width: 767px) {
  #about .wrapper .flex .center {
    font-size: 0.75rem;
  }
}

/* スマホ縦向き */
@media screen and (max-width: 430px) {
  #about {
    margin-top: 80px;
  }

  #about .top {
    position: relative;
    font-size: 1rem;
  }

  #about .top::before {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_orange.png");
    background-size: 28px;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 20%;
  }
  #about .top::after {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_pink.png");
   background-size: 28px;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 80%;
  }

  #about .flex {
    align-items: flex-start;
    justify-content: space-around;
  }
  #about .flex .center p {
    text-align: justify;
  }

  #about .flex .left,
  #about .flex .right {
    display: none;
  }

  #about .flex .center {
    width: 90%;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 375px){
    #about .top::before {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_orange.png");
    background-size: 24px;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 18%;
  }
  #about .top::after {
    position: absolute;
    content:'';
    background-image: url("/img/zousan_pink.png");
   background-size: 24px;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    top: 50%; 
    left: 82%;
  }
  
}


@media screen and (max-width: 374px){
    #about .top::before {
    background-size: 20px;
    width: 20px;
    height: 20px;
    left: 15%;
  }
  #about .top::after {
    background-size: 20px;
    width: 20px;
    height: 20px;
    left: 84%;
  }
  
}


#about .accordion-item {
  margin: 0 auto;
  text-align: center;
  width: 50%;
}

#about .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  margin: 20px 0;
  background-color: #fff8dc;
}

#about .accordion-content .line{
 width: 100%;
 height: auto;
}

#about .accordion-content .item {
margin-top: 10px;
margin-bottom: 1rem;
text-align: center;
}
#about .accordion-content .item:first-child {
margin-top: 20px;
}

#about .accordion-content .icon{
 width: 20px;
 height: auto;
 margin-right: 5px;
 box-sizing: border-box;
vertical-align: bottom;
}

#about .accordion-content.active {
  max-height: 500px;
  padding-bottom: 40px;
}


.accordion-title {
  cursor: pointer;
}
.accordion-title img{
  width: 20px;
  height: auto;
  vertical-align: text-bottom;
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  #about .accordion-item {
    width: 80%;
     }

  #about .accordion-content.active {
    padding-left: 10px;
    padding-right: 10px;
  }
}

