body{
    position:relative;
    font-size:16px;
    font-family: 'Noto Sans JP', sans-serif !important;
    line-height:2.0em;
    letter-spacing:0.05em;
    font-weight:300;
    background:#f5ecdb;
    /*background: #f8f2e6;*/
    color:#241815;
    overflow-x:hidden;
}
section{
    padding:0 0 150px;
}
#page-00{
    padding:100px 0 150px;
}
@media screen and (max-width: 767px){
body{
    font-size:14px;
}
section{
    padding:0 10px 100px;
}
#page-00{
    padding:100px 10px;
}
}
.text-center{
    display:block;
    text-align:center;
}
.animation01{
    opacity:0;
}
/*************************
TOP
*************************/
.top-page{
    position:relative;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
}
.dejaneiro-logo{
    width:400px;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    animation-delay:0.5s;
}
.c-scrolldown {
  width: 1px;
  height: 30px;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;

  /* フェード用（ここが抜けると効かない） */
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility .35s ease;
}

.c-scrolldown.is-hidden{
  opacity: 0;
  visibility: hidden;
}

.c-scrolldown .c-line {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to bottom, #241815 50%, rgba(255, 255, 255, 0) 50%);
  background-position: 0 -30px;
  background-size: 100% 200%;
  animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
    0% {
        background-position: 0 -30px;
    }
    75% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 30px;
    }
}
@media screen and (max-width: 767px){
.dejaneiro-logo{
    width:90%;
    max-width:360px;
    padding:0 20px;
}
}



/*************************
プロフィール
*************************/
.profile-area{
  display: flex;
  align-items: center;      /* ← 縦（垂直）中央 */
  justify-content: center;  /* ← 全体を中央寄せしたい場合（不要なら削除OK） */
  gap: 60px;                /* 写真とテキストの間隔（任意） */
  margin-bottom:120px;
}
/* 左：写真枠 */
.profile-photo{
  width: 420px;             /* PCの写真サイズ（任意） */
  max-width: 100%;
}
/* 画像を<img>で入れる場合 */
.profile-photo img{
  display: block;
  width: 100%;
  height: auto;
}

/* 右：テキスト枠 */
.profile-detail{
  width: 420px;             /* 文章量に応じて調整（任意） */
  max-width: 100%;
}
.profile-name{
    display:block;
    font-size:24px;
    font-weight:400;
    line-height:1.5em;
}
.profile-name-en{
    display:block;
    margin:0 0 10px;
}
.vivid-cacao-link{
    display:block;
    text-decoration:underline;
    margin:5px 0 0;
}
/* スマホ：縦並び */
@media screen and (max-width: 767px){
.profile-area{
    flex-direction: column; /* ← 縦並び */
    align-items: center;    /* 中央寄せ */
    gap: 24px;
    margin-bottom:60px;
}
.profile-photo,
.profile-detail{
    width: 100%;
    max-width: 360px;       /* スマホの最大幅（任意） */
}
.profile-name{
    font-size:18px;
}
.profile-name-en{
    font-size:12px
    margin:0 0 5px;
}
}

/*************************
実績
*************************/
.work-area{
    margin:0 0 60px;
}
.work-title{
    display:block;
    font-size:22px;
    font-weight:400;
    line-height:1.5em;
    margin:0 0 5px;
}
.indent-01{
    display:block;
    margin:0 0 0 1em;
    text-indent:-1em;
    line-height:1.8em;
}
@media screen and (max-width: 767px) {
.work-area{
    margin:0 0 30px;
}
.work-title{
    font-size:18px;
    margin:0 0 3px;
}
}

/*************************
下層ページ共通
*************************/
.dejaneiro-logo-02{
    width:400px;
    margin:0 0 150px;
}
.page-title{
    font-size:32px;
    margin:0 0 70px;
    letter-spacing:0.1em;
    position: relative;
    font-weight:400;
}
.page-title::after{
  content:"";
  display:block;
  width:30px;
  height:1px;
  background:#241815;
  margin-top:10px;
}
@media screen and (max-width: 767px){
.dejaneiro-logo-02{
    width:90%;
    max-width:360px;
    padding:0 20px;
    margin:0 0 75px;
}
.page-title{
    font-size:24px;
    margin:0 0 35px;
}
.page-title::after{
    margin-top:8px;
}
}
/*************************
メニュー
*************************/
.menu-btn{
    display:block;
    border:none;
    position:fixed;
    top:20px;
    right:22px;
    width:36px;
    height:36px;
    z-index:9998;
}
.menu-btn:hover{
    cursor:pointer;
}
.menu-btn span{
    width:100%;
    position:absolute;
    left:0;
    right:0;
    margin:auto;
    height:1px;
    transition: all 0.3s ease;
}
.menu-1{
    top:20%;
    background:#241815;
}
.menu-2{
    top:48%;
    background:#241815;
}
.menu-3{
    top:76%;
    background:#241815;
}
.menu-1.open {
    top:48%;
    transform: rotate(45deg);
    background:#241815;
}
.menu-2.open {
    top:48%;
    opacity:0;
    background:#241815;
}
.menu-3.open {
    top:48%;
    transform: rotate(-45deg);
    background:#241815;
}
.menu {
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
    z-index:999;
    background:#fff;
}
#menuBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    background: rgba(0,0,0,1.0);
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
}
.menu-inner{
    position:relative;
    display: table;
    width:100%;
    max-width:700px;
    height: calc(var(--vh, 1vh) * 100);
    margin:0 auto;
}
.menu ul {
    width:100%;
    display: table-cell;
    vertical-align: middle;
    padding:0;
    margin:0;
}
.menu li {
    display:block;
    width:100%;
    margin: 45px auto;
    text-align:center;
    list-style:none;
}
.menu li a {
    width:auto;
    font-size: 24px;
    color:#241815;
    letter-spacing:0.2em;
    font-weight:500;
    text-transform:uppercase;
}
/* 開閉用ボタンがクリックされた時のスタイル */
.open .menu {
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
}
.open #menuBg {
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
}
.icon-instagram{
    width:40px;
}
@media screen and (max-width: 767px){
.menu li {
    margin: 35px auto;
}
.menu li a {
    font-size: 18px;
}
}
/*************************
フォーム
*************************/
.p-contact-form__list input{
    width:100%;
    border:1px solid #bfbfbf;
    padding:4px 10px 6px;
    background:#fff;
    font-weight:400;
}
.p-contact-form__list textarea{
    width:100%;
    border:1px solid #bfbfbf;
    padding:5px 10px;
    resize: none;
    background:#fff;
    font-weight:400;
}
.p-form__detail{
    width:100%;
}
.p-form__heading{
    font-weight:500;
}
.p-form__previous input{
    padding:5px 15px !important;
    border:1px solid #241815;
    margin: 0; /* マージンをリセット */
}
/* 入力画面：ボタン1つを中央寄せ（確認画面と同じ見た目） */
.p-form__contact-btn{
  display: flex;            /* 既存の display:block を上書き */
  justify-content: center;
  margin: 60px 0 0;
}

/* 入力画面の submit（確認する）も確認画面と同じサイズ */
.p-form__contact-btn #submit-btn{
  width: 200px !important;
  height: 45px !important;
  padding: 0 15px !important;
  border: 1px solid #241815 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  font-weight:400;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* 中のテキストのズレ防止 */
.p-form__contact-btn #submit-btn .c-btn__text{
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1;
}

.p-form__button-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;          /* ← 30pxに */
  margin: 60px 0 0;
}

.p-form__previous,
.p-form__send{
  display: flex;
  align-items: center;
  width: auto;
}

/* 「修正する(input)」と「送信する(button)」を同じサイズ・見た目に統一 */
.p-form__button-wrap #previous-btn,
.p-form__button-wrap #submit-btn{
  width: 200px !important;
  height: 45px !important;
  line-height: 45px !important; /* height と同じ値にする */
  text-align: center !important;
  padding: 0 !important;   /* 念のため再指定 */
  border: 1px solid #241815 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  font-weight:400;
}

/* button内のspanが余計なズレを作らないように */
.p-form__button-wrap #submit-btn .c-btn__text{
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1;
}

.wpcf7 form .wpcf7-response-output{
  display: none !important;
}
@media screen and (max-width: 767px){

  /* はみ出し防止：横幅が足りない時は折り返してもOKなら */
  .p-form__button-wrap{
    display: flex;
    flex-wrap: nowrap;         /* ← 折り返し禁止 */
    gap: 16px;            /* スマホは少し詰める（任意） */
    box-sizing: border-box;
  }

  /* ボタン幅を可変に：最大240px、画面に収まる */
  .p-form__button-wrap #previous-btn,
  .p-form__button-wrap #submit-btn{
    width: min(240px, calc((100vw - 16px*2 - 16px) / 2)) !important;
    /* ↑ 100vw から左右padding(16*2) と gap(16) を引いて2等分 */
    max-width: 240px !important;
  }
}
@media screen and (min-width: 768px){
.p-contact-thanks__text{
    display:block;
    text-align:center;
}
}

/* 項目間の余白（旧 .p-form__wrap + .p-form__wrap 相当） */
.p-form__item + .p-form__item{
  margin-top: 30px;
  margin-top: 1.875rem;
}
.p-form__list .p-form__item:last-child{
  margin-top: 60px;
  margin-top: 3.75rem;
}
/* 入力エリアの上余白（旧 .p-form__input 等の margin-top 相当） */
.p-form__detail{
  margin-top: 8px;
  margin-top: 0.5rem;
  font-weight:400;
}

/* select を含む dd を「擬似的に .p-form-select」にする */
.p-form__detail:has(select){
  position: relative;
  width: min(280px, 100%);
}

/* select 本体（旧 .p-form-select select 相当） */
.p-form__detail select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #bfbfbf;
  color: #241815;
  font-size: max(15px, 10px);
  font-weight: 400;
  padding: 9px 40px 9px 15px;
  padding: 0.5625rem 2.5rem 0.5625rem 0.9375rem;
  width: 100%;
  background:#fff;
}

/* 旧 .p-form-select::after 相当の矢印（dd側に付ける） */
.p-form__detail:has(select)::after{
  background-color: #241815;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  content: "";
  height: 6px;
  height: 0.375rem;
  width: 11px;
  width: 0.6875rem;

  pointer-events: none;
  position: absolute;
  right: 10px;
  right: 0.625rem;
  top: 22px;
  top: 1.375rem;
}

/* CF7チェックボックス群の横の余白を消す（旧 margin調整） */
.p-form__detail .wpcf7-list-item{
  margin: 0 !important;
}

/* 3列グリッドをやめて1列に（スマホ改行対策も含む） */
.p-form__detail .wpcf7-checkbox{
  display: grid;
  gap: 10px;
  gap: 0.625rem;
  grid-template-columns: 1fr;
}

/* ラベルを整列 */
.p-form__detail .wpcf7-checkbox label{
  display: inline-flex;
  align-items: center;
}

/* inputは見えなくする（旧 input{display:none;}と同等の見た目） */
.p-form__detail .wpcf7-checkbox input{
  position: absolute;
  opacity: 0;
}

/* 旧 input + span 相当（CF7は input + span が成立します） */
.p-form__detail .wpcf7-checkbox input + span{
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-size: 0.9375rem;

  /* チェックボックス分の左余白 */
  padding: 0 0 2px 24.5px;
  padding: 0 0 0.125rem 1.53125rem;

  position: relative;
  line-height: 1.2;
  white-space: nowrap;
}

/* 四角（旧 ::before） */
.p-form__detail .wpcf7-checkbox input + span::before{
  background: #fff;
  border: 1px solid #bfbfbf;
  content: "";
  display: block;
  height: 17px;
  width: 17px;
  height: 1.0625rem;
  width: 1.0625rem;

  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* チェック（旧 ::after） */
.p-form__detail .wpcf7-checkbox input + span::after{
  border-bottom: 2px solid #241815;
  border-left: 2px solid #241815;
  content: "";
  display: block;

  height: 7px;
  width: 13px;
  height: 0.4375rem;
  width: 0.8125rem;

  left: 2px;
  left: 0.125rem;
  margin-top: -2px;
  margin-top: -0.125rem;

  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.3s;
}

.p-form__detail .wpcf7-checkbox input:checked + span::after{
  opacity: 1;
}


/*************************
お知らせ一覧
*************************/
.news-table{
    width:100%;
    margin:40px 0;
}
.news-table tr{
    border-bottom:2px dashed #bfbfbf;
}
.news-table th{
    width:120px;
    padding:35px 20px 35px 0;
    color:#afafaf;
    font-weight:500;
}
.news-table td{
    width:calc(100% - 120px);
    padding:35px 0;
}
@media screen and (max-width: 767px) {
.news-table th{
    width:100%;
    display:block;
    padding:15px 0 0;
}
.news-table td{
    width:100%;
    display:block;
    padding:0 0 15px;
}
}

/*************************
ページネーション
*************************/
.wp-pagenavi {
	display:block;
	text-align:center;
	padding:30px 0 0;
}
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
    display:inline-block !important;
    font-weight:600 !important;
    width:40px !important;
    height:40px !important;
    box-sizing:border-box !important;
    color:#241815 !important;
    padding:2px 0 8px 1px !important;
    border:solid 1px #241815 !important;
    background:#fff !important;
    font-size:14px !important;
    font-weight:900 !important;
    margin:0 5px !important;
    text-decoration:none;
    border-radius:100% !important;
}
.wp-pagenavi a.first, .wp-pagenavi a.last{
    padding:4px 0 6px 1px !important;
    border-radius:100% !important;
}
.wp-pagenavi a.first:hover, .wp-pagenavi a.last:hover{
    padding:4px 0 6px 1px !important;
    border-radius:100% !important;
}
.wp-pagenavi a:hover {
    display:inline-block !important;
    font-weight:600 !important;
    width:40px !important;
    height:40px !important;
    box-sizing:border-box !important;
    color:#fff !important;
    padding:2px 0 8px 1px !important;
    border:solid 1px #241815 !important;
    background:#241815 !important;
    font-size:14px !important;
    font-weight:900 !important;
    margin:0 5px !important;
    text-decoration:none;
    border-radius:100% !important;
}
 .wp-pagenavi span.current{
    display:inline-block !important;
    font-weight:600 !important;
    width:40px !important;
    height:40px !important;
    box-sizing:border-box !important;
    color:#fff !important;
    padding:2px 0 8px 1px !important;
    border:solid 1px #241815 !important;
    background:#241815 !important;
    font-size:14px !important;
    font-weight:900 !important;
    margin:0 5px !important;
    text-decoration:none;
    border-radius:100% !important;
}
 @media screen and (max-width: 767px) {
.two-column-area:nth-child(2n+1){
    padding:0 7px 10px 14px;
}
.two-column-area:nth-child(2n){
    padding:0 14px 10px 7px;
}
.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
    width:38px !important;
    height:38px !important;
    padding:3px 0 0 2px !important;
    margin:0 2px !important;
}
.wp-pagenavi a:hover {
    width:38px !important;
    height:40px !important;
    padding:3px 0 0 2px !important;
    margin:0 2px !important;
}
 .wp-pagenavi span.current{
    width:38px !important;
    height:38px !important;
    padding:3px 0 0 2px !important;
    margin:0 2px !important;
}
.wp-pagenavi a.first, .wp-pagenavi a.last{
    padding:6px 0 0 2px !important;
    margin:0 2px !important;
}
.wp-pagenavi a.first:hover, .wp-pagenavi a.last:hover{
    padding:6px 0 0 2px !important;
    margin:0 2px !important;
}
}


/*************************
お知らせ詳細
*************************/
.news-area{
    width: 100%;
    margin:80px 0;
}
.news-title{
    display:block;
    font-size:22px;
    font-weight:400;
    line-height:1.5em;
}
.news-area > * + *{
  margin-top: 20px;
}
.news-area > .news-date{
  margin-top: 0;           /* ←これで青と赤の隙間が消える */
}
.news-date{
    display:block;
    margin:0 0 70px;
    font-weight:300;
    color:#bfbfbf;
}
.news-area a{
  text-decoration:underline;
}
.news-area img {
	width:100%;
	height:auto;
	margin:20px 0;
}
@media screen and (max-width: 767px) {
.news-area{
    width: 100%;
    margin:60px 0;
}
.news-title{
    font-size:18px;
}
.news-date{
    display:block;
    margin:0 0 35px;
}
}

/*************************
前、次の記事ボタン
*************************/
.pager{
  margin-top: 60px;          /* お好みで */
  width: 100%;
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
}

.pager .previous,
.pager .next{
  display: block;
}

/* 片方しか無いときでも、next を右に寄せたい場合 */
.pager .next{
  margin-left: auto;
}

.pager a{
  display: inline-block;     /* margin/paddingを効かせる */
  padding: 3px 0;            /* 下線リンクとして見やすく */
  color:#241815;
  border-bottom:1px solid #241815;
  font-size:16px;
  font-weight:300;
  text-decoration: none;
}

.pager a:hover{
  color:#241815;
  border-bottom:1px solid #241815;
}

.view-btn-area{
    display:block;
    text-align:center;
    margin:80px 0 0;
}
.view-btn{
  display:inline-block;
  width: 200px !important;
  padding:5px 15px !important;
  border: 1px solid #241815 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  font-weight:400;
}
@media screen and (max-width: 767px) {
.pager a{
  font-size:14px;
}
.view-btn-area{
    margin:50px 0 0;
}
}

/*************************
ターム、プライバシーポリシー
*************************/
.term-area h3{
    display:block;
    font-size:22px;
    font-weight:400;
    line-height:2.0em;
    margin:100px 0 10px;
}
.indent-02{
    display:block;
    margin:0 0 0 1.75em;
    text-indent:-1.75em;
    line-height:1.8em;
}
.contact-link{
    text-decoration:underline;
}
@media screen and (max-width: 767px) {
.term-area h3{
    font-size:18px;
    margin:60px 0 0;
}
}

/*************************
フッター
*************************/
.footer-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 24px;               /* 768px以上のときの間隔 */
}

.footer-menu li{
  margin: 0;
}

.footer-menu a{
  display: inline-block;
  text-decoration: underline;
}
.footer-sns-link{
    margin:50px 0 0;
}
.copyright{
    margin:50px 0 20px;
    display:block;
    text-align:center;
    font-size:14px;
    font-weight:300;
}
.copyright span{
    text-align:center;
    font-size:15px;
}
@media (max-width: 767px){
.footer-menu ul{
    flex-wrap: wrap;
    gap: 12px 0;          /* 行間だけつける（左右は幅50%で揃える） */
}

.footer-menu li{
    width: 100%;
    display:block;
    text-align: center;
}

.footer-menu a{
    display: block;       /* タップしやすく */
}
.copyright{
    font-size:12px;
}
.copyright span{
    font-size:13px;
}
}