﻿  /*スマホ用等のれスポンジ部デザインにする*/
  /* PC用（デフォルト） */
.container {
  display: flex;
  flex-direction: row;
  padding: 20px;
}


img {
  max-width: 100%;
  height: auto;
}
  
  body {
      font-family: sans-serif;
      margin: 0;
      padding: 0;
      background: #ffffff;
    }
    p{
      font-size: 20px;
    }

    /*ヘッダーデザイン*/
    header {        
        position: relative;        
        color: #fff;
        text-align: center;
        padding: 6rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
      }

      header::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;        
        z-index: 0;
      }

      .header-inner {
        position: relative;
        z-index: 1;
      }

      header h1 {
        font-family: "Noto Sans JP", sans-serif;
        font-size: clamp(2.5rem, 6vw, 4rem);
        font-weight: 800;
        background: #ffffff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        animation: fadeIn 1.2s ease-out;
        margin-bottom: 1rem;
      }

      header p {
        font-size: 1.5rem;
        font-weight: 300;
        color: #f0f0f0;
        margin-top: 0.5rem;
        animation: fadeIn 1.5s ease-out;
      }

      @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
      }
      /*ヘッダーデザインここまで*/
            
      /* ビジョンセクションスタイル */
        .vision-section {          
          background: url(../images/Backdes3.PNG);
          background-size: cover;
          padding: 30px;          
          background-position: center;          
          display: flex;
          justify-content: center;
          align-items: center;
          text-align: center;
          animation: fadeIn 2s ease-in-out;
        }

        .vision-content {
          max-width: 850px;
          display: flex;
          flex-direction: column;
          align-items: center;
          animation: slideUp 1.2s ease-out;
        }

        .vision-title {
          font-size: 2.5rem;
          display: flex;              /* ← 横並びの基本！ */
          align-items: center;        /* 上下中央揃え */
          justify-content: center;    /* 水平方向の中央揃え */
          gap: 12px;                  /* アイコンと文字の間隔 */
          margin-bottom: 30px;
        }

        .vision-text {
          font-size: 1.3rem;
          line-height: 2;
          color: #333;
        }
        /*双葉タイトル画像の調整*/
        .vision-icon {     
          width:50%; 
          height: auto;
          animation: fadeIn 1.5s ease-in-out;
        }
         .vision-icon-1{           
          width:30%; 
          height: auto;
          animation: fadeIn 1.5s ease-in-out;
        }

        .vision-icon-2{           
          width:70%; 
          height: auto;
          animation: fadeIn 1.5s ease-in-out;
        }
         .vision-icon-3{           
          width:20%; 
          height: auto;
          animation: fadeIn 1.5s ease-in-out;
        }
        
        /*支援方法の所の画像配置*/
        .vision-map{
          width:50%; 
          height: auto;
          margin: 50px;
          animation: fadeIn 1.5s ease-in-out;

        }

        /* アニメーション */
        
       h3 {
            position: relative;
            font-size: 2rem;
            margin: 2rem 0 1rem;
            padding-left: 1.2rem;
            color: #578654;           
            font-weight: 700;
          }
          h3::before {            
            position: absolute;
            left: -1.8rem;
            top: 20%;
            font-size: 1.2rem;
          }
         .shien {
            font-size: 1.1rem;
            line-height: 1.5;
            background: #f8ffd6;
            padding: 1rem 1.2rem;
            border-bottom: 3px solid #4e8050;
            margin-bottom: 3rem;
            border-radius: 10px;
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
            color: #333;
            width:80%;    
            margin-left: auto;
            margin-right: auto;        
          }
          .shien-2{
            font-size: 1.1rem;
            line-height: 1.5;
            background: #ffffff;
            padding: 1rem 1.2rem;
            border: 3px dotted #99cc33;
            margin: 1.3rem auto;
            border-radius: 12px;
            color: #333;
            width: 80%;
            box-shadow: 2px 2px 5px rgba(255, 153, 204, 0.3);
          }
          /*こんな支援を行います1のところ*/
          .section-heading {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin: 2rem 0 1rem;
            flex-wrap: wrap; /* モバイル対応 */
          }

          .section-heading h3 {
            margin: 0;
            font-size: 1.4rem;
            font-weight: bold;
            color: #4e8050;
            text-align: center;
          }

          .heading-photo {
            width: 240px;
            height: 200px;
            padding: 10px 60px;
            margin-top: 30px;
            margin-bottom: 30px;
            object-fit: cover;
            border-radius: 50%; /* 完全な円にする */
             animation: zoomIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
          }
          @keyframes zoomIn {
            0% {
              transform: scale(0.8);
              opacity: 0;
            }
            100% {
              opacity: 1;
              transform: scale(1);
            }
          }

    section {
      padding: 2rem 1rem;
      text-align: center;
      margin-bottom:20px;
    }
    .cta {
      background: #ff9800;
      color: white;
      padding: 1rem 2rem;
      font-size: 1.2rem;
      text-decoration: none;
      border-radius: 5px;
      display: inline-block;
      margin-top: 1rem;
    }
    .cta:hover {
      background: #e08900; /* 暗めのオレンジに変更 */
      transform: scale(1.05); /* 少し大きくなる（任意） */
      transition: background 0.3s, transform 0.3s;
      box-shadow: 0 0 15px rgba(255, 152, 0, 0.7);
      background: linear-gradient(45deg, #e08900, #d84315);
      transform: scale(1.07);
    }

    .kifu {
      background: #ff5722; /* ビビッドなオレンジで強調 */
      color: #fff;
      padding: 1.2rem 3rem;
      font-size: 1.5rem;
      font-weight: bold;
      text-decoration: none;
      border: none;
      border-radius: 999px; /* 丸っこく目立たせる */
      display: inline-block;
      margin: 2rem auto;
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25); /* 深めの影 */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      text-align: center;
    }

    .kifu:hover {
      transform: scale(1.05);
      box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
      background: #e64a19;
    }
 
    
    footer {
      text-align: center;
      padding: 1rem;
      background: #eee;
      font-size: 0.9rem;
    }
    h1 {
      text-align: center;
      font-size: 1.7rem;
    }
    h2{
      text-align: center;
    }
    #teikan {
      text-align: left;
    }


    .modal {
  display: none; 
  position: fixed; 
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 800px;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#contact {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
  font-family: 'Inter', sans-serif;

  background-color: #ffffffcc; /* 半透明の白背景 */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#contact h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 1em;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

form input,
form textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.5);
  outline: none;
}

form button {
  padding: 0.8em;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

/*会社概要ボタン*/

 .off {
      background: #99d191;
      color: white;
      padding: 1.2rem 2.5rem;
      font-size: 1.4rem;
      text-decoration: none;
      border-radius: 50px;
      display: inline-block;
      margin-top: 1rem;
      transition: background 0.3s, transform 0.3s, box-shadow 0.3s; 
    }
    .off:hover {
      background: #e08900; /* 暗めのオレンジに変更 */
      transform: scale(1.1); /* 少し大きくなる（任意） */
      transition: background 0.3s, transform 0.3s;
      box-shadow: 0 0 15px rgba(255, 251, 27, 0.7);
      background: linear-gradient(45deg, #3ea14e, #9ce461);
      transform: scale(1.07);
    }

/* 横スクロールセクション全体 */
.scroll-section {
  padding: 2em;
  background: #f8f9fa;
  text-align: center;
}

.scroll-section h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
}

.scroll-container {
  display: flex;
  overflow-x: hidden;
  gap: 1.2em;
  padding: 1em 0;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}

.scroll-card {
  font-size:1em;
  flex: 0 0 auto;
  width: 600px;
  height: 450x;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1em;
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.scroll-card:hover {
  transform: translateY(-5px);
}

.scroll-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.8em;
}

.scroll-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #333;
}

.scroll-card p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.4;
 
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
}

.scroll-card p.expanded {
  max-height: none;
}
.read-more-btn {
  margin-top: 0.5em;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.4em 1em;
  cursor: pointer;
  font-size: 0.85em;
}





/* ↑ここまでスクロール案件*/
/*画像のサイズ変更*/
.resize-img{
   max-height: 180px;  /* 高さを制限 */
  object-fit: cover;  /* はみ出さず切り取る */
}


@media (max-width: 768px) {
  .vision-icon { width: 80%; }
  .vision-icon-1 { width: 60%; }  
  .vision-icon-3 { width: 50%; }
  .ichatch-image { width: 100%; }
  .vision-map{width: 80%;} 

  /* スマホ用（幅が768px以下の場合） */

  .container {
    flex-direction: column;
    padding: 10px;
  }
  header {
    padding: 4rem 1.5rem;
  }

  .header-inner h1 {
    font-size: 2rem;
  }

  .header-inner p {
    font-size: 1rem;
  }
  .scroll-card{
    font-size:10px;
    width: 200px;
    height: 600px;
  }
  .scroll-card:hover {
  transform: translateY(-5px);
}
.scroll-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5em;
}
}

