@charset "utf-8";
/* =========================================================
   仮サイト用 共通CSS（旧システムのJSで動いていた部分の置き換え）
   ========================================================= */

/* ---------- スマホメニュー ---------- */
@media screen and (min-width:1121px){
  #nav-toggle{display:none}
}
@media screen and (max-width:1120px){
  body.navOpen{overflow:hidden}
  body.navOpen #glNav{visibility:visible;opacity:1}
  #nav-toggle div span{height:4px}
  #nav-toggle div span:nth-child(2){top:9px}
  #nav-toggle div span:nth-child(3){top:18px}
  #nav-toggle{box-sizing:content-box;width:30px;height:22px;padding:14px 12px}
  body.navOpen #nav-toggle div span:nth-child(1){top:9px;transform:rotate(45deg)}
  body.navOpen #nav-toggle div span:nth-child(2){opacity:0}
  body.navOpen #nav-toggle div span:nth-child(3){top:9px;transform:rotate(-45deg)}
}

/* ---------- ページトップ ---------- */
#pageTop{opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
#pageTop.isShow{opacity:1;visibility:visible}
#pageTop a{display:block;text-decoration:none;margin:0;padding:0;overflow:hidden;height:80px;width:80px;background-color:#EB9E25;font-size:14px;line-height:1.5;border-radius:50%;text-align:center;color:#FFF;box-shadow:2px 2px 2px 0 rgba(0,0,0,.3);box-sizing:border-box;padding-top:8px}
#pageTop a:hover{background-color:#EFAE4E;color:#FFF}
#pageTop a:visited{color:#FFF}
#pageTop .ptArrow{font-size:12px}
@media screen and (max-width:640px){
  #pageTop{width:60px;height:60px;right:10px;bottom:10px}
  #pageTop a{width:60px;height:60px;font-size:11px;padding-top:5px}
}

/* ---------- ふわっと表示 ---------- */
.inviewfadeInUp{opacity:0;transform:translateY(30px)}
.inviewfadeInUp.fadeInUp,.inviewfadeInUp.isIn{opacity:1;transform:none}
.no-js .inviewfadeInUp{opacity:1;transform:none}

/* ---------- 施工事例のサムネイル（旧：nailthumbプラグイン） ---------- */
ul.photoList li .photo{overflow:hidden}
ul.photoList li .photo img.nailthumb-image{width:100%;height:100%;max-width:none;object-fit:cover;float:none;display:block}

/* ---------- ライトボックス（旧：fancybox） ---------- */
.lb{position:fixed;inset:0;z-index:10000;background:rgba(15,15,15,.92);display:flex;align-items:center;justify-content:center;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.lb.isOpen{opacity:1;visibility:visible}
.lb__img{max-width:92vw;max-height:80vh;width:auto;height:auto;box-shadow:0 4px 30px rgba(0,0,0,.5);background:#222}
.lb__cap{color:#fff;margin-top:14px;font-size:15px;text-align:center;padding:0 60px;line-height:1.5}
.lb__count{position:absolute;top:14px;left:16px;color:#ccc;font-size:13px}
.lb button{position:absolute;background:rgba(30,30,30,.6);border:0;color:#fff;cursor:pointer;font-size:26px;line-height:1;width:48px;height:48px;border-radius:4px}
.lb button:hover{background:rgba(235,158,37,.9)}
.lb__close{top:8px;right:8px}
.lb__prev{left:8px;top:50%;margin-top:-24px}
.lb__next{right:8px;top:50%;margin-top:-24px}

/* ---------- Instagram（旧：SnapWidget） ---------- */
.igGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 auto 30px;padding:0;list-style:none;max-width:900px}
.igGrid li{margin:0;padding:0;position:relative;aspect-ratio:1/1;overflow:hidden;background:#eee}
.igGrid a{display:block;width:100%;height:100%}
.igGrid img{width:100%;height:100%;object-fit:cover;display:block;max-width:none;transition:opacity .2s}
.igGrid a:hover img{opacity:.8}
.igGrid li.isVideo::after{content:"";position:absolute;top:8px;right:8px;width:0;height:0;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff;filter:drop-shadow(0 0 2px rgba(0,0,0,.6));pointer-events:none}
.snsBtn{max-width:360px}

/* ---------- 地図 ---------- */
#access .map iframe{width:100%;max-width:1000px;height:400px;display:block;margin:0 auto}
@media screen and (max-width:640px){#access .map iframe{height:300px}}

/* ---------- 空き状況カレンダー ---------- */
table#month td a{display:inline-block;text-decoration:none}
table#month td a.calNav{color:#000;background:#FFF;border-radius:3px;padding:6px 12px;font-size:1rem;line-height:1.2}
table#month td a.calNav:hover{background:#EB9E25;color:#FFF}
table#day td.isHoliday,table#day td .isHoliday{color:#FF0000}
table#day td .mark{display:inline-block;margin-top:2px;font-weight:bold}
table#day td .mark.ok{color:#d40000}
table#day td.isPast{background:#f3f3f3;color:#999}
table#day td.isToday{outline:2px solid #EB9E25;outline-offset:-2px}
.calNote{text-align:center;margin:12px 0 0;font-size:.95rem}

/* ---------- フォーム ---------- */
.hpField{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.formErrors{max-width:800px;margin:0 auto 25px;padding:15px 20px;border:2px solid #d40000;background:#fff5f5;color:#b00000;line-height:1.7}
.formErrors ul{margin:0;padding-left:1.2em;list-style:disc}
.isError{background:#fff0f0!important;border-color:#d40000!important}
.formConfirm{max-width:900px;margin:0 auto}
.confirmTable{width:100%;border-collapse:collapse;margin-bottom:30px;background:#fff}
.confirmTable th,.confirmTable td{border:1px solid #ccc;padding:12px 15px;text-align:left;vertical-align:top;line-height:1.6}
.confirmTable th{background:#F6F6F6;width:32%;font-weight:bold}
.confirmTable td{white-space:pre-wrap;word-break:break-all}
.confirmBtns{text-align:center;display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.confirmBtns button{min-width:220px;padding:14px 20px;font-size:1.1rem;font-weight:bold;cursor:pointer;border:0;border-radius:3px}
.confirmBtns .btnBack{background:#888;color:#fff}
.confirmBtns .btnSend{background:#EB9E25;color:#fff}
.confirmBtns button:hover{opacity:.85}
.confirmBtns button[disabled]{opacity:.5;cursor:wait}
@media screen and (max-width:640px){
  .confirmTable th,.confirmTable td{display:block;width:auto;border-top:0}
  .confirmTable tr:first-child th{border-top:1px solid #ccc}
}
#php_form input[type=file]{max-width:100%}
[hidden]{display:none!important}
.resultBox{max-width:800px;margin:0 auto;line-height:1.9}
/* お知らせ記事 */
.system-free img{max-width:100%;height:auto}
/* 補助ページの英字サブタイトル（プライバシーポリシーの見た目を流用しているため上書き） */
body[data-page="thanks"] #contenstTit01 h1:after{content:"Thank you"}
body[data-page="404"] #contenstTit01 h1:after{content:"Not Found"}
body[data-page="form_template"] #contenstTit01 h1:after{content:"Form"}
/* 空き状況カレンダー（調整中表示） */
.calClosed{max-width:700px;margin:0 auto;padding:40px 20px;border:2px solid #000;background:#fff;text-align:center;line-height:1.9;box-sizing:border-box}
.calClosed__lead{font-size:1.286rem;font-weight:bold;margin-bottom:10px}
.calClosed__tel{margin-top:20px;font-size:1.571rem;font-weight:bold}
.calClosed__time{font-size:1rem;font-weight:normal}
.calClosed__btns{margin-top:20px}
.calClosed__btns a{display:inline-block;padding:10px 30px;background:#EB9E25;color:#fff;font-weight:bold;text-decoration:none}
.calClosed__btns a:hover{opacity:.85;color:#fff}
@media screen and (max-width:640px){.calClosed{padding:30px 15px}.calClosed__tel{font-size:1.286rem}}
