/*fvのレスポンシブ*/
/*1:1*/
@media (max-aspect-ratio: 1/1) {
  .fv-area {
    background-position: right bottom;
    background-size: 80% auto;
  }
  .rokkaku-none01,
  .rokkaku-none02 {
    display: none;
  }
  .top-mo-none {
    display: none;
  }
  .top-pc-none {
    display: block;
  }
}

/*縦長*/
@media (max-aspect-ratio: 3/4) {
  .fv-com-box {
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: 30%;
    margin: 0 auto;
    top: 12%;
    font-size: 3vh;
  }
  .fv-top-logo {
    width: 70vw;
    bottom: 10%;
  }
}
/* ワイドディスプレイ */
@media (min-aspect-ratio: 16/9) {
  .fv-area {
    background-size: auto 100vh;
    background-position: 90% top;
  }
  .fv-com-box {
    font-size: 3vw;
    width: 70%;
    top: 25%;
  }
  .fv-top-logo {
    width: 30vw;
  }
}

@media screen and (max-width: 1400px), screen and (max-height: 900px), print {
  /* 六角形 */
  .rokukakukei {
    margin: 4px;
    width: 200px;
    height: 230px;
  }
  .top-btn-box + .top-btn-box {
    margin-top: -60px;
  }
  .top-btn-box {
    font-size: 1.8rem;
  }

  .btn-diary {
    font-size: 1.4rem;
    max-width: 160px;
  }
}

@media screen and (max-width: 1500px), print {
  .haiki-illust {
    width: 180px;
  }
}

@media screen and (max-width: 1400px), print {
  .nagare-area {
    grid-template-columns: repeat(4, 250px);
  }
  .haiki-illust {
    width: 165px;
  }
  .haiki-ex-area {
    width: 90%;
  }
}
@media screen and (max-width: 1300px), print {
  .haiki-illust {
    width: 155px;
  }
}
@media screen and (max-width: 1200px), print {
  .container {
    padding: 0 20px;
  }
  .rokkaku-none01 {
    display: none;
  }
  .top-batsu-tit {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    font-size: 1.2rem;
  }
  .top-batsu-sub {
    font-size: 1.6rem;
  }
  .top-batsu-com {
    font-size: 1.2rem;
  }
  .nagare-area {
    grid-template-columns: repeat(3, 250px);
  }
  .haiki-illust-area {
    width: 80%;
  }
  .haiki-illust {
    width: 30%;
  }
}
@media screen and (max-width: 1000px), print {
  .top-check-sub-area {
    width: 80%;
  }
  .top-check-sub {
    margin: 0;
  }
  .taiou-map-area img {
    width: 50%;
  }
  .services-tit-area {
    margin: 0;
  }

  .services-box {
    width: 100%;
  }
  .chikyu-koe {
    width: 80%;
  }
  .chikyu-koe img {
    width: 70%;
  }

  .room-area {
    flex-direction: column;
  }

  .room-okabayashi-area {
    padding-top: 100px;
    position: sticky;
    top: auto;
    margin: 0 auto;
    padding-left: 0;
    display: flex;
    align-items: flex-end;
  }
  .room-shikaku-area {
    padding-left: 30px;
  }
}
@media screen and (max-width: 800px), screen and (max-height: 600px), print {
  /* 六角形 */
  .rokukakukei {
    margin: 3px;
    width: 130px;
    height: 140px;
  }
  .top-btn-box + .top-btn-box {
    margin-top: -35px;
  }
  .top-btn-box {
    font-size: 1.4rem;
  }

  .btn-diary {
    font-size: 1.2rem;
    max-width: 100px;
  }
}
@media screen and (max-width: 800px), print {
  .top-check-area {
    flex-direction: column;
  }

  .top-check-con + .top-check-con {
    margin-left: 0px;
  }

  .top-check-sub-area {
    width: 95%;
  }
  .top-batsu-waku {
    padding: 30px 5px;
  }
  .top-batsu-area {
    flex-wrap: wrap;
  }
  .top-batsu-box {
    width: 50%;
  }
  .page-com-box {
    text-align: left;
  }
  .nagare-area {
    grid-template-columns: repeat(1, auto);
  }

  .nagare-box {
    width: 90vw;
    margin: 0 auto;
    padding-top: 0;
    flex-direction: row;
  }
  .nagare-com-area {
    width: 100%;
  }

  .nagare-line {
    position: relative;
    width: 20px;
    height: auto;
  }
  /* 両端の線 */
  .nagare-line::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }
  .first-nagare-box > .nagare-line::before {
    top: 10%;
    left: 50%;
    width: 2px;
    height: 90%;
    transform: translateX(-50%);
  }
  .end-nagare-box > .nagare-line::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 10%;
    transform: translateX(-50%);
  }
  /* 中央の丸 */
  .nagare-line::after {
    top: 10%;
    left: 50%;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%);
  }

  .nagare-step-area {
    writing-mode: vertical-lr;
    text-orientation: upright;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .haiki-illust-area {
    width: 95%;
  }

  .haiki-ex-area {
    gap: 30px;
    width: 95%;
  }
  .haiki-ex-box {
    width: 30%;
  }
  .haiki-ex-box2 {
    width: calc(100% - 30% - 50px);
  }
  .services-area-2 {
    flex-direction: column;
  }
  .services-box + .services-box {
    padding-left: 0px;
    padding-top: 80px;
  }
  .services-com-area {
    flex-direction: column;
  }
  .services-left-img {
    padding-left: 0px;
    width: 100%;
  }

  .hon img {
    width: 100%;
  }

  .single-img-box {
    flex: 0 0 45%;
    margin: 2.5%;
  }
}
@media screen and (min-width: 600px) and (max-width: 800px), print {
  .nagare-com-area {
    display: flex;
    align-items: center;
  }
  .nagare-res {
    display: flex;
    flex-direction: column;
    width: 200px;
    flex-shrink: 0;
    padding-top: 15px;
  }
  .nagare-com-line {
    display: none;
  }
  .nagare-com-tit {
    padding-bottom: 0;
  }
  .pad-br {
    display: block;
  }
}
@media screen and (max-width: 700px), print {
  .rinen-area {
    flex-direction: column;
  }
  .rinen-tit {
    width: 120px;
    flex-shrink: 0;
  }
  .rinen-box {
    width: 100%;
    display: flex;
  }
  .rinen-box + .rinen-box {
    border-top: 1px dotted #000;
    padding-top: 30px;
  }
  .rinen-tit {
    margin-bottom: 0;
  }
  .chikyu-koe img {
    width: 90%;
  }
}

@media screen and (min-width: 600px), print {
  .pc-none {
    display: none;
  }
}

@media screen and (max-width: 600px), print {
  .mo-none {
    display: none;
  }
  .burger {
    width: 50px;
    height: 50px;
    border-radius: 25px;
  }

  .right-btn-area {
    top: 65px;
  }
  .mail > .right-btn-illust-top {
    width: 40px;
    height: 40px;
    border-radius: 20px;
  }
  .tel > .right-btn-illust-top {
    width: 40px;
    height: 40px;
    border-radius: 20px;
  }

  .haiki-illust {
    width: 45%;
  }
  .haiki-ex-area {
    flex-direction: column;
    gap: 50px;
    width: 95%;
  }

  .haiki-ex-box,
  .haiki-ex-box2 {
    width: 100%;
  }
  .taiou-map-area {
    flex-direction: column;
  }
  .taiou-map-area img {
    width: 80%;
    padding-right: 0px;
  }
  .tel-btn-area {
    padding: 0px 15px;
    border: 2px solid #000;
    border-radius: 20px;
    display: flex;
    margin: 2px auto;
    width: 80%;
  }

  .tel-btn-area {
    padding: 0px 15px;
    border: 2px solid #000;
    border-radius: 20px;
    display: flex;
    margin: 2px auto;
    width: 80%;
  }
  .foot-tel-btn-area {
    display: none;
    padding: 0px 15px;
    border: 2px solid #8fc31f;
    background-color: #8fc31f;
    border-radius: 20px;
    display: flex;
    margin: 2px auto;
    width: 80%;
  }
  .mail-btn-area,
  .foot-mail-btn-area {
    width: 80%;
  }
  .main-page-area {
    padding: 40px 0;
  }

  .aisatsu-com {
    text-align: left;
  }
  .chikyu-koe {
    width: 100%;
  }

  .room-okabayashi-area {
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
  }
  .room-shikaku-area {
    padding-left: 0;
  }
  .single-img-box {
    flex: 0 0 100%;
    margin: 2.5%;
  }

  .category-list {
    gap: 10px;
  }
}
@media screen and (max-width: 500px), print {
  .hed-second-tit {
    width: 140px;
    height: auto;
  }
  .right-btn-area {
    top: 10px;
    right: 80px;
    flex-direction: row;
  }
  .right-btn-box-top {
    margin: 0 5px;
  }
  .fv-top-logo {
    bottom: 5%;
  }

  /* scroll */
  .scroll {
    bottom: 15%;
  }
  .top-yellow-tel-subt,
  .tel-up-com,
  .tel-under-com {
    font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  }
  .top-yellow-tel-sub {
    font-size: 6vw;
  }
  .tel-no-area,
  .foot-tel-no-area {
    font-size: 10vw;
  }
  .mail-btn-area,
  .tel-btn-area,
  .foot-mail-btn-area,
  .foot-tel-btn-area {
    width: 100%;
  }
  .category-list {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 400px), print {
  /* 六角形 */
  .rokukakukei {
    margin: 3px;
    width: 100px;
    height: 110px;
  }
  .top-btn-box + .top-btn-box {
    margin-top: -30px;
  }
  .top-btn-box {
    font-size: 2.5vw;
    font-size: clamp(12px, 2vw, 1.6rem);
  }

  .btn-diary {
    font-size: 2vw;
    max-width: 90px;
  }
  .btn-diary-day-area {
    font-size: 2vw;
  }

  .top-batsu-box {
    width: 100%;
  }
}

/*ヘッダー*/
@media screen and (max-width: 1200px), print {
  .hed-firstmenu-area {
    display: none;
  }
  .hed-first-area {
    background-color: rgba(255, 255, 255, 0);
  }
}
