@charset "utf-8";

  .site-header{
    background-color:white !important;
  }

  .archive .site, .single .site, .page .site, .search, .page{
    background-color:#F4EFEB;
  }

  .hitotoki-header{
    text-align: center;

      /* 画面幅全体に広げるための設定 */
      width: 100vw;
      position: relative; /* 子要素の配置を相対的にするため */
      left: 50%; /* 親要素の中心に左端を合わせる */
      transform: translateX(-50%); /* 要素自体の中心を親要素の中心に合わせる */
      box-sizing: border-box; /* パディングを含めて幅を計算 */
      margin:0;
      background-color:#fff;
  }

  .hitotoki-body{
    background-color:#F4EFEB;
    padding: 0rem 3rem 3rem 3rem;
    text-align: center;

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

  .page-hero {
    /*
    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; /* パディングを含めて幅を計算 */
  }
  
  .hero-image img {
    width: 100%;
    max-height: 400px;
    max-width:1000px;
    object-fit: cover;
    object-position:center center;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);

  }

  .page-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2f5d3c;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
  }

  .page-hero p {
    font-size: 2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
  }
  
  .page-hero.section { 
    padding: 4rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
  }

  .page-hero.section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #2f5d3c;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
  }

  .page-hero.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2f5d3c;
    border-radius: 2px;
  }

  .projects-grid { 
    display: flex; 
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
    margin-top: 2rem; 
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    justify-content: center;
  }
  
  .project-card { 
    background: #fff;
    border-radius: 16px; 
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    position: relative;
    display:block;
    flex: 0 0 calc(50% - 20px);
  }

  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }
  
  .project-card img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    object-position:center center;
  }
  
  .project-about-card { 
    border-radius: 16px; 
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    position: relative;
    display:block;

  }
  .project-about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }

  .project-content { 
    padding: 2rem; 
    text-align: center;
    background-color: rgb(255 255 255 / 0.15);
  }

  .project-category {
    font-size: 2.4rem;
    color: #2f5d3c;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: "Nothing You Could Do","Segoe Script", cursive;
  }

  .project-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #2f5d3c;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: "Zen Maru Gothic", serif, "Nothing You Could Do","Segoe Script", cursive;
  }

  .project-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  ._project-link {
    color: #2f5d3c;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    padding: 0.8rem 1.5rem;
    border: 2px solid #2f5d3c;
    border-radius: 25px;
    transition: all 0.3s;
  }

  ._project-link:hover {
    color: #fff;
    background: #2f5d3c;
  }

  .project-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s;
  }

  .project-link:hover::after {
    transform: translateX(5px);
  }

  .additional-projects {
    margin-top: 4rem;
    text-align: center;
  }

  .additional-projects h3 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: normal;
  }

  .additional-grid {
    display: flex;
    justify-content: center;
  }

  .additional-card {
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    max-width: 300px;
  }

  .additional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }

  .additional-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  .additional-content {
    padding: 1.5rem;
  }

  .additional-title {
    color: #666;
    font-weight: bold;
    font-size: 1rem;
  }

  .back-to-top {
    text-align: center;
    margin-top: 3rem;
  }

  .back-to-top a {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2f5d3c;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
  }

  .back-to-top a:hover {
    background: #1a3d28;
  }


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

    .page-hero.section {
      padding: 2rem 1rem;
    }

    .page-hero {
      padding: 2rem 1rem;
    }

    .page-hero h1 {
      font-size: 2rem;
    }

    .projects-grid {
      display:block;
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .project-card { 
      margin-bottom:3rem;
    }

    .project-content {
      padding: 1.5rem;
    }
  }

  /* タブレット対応 */
  @media (min-width: 769px) and (max-width: 1024px) {
    .page-hero.section {
      padding: 3rem 1.5rem;
    }
    
    .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
  }