
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

:root {
    --gray: #AF9F92;
    --cream: #F8C52C;
    --green: #314B00;
    --purple: #3A3131;
    --lightgray: #F4EFEB;
}

html {
    font-size: 62.5%;
}
body{
    line-height: 1.7;
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
}


a {
    color: blue;/*var(--purple); */
    text-decoration: none;
    font-weight:bold;
}

a:hover {
    opacity: 80%;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* デフォルトのH3のフォントサイズ */
.custom-font-size {
    font-size: 1.8rem;
    /* 16px */
}


/* 共通パーツ */

.title-eng {
    font-family: Nothing You Could Do;
    font-size: 7.2rem;
    color: var(--cream);
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
}

.title-jap {
    font-family: Zen Maru Gothic;
    font-size: 4.0rem;
    color: var(--brown);
    padding-bottom: 30px;
    font-weight: 700;
}

.content {
    font-size: 2.4rem;
    max-width: 800px;
    color: var(--brown);

    word-break: break-all;
    overflow-wrap: break-word;
    margin-left:auto;
    margin-right:auto;
}

.min-width {
    max-width: 800px;
}


.max-width {
    max-width: 1200;
}

.bg-lightgray {
    background-color: var(--lightgray);
}

.bg-gray {
    background-color: var(--gray);
}


/* 下線リンク */
.link-underline {
    position: relative;
    font-size: 1.7rem;
    font-weight: 400;
    margin: 10px;
}

.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    /* 文字からの距離を調整 */
    width: 100%;
    height: 1px;
    /* 下線の太さ */
    background-color: currentColor;
    /* リンクの文字色に合わせる */
}
/* ヒーローセクション */

.container h3{
    margin:0 auto;
}
/* コンテンツセクション Access */

.access-title {
    color: var(--gray);
    font-size: 2.6rem;
    margin-bottom: 5px;
}

.access-content {
    font-size: 1.8rem;
}


.main-navigation{
    font-size:1.8rem;
}

/***************************************************************
  調整
*/
.site-content{
    max-width:100%;
}
.site-title{
    display:none;
}

.site-logo img{
    color:black;
    height:75px;
    width: 300px;
}

.jumbotron{
    height:100%;
    max-height:940px;
    width:100%;
    max-width:1200px;
    margin:auto;
    aspect-ratio: 1276 / 983; 
}
.jumbotron-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height:100%;
}
.jumbotron-overlay{
    background-color:transparent;
    height: 100%;
    max-height: 940px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    aspect-ratio: 1276 / 983;
}
.jumbotron-logo-area{
    max-width:480px;
    max-height:600px;
    width:100%;
}
.jumbotron-content img{
    width:100%;
    max-width:320px;
    display:block;
    margin:auto;
    margin-bottom:0.5rem;
}

.main-navigation li a{
    font-weight:bold;
    font-family: "Zen Maru Gothic", serif;
    padding-right:0.5rem;
}


.site-copyright{
    text-align:center !important;
}
.site-info{
    float:none;
    clear:both;
}
.site-bottom{
    color:white;
    background-color: var(--gray);
    padding: 40px;
    border:none;

}
.site-bottom a{
    color:white;
}
.site-bottom a:hover{
    color:rgba(255,255,255,0.8);
}

.footer-cream-img{
    background-color: var(--lightgray);
}



.garden{
    flex-direction: column;
}
.garden p{
    margin:auto;
    width:100%;
    max-width:800px;
}

.about-us .content-area{
    margin-bottom:0;
}

.terrace .entry-content,
.concept .entry-content,
.about-us .entry-content
{
    /* 画面幅全体に広げるための設定 */
    width: 100vw;
    position: relative; /* 子要素の配置を相対的にするため */
    left: 50%; /* 親要素の中心に左端を合わせる */
    transform: translateX(-50%); /* 要素自体の中心を親要素の中心に合わせる */
    box-sizing: border-box; /* パディングを含めて幅を計算 */

}
.index .page p{
    margin-top:0;
    margin-bottom:0;
}
.terrace .entry-content p,
.concept .entry-content p,
.about-us .entry-content p,
.terrace .entry-content .wp-block-image,
.concept .entry-content .wp-block-image,
.about-us .entry-content .wp-block-image
{
    margin:0;
}

.site-bottom-content a{
    font-weight:bold;
}
/* コンテンツセクション Topics */

.bg-svg-contain {
    background-image: url('/img/logo-white-480x600.svg');
    /* SVG画像のURLを指定 */
    background-size: auto 100%;
    /* 画像がセクションの高さに合わせて伸縮 */
    background-repeat: no-repeat;
    /* 画像を繰り返さない */
    background-position: center;
    /* 中央に画像を配置 */
}
#topics{
  /* 画面幅全体に広げるための設定 */
  width: 100vw;
  position: relative; /* 子要素の配置を相対的にするため */
  left: 50%; /* 親要素の中心に左端を合わせる */
  transform: translateX(-50%); /* 要素自体の中心を親要素の中心に合わせる */
  box-sizing: border-box; /* パディングを含めて幅を計算 */
}
#topics p{
    margin-left:auto;
    margin-right:auto;
}
/*■■■ テラスページ ■■■*/
/* メニュー */


.terrace .menu h4 {
    font-size: 2.6rem;
    font-weight: 500;
}

.terrace .price {
    font-size: 2.0rem;
}

.terrace li {
    font-size: 1.6rem;
    padding-bottom: 12px;
}
.single-project .cat-links-center,
.single-member .cat-links-center{
    text-align:center;
    color:#666;
}
.single-project .cat-links-center a,
.single-member .cat-links-center a
{
    color:#666;
}
.single-project .cat-links{
    text-align:left;
    color:#666;
}
.single-project .cat-links a{
    color:#666;
}
.single-project .cat-links a::before{
    content: "≪";
    font-size:1rem;

}
.entry-header .post-thumbnail img{
    max-height:400px;
    max-width:900px;
    height:auto;

    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);

}

.entry-content .project-about-card img{
    max-width:512px;
}

.member .entry-header .post-thumbnail img{
    max-height:inherit;
}

.site-header{
    margin-bottom:0;
    border-bottom:none;
}
.content-area{
    margin-bottom:0;
}
#content > section{
    padding-top:0;
}

.section_page-hero{
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.archive .entry-title{
    font-weight:bold;
    font-size: 2rem;
    color:var(--green);
}
.archive .entry-summary{
    display: -webkit-box; /* 必須 */
    -webkit-box-orient: vertical; /* 必須 */
    -webkit-line-clamp: 3; /* 行数を制限 */
    overflow: hidden; /* はみ出た部分を非表示 */
}

.alt_content p{
    font-size:2rem;
}

.single-project .post-navigation .nav-previous ,
.single-member .post-navigation .nav-previous 
{
    float:right;
    text-align:end;
}
.single-project .post-navigation .nav-next, 
.single-member .post-navigation .nav-next
{
    float:left;
    text-align:start;
}

.single-project .entry-header,
.index .entry-header
{
/*    background: linear-gradient(135deg, #f9faf8 0%, #e8f5e8 100%);
    */
    background-color: #F4EFEB;
    padding: 3rem 2rem;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.single-project .entry-header .entry-title,
.index .entry-header .entry-title
{
    font-weight:bold;
    font-size: 3rem;
    color:var(--green);
}

.footer-navigation .menu li{
    display:block;
}

/**
 * index / frontpage
 *
 */
 .index .section { 
    padding: 4rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
  }

  .index .section h2 {
    font-size: 4rem;
    font-weight: 700;
  /*  color: #2f5d3c; */
  color: var(--cream);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: 0.02em;
  }
  .index .concept-link a{
    font-weight:normal;
    font-size:2.4rem;
    color:#6c757d;
  }
  .index a{
    color:#6c757d;
  }

  .index footer a{
    color:#fff;
  }


  .index .section h2.concept {
    font-family:  "Nothing You Could Do","Segoe Script", cursive;
  }

  .index .section h2.topics {
    font-family: "Nothing You Could Do","Segoe Script", cursive;
  }

  .index .section h2.access {
    font-family: "Nothing You Could Do","Segoe Script", cursive;
  }

  .index .section h2.projects-title ,
  .topics .section h2.projects-title{
    font-family: "Nothing You Could Do","Segoe Script", cursive;
  }

  .index .section h2::after ,
  .topics .section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
/*    background: #2f5d3c; */
    background-color: var(--cream);;
    border-radius: 2px;
  }

  .index .projects { 
    display: flex; 
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
    margin-top: 2rem; 
    justify-content: center;
  }

  .index .project-banner { 
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display:block;
    flex: 0 0 calc(50% - 20px);
  }
  
  .index .project-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }
  
  .index .project-banner img { 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
  }
  
  .index .project-name { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: rgba(47, 93, 60, 0.9); 
    color: #fff; 
    text-align: center; 
    padding: 1rem; 
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Nothing You Could Do","Segoe Script", cursive;
    display:none;
  }

  
  .news-list { 
    display: flex; 
    flex-direction: column;
    gap: 1.5rem; 
  }
  
  .news-item { 
    border: 1px solid #e0e0e0; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #fff; 
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
  }

  .news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #2f5d3c;
  }
  
  .news-item img { 
    max-width: 150px; 
    max-height: 150px;
    width:100%;
    height:auto; 
    object-fit: cover; 
    border-radius: 8px;
    margin-right: 1rem;
  }
  
  .news-content { 
    padding: 1.5rem; 
    display: flex;
    align-items: flex-start;
  }
  
  .news-date { 
    font-size: 1.5rem; 
    color: #888; 
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .news-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #2f5d3c;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }

  .news-content p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
  }

  .news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    font-family: "Segoe Script", cursive;
  }

  .news-category.new {
    background-color: #2f5d3c;
  }

  .news-category.event {
    background-color: #e67e22;
  }

  .news-category.release {
    background-color: #3498db;
  }

  .pagination .nav_links .page-numbers{
    text-align:center;
  }
  .pagination .nav_links .page-numbers li{
    display:inline-block;
  }
  .pagination .nav_links .page-numbers li a{
    display:inline-block;
  }
/**************************************************************************************************************************/

@media (min-width: 576px) {
    html:lang(ja){
        font-size: 62.5%;
    }
    .site-content{
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    html:lang(ja){
        font-size: 62.5%;
    }
    .site-content{
        max-width: 720px;
    }
}
/* ラージデバイス（992px以上） */
@media (min-width: 992px) {
    html:lang(ja){
        font-size: 62.5%;
    }
    .custom-font-size {
        font-size: 2.8rem;
        /* 28px */
    }
    .site-content{
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    html:lang(ja){
        font-size: 62.5%;
    }

    .site-content{
        max-width: 1140px;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {

    .index .section {
        padding: 2rem 1rem;
    }

    .news-list {
        grid-template-columns: 1fr;
    }

    .index .projects {
        grid-template-columns: 1fr;
        gap: 1rem;
        display:block;
    }
    .index .projects a{
        display:block;
        margin-bottom:3rem;
    }   

    .news-list{
    /* 画面幅全体に広げるための設定 */
    width: 98vw;
    position: relative; /* 子要素の配置を相対的にするため */
    left: 50%; /* 親要素の中心に左端を合わせる */
    transform: translateX(-50%); /* 要素自体の中心を親要素の中心に合わせる */
    box-sizing: border-box; /* パディングを含めて幅を計算 */
    }
    .news-item img{
        max-width:100vh;
        max-height:inherit;
    }
    .news-content{
        display:block;
        margin:auto;
    }
}
/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .index .section {
        padding: 3rem 1.5rem;
    }
    
    .index .projects {
        grid-template-columns: repeat(2, 1fr);
    }
}