@charset "utf-8";

/***
    The new CSS reset - version 1.11.2 (last updated 15.11.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" element is excluded, otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fix mobile Safari increase font-size on landscape mode */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu, summary {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-inline-size: 100%;
    max-block-size: 100%;
    height: auto;
    vertical-align: bottom;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
    -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
    all: revert;
    box-sizing: border-box;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
    -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
    all: revert;
    box-sizing: border-box;
}

/* Remove details summary webkit styles */
::-webkit-details-marker {
    display: none;
}


/*
base
*/

:root {
    --root-font-size: 16;
}

body {
    background: #1FA1A0;
    color: #707070;
    font-family: 'Zen Kaku Gothic New', "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
    font-size: calc( 18 / var(--root-font-size) * 1rem );
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    overscroll-behavior-y: none;
}
@media screen and (max-width: 960px) {
body {
    font-size: calc( 14 / var(--root-font-size) * 1rem );
}
}

html,body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}


body {
    animation-name: fadeIn;
    animation-duration: 1s;
}
body.active {
    overflow: hidden;
    height:100%;
}

a {color: #1FA1A0; text-decoration: none;}
a:hover {color: #FBE51F; text-decoration: none;}

a:hover img {
    filter: alpha(opacity=80);
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
    opacity: 0.8;
}

a,
a:hover,
a img,
a:hover img {
    transition: 0.5s 0s;
}

.clear {clear: both;}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

::selection {
    background: rgba(31, 160, 161, 1);
    color: #FFF;
}
::-moz-selection {
    background: rgba(31, 160, 161, 1);
    color: #FFF;
}


/* 
layout
*/
#wrap {
    width: auto !important;
    width: 100%;
    margin: 0;
}
#container {
    width: 100%;
    margin: 0 auto;
}

.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width: 960px) {
.pc {
    display: none;
}
.sp {
    display: block;
}
}

/*----- common -----*/
main {
    display: block; /* IE */
}
div.flexWrap {
    display: flex;
}

@media screen and (max-width: 960px) {
main {
    display: block; /* IE */
}
div.flexWrap {
    display: flex;
}
}

/*----- header -----*/
header {
    position: relative;
    width: 100%;
    background: #F2F1E6;
}
header .logo {
    position: absolute;
    top: 45px;
    left: 5vw;
    width: min(23.4vw, 351px);
}
header div.flexWrap {
    width: 100%;
    height: 45vw;
    max-height: 675px;
    margin: 0 auto;
}
header div.flexWrap div.flexL {
    display: flex;
    align-items: center;
    width: 50%;
    background: url("../images/img_logo.png") no-repeat top min(20vw, 300px) left -1.25vw;
    background-size: min(50vw, 750px) min(20vw, 300px);
}
header div.flexWrap div.flexL p {
    color: #1FA1A0;
    font-size: min(3vw, calc( 45 / var(--root-font-size) * 1rem));
    font-weight: 700;
    line-height: 2;
    padding: 150px 5vw 0;
}
header div.flexWrap div.flexR {
    width: 50%;
    background: url("../images/img_top.png") no-repeat center center;
    background-size: cover;
}

@media screen and (max-width: 960px) {
header {
    position: relative;
    width: 100%;
    background: #F2F1E6;
}
header .logo {
    position: absolute;
    top: 30px;
    left: 5vw;
    width: min(46.8vw, 351px);
}
header div.flexWrap {
    flex-wrap: wrap;
    width: 100%;
    height: 150vw;
    max-height: 1200px;
    margin: 0 auto;
}
header div.flexWrap div.flexL {
    display: flex;
    align-items: center;
    width: 100%;
    height: 75vw;
    max-height: 600px;
    background: url("../images/img_logo.png") no-repeat bottom 15px left -1.25vw;
    background-size: min(75vw, 750px) min(30vw, 300px);
}
header div.flexWrap div.flexL p {
    color: #1FA1A0;
    font-size: min(6vw, calc( 45 / var(--root-font-size) * 1rem));
    font-weight: 700;
    line-height: 2;
    padding: 75px 5vw 0;
}
header div.flexWrap div.flexR {
    width: 100%;
    height: 75vw;
    max-height: 600px;
    background: url("../images/img_top.png") no-repeat center bottom;
    background-size: cover;
}
}

/*----- main -----*/
main {
    background: linear-gradient(180deg, #F2F1E6 0%, #F2F1E6 50%, #1FA1A0 50%, #1FA1A0 100%);
}
main section {
    position: relative;
    z-index: 99;
    width: 60%;
    background: #FFF;
    border-top-left-radius: 20px;
    padding: 50px 5vw;
    margin: 0 0 0 auto;
}
main section h2 {
    font-size: calc( 30 / var(--root-font-size) * 1rem);
    font-weight: 700;
    line-height: 1.5;
}
main section p {
    line-height: 1.5;
    padding: 25px 0 0;
}
main section h2,
main section p.address {
    color: #1FA1A0;
}

@media screen and (max-width: 960px) {
main {
    background: #1FA1A0;
}
main section {
    width: 90%;
    background: #FFF;
    border-top-left-radius: 20px;
    padding: 30px 5vw;
    margin: max(-25vw, -150px) 0 0 auto;
}
main section h2 {
    font-size: calc( 21 / var(--root-font-size) * 1rem);
    font-weight: 700;
    line-height: 1.5;
}
main section p {
    line-height: 1.5;
    padding: 15px 0 0;
}
main section h2,
main section p.address {
    color: #1FA1A0;
}
}

/*-----footer-----*/
footer {
    width: 100%;
    background: #1FA1A0;
    color: #FFF;
    padding: 75px 0 0;
}
footer .copyright {
    font-size: calc( 15 / var(--root-font-size) * 1rem );
    line-height: 75px;
    padding: 0 5vw;
}

@media screen and (max-width: 960px) {
footer {
    width: 100%;
    background: #1FA1A0;
    color: #FFF;
    padding: 35px 0 0;
}
footer .copyright {
    font-size: calc( 12 / var(--root-font-size) * 1rem );
    line-height: 50px;
    padding: 0 5vw;
}
}

.grecaptcha-badge {visibility: hidden;}

/*----- page_top -----*/
/*リンクの形状*/
/*リンクを右下に固定*/
#page_top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 9;
    width: 88px;
    height: 60px;
    background: url("../images/page_top.png") no-repeat center center;
    background-size: cover;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(125px);
}
/*上に上がる動き*/
#page_top.UpMove {
    animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(125px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*下に下がる動き*/
#page_top.DownMove {
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(125px);
  }
}

@media screen and (max-width: 960px) {
#page_top {
    display: none;
}
}

/*----- sp nav -----*/
/*アクティブになったエリア*/
#g-nav {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    /*ナビのスタート位置と形状*/
    top: -125%;
    left: 0;
    width: 100%;
    height: 100vh;/*ナビの高さ*/
    max-height: inherit;
    background: #FFF;
    color: #FFF;
    transition: all 0.5s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
    top: 0;
    z-index: 999;
    background: #5A3326;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    display: flex;
    align-items: center;
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    max-height: inherit;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav div.inner {
    width: 75%;
    margin: 50px auto 100px;
    opacity: 0;/*はじめは透過0*/
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive div.inner {
    opacity: 1;
}

#g-nav a {
    color: #FFF;
}

#g-nav div.flexWrap {
    width: 100%;
}
#g-nav div.flexWrap ul {
    width: 60%;
}
#g-nav div.flexWrap ul:last-of-type {
    width: 40%;
}
#g-nav div.flexWrap ul li {
    font-family: "Zen Maru Gothic", serif;
    font-size: calc( 18 / var(--root-font-size) * 1rem );
    font-weight: 700;
    margin: 0 0 30px;
}
#g-nav div.flexWrap ul li a {
    line-height: 20px;
}
#g-nav div.flexWrap ul li ul.sub {
    width: 100%;
    margin: 20px 0 0;
}
#g-nav div.flexWrap ul li ul.sub li {
    position: relative;
    border-left: #FFF solid 1px;
    font-size: calc( 12 / var(--root-font-size) * 1rem );
    font-weight: 400;
    padding: 0 0 0 1em;
    margin: 0 0 15px;
}
#g-nav div.flexWrap ul li ul.sub li a {
    line-height: 15px;
}
#g-nav div.open {
    width: 100%;
    margin: 25px 0 0;
}

/*ボタンの設定*/
.openbtn {
    position: fixed;
    z-index: 10000;/*ボタンを最前面に*/
    bottom: 60px;
    right: 6px;
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #7B9A57;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
}
.openbtn.active {
    background: #FFF;
}
.openbtn p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    color: #FFF;
    font-family: "Zen Maru Gothic", serif;
    font-size: calc( 10 / var(--root-font-size) * 1rem );
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
}
.openbtn.active p {
    color: #5A3326;
}
.openbtn span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    width: 24px;
    height: 2px;
    background: #FFF;
    border-radius: 1px;
    margin: 0 auto;
    transition: all 0.5s;
}
.openbtn.active span {
    background: #5A3326;
}
.openbtn span:nth-of-type(1) {
    top: 0;
    bottom: 26px;
    margin: auto;
    animation: menu-bar1 0.5s forwards;
}
.openbtn span:nth-of-type(2) {
    top: 0;
    bottom: 10px;
    margin: auto;
}
.openbtn span:nth-of-type(3) {
    top: 16px;
    bottom: 10px;
    margin: auto;
    animation: menu-bar2 0.5s forwards;
}
.openbtn.active span:nth-of-type(1) {
    animation: menu-active-bar1 0.5s forwards;
}
.openbtn.active span:nth-of-type(2) {
    display: none;
}
.openbtn.active span:nth-of-type(3) {
    animation: menu-active-bar2 0.5s forwards;
}

#scrollNav {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background: #FFF;
}
#scrollNav div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollNav div.home {
    width: 72px;
    background: #5A3326;
}
#scrollNav div.reserved {
    width: calc(100% - 144px);
    background: #E88859;
}
#scrollNav div.top {
    width: 72px;
}
#scrollNav div p {
    color: #FFF;
    font-size: calc( 14 / var(--root-font-size) * 1rem );
    text-align: center;
}
#scrollNav div.reserved p span {
    position: relative;
    padding: 0 0 0 15px;
}
#scrollNav div.reserved p span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 20px;
    height: 20px;
    background: url("../images/icon_tel.png") no-repeat center center;
    background-size: cover;
    margin: auto 0;
}
#scrollNav div a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes menu-bar1 {
  0% {
    transform: translateY(8px) rotate(45deg);
  }
  50% {
    transform: translateY(8px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes menu-bar2 {
  0% {
    transform: translateY(-8px) rotate(-45deg);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes menu-active-bar1 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(8px) rotate(0);
  }
  100% {
    transform: translateY(8px) rotate(45deg);
  }
}
@keyframes menu-active-bar2 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-8px) rotate(0);
  }
  100% {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* fadeUp */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(75px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
    opacity: 0;
}

@keyframes scroll_bar {
    0% {top: 30px;}
    100% {top: 130px;}
}
@keyframes scroll_barhide {
    0% {opacity: 0;}
    10% {opacity: 1;}
    50% {opacity: 1;}
    90% {opacity: 1;}
    100% {opacity: 0;}
 }
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}