/*
Theme Name:tokiterrace
*/
html{
	height:100%;
	overflow:auto;
}
body{
    width: 100%;
    font-size: min(4vw, 18px);
    line-height: min(8vw, 180%);
    position: relative;
    overflow: hidden;
	-webkit-text-size-adjust: 100%;
    letter-spacing: 0.3px;
}
body{
    color: #fff;
    transition: background ease 300ms;
    background: rgba(31,27,23,1);
}
@media (min-width:641px){
}
h1, h2, h3, h4, h5, h6,*{
	box-sizing:border-box;
	margin:0px;
	padding:0px;
}
:not(input){
	caret-color: rgba(0,0,0,1);
}
a {
    overflow: hidden;
    outline: none;
    color: inherit;
}
a:link,a:hover,a:visited{
	text-decoration:none;
}
a,a::before,a::after{
	transition: all ease 300ms;
    color: inherit;
}
li{
	list-style-type:none;
}
img{
	vertical-align: bottom;
	border-style:none;
	box-shadow: #000 0 0 0;
	height:auto;
}
img:not([src*=".svg"]) {
    width: 100%;
    /*max-width: max-content;
    max-width: -moz-max-content;*/
}
img.move {
    transition: clip-path ease 300ms;
    transition-delay: 150ms;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}
img.moved {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
input[type="text"]:focus {
/*  outline: 0;*/
}
x:-moz-any-link, x:default {
	box-shadow: #000 0 0 0;
}
table,th,td{
border-collapse: collapse;
border: 0 ;
}
input::-webkit-input-placeholder,
input:-ms-input-placeholder,
input::-moz-placeholder{
    color: #ccc;
    font-weight: normal;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
    transition: all ease 200ms;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input.searchsubmit {
    background: #4c4c4c url(./img/cmn/ico_search.svg) no-repeat center / 20px;
    text-indent: -99999px;
}
form{
    position: relative;
}
form.wpcf7-form {
    width: 100%;
}
form#searchform {
    width: fit-content;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select,
textarea{
    background: #fff;
    font-size: 1em;
    padding: 1em 1em;
    display: inline-block;
    border-color: #d9d9d9;
}
textarea{
	resize: none;
}
address {
    font-style: normal;
}
.input_w100{
    width: 100%;
}
input.input_w100:focus,
select.input_w100:focus,
textarea.input_w100:focus{
    outline: 2px solid #005baa;
}
.mini {
    font-size: 80%;
}
div[role="main"] {
    width: 90%;
    max-width: 1410px;
    margin: 0 auto;
}
article{
    position: relative;
}
main{
    position: relative;
}
ruby > rt {
    font-size: 42.5%;
}
.red{
    color: #fd343e;
}
div#page {
    overflow: hidden;
    animation: Fadein 800ms cubic-bezier(0.32, 0, 0.67, 0) forwards;
}
@keyframes Fadein {
    0%{opacity: 0;}
    100%{opacity: 1;}
}
.move{
    filter: blur(20px);
    opacity: 0;
    transform: translateY(60px);
    transition: all ease 500ms;
    transition-delay: 300ms;
}
.moved{
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
}
/* ==========================================================================
ヘッダー
   ========================================================================== */
.site_header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1001;
}
.h_logo_wrap {
    width: min(15vw,160px);
    top: min(3.5vw,40px);
    position: fixed;
    left: min(5vw,46px);
    z-index: 10;
    opacity: 1;
    filter: blur(0);
    transition: all ease 400ms;
}
body:not(.scrolled-past-fv) .h_logo_wrap {
    opacity: 0;
    filter: blur(30px);
    visibility: hidden;
}
.menu_trigger {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #b15236;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: rotate(90deg);
    transition: background-color 0.3s ease;
    z-index: 9999;
}
.scrolled .menu_trigger{
    position: fixed;
}
.menu_trigger .bar {
    display: block;
    width: 25px;
    height: 1px;
    background-color: #ffffff;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.menu_trigger .bar_2 {
    width: 18px;
    margin-right: 7px;
}
.header_nav_list {
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
.header_nav {
    margin: 30px 100px 0 0;
}
.header_nav_list a:hover{
    filter: drop-shadow(0px 0px 6px rgba(255, 220, 107, 1));
}
.h_sp_icon {
    margin: 80px 18px 0 auto;
    width: fit-content;
}
.h_sp_icon img {
    width: 29px;
}
@media screen and (min-width: 770px) {
.h_sp_icon{
    display: none;
}
}
@media screen and (max-width: 769px) {
.header_nav_list {
    display: none;
}
}
/* ==========================================================================
   ドロワーメニュー（展開時）の設定
   ========================================================================== */
.drawer_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background:url(./img/cmn/op_bg.webp) no-repeat center / cover;
    color: #4a3b32;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
}
/* ドロワーがアクティブになったとき */
.drawer_menu.is-active {
    opacity: 1;
    visibility: visible;
}
.drawer_inner {
    width: min(90%, 1000px);
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/*ロゴ等の動作*/
.drawer_logo img {
    width: min(55vw, 300px);
}
.drawer_menu:not(.is-active) .cloud_left{
    transform: translateX(max(-391px,-54vw));
}
.drawer_menu:not(.is-active) .cloud_right{
    transform: translateX(min(54vw,391px));
}
/*ナビ*/
.drawer_nav {
    margin: min(6vh, 42px) 0 min(8vh, 72px);
    padding: 0;
}
.drawer_nav_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: min(5vw, 40px);
}

.drawer_nav_list .nav_item {
    /* 縦書きの指定 */
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    text-combine-upright: digits 2;
    font-size: 18px;
    letter-spacing: 0.15em;
    line-height: 1.0;
}

.drawer_nav_list .nav_item a {
    color: #4a3b32;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.drawer_nav_list .nav_item a:hover {
    opacity: 0.6;
}

.drawer_footer {
    text-align: center;
}
.instagram_link {
    color: #4a3b32;
    text-decoration: none;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.drawer_footer .insta_icon img {
    display: block;
    width: 24px;
}
/* ==========================================================================
   ボタンのアニメーション（クリックされてメニューが開いたとき、Xに変化）
   ========================================================================== */
.menu_trigger.is-active .bar_1 {
    transform: translateY(9px) rotate(35deg);
}
.menu_trigger.is-active .bar_2 {
    opacity: 0;
}
.menu_trigger.is-active .bar_3 {
    transform: translateY(-9px) rotate(-35deg);
}
@media screen and (max-width: 640px) {
}
/* ==========================================================================
   フッター全体（黒から深い朱赤へのグラデーション背景）
   ========================================================================== */
.site_footer {
    width: 100%;
background: -webkit-linear-gradient(rgba(145,63,42,0) 0%, rgba(145,63,42,0) 45%, rgba(145,63,42,0.91) 95%, rgba(145,63,42,1) 100%);
background: -o-linear-gradient(rgba(145,63,42,0) 0%, rgba(145,63,42,0) 45%, rgba(145,63,42,0.91) 95%, rgba(145,63,42,1) 100%);
background: linear-gradient(rgba(145,63,42,0) 0%, rgba(145,63,42,0) 45%, rgba(145,63,42,0.91) 95%, rgba(145,63,42,1) 100%);
    color: #ffffff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer_inr {
    width: min(90%, 1000px); /* 指示通りのwidth指定形式 */
    margin: 0 auto;
}

/* ==========================================================================
   上部：組織紹介ブロック（横に走る細い境界線に挟まれたエリア）
   ========================================================================== */
.footer_top_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 50px 0;
    gap: 40px;
}

/* 左側：組織情報 */
.footer_org_info {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 50%;
}
.org_logo_wrap {
    width: min(100%, 156px);
    flex-shrink: 0;
}
.org_desc {
    font-size: min(4vw, 18px);
    line-height: 1.7;
}

/* 右側：リンク・SNSリスト */
.footer_links_list {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer_links_list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}
.footer_links_list a {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    overflow: unset;
}

/* リンク箇所の細部パーツ */
.link_dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-top: 12px;
    position: relative;
    box-shadow: 0 0 12px 0px rgba(255, 220, 107, 0.7);
    transition: all ease 300ms;
}
.footer_links_list a:hover .link_dot {
    box-shadow: 0 0 12px 8px rgba(255, 220, 107, 0.7);
}
.f_insta_icon {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    line-height: 1;
}
.f_insta_icon img {
    width: 22px;
}
.link_title {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 2px;
    gap: 8px;
}
.link_title .arrow {
    font-size: 15px;
    display: inline-block;
    margin-left: 3px;
    line-height: 1;
}
.link_url {
    font-size: 14px;
}

/* ==========================================================================
   中央：メインブランド（光るロゴ）エリア
   ========================================================================== */
.footer_main_brand {
    position: relative;
    padding: 80px 0 50px;
    text-align: center;
}

/* ロゴのサイズ制限と中央寄せ */
.footer_logo_area {
    display: inline-block;
    width: min(100%, 280px);
}
.footer_logo_sub {
    font-size: 13px;
    letter-spacing: 0.3em;
    margin-top: 15px;
    opacity: 0.9;
    text-indent: 0.3em; /* センター揃え時のトラッキング補正 */
}
.footer_main_logo{
    width: min(50vw, 280px);
    filter: drop-shadow(0px 0px 6px rgba(255, 220, 107, 1));
}
/* 和雲の絶対配置 */
.footer_cloud {
    position: absolute;
    pointer-events: none;
    top: 30px;
    left: 5%;
}
.footer_cloud img {
    width: min(15vw, 100px) !important;
}

/* ==========================================================================
   下部：ナビゲーションメニュー（和風縦書き）
   ========================================================================== */
.footer_nav {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
.footer_nav_list {
    display: flex;
    flex-direction: row-reverse;
    gap: min(5vw, 20px);
}
.footer_nav_list .nav_item {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    font-size: min(4vw, 18px);
    line-height: 1.0;
}
.footer_nav_list .nav_item a {
    display: block;
}
.footer_nav_list .nav_item a:hover {
    filter: drop-shadow(0px 0px 4px rgba(255, 220, 107, 1));
}
/* 左端のInstagramアイコン（縦書きの中で傾きを戻す） */
.footer_insta_nav {
    transform: rotate(0deg);
    font-size: 16px;
}

/* ==========================================================================
   最下部：クレジット＆コピーライト
   ========================================================================== */
.footer_bottom_bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 14px;
    letter-spacing: 0.05em;
    padding-top: 20px;
}
.footer_organizer {
    line-height: 1.4;
}

.footer_copyright {
    margin-left: auto;
    line-height: 1;
}

@media (max-width: 760px) {
    .site_footer {
        padding: 60px 0 30px;
    }
    
    /* 上部ボックスを縦並びにして、各要素を幅100%に */
    .footer_top_box {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
        padding: 40px 0;
    }
    
    .footer_org_info, 
    .footer_links_list {
        width: 100%;
    }
    
    .footer_org_info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .footer_bottom_bar {
        align-items: center;
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .footer_copyright {
        margin-right: auto;
    }
}

/* ==========================================================================
オープニング演出
========================================================================== */
.sec_op {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: url(./img/cmn/op_bg.webp) no-repeat center / cover;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1000ms ease, visibility 1000ms ease;
    opacity: 1;
    visibility: visible;
}
.sec_op.is-hide {
    opacity: 0;
    visibility: hidden;
}
body.is-op-active {
    overflow: hidden;
}

.op_cloud {
    position: absolute;
    transition: all ease 1000ms;
}
.op_cloud.cloud_left {
    width: min(54vw, 391px);
    left: 0;
    bottom: 0;
}
.op_cloud.cloud_right {
    width: min(70vw, 501px);
    right: 0;
    top: 0;
}
.op_logo_wrap{
    opacity: 0;
    animation: Fadein 500ms cubic-bezier(0.32, 0, 0.67, 0) forwards;
    animation-delay: 500ms;
    transition: all ease 1000ms;
}
.op_logo img {
    width: min(75vw, 342px);
}
/*消える演出*/
.is-hide .op_cloud.cloud_left{
    left: max(-391px,-54vw);
}
.is-hide .op_cloud.cloud_right{
    right: max(-501px,-70vw);
}

/*==================================================
フォーム送信成功時の画面
==================================================*/
form.wpcf7-form:not(.sent) .form_sented,/*送信前の送信成功メッセージ*/
form.wpcf7-form.sent .form_row,/*送信後のフォーム本体*/
form.wpcf7-form.sent .form_submit_area,
form.wpcf7-form.sent .wpcf7-response-output,/*送信後のデフォルト送信成功メッセージ*/
form.wpcf7-form.sent .wpcf7-turnstile.cf-turnstile{
    display: none !important;
}
/*Cloudflare*/
.wpcf7-turnstile.cf-turnstile {
    text-align: center;
}
/*==================================================
PC SP
==================================================*/
@media (min-width:641px){
    .sp{
        display: none !important;
    }
}
@media (max-width:640px){
    .pc{
        display: none !important;
    }
}