/* =========================================================
   base.css — リセット + 公用トップ/フッター + rem スケーリング
   (参考サイト fufusamoyedcafe.com の共通ヘッダー/フッターを踏襲)
   ========================================================= */

/* ---------- reset ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body {
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","Yu Gothic","メイリオ",Meiryo,"Noto Sans JP",sans-serif;
  color:#3e3e3e;
  line-height:1.6;
  font-weight:400;
  background:#faf5f0;
  -webkit-font-smoothing:antialiased;
}
ul,ol,dl,dd { list-style:none; }
img { border:0; max-width:100%; vertical-align:top; display:block; }
a { text-decoration:none; color:inherit; transition:opacity .25s; }
a:hover { opacity:.85; }
button { font-family:inherit; cursor:pointer; border:0; background:none; }
h1,h2,h3,h4,h5,h6 { font-weight:700; line-height:1.4; }

/* ---------- rem base (1920 design -> 1rem = 19.2px) ---------- */
html { font-size:19.2px; }
@media only screen and (max-width:1720px){ html { font-size:17.2px; } }
@media only screen and (max-width:1380px){ html { font-size:13.8px; } }

/* ---------- layout ---------- */
.layout { overflow:hidden; background:#faf5f0; padding-top:5.208333333333334rem; }
.wrap { width:77.08333333333334rem; margin:0 auto; }

/* =========================================================
   HEADER (公用)
   ========================================================= */
.header {
  font-family:"Noto Sans JP","Hiragino Kaku Gothic Pro",Meiryo,sans-serif;
  background:rgba(255,255,255,0.72);
  position:fixed; left:0; right:0; top:0; z-index:99;
  box-shadow:0 0 0.5208333333333334rem 0 rgba(0,0,0,0.08);
  backdrop-filter:blur(0.15625rem);
  -webkit-backdrop-filter:blur(0.15625rem);
}
.header .wrap { display:flex; justify-content:space-between; align-items:center; height:5.208333333333334rem; }
.header .logo img { height:3.90625rem; display:block; }
/* The standard header uses content-box; keep its dropdown sizing here too. */
.header *, .header *::before, .header *::after { box-sizing:content-box; }
.naver > ul { display:flex; align-items:center; }
.naver > ul > li { position:relative; margin-left:2.4rem; }
.naver > ul > li h3 a {
  font-size:0.8333333333333334rem; color:#3e3e3e;
  line-height:5.208333333333334rem; display:block; position:relative;
}
.naver > ul > li.on h3 a, .naver > ul > li h3 a:hover { color:#DF7A83; }
.naver > ul > li.active h3 a::after {
  content:""; display:inline-block; width:0; height:0; margin-left:0.3125rem;
  vertical-align:middle;
  border-left:0.20833333333333334rem solid transparent;
  border-right:0.20833333333333334rem solid transparent;
  border-top:0.2604166666666667rem solid #DF7A83;
  transition:transform .25s;
}
.naver > ul > li.active:hover h3 a::after { transform:rotate(180deg); }
.dropdown-menu {
  position:absolute; top:90%; left:50%; transform:translateX(-50%);
  min-width:10.416666666666668rem; background:#fff;
  border-radius:0.5208333333333334rem;
  box-shadow:0 0.4166666666666667rem 1.5625rem rgba(0,0,0,.12);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .3s,visibility .3s,transform .3s;
  padding:0.625rem 0; z-index:999;
}
.naver > ul > li.active:hover .dropdown-menu {
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0.20833333333333334rem);
}
.dropdown-menu li a {
  display:block; padding:0.5208333333333334rem 1.25rem; font-size:0.78125rem;
  color:#666; white-space:nowrap; text-align:center; transition:background .2s,color .2s;
}
.dropdown-menu li a:hover { background:#FAF6F1; color:#DF7A83; }
.dropdown-menu li a.current { color:#DF7A83; font-weight:700; }

/* hamburger */
.gh {
  height:24px; width:24px; position:absolute; right:0; top:50%;
  transform:translateY(-50%); cursor:pointer; z-index:9999; display:none;
  transition:all .5s cubic-bezier(0.7,0,0.3,1);
}
.gh a, .gh a:before, .gh a:after {
  background-color:#3e3e3e; display:block; height:2px; width:100%;
  border-radius:2px; position:relative; transition:all .3s cubic-bezier(0.7,0,0.3,1);
}
.gh a { top:50%; margin-top:-1px; }
.gh a:before { content:''; position:absolute; top:-7px; left:0; }
.gh a:after  { content:''; position:absolute; top:7px;  left:0; }
.selected .gh { transform:translateY(-50%) rotate(90deg); }
.selected .gh a { background:transparent; }
.selected .gh a:before { transform:translateY(7px) rotate(-45deg); }
.selected .gh a:after  { transform:translateY(-7px) rotate(45deg); }
.hmask { display:none; }

/* =========================================================
   FOOTER (公用)
   ========================================================= */
.footer { background:#c6b299; padding:2.0833333333333335rem 0; position:relative; margin-top:3.385416666666667rem; }
.footer .ftico { position:absolute; left:5.416666666666667rem; top:-4.791666666666667rem; z-index:11; width:14.21875rem; }
.footer .wrap { display:flex; align-items:center; justify-content:space-between; }
.footer .whlogo img { height:7.291666666666667rem; display:block; }
.footer .ul { margin-right:8.333333333333334rem; display:flex; }
.footer .li dd a {
  font-size:0.8333333333333334rem; color:#f7f7f7; line-height:1.6; font-weight:bold;
  display:inline-block; margin-top:0.4166666666666667rem;
}
.footer .li dl { padding-left:2.8645833333333335rem; margin-left:2.8645833333333335rem; }
.footer .li h4 { text-align:right; margin-top:3.90625rem; }
.footer .li h4 a { display:inline-block; font-size:0.8333333333333334rem; color:#f7f7f7; font-weight:bold; line-height:1.6; }
.footer .li h6 { text-align:right; }
.footer .li h6 { font-size:0.625rem; color:#fff; line-height:1.6; margin-top:0.4166666666666667rem; }
.footer a:hover { opacity:.8; }

/* floating SNS */
.fxbtn { position:fixed; right:8.229166666666668rem; top:10.416666666666668rem; width:0.9375rem; text-align:center; z-index:88; }
.fxbtn .txt p { font-size:0.625rem; color:#3e3e3e; writing-mode:vertical-rl; margin:0 auto 0.4166666666666667rem; }
.fxbtn img { display:block; margin:0.4166666666666667rem auto; width:0.9375rem; }
.fxbtn .tline { border-top:0.10416666666666667rem dotted #3e3e3e; height:0.15625rem; width:100%; }

/* floating reserve */
.fybtn { position:fixed; right:1.1458333333333335rem; z-index:66; bottom:20%; opacity:0; transform:scale(.4); transition:all .5s cubic-bezier(0.34,1.56,0.64,1); }
.fybtn.on { opacity:1; transform:scale(1); }
.fybtn a {
  width:6.770833333333334rem; height:6.770833333333334rem; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; background:#DF7A83; border-radius:50%;
  box-shadow:0 0.4166666666666667rem 1.25rem rgba(223,122,131,.4);
}
.fybtn a img { width:1.5625rem; margin-bottom:0.20833333333333334rem; }
.fybtn a i { font-style:normal; font-size:0.625rem; color:#fff; line-height:1.4; }
.fybtn a strong { font-size:0.8333333333333334rem; color:#fff; font-weight:bold; line-height:1.3; }

/* =========================================================
   RESPONSIVE — header/footer (<=992px)
   ========================================================= */
@media only screen and (max-width:1180px){
  .wrap { margin:0 40px !important; width:auto !important; }
  .naver > ul > li { margin-left:1.4rem; }
}
@media only screen and (max-width:992px){
  html { font-size:16px; }
  .layout { padding-top:60px; }
  .header .wrap { height:60px; box-sizing:border-box; }
  .header .logo img { height:40px; }
  .wrap { width:100% !important; margin:0 !important; padding:0 15px; }
  .fxbtn { display:none; }
  /* Match the shared mobile header: logo, language, hamburger are flex items. */
  .gh { display:block; position:static; transform:none; }
  .selected .gh { transform:rotate(90deg); }
  .gh a, .gh a:before, .gh a:after { background-color:#111; }
  .selected .gh a { background:transparent; }
  .selected .gh a:before, .selected .gh a:after { top:0; background:#111; }
  .selected .gh a:before { transform:rotate(-45deg); }
  .selected .gh a:after { transform:rotate(45deg); }
  .header { backdrop-filter:blur(1.5625vw); -webkit-backdrop-filter:blur(1.5625vw); }
  .naver {
    position:fixed; right:0; left:0; top:64px; width:100%; height:calc(100vh - 60px);
    transform:translateY(-110%); transition:transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y:scroll; background:#FAF6F1; padding:20px 0 24px;
    box-shadow:0 8px 30px rgba(0,0,0,.1); z-index:997; box-sizing:content-box;
  }
  .layout.selected .naver, .naver.open { transform:translateY(0); }
  .naver > ul { display:block; flex-direction:column; gap:0; align-items:stretch; padding:0 24px; }
  .naver > ul > li { margin:0; border-bottom:1px solid rgba(0,0,0,.1); }
  .header .naver li { margin:0; border-bottom:1px solid rgba(0,0,0,.1); }
  .naver h3 { font-size:18px; font-weight:normal; }
  .header .naver li h3 a { font-size:16px; padding:0 20px; line-height:46px; text-align:left; }
  .naver > ul > li h3 a { border-bottom:1px solid rgba(0,0,0,.05); }
  .naver > ul > li.active h3 a::after { float:none; margin-top:0; margin-right:0; border-top-color:#B87E5A; }
  .dropdown-menu {
    position:static; transform:none !important; opacity:1; visibility:visible; pointer-events:none;
    box-shadow:none; border-radius:0; background:#F5EDE4; padding:0; display:block; min-width:100%;
    max-height:0; overflow:hidden; transition:max-height .35s ease;
  }
  .naver > ul > li.active:hover .dropdown-menu { pointer-events:none; }
  .naver > ul > li.active.open .dropdown-menu { max-height:300px; pointer-events:auto; }
  .dropdown-menu li a { text-align:center; padding:0.5208333333333334rem 1.25rem; border-top:0; }
  .hmask {
    position:fixed; left:0; right:0; top:0; bottom:0; background:rgba(0,0,0,.8); z-index:11;
    opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s;
  }
  .hmask.open { display:block; opacity:1; visibility:visible; }
  .footer { margin-top:40px; padding:32px 0; }
  .footer .ftico { width:90px; left:15px; top:-46px; }
  .footer .wrap { flex-direction:column; align-items:flex-start; gap:24px; }
  .footer .whlogo img { height:56px; }
  .footer .ul { margin-right:0; flex-wrap:wrap; }
  .footer .li dl { padding-left:0; margin-left:24px; }
  .footer .li dd a { font-size:13px; }
  .footer .li h4 { margin-top:20px; }
  .footer .li h4 a { font-size:13px; }
  .fybtn { bottom:16px; right:12px; }
  .fybtn a { width:60px; height:60px; }
  .fybtn a img { width:16px; }
  .fybtn a i { font-size:9px; }
  .fybtn a strong { font-size:12px; }
}
/* 隐藏谷歌默认顶栏/悬浮提示，避免遮挡固定头部 */

body { top:0 !important; }                 /* 谷歌会强设 body{top:40px}，这里归零 */
iframe.goog-te-banner-frame { visibility:hidden !important; height:0 !important; }

/* 头部里的语言选择器样式 */
.gt-lang { display:inline-flex; align-items:center; }
.gt-lang .goog-te-combo {
  font-size:13px; padding:4px 8px; border:1px solid #ddd; border-radius:6px;
  background:#fff; color:#333; cursor:pointer; margin-left:12px;
}
.lang-switch{position:relative;display:flex;align-items:center;gap:7px;color:#3e3e3e;font-size:14px;line-height:1;cursor:pointer;padding:6px 10px;border-radius:20px;transition:background .25s;}
.lang-switch .lang-globe,.lang-switch .caret{flex:none;display:block;}
.lang-switch .caret{transition:transform .25s;}
.lang-switch:hover{background:rgba(223,122,131,.12);}
.lang-switch.open .caret{transform:rotate(180deg);}
.lang-menu{position:absolute;top:calc(100% + 10px);right:0;min-width:150px;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid #eee;border-radius:12px;box-shadow:0 14px 34px rgba(120,90,80,.18);z-index:200;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s;}
.lang-switch.open .lang-menu{opacity:1;visibility:visible;transform:translateY(0);}
.lang-menu li{margin:0;}
.lang-menu button{display:block;width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:9px 12px;border-radius:8px;font-size:15px;color:#232323;font-family:inherit;line-height:1.2;}
.lang-menu button:hover{background:#faf5f0;color:#DF7A83;}
