/* 埋め込み用リセット: megry reset.css を #megry-section にスコープ */
#megry-section *, #megry-section *::before, #megry-section *::after,
#megry-first-view *, #megry-first-view *::before, #megry-first-view *::after{ box-sizing: border-box; }

#megry-section blockquote, #megry-section dd, #megry-section dl, #megry-section figure,
#megry-section h1, #megry-section h2, #megry-section h3, #megry-section h4,
#megry-section ol, #megry-section p, #megry-section ul,
#megry-first-view blockquote, #megry-first-view dd, #megry-first-view dl, #megry-first-view figure,
#megry-first-view h1, #megry-first-view h2, #megry-first-view h3, #megry-first-view h4,
#megry-first-view ol, #megry-first-view p, #megry-first-view ul{ margin: 0; }

#megry-section h1, #megry-section h2, #megry-section h3, #megry-section h4, #megry-section h5, #megry-section h6,
#megry-first-view h1, #megry-first-view h2, #megry-first-view h3, #megry-first-view h4, #megry-first-view h5, #megry-first-view h6{ font-family: inherit; font-weight: inherit; font-size: inherit; color: inherit; line-height: inherit; }

#megry-section ol, #megry-section ul,
#megry-first-view ol, #megry-first-viewn ul{ list-style: none; padding: 0; }

#megry-section img,#megry-first-view img { height: auto; vertical-align: top; border: 0; }

#megry-section img, #megry-section picture,
#megry-first-view img, #megry-first-view picture{ max-width: 100%; display: block; }

#megry-section .img img, #megry-section figure img,
#megry-first-view .img img, #megry-first-view figure img{ width: 100%; }

#megry-section a, #megry-section a:hover,
#megry-first-view a, #megry-first-view a:hover{ color: inherit; text-decoration: none; }

#megry-section button, #megry-section input, #megry-section select, #megry-section textarea,
#megry-first-view button, #megry-first-view input, #megry-first-view select, #megry-first-view textarea{ font: inherit; margin: 0; padding: 0; }

#megry-section table,#megry-first-view table { border-collapse: collapse; }

#megry-first-view h2 {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

/* 既存の個別調整（維持） */
#megry-section .section-latest-post-container,
#megry-first-view .section-latest-post-container{ padding: 3.2rem 0 0; }

#megry-section .latest-post-article article a figure,
#megry-first-view .latest-post-article article a figure{ margin: 0; }



/* RESORTS.CO.JP */
@media (max-width: 768px) {
    .main-container .main-item {
        width: 100%;
    }
}

/* RESORTS RYUKYU LIST */
.main-container #hotel_list {
  box-shadow: unset;
}

.main-container #hotel_list #data_tables {
  font-size: 12px;
}

/* HOTEL BRAND */
.main-item .hotel-brand-text {
  font-size: 12px;
}

.main-item ul li .uk-card-media-top {
    padding: 20px 40px;
}

.main-item ul li .uk-card-media-top img {
  width: 100%;
  aspect-ratio: 249 / 86;
  object-fit: contain;
  padding: 0;
}

.main-item ul li .uk-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: unset;
  border: 1px solid black;
  border-radius: 10px;
  overflow: hidden;
}

.main-item ul li .uk-card-body > div,
.main-item ul li .uk-card-body > div .uk-card-title,
.main-item ul li .uk-card-body > div .uk-labek {
  font-size: 14px;
}

.main-item ul li .uk-card-body.uk-text-center {
  margin-top: auto;
}

.main-item ul li .card-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 予約セクション */
#search_box {
    margin: 0;
    padding: 0 0 2rem;
    box-shadow: unset;
}

@media(min-width:600px){
  #search_box {
    padding: 0 0 5rem;
  }
}

/* 共通パーツ */
html #megry-section,
html #megry-first-view{
  font-size: 14px !important;
}

#megry-section a, #megry-section a:hover,
#megry-first-view a, #megry-first-view a:hover{
    text-decoration: none !important;
}

/*見出し */
#megry-section .title-13 {
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: var(--color-text-002) !important;
}

#megry-section .title-14,
#megry-first-view .title-14{
    margin-bottom: 0.4em !important;
    font-weight: 500 !important;
    font-size: 5.8vw !important;
}

 #megry-section .title-14+.text-01,
 #megry-first-view .title-14+.text-01{
  margin: 0 0 1rem !important;
}

#megry-first-view .title-14{
  padding-bottom: 0;
}

#megry-first-view .title-14::after{
  content: none;
}

@media (min-width: 599px) {
    #megry-section .title-14,
    #megry-first-view .title-14{
        font-size: 2rem !important;
    }
}

@media (min-width: 1024px) {
    #megry-section .title-14,
    #megry-first-view .title-14{
        font-size: 30px !important;
    }
}


/* ボタン */
#megry-section .btn-03 a,
#megry-first-view .btn-03 a{
  -webkit-transition: .3s linear !important;
  transition: .3s linear !important;
}

#megry-section .btn-03 a:hover,
#megry-first-view .btn-03 a:hover{
    color: white !important;
    background-color: var(--color-009) !important;
}

#megry-section .btn-03.-alternative a,
#megry-first-view .btn-03.-alternative a{
    color: white !important;
    background-color: var(--color-009) !important;
}

#megry-section .btn-03.-alternative a:hover,
#megry-first-view .btn-03.-alternative a:hover{
    color: var(--color-009) !important;
    background-color: white !important;
}

/* カード */
#megry-section .list-post .post-title,
#megry-first-view .list-post .post-title{
    margin-bottom: clamp(0.6rem, -2.15rem + 11.73vw, 1.7rem) !important;
    font-size: 19px !important;
}

#megry-section .special-contents-wrap .list-post .post-title,
#megry-first-view .special-contents-wrap .list-post .post-title{
    font-size: 15px !important;
}

#megry-section .list-post .post-title,
#megry-first-view .list-post .post-title{
    font-weight: bold !important;
}

#megry-section .section-post-container,
#megry-first-view .section-post-container{
  padding: 4rem 0;
}

#megry-section .section-post-container .list-post article a:hover .post-title,
#megry-first-view .section-post-container .list-post article a:hover .post-title{
  text-decoration: underline !important;
}

@media (min-width: 1024px) {
  #megry-section .section-post-container .list-post,
  #megry-first-view .section-post-container .list-post{
    grid-template-columns: repeat(4, calc((100% - 6rem) / 4)) !important;
  }
  #megry-section .section-post-container .special-contents-wrap .list-post{
    grid-template-columns: repeat(4, 98%);
  }
  
  #megry-section .list-post .post-title,
  #megry-first-view .list-post .post-title{
      margin-bottom: 1rem !important;
      font-weight: 700 !important;
      font-size: 16px !important;
  }
  #megry-section .special-contents-wrap .list-post .post-title {
      font-size: 15px !important;
  }
  
  #megry-section .section-post-container,
  #megry-first-view .section-post-container{
    padding: 6rem 0;
  }
}

#megry-section .section-post-container .special-contents-wrap,
#megry-section .section-post-container .special-contents-wrap *,
#megry-first-view .section-post-container .special-contents-wrap,
#megry-first-view .section-post-container .special-contents-wrap *{
  box-sizing: content-box !important;
}

#megry-section .list-post .ver-special .post-title,
#megry-first-view .list-post .ver-special .post-title{
    margin-bottom: 0 !important;
}

#megry-section #instafeed {
  width: 100%;
}

@media (max-width: 1024px){
  #megry-section .section-post-container .special-contents-wrap,
  #megry-section .section-post-container .special-contents-wrap *,
  #megry-first-view .section-post-container .special-contents-wrap,
  #megry-first-view .section-post-container .special-contents-wrap *{
    box-sizing: border-box !important;
  }
}

/* ヘッダー */
#megry-section .to‐top,
#megry-first-view .to‐top{
    display: none !important;
}

/* .totop {
    content: unset !important;
    width: auto !important;
    display: unset !important;
    color: inherit !important;
    border: none !important;
    border-radius: unset !important;
    background: none !important;
    bottom: 0 !important;
    right: 0 !important;
    aspect-ratio: unset !important;
}

.totop::before,.totop::after {
    content: none !important;
} */

/* フッター */
#megry-section .footer-nav-heading {
    font-weight: bold !important;
    font-size: 15px !important;
    color: var(--color-text-002) !important;
}

#megry-section .footer-nav-item .list-nav li a:hover {
    text-decoration: underline !important;
}

#megry-first-view .swiper-01-wrap .swiper-slide{
  margin-top: 0;
}

#megry-first-view .swiper-01-wrap .swiper-slide-heading-title {
    width: 10%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-left: 0.8rem;
    font-weight: 500;
    font-size: 0.95rem;
}

/* 最新記事 */
#megry-section .latest-post-img-wrap .img{
  height: 100%;
}

@media (min-width: 1024px) {
    #megry-section .latest-post-title .title-13 {
        margin-top: 1.7em !important;
    }
    
    
    #megry-section .latest-post-content .title-12 {
        line-height: 1.15vw !important;
    }
}

/* ビジュアル検索 */
#megry-section .section-post-container.-pattern-black [class^=title]{
    color: var(--color-001) !important;
}

/* 人気記事ランキング */
@media (min-width: 1024px) {
    #megry-section .box-article-ranking .title-article-ranking {
        font-weight: 500 !important;
        font-size: clamp(1.125rem, 1.068rem + 0.24vw, 1.29rem) !important;
        color: #fff !important;
    }
}

/* 沖縄旅行の服装ガイド */
#megry-section .list-clothing-guide-link li a {
    color: white !important;
}

/* 見たまま編集画面用 */
[data-element-id] #megry-section .main-item .uk-table-divider > :not(:first-child) > tr:nth-of-type(n+2) {
  display: none;
}

[data-element-id] .totop {
    max-width: 4rem;
    position: relative !important;
    bottom: auto;
    right: auto;
}

[data-element-id] .uk-position-bottom{
      position: relative !important;
}
