@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

/*
Theme Name: YANASE 2026
Theme URI:
Description: The 2026 default theme for Yanase architect.
Author: yanase architect.
Author URI: https://yanase-arc.com/
Version: 2026.6
*/


@view-transition {
navigation: auto;
}

*,*::after,*::before{box-sizing:border-box;-webkit-appearance: none;}:
h1,h2,h3,h4,h5{line-height:1; margin-bottom:1em;font-weight: 400px;}

p{line-height: 1.8;}

:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-base: #0c1210;
  --color-gray: #ddd;
  --color-theme: #b4e900;
  --color-theme: #444;
  --color-theme-darken: #6e8f00;
  --color-theme-darken: rgba(0, 0, 0, 0.3);
  --color-text: #adbdb7;
  --box-shadow: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05),
  -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, 0.08),
  -1rem -1rem 1.5rem #fff;
  --box-shadow-inset: inset 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.05),
  inset -0.8rem -0.8rem 1.2rem #fff;
  --box-shadow-dark: 0.8rem 0.8rem 1.2rem rgba(0, 0, 0, 0.1),
  -0.8rem -0.8rem 1.2rem rgba(#fff, 0.2);
}

::selection {
  color: #fff;
  background: var(--color-theme);
}

:focus:not(:focus-visible) {
  outline: 0;
  /* キーボード操作"以外"でフォーカスされた際はoutlineを消す */
}

      
/**{
  font-weight: 300 !important;
}*/

html {
  scroll-behavior: smooth;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

th,dt,dd{font-weight: 400 !important;}

body{
  font-family: "Shippori Mincho", serif;
  background:#fff;
  font-size:62.5%;
  letter-spacing: 0.025em;
  text-wrap: balance;
  font-weight:500;
  text-wrap: pretty;
  font-feature-settings: "palt";
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  margin: 0;
  padding: 0;
  color: #262626;
  color: #1a1a1a;
}

@media(max-width: 360px) {
  body{
    min-width: 360px;
    margin: 0 auto !important;
  }
  main,header,footer{
    margin: 0 auto !important;
    paddong: 0 10px;
  }
}

h1,h2,h3,h4,h5{
}

#content section > h2{
  font-size: 2.8em;
}

@media(max-width: 480px){
  body{
  font-size: 56.25%;
}
}

.en{
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-transform: capitalize;
}


p:not(.project-data p, .home #works p){
  font-size: 1.6em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1em;
}

a .link-text{
  font-size: 2.2em;
  display: inline-block;
}

@media(max-width: 480px){
  a .link-text{
    text-align: right;
    display: flow;
  }
}

a .link-text span{
  display: inline-flex;
  margin-left: .2em;
}

a .link-text span img{
  width: 18px;
  aspect-ratio: 1/1;
}

a.link-text{
  font-size: 2.2em;
    font-weight: 600;
    padding-left: 3.5em;
    position: relative;
    transition: var(--transition);
}

a.link-text::before {
    width: 3em;
    height: 1px;
    display: block;
    content: "";
    position: absolute;
    background: #000;
    display: inline-block;
    top: 50%;
    left: 0;
    transition: var(--transition);
}

a.link-text:hover{
  padding-left: 2.5em;
  padding-right: 1em;
}

a.link-text:hover::before{
  width: 2em;
}

a[href^="tel:"] {
    color: inherit; /* 文字色を周囲と同じに */
    text-decoration: none; /* 下線を消す */
}

main .current a,
main a.current *,
main a.is-active{
  pointer-events: none;

}

.notel{
pointer-events: none !important;
}

/* =============================================================
home
============================================================= */

.sp-overlay{
  background: #000000;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.2) 5%, rgba(0, 0, 0, 0.0) 15%, rgba(0, 0, 0, 0.0) 70%, rgba(0, 0, 0, 0.25) 80%, rgba(0, 0, 0, 0.4) 90%, rgba(0, 0, 0, 0.55) 100%) !important
}

.sp-text-outer{
  display: none !important;
}

#greeting{
  padding: calc(100svw * 0.1) calc(100svw * 0.14) 96px;
}

@media(max-width: 800px){
  #greeting{
  padding: 48px 48px 96px;
}
}

@media(max-width: 480px){
  #greeting{
    padding: 48px 24px 96px;
}
}

#greeting p{
  font-size: 1.8em;
  font-weight: 400;
}

@media(max-width: 1200px) {
  #greeting p{
  font-size: 1.6em;
}
}

#works > h2{
  margin-left: calc(100svw * 0.14);
  margin-bottom: -1rem;
}

@media(max-width: 800px){
#works > h2{
  margin-left: 48px;
}
}

@media(max-width: 480px){
#works > h2{
  margin-left: 24px;
}
}

/* =============================================================
header
============================================================= */

header{
    z-index: 99999;
    width: 100%;
    color: #262626;
    padding: 0 64px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
}

.header-outer {
  display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: -50px;
    height: 110px;
    transition: var(--transition);
}

.header-inner {
height: 60px;
    position: sticky;
    display: flex;
    align-items: center;
    width: 100%;
    top: 0;
    justify-content: space-between;
}


.home header{
    position: sticky; 
    top: 0; 
    left: 0; 
    z-index: 5000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    position: absolute;
    background: none;
    backdrop-filter: none;
}

@media(max-width: 1200px) {
  header{
    padding: 0 48px !important;
  }
}

@media(max-width: 800px) {
  .header-outer:not(.home .header-outer){
    padding: 10px 20px 10px 20px !important;
    height: 60px;
    margin-bottom: 5%;
    top: 0;
    box-shadow: 0 1px 0 0 #e1e1e1;
  }
  header.header-outer:has(.open .sp-nav),
  .home #nav-wrapper.is-visible.open{
    background: #fff !important;
  }
  .home header{
    height: 60px;
  }
  svg.logo{
    width: 172px;
  }
}

header .logo *{
  fill: #262626;
}

body.home header .logo *{
  fill:#fff;
}

header nav ul{
  display: flex;
}

@media(max-width: 800px) {
header nav ul{
  display: block;
}
}

header nav ul li{
  margin-right: 48px;
  font-size: 2.2em;
}

header nav ul li:last-child{
  margin-right: 0 !important;
}

@media(max-width: 1200px) {
header nav ul li{
  margin-right: 1em;
  font-size: 2em;
}
}

header nav ul li:last-child{
  margin-right: 0;
}

body.home header{
  color: #fff;
}

main {
    display: block;
    padding: 3% 10% 10%;
    max-width: 2200px;
    max-width: 1800px;
    margin: auto;
    min-height: 100vh;
}

/*.single-works main{
  padding: 7% 14%;
}*/

@media(max-width: 1200px) {
  main{
    padding: 0 48px 5% !important;
  }
}

@media(max-width: 800px) {
  main{
    padding: 0 24px 5% !important;
  }
}



/* =============================================================
footer
============================================================= */

footer{
  background: #F1EEEE;
    padding: 7% 0;
    line-height: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: #4B4B4B;
}

footer::after {
    content: "";
    position: absolute;
    width: calc(100% / 3);
    height: 4rem;
    top: 0;
    right: 0;
    background: #fff;
    z-index: 500;
}

footer h3{
  font-size: 1.5em;
}

footer .data{
  width: 50%;
    border-right: 1px solid #B9B9B9;
    font-size: 1.3em;
    margin-left: 7%;
    margin-right: 0%;
}

footer .copyright{
  width: 50%;
    text-align: center;
    font-size: 1.5em;
    padding-right: 7%;
    padding-left: 20%;
    white-space: nowrap;
  }

footer li svg {
    margin-right: 1em;
    margin-top: 1.25em;
}

@media(max-width: 800px) {
footer .copyright{
    font-size: 1.2em;
    ont-size: 1.2em;
        text-align: left;
        padding: 0;
    }

  footer{
    padding: 20% 20px;
    display: block;
  }

  footer .data {
    width: 100%;
    margin-bottom: 5%;
    padding-bottom: 5%;
    margin-bottom: 5%;
    border-bottom: 1px solid #B9B9B9;
    border-right: none;
    margin: 0 0 5% 0;
    /* padding: 0 0 5% !important; */
}
}

/* =============================================================
category-works
============================================================= */

.category main{
}

section#works-main{
  margin-bottom: 10%;
}

.works-container h3{
  font-size: 1.8em;
}

.works-container p{
  font-size: 1.4em;
}


@media(max-width: 1200px) {
  .works-container h3{
  font-size: 1.6em;
}

.works-container p{
  font-size: 1.3em !important;
}
}

h3.grid-post-title {
    margin-top: .6em;
}

.new-post-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 2em;
}

@media(min-width: 481px){
.year-block {
    padding-top: 40px;
}
hr.year-divider {
    margin: 4em 0 3em;
}
}


p.grid-post-location,p.year-post-location {
    color: #545454;
}

/*@media(min-width: 1800px) {
  .new-post-grid{
    grid-template-columns: repeat(4, 1fr);
  }
}*/

@media(max-width: 800px) {
  .new-post-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 480px) {
  .new-post-grid{
    /*grid-template-columns: repeat(1, 1fr);*/
  }
  .grid-post-thumb img {
    aspect-ratio: 5 / 3.5 !important;
  }

  .grid-post-thumb {
    aspect-ratio: 5 / 3.5 !important;
  }
}

.nav-thumb,
.year-post-thumb,
.grid-post-thumb {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5 / 3;
}

.nav-thumb img,
.year-post-thumb img,
.grid-post-thumb img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 3;
    transition: var(--transition);
}

.nav-thumb img:hover,
.year-post-thumb img:hover,
.grid-post-thumb img:hover {
    scale: 1.1;
}


section#nav{
    margin-bottom: 2em;
}

h1.en {
    font-size: 3.2em;
}

@media(max-width: 800px){

}

#menu{
  display: flex;
    justify-content: space-between;
    margin-bottom: 2em;
}


ul#cat-list {
    display: flex;
    justify-content: flex-start;
    gap: 1em;
    font-size: 1.6em;
    margin-top: .5em;
    text-transform: capitalize;
    overflow: hidden;
}

ul#cat-list li:not(ul#cat-list li:last-child)::after{
  content: "";
  border-right: 1px solid #adadad;
  margin-left: 1em;
}

.category-nav__item a{
  color: #848484;
}

.category-nav__item.current a{
  color: #000;
  pointer-events: none;
}

@media(max-width: 800px) {
#menu{
  display: block;
}
ul#cat-list {
  font-size: 1.4em;
  gap: 1em;
  margin-bottom: 1em;
}
ul#cat-list li:not(ul#cat-list li:last-child)::after{
  margin-left: 1em;
}
}

.sort-switcher {
  display: flex;
  justify-content: end;
  gap: 1em;
  margin-top: .5em;
}

.sort-switcher img {
    width: 18px;
    aspect-ratio: 1 / 1;
}

.sort-switcher a img{
  opacity: .4;
}


.sort-switcher a.is-active img{
  opacity: 1;
}


h2.year-heading {
    font-size: 2.2em;
    margin-bottom: 40px;
}

hr.year-divider {
    color: #ADADAD;
    margin: 80px 0 30px;
}

.year-post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media(max-width: 1000px) {
  .year-post-list{
    grid-template-columns: repeat(1, 1fr);
  }
}

a.year-post-link {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 40px;
}

.works-title h1{
  font-size: 4em;
  line-height: 1;
}
.works-title p {
    font-size: 2.8em;
    padding-right: .5em;
    margin: 0;
    line-height: 1;
    border-bottom: 1px solid #D6D6D6;
    display: inline-block;
    padding-bottom: .6em;
    margin-bottom: .6em;
    text-transform: capitalize;
}
.works-main-gallery {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    row-gap: 20px;
    row-gap: max(20px,3vw);
    margin: min(128px,5%) auto;
}

@media(max-width: 1200px) {
  .works-main-gallery {
    margin: 64px auto;
    margin-top: 5% !important;
  }
  .works-title h1{
    font-size: 3.2em;
  }
  .works-title p{
    font-size: 2em;
  }
}

@media(max-width: 800px) {
  .works-main-gallery {
    margin: 64px auto;
    
  }
  .works-title h1{
    font-size: 2.4em;
  }
  .works-title p{
    font-size: 1.6em;
  }
}

.gallery-item img {
  width: auto;
max-width:100%;
  height: auto;
  max-height:calc(100svh - 80px);
  display: block;
  content-visibility: auto;
  contain-intrinsic-size:30vh;
}

#drawing .gallery-item img{
max-height:100%;
margin: auto;
}

body.before main h1{
font-size:2.2em;
}

body.before .gallery-item img{
  width: max(800px,100%);
}

figcaption {
    font-size: 1.4em;
    line-height: 2;
}

section.project-data{
  border-top: 1px solid #D6D6D6;
  /*border-bottom: 1px solid #D6D6D6;*/
  padding: 3rem 0;
  margin: 1rem 0;
}

section.project-data.project-text{
  padding: 3rem 10%;

}
@media(max-width: 880px){
  section.project-data.project-text{
  padding: 3rem 0;
}
}
.project-data ul, ul.project-data{
  font-size: 1.5em;
    line-height: 2;
    margin-top: 3%;
    color: #545454;
    color: #1a1a1a;
}

.project-text p{
  font-size: 1.6em;
}

.project-text p:not(.project-text p:last-child){
  margin-bottom: 1rem;
}

.project-data a{
  text-decoration: underline;
}

.project-data a:hover{
  text-decoration: none;
}

.single-works main section:last-child{
border-bottom:none;
}

@media(max-width: 800px) {
  .project-data ul, ul.project-data{
    font-size: 1.4em;
    line-height: 1.6;
    }
    .project-text p{
      font-size: 1.5em;
    }
}

@media(min-width: 1200px) {
  .project-data ul, ul.project-data{
    margin-top: min(128px,5%);
    }
}

.project-data ul{
  margin-top: 1rem;
  margin-bottom: 1rem;
}

section#drawing {
    /*margin: 4rem 0;*/
    padding: 3rem 0;
    border-top: 1px solid #D6D6D6;
}
section#drawing .gallery-item {
  width: 100%;
  margin: auto;
  padding: 0 10%;
}

.award{
  color: #d77954;
}


section#page-title {
    margin-bottom: 7%;
}


/* ベースのナビゲーション領域 */

section#link{
  border-top: 1px solid #D6D6D6;
    padding: 7% 10%;
}

@media(max-width: 1200px) {
  section#link{
    padding: 7% 48px;
}
}

@media(max-width: 800px) {
  section#link{
    padding: 7% 24px;
}
}

@media(max-width: 400px) {
  section#link{
}
}

section#before {
    /*margin-top: 5%;*/
    padding-top: 5%;
    border-top: 1px solid #D6D6D6;
}

section#before ul {
    display: flex;
    gap: 2em;
    font-size: 1.6em;
}

section#before ul li{
background:#e5ddd2;
padding:.4em .6em;
}

@media(max-width: 800px) {
  section#before ul {
    font-size: 1.3em;
  }
}

.post-navigation {
    display: flex;
    justify-content: space-between; /* 要素が1つの時も端に寄せる */
    gap: 40px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

/* 各ナビゲーションブロック */
.nav-previous, 
.nav-next {
    flex: 0 1 40%; /* 幅が広がりすぎないように制限 */
    max-width: 420px;
}

/* 片方しかない場合のレイアウト維持用 */
.nav-next {
    margin-left: auto; /* 左側がない（最新記事）の時、強制的に右端に寄せる */
}

/* リンク全体の共通設定 */
.post-navigation a {
    display: block;
    text-decoration: none;
    color: #333;
}

/* サムネイル画像 */
.nav-thumb {
    width: 100%;
    aspect-ratio: 5 / 3; /* 添付画像に近い比率に固定 */
    overflow: hidden;
    margin-bottom: 15px;
}

.nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を保ってトリミング */
    display: block;
}

/* 記事タイトル */
.nav-title {
    font-size: 1.4em;
}

/* 「前の投稿」は左寄せ */
.nav-previous .nav-title {
    text-align: left;
}

/* 「次の投稿」は右寄せ */
.nav-next .nav-title {
    text-align: right;
}

.nav-previous .nav-title img, .after img{
  transform: rotateY(180deg);
}

.nav-previeus img,.nav-next img, .parent img, #before img{
      vertical-align: inherit;
}

/* ==========================================
   スマホ用のレスポンシブ対応（2枚目のイメージ）
   ========================================== */
@media (max-width: 480px) {
    .post-navigation {
        /* flex-direction: column; 縦並びにする */
        gap: 24px;
    }

    .nav-previous, 
    .nav-next {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* =============================================================
page-history
============================================================= */

/* スクロールさせるための親要素 */
.table-container {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロール用 */
  margin: 7% auto;
  max-width: 880px;
}

.history .table-container{
  max-width: 1200px !important;
}

/* テーブル全体のスタイル */
.table-container table {
  width: 100%;
  min-width: 640px; /* 横スクロールさせるために親要素より大きい値を設定 */
  border-collapse: collapse;
  font-size: 1.4em;
}

.table-container table a{
  text-decoration: underline;
}

@media(max-width: 800px) {
  .table-container table {
    cursor: grab;
    /*user-select: none;*/
    }
    .table-container table:active {
    cursor: grabbing;
    }
}

/* ヘッダーの追従設定 */
.table-container th {
  position: sticky;
  top: 0;
  z-index: 10; /* ヘッダーがデータの上に重なるようにする */
  background-color: #262626; /* 背景色を設定しないとデータが透けてしまうので必須 */
  color: #fff;
}


/* セルのスタイル */
.table-container th,
.table-container td {
  border: 1px solid #262626;
  padding: .7em .5em;
  text-align: left;
  vertical-align:baseline;
  line-height: 1.6;
}

.table-container th{
  text-align: center;
}

.history .table-container th{
  border-right: 1px solid #fff;
}
.history .table-container th:last-child{
  border-right: 1px solid #262626;
}

.table-container tr td:nth-of-type(2){
  
}

.table-container tr td:nth-of-type(1) {
  white-space: nowrap;
  /*min-width: 6em;*/
}

.table-container td[rowspan] + td {
  /*white-space: nowrap;*/
}

/* CSSはクラスに対して指定する */
.table-container tr.odd {
  background-color: #ffffff; /* 奇数グループの背景色 */
}
.table-container tr.even {
  background-color: #F1EEEE; /* 偶数グループの背景色 */
}

.text-link a.history{
display: flex;
    align-items: baseline;
    gap: .5em;
  }

  .text-link a.history img{
    width: 14px;
    height: 14px;
  }


/* =============================================================
page-about
============================================================= */

#feenav.current{
  opacity: .4;
}

@media(max-width:800px){
  span#fee{
    height: 60px;
    display: block;
  }
}
main .data:not(.fee .data,#page-title,.data:has(.about):last-child) {
    display: flex;
    gap: 5%;
    margin-bottom: 5%;
    padding-bottom: 5%;
    border-bottom: 1px solid #D6D6D6;
}

@media(max-width: 800px) {
  main .data {
    display: block !important;
}
}

main .data h2 {
    font-size: 1.8em;
    white-space: nowrap;
    min-width: 5em;
    padding-bottom: 5%;
}

main .data:not(.profile) h2 {
  line-height: 1.8em;
}

main .data dl, .data ul, .data ol {
    line-height: 2.4;
    font-size: 1.6em;
}

main .data dt {
    width: 8em;
    display: inline-block;
    float: left;
}

dl#achievements dt{
  width: 4.5em;
}

main .data dd {
    display: inline-block;
    min-width: auto;
    width: 80%;
    width: calc(100% - 8em);
    line-height: 1.4;
}

dl#achievements dd{
  width: calc(100% - 4.5em);
}


@media(max-width: 480px){
dl#achievements dt,
dl#achievements dd{
  line-height: 1.5;
}
dl#achievements dt{
  width: 4em;
}
dl#achievements dd{
  width: calc(100% - 4em);
}
}

.about .table-container table,.fee .table-container table {
  min-width: 440px;
}

.about .table-container table td,.fee .table-container table td{
  text-align: center;
}

.about .table-container th,.fee .table-container th{
      color: #262626;
    border: 1px solid #262626;
    background: #F1EEEE;
}


.parent {
     display: grid; 
    grid-template-columns: minmax(100px, auto);
    grid-template-rows: auto auto;
    gap: 2em 4em;
    
}

.profile ul{
  line-height: 1;
}

.profile ul li{
  margin-bottom: .5em;
  line-height: 1.5em;
}
    
.profile h3{
  font-size:2.4em;
}

.profile p{
  font-size:1.8em;
  line-height: 2;
}

.profile h4{
  font-size:1.6em;
}

.div1, .div2,.div3{
  white-space: nowrap;
}
.div3 {
    grid-row-start: 2;
}

.div4 {
    grid-row-start: 2;
}

.text-link{
  margin-top: 5%;
}
.text-link a{
  text-decoration: underline;
  font-size: 1.1em;
}
.profile ul.text-link li {
    float: left;
}

.profile ul.text-link li:not(:first-child) { 
  margin-left:.5em;
  padding-left: 1em;
  position: relative;
}

.profile ul.text-link li:not(:first-child)::after { 
  content: "/";
  position: absolute;
  left: 0;
  top: 0;
}


@media(max-width: 800px) {
  .parent {
    display: grid;
    /*grid-template-columns: repeat(2, 1fr);*/
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: minmax(130px, auto);
    gap: 2em;
  }
      
  .div1 {
      grid-column-start: 2;
      grid-row-start: 1;
  }

  .div2 {
      grid-column-start: 2;
      grid-row-start: 2;
  }

  .div2 ul{
    margin-top: -2em;
  }

  .div3 {
      grid-row: span 2 / span 2;
      grid-column-start: 1;
      grid-row-start: 1;
  }



  .div4 {
      grid-column: span 2 / span 2;
      grid-row-start: 3;
  }

  .profile h3{
  font-size:1.8em;
}

.profile p,.profile ul{
  font-size:1.4em;
  line-height: 1.4;
}

.profile h4{
  font-size:1.6em;
}
}


@media(max-width: 520px) {
    .div3 img{
    width: 130px;
  }
}


.fee dl{
  margin-bottom: 7%;
}

.fee main .table-container:last-child{
  margin-top: 0 !important;
}

/* =============================================================
category-news
============================================================= */


.news-list article{
  display: flex;
  gap: 2em;
  margin-bottom: 3em;
}


@media(max-width: 800px) {
.news-list article{
  display: block;
  margin-bottom: 7%;
    padding-bottom: 7%;
    border-bottom: 1px solid #D6D6D6;
}
}


.news-list article a{
  text-decoration: underline;
}

.news-list article a:hover{
  text-decoration: none;
}

section.news-list article .news-title{
    font-size: 1.6em;
    line-height: 1.8;
}

.news-list article .date{
  min-width: 6em;
  font-size: 1.6em;
  line-height: 1.8em;
}

section.news-list article p{
  margin-top: .5em;
    margin-bottom: .5em;

}
/* =============================================================
page-contact
============================================================= */


/* =============================================================
splide
============================================================= */

    .l-inner {
position: relative;
    box-sizing: content-box;
    /* max-width: 1200px; */
    margin: 0;
    padding: 0 0 0 calc(100svw * 0.14);
}

    .l-section {
      /*border-top: 1px solid #eee;*/
    }

    .l-section .l-inner {
      padding-top: 4rem;
      padding-bottom: 4rem;
    }

    .splide-wrapper{
  cursor: grab;
}

.splide-wrapper:active {
  cursor: grabbing;
}

    .c-temp {
      line-height: 1;
    }

    .c-temp .l-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 4rem;
      padding-bottom: 4rem;
    }

    .c-temp .text {
      font-size: 2.4rem;
    }

    .c-temp .button {
      font-size: 1.4rem;
      
      display: block;
      width: 12rem;
      padding: 1.6rem 0 1.2rem;
      text-align: center;
      letter-spacing: 0.1em;
      color: #fff;
      border-radius: 100px;
      background-color: var(--color-theme);
    }

    .c-footer .l-inner {
      padding-top: 0;
    }

    .c-footer .text {
      color: var(--color-gray);
    }

    .c-info {
      font-size: 1.4rem;
      display: inline-block;
      margin-top: 4rem;
      margin-bottom: 6.4rem;
    }

    .c-info li {
      position: relative;
      padding-left: 16px;
      color: #fff;
    }

    .c-info li::before {
      position: absolute;
      top: 0.6em;
      left: 0;
      display: inline-block;
      width: 8px;
      height: 2px;
      content: "";
      background-color: var(--color-gray);
    }

    .c-info li+li {
      margin-top: 0.8rem;
    }

    .c-title {
      font-size: 2.4rem;
      
      line-height: 1.6;
      display: inline-block;
      min-width: 32rem;
      margin-bottom: 6.4rem;
      vertical-align: top;
      color: #fff;
    }

    .c-title [class*=ico-] {
      font-size: 1.3rem;
      line-height: 1;
      display: block;
      width: 10rem;
      margin-bottom: 1.2rem;
      padding: 0.8rem 0 0.6rem;
      text-align: center;
      letter-spacing: 0.05em;
      border-radius: 100px;
      background-color: var(--color-theme-darken);
    }

    .c-title .ico-advanced {
      color: #fff;
      background-color: #333;
    }


    /* slider */
    .slide-media,
    .thumb-media {
      position: relative;
      overflow: hidden;
    }

    .slide-media img,
    .thumb-media img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .splide {
      z-index: 0;
    }

    /* 前へ / 次へボタン */
    .splide__arrow--prev,
    .splide__arrow--next {
      display: grid;
      place-content: center;
      width: 3.2rem;
      height: 3.2rem;
      cursor: pointer;
      transition: var(--transition);
      background-color: var(--color-theme-darken);
      /*border-radius: 50%;*/
    }

    .splide__arrow--prev::after,
    .splide__arrow--next::after {
      width: .8rem;
      height: .8rem;
      content: "";
      border: solid var(--color-gray);
      border-width: 2px 2px 0 0;
    }

    .splide__arrow--prev::after {
      margin-left: 0.4rem;
      transform: rotate(-135deg);
    }

    .splide__arrow--next::after {
      margin-right: 0.4rem;
      transform: rotate(45deg);
    }

    .splide__arrow:disabled {
      pointer-events: none;
      opacity: 0;
    }

    .splide__arrow:focus-visible {
      outline: 3px solid rgba(180, 233, 0, 0.8);
      outline-offset: 3px;
      z-index: 1;
      transition: none;
    }

    .splide__pagination {
      font-size: 0;
    }

    .splide__pagination__page:focus-visible {
      outline: 3px solid rgba(180, 233, 0, 0.8);
      outline-offset: 3px;
      z-index: 1;
      transition: none;
    }

    .splide__slide:focus-visible {
      outline: 3px solid rgba(180, 233, 0, 0.8);
      outline-offset: 3px;
      z-index: 1;
      transition: none;
    }

    .splide-wrapper {
      position: relative;
    }

    .splide__arrow>svg {
      display: none;
    }


    .card02 {
      overflow: hidden;
    }

    .card02 .splide__track {
      overflow: visible;
      padding-top: 4rem;
      padding-bottom: 4rem;
    }

    @media(max-width: 480px){
      .card02 .splide__track{
        padding-bottom: 0;
      }
    }

    .card02 .splide-controller {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    margin-top: -1.0rem;
    position: absolute;
}

    .card02 .splide__pagination {
    width: calc(100% - 5em);
    position: absolute;
    right: 0;
    top: -4rem;
    font-size: 2.8em;
}

/*@media(max-width: 480px){
  .card02 .splide__pagination{
    display: none;
  }
}
*/
    .card02 .splide__pagination>li {
      font-size: 0;
    flex: 1;
    display: flex;
    }

    .card02 .splide__pagination__page {
    width: 100%;
    height: 1px;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: top;
    background-color: var(--color-gray);
}



    .card02 .splide__pagination__page.is-active {
    /*width: calc((100vw - 7em) / 10);*/
    background-color: var(--color-theme);
}

    .card02 .splide__arrows {
    display: flex;
    gap: 1.6rem;
    /* display: none; */
    position: absolute;
    right: 24px;
    z-index: 500;
    top: 37%;
}

@media(max-width: 800px){
  .card02 .splide__arrows {
  }
}

@media(max-width: 480px){
  .card02 .splide__arrows {
    display: none;
  }
}

    .splide__arrow--prev, .splide__arrow--next {
    display: grid;
    place-content: center;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--color-theme-darken);
    border:1px solid rgba(255,255,255,.6);
    backdrop-filter: blur(4px);
    /* border-radius: 50%; */
}

    .card02 .splide__arrow:disabled {
      pointer-events: none;
      /*opacity: 0.5;*/
    }

    .card02 .splide__arrow:disabled::before {
      box-shadow: var(--box-shadow-inset);
    }

    .card02 .splide__slide {
      width: max-content;
      /*opacity: 0.6;*/
      transition: opacity var(--transition);
    }

    .card02 .splide__slide.is-active {
      opacity: 1;
    }


    .card02 .slide {
      overflow: hidden;
      /*border-radius: 4px;*/
    }

    .card02 .slide-media {
      padding-top: 62.5%;
    }

    .card02 .slide-media img {
      height: calc(100% + 16px);
      transform: translateY(-16px);
    }

@media(max-width: 480px){
    .card02 .slide-media img {
      transform: translateY(0) !important;
    }
}



    .card02 .slide-content {
      /*padding: 3.2rem;
      background-color: #3c3c3c;*/
      font-size: 1.6em;
    }

    .card02 .slide-date {
      font-size: 1.2rem;
      line-height: 1;
      display: block;
      color: var(--color-theme);
    }

    .card02 .slide-title {
      display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 3.2em;
    margin-top: 1rem;
    }

    @media(max-width: 480px){
      .card02 .slide-title {
      margin-top: .5em;
    }
    .card02 .slide-content {
      margin-bottom: 2em;
    }
    }

.card03 {
  /* コンテナ */
  overflow: hidden;
  /* 前へ / 次へボタン */
  /* スライド */
  /* スライド アクティブ時 */
}

.card03 .l-inner{
  width: 320px;
  padding: 0;
  z-index: 2000;
  position: absolute;
  margin-top: -160px;
  left: 80px;
}

@media (max-width: 480px){
.card03 .l-inner{
  width: calc(100% - 7rem);
  left: 3.5rem;
  margin-top: -120px;
}
}

.card03 .l-inner *{
  color: #fff !important;
}

.card03 .splide__arrow--prev,
.card03 .splide__arrow--next {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  margin: auto;
  background:none;
  border:none;
  backdrop-filter: none;
}

.card03 .splide__arrow--prev::before,
.card03 .splide__arrow--next::before {
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: var(--box-shadow-dark);
}

.card03 .splide__arrow--prev::after,
.card03 .splide__arrow--next::after {
  border-color: #fff;
  border-width: 1px 1px 0 0;
}

.card03 .splide__arrow--prev {
  left: -48px;
}

.card03 .splide__arrow--next {
  right: -48px;
}

.card03 .slide {
  overflow: hidden;
  transition: var(--transition), opacity 1s;
  border-radius: 4px;
}

.card03 .slide-media {
  padding-top: 62.5%;
}

.card03 .slide-media img {
  height: calc(100% + 16px);
  transform: translateY(-16px);
}

.card03 .slide-content {
  padding: 2rem 0;
}

.card03 .slide-date {
  /*font-size: 1.2rem;*/
  line-height: 1;
  display: block;
  color: var(--color-theme);
  font-size: 1.3em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.card03 .slide-title {
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 3.2em;
  margin-top: .5em;
  font-size: 1.35em;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

@media(min-width: 801px) {
  .card03 .slide-title,
  .card03 .slide-date {
    font-size: 1.45em;
  }
}

.card03 .splide__slide:not(.is-visible) .slide {
  pointer-events: none;
  opacity: 0.3;
}


@media(max-width: 800px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  .l-inner {
    padding-left:48px;
  }

  .pc {
    display: none !important;
  }
}

    @media(max-width: 480px) {
      .l-inner {
        padding-left:24px;
        padding-right:24px;
        padding-top:0 !important;
        padding-bottom: 0 !important;
      }

      .pc-tab {
        display: none !important;
      }
    }

    @media(min-width: 800px) {
      .tab-sp {
        display: none !important;
      }

      .splide__arrow--prev::before,
      .splide__arrow--next::before {
        transition: var(--transition);
      }

      .splide__arrow--prev:hover::before,
      .splide__arrow--next:hover::before {
        transform: scale(1.2);
      }

      .card02 .slide {
        transition: var(--transition);
      }

      .card02 .slide img {
        transition: var(--transition);
      }

      .card02 .slide:hover {
        transform: translateY(-16px);
      }

      .card02 .slide:hover img {
        transform: translateY(0);
      }
    }

    @media(min-width: 481px) {
      .sp {
        display: none !important;
      }
    }

    .card03 .splide-controller {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    margin-top: -1.0rem;
    position: absolute;
}
    .card03 .splide__pagination {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 1rem;
}

    .card03 .splide__pagination>li {
      font-size: 0;
    flex: 1;
    display: flex;
    }

    .card03 .splide__pagination__page {
    width: 100%;
    height: 1px;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: top;
    background-color: var(--color-theme);
}


    .card03 .splide__pagination__page.is-active {
    /*width: calc((100vw - 7em) / 10);*/
    background-color: #fff;
}

#link-works{
  visibility: hidden;
}

@media(max-width: 480px){
.splide{
  visibility: visible !important;
}
#link-works{
  visibility: visible;
  padding: 0 24px 96px;
  display: block;
}
}

/* =============================================================
input
============================================================= */
input{
transition: all .4s ease;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
    border: 1px solid #ccc;
    background: #fafafa;
    line-height: normal;
    box-sizing: border-box;
	width: 100%;
	padding: .75em 1em;
	z-index: 1;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus,
input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover{
/*	border-color: #375e77;*/
	background-color: #fafafa;
	outline: none;
  border-color: #262626;
    transition: all .4s ease;
}

.red{
  color: #d77954;;
}
input.imeoff {ime-mode: disabled;}
textarea {width: 100%;}
.iw100 {width: 100px !important;}
.iw200 {width: 200px !important;}
.iw300 {width: 300px !important;}

input[type="radio"],input[type="checkbox"] {
	vertical-align: middle;
	margin: 0 2px 2px 10px;
}
input[type="submit"],
button[type="submit"],
.submit_area input[type="button"] {
	background-color: #262626;
  border-width: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.6em;
  line-height: 1;
  text-align: center;
  margin: 0 10px;
  padding: 22px 100px;
  position: relative;
  /*transition: all .4s ease;*/
}
input[type="submit"]:hover {
	background-color: #000;
/*    -webkit-box-shadow: 0 0 15px 0 rgba(45,50,52,.3);
    box-shadow: 0 0 15px 0 rgba(45,50,52,.3);*/
}
input[type="submit"]:focus,
.submit_area input[type="button"]:focus {}
input[type="submit"][disabled="disabled"] {
	background-color: #eee;
	border-color: #bbb;
	color: #888;
}
button[type="submit"]{
	background-color: #b5b5b5;
	padding: 10px 30px;
}
label {display: inline-block;cursor: pointer;/* color:#043e5b; */}
.vertical-item {display: block;}
.rei {
	margin: 0 0 10px;
}
.mw_wp_form_preview .rei {display: none;}

/* form-table */

.form-table,.form-flow{
  font-size: 1.6em;
}
.form-table th {
	position: relative;
	font-weight: 400;
	min-width:8em;
}
.form-table td span.title-en{
	display: block;
    margin-bottom: 2px;
}
.form-table th::after {
	font-size: 1.4em;
    line-height: 1;
    margin-top: 2px;
    padding: 0 10px;
}
.form-table th.req::after {
	content: "*";
	color: #d77954;
}
.submit-area {
	text-align: center;
}
.mw_wp_form .error {

    position: relative !important;
    width: 100%;
    margin-top: 6px;
    line-height: 1;
    padding: .4em 0;
}
.mw_wp_form .error::after{
	content: "Value is required." !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    display: block !important;
    background: #ffffff;
    
    display:none !important;
}
.agree {
	text-align: center;
	margin: 30px 0;
}
.mw_wp_form_confirm .agree {display: none;}
/* form-flow */
.form-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto 5%;
	width: 100%;
	max-width: 600px;
	position: relative;
	z-index: 1;
}
.form-flow::before {
	background: #b5b5b5;
	content: "";
	z-index: -1;
	margin: auto;
	height: 1px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
}
.form-flow li {
	background-color: #b5b5b5;
	color: #fff;
	text-align: center;
	height: 40px;
	width: 25%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-transform: uppercase;
}
.form-flow li {
    height: 50px;
    width: 25%;
}
.form-flow li:last-child{
  width: 28%;
}
.form-flow li::before{
	content: "";
	top: 58%;
	left: 100%;
	margin-top: -22px;
	position: absolute;
	border: 19px solid transparent;
	border-left: 20px solid #b5b5b5;
}
.form-flow li::before {
    content: "";
    top: 60%;
    margin-top: -30px;
    border: 25px solid transparent;
    border-left: 20px solid #b5b5b5;
}

.form-flow li.active {
	background-color: #262626;
}
.form-flow li.active::before {
	border-left: 19px solid #262626;
}
.form-flow li:last-child::before {
	border: none;
}

.form-table {
    margin: 60px auto;
    width: 100%;
    max-width: 800px;
}
.form-table th,
.form-table td {
	padding: 15px;
	vertical-align: middle;
	line-height: 2;
	text-align: left;
}


@media(max-width: 800px) {

.form-table th, .form-table td{
  display:block;
  padding: 0;
}

.form-table td{
  padding-bottom:10px;
}

}


/* =============================================================
other
============================================================= */

.viewer-button {
    width: 50px !important;
    height: 50px !important;
    top: 20px !important;
    right: 20px !important;
}


.horiz-gallery-strip::after{
	content:attr(data-annotation);
	position: absolute;
	bottom: -1.8em;
    left: 40px;
    /*font-family: "Josefin Sans";*/
    font-size:1.3em;
}

/* =============================================================
sp
============================================================= */

  #nav-wrapper{
  display:none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
}

@media(max-width: 800px) {

.home header{
  padding: 0 24px !important;
}

header .pc-nav{
  display:none;
}

.home nav.nav.pc-nav ul {
    display: flex;
}

.home nav.nav.pc-nav ul li{
  font-size: 1.6em;
  margin-right: 1.3em;
}

.home nav.nav.pc-nav {
    display: block;
    position: absolute;
    top: 70px;
}

#nav-wrapper{
  display:block;
  left: 0;
}

/* 
hamburger(ハンバーガーアイコン)
=================================== */


.home #nav-wrapper {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.home #nav-wrapper.is-visible {
  opacity: 1;
  visibility: visible;
  padding: 10px 20px 10px 20px !important;
  height: 60px;
  top: 0;
  box-shadow: 0 1px 0 0 #e1e1e1;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
}
.nav-logo:not(.home .nav-logo){
  display: none !important;
}
.home .nav-logo * {
    fill: #262626 !important;
}

.hamburger {
  position: absolute;
  right: 20px;
  top: 14px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 24px;
  height: 1px;
  right: 0;
  background-color: #000;
  transition: all 0.4s ease-in-out;
}

.hamburger__line--1 {
  top: 6px;
}

.hamburger__line--2 {
  top: 16px;
}

.hamburger__line--3 {
  top: 26px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 15px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 15px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: absolute;
  z-index: 10;
  display: flex;
  gap: 0.75rem;
  position: fixed;
  top: 61px;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: #fff;
  transition: all 0.5s ease-out;
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  height: 0;
  text-transform: capitalize;
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  top: 61px;
        opacity: 1;
        height: calc(100vh - 61px);
        left: 0;
        overflow-x: hidden;
}

.sp-nav ul{
  opacity:0;
  transition: all 0.5s ease;
  transition-delay: .5s;

}

.open .sp-nav ul{
  opacity:1;
}

.sp-nav>ul{
  width: 100%;
  height: 100%;
  padding-top: 10%;
}

.sp-nav ul li{
  height:6dvh;
  min-height:1.5rem;
  margin-left: 24px;
  position:relative;
  font-size:2.0em;
}

.sp-nav .category-nav__item{
  padding-left:1em;
  font-size:1.6em;
}

.sp-nav ul li a{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #262626;
}

#toggle {
position: absolute;
        width: 35px;
        height: 50px;
        right: -5px;
        z-index: 500;
        cursor: pointer;
        padding: 10px;
        top: 7.5px;
}

.toggle__line-1{
height: 1px;
        position: absolute;
        width: 24px;
        background: #262626;
        top: 50%;
        left: 5px;
}

.toggle__line-2{
  height: 1px;
  position: absolute;
        width: 24px;
        background: #262626;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all 0.5s ease-out;
        left: 5px;
}

.t-open .toggle__line-2{
  transform: rotate(180deg);
}

#sp-cat-list{
  transition: all 0.5s ease-out;
  transition-delay: 0.3s;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

#sp-cat-list.c-open{
  height: auto;
  opacity: 1;
}

header nav.sp-nav li.current a{
  border: none;
}

/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
  display:none;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  /*opacity: 0.3;
  visibility: visible;*/
}

}


@media(max-width: 480px) {
  .home nav.nav.pc-nav ul li{
    font-size: 1.6em;
  }
  .home nav.nav.pc-nav ul li:first-child{
    /*display: none;*/
  }
}

@media(max-height: 700px) and (min-width: 801px) {

  body{
  font-size: calc(62.5% * (3 / 4));
  }
  
  header h1.logo img{
    width: min(100%, 220px);
  }

  .single.single-project .data {
    position: fixed;
    top: calc(90px + 2rem);
  }

  .single.single-project .data h1{
    font-size:2.2em;
    margin-bottom: .8em;
  }

  .single.single-project .data div:nth-of-type(2) {
    margin-top: -0.66em;
}

  .post-thumbnail {
    width: 100%;
    margin: 0.5rem 0 1rem;
}

.horiz-gallery-strip::after{
  font-size:1em;
}

  .arrow {
    width: 40px;
  }

  .arrow::before, .arrow::after {
    width: 8px;
  }
}


@media(max-width: 400px) {


  .home .container{
    top: calc(50dvh - 7dvh);
  }

  .home .image_cont{
    height: 57dvh !important;
  }

  .home .title_en{
    font-size: 3.6em !important;
  }

  .scroll-icon__container {
    bottom: -40px !important;
  }
}

@media(max-width: 320px) {
  .home .container p{
    display:none;
  }
}


/* モーダル全体の初期状態（非表示・透明） */
.c-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

/* 表示状態（is-openクラス付与時） */
.c-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 黒背景の敷物 */
.c-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

/* ポップアップウィンドウ本体 */
.c-modal__window {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 640px; /* 好みの幅に調整してください */
  padding: 40px 30px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease-out;
  z-index: 10;
}

/* 表示されたときのウィンドウ位置（下から上にふわっと動く） */
.c-modal.is-open .c-modal__window {
  transform: translateY(0);
}

/* 閉じるボタン */
.c-modal__close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 26px;
  color: #262626;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
}
.c-modal__close-btn:hover {
  color: #000;
}

/* コンテンツ表示エリア（本文が長い場合はポップアップ内でスクロール） */
.c-modal__content {
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
  line-height: 1.6;
}

/* --- ポップアップ内部（WordPress出力）の簡易装飾用スタイル --- */
.popup-detail__date {
  display: block;
  font-size: 1.4em;
  color: #888;
  margin-bottom: 8px;
}
.popup-detail__title {
  font-size: 1.4em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid #D6D6D6;
  padding-bottom: 1.5em;
}
.popup-detail__body p {
  font-size: 1.5em;
  margin-bottom: 1.5em;
}

.popup-detail__body p a{
  text-decoration: underline;
}

.popup-detail__body p a:hover{
  text-decoration: none;
}

.popup-detail__body a .link-text {
    font-size: 1.6em;
}

.popup-detail__body a .link-text img {
  width: 14px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* 任意の高さ */
  background-color: #fff;
  transition: transform 0.3s ease;
  z-index: 1000;
}

/* ヘッダーを隠すクラス */
@media(min-width:801px){
.header-outer.is-hide {
  transform: translateY(-100%);
}
}
