/*
 Theme Name: original_child
 Template: original
 Version:4.1.4
 */
/*! tailwindcss v4.0.15 | MIT License | https://tailwindcss.com */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

:root {
  --color-main: #1A2E4C;   /* 濃い青 */
  --color-sub: #A8DADC; /* 明るい水色 */
  --color-accent: #F9A826;    /* アクセントの黄色 */
  --color-text: #333333;      /* テキストの濃いグレー */
  --color-bg: #F4F4F4; /* 背景の薄いグレー */
  --color-white: #FFFFFF;      /* 白 */
  --color-main-rgb: 26, 46, 76; /* 濃い青のRGB */

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-main);
}
.l-inner{
  width: 88.8%;
  max-width:1450px;
  margin: 0 auto;
  display: block;
}
.rich_font_type2{
  position: relative;
  display: inline-block;

  /* もし背景画像やグラデーションにしたい場合は以下を参考に */
  /* background: linear-gradient(135deg, #f06, #4a90e2); */
}
section{
  margin-top: 4rem;

}
.rich_font_type1::before,
.rich_font_type1::after,
.rich_font_type2::before,
.rich_font_type2::after{
  content: "";
  position: absolute;
  
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  transform: translateY(-50%);
}
.rich_font_type1::before,
.rich_font_type2::before{
  left: -50px;   /* テキスト左側からの距離 */
}
.rich_font_type1::after,
.rich_font_type2::after{
  right: -50px;   /* テキスト左側からの距離 */
}
.rich_font_type1::after,
.rich_font_type2::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -200%;         /* 日本語見出しからの距離 */
  width: 100%;
  font-size: 6rem;
  color: rgba(var(--color-main-rgb), 0.1);
  text-align: center;
  background: none;       /* 背景は不要なら消す */
  height: auto;
  line-height: 1;  
  z-index: -10;          /* 親文字(.rich_font_type2)の背面 */
}
@media screen and (max-width: 650px){

    .rich_font_type1::after,
.rich_font_type2::after{
 font-size: 40px !important; 
}
}
.post_content h2 {
  font-size: 60px !important;
}
@media screen and (max-width: 650px){
  .post_content h2 {
    font-size: 24px !important;
  }
}

.mt60{
  margin-top: 60px;
}
#\#top_image > div > h2::after {
  content: "A new style of living where freedom and comfort coexist";
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--color-sub);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.05em;
}
#top_kiji > div > h2::after{
  content: "New Topics";
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--color-sub);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.05em;

}
#cb_content_6 > div > h2::after{
  content: "Plan";
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--color-sub);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.05em;
}
#top_slick > div > h2::after{
  content: "gallery";
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--color-sub);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.05em;
}
#top_faq > div > h2::after{
  content: "FAQ";
  display: block;
  text-align: center;
  font-size: 1rem;
  color: var(--color-sub);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.05em;
}
.animate-item {
  opacity: 0;
  transform: translateY(20px);
}
.slider {
  max-width: 100%;
  overflow: hidden;
}

/* スライダー画像の16:9トリミング設定 */
#slider {
  width: 100%;
  position: relative;
  overflow: visible;
}

#slider .slick-track {
  overflow: visible !important;
}

#slider .slick-slide {
  overflow: visible !important;
}

#slider div {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio (9/16 = 0.5625) */
  position: relative;
  overflow: hidden;
}

#slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
/* サイドバー */

/* Sidebar Design */
#secondary.widget-area {
    background-color: var(--color-white);
    padding: 30px 20px;
    border: 1px solid var(--color-sub);
    border-radius: 8px;
    margin-top: 40px;
}

#secondary .widget {
    margin-bottom: 30px;
}

#secondary .widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    border-left: 4px solid var(--color-main);
    padding-left: 10px;
    margin-bottom: 15px;
    color: var(--color-text);
}

#secondary .widget ul {
    list-style: none;
    padding-left: 0;
}

#secondary .widget ul li {
    padding: 8px 0;
    border-bottom: 1px dotted var(--color-sub);
}

#secondary .widget ul li a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s;
}

#secondary .widget ul li a:hover {
    color: var(--color-main);
}

/* --- Enhancements for a stylish look --- */

/* General Link Styling */
a {
    color: var(--color-main);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--color-accent);
}

.entry-content a,
.comment-content a {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
}

.entry-content a:hover,
.comment-content a:hover {
    text-decoration-color: var(--color-main);
}

/* Transitions for links and buttons */
button {
    transition: all 0.3s ease-in-out;
}

/* Add a subtle shadow to buttons on hover */
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* Style for the main navigation */
.main-navigation a {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease-in-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* --- Header Enhancements --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header .l-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Header Scroll Effect --- */

.site-header {
    transition: background-color 0.3s ease-in-out;
}

.home .site-header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    width: 100%;
}

.home .site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
}

/* --- Post Grid Layout --- */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.posts-grid article {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.posts-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.posts-grid .entry-container {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.posts-grid .entry-header {
    padding: 0;
}

.posts-grid .entry-title {
    font-.size: 1.5rem;
    margin-bottom: 10px;
}

.posts-grid .entry-meta {
    font-size: 0.9rem;
    color: #999;
}

.posts-grid .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.posts-grid .entry-content {
    padding: 20px 0;
    flex-grow: 1;
}

.posts-grid .entry-footer {
    padding: 20px 0 0;
    border-top: 1px solid var(--color-sub);
    font-size: 0.9rem;
}

/* --- Single Post Layout --- */

.single .site-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.single .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.single .entry-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.single .entry-meta {
    font-size: 0.9rem;
    color: #888;
}

.single .post-thumbnail {
    margin-bottom: 40px;
}

.single .post-thumbnail img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.single .entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--color-text);
}

.single .entry-content p {
    margin-bottom: 1.5em;
}

.single .entry-content a {
    color: var(--color-main);
    text-decoration: underline;
}

.single .entry-content a:hover {
    color: var(--color-accent);
}

.single .entry-content h2 {
    font-size: 2rem;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 2px solid var(--color-sub);
    padding-bottom: 10px;
}

.single .entry-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.single .entry-footer {
    border-top: 1px solid var(--color-sub);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* --- Stretched Link --- */
.posts-grid article {
    position: relative;
}

.stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0,0,0,0); /* Transparent */
}

/* Make sure the links inside the card are still clickable */
.posts-grid .entry-meta a,
.posts-grid .entry-footer a {
    position: relative;
    z-index: 2;
}
