/* 基本設定 */
* {
    box-sizing: border-box;
  }
  
  html {
    font-size: 62.5%;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: "avenir-lt-pro", sans-serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 3px;
    color: #3c3c3c;
  }

  a {
    color:#ea613b;
  }

  a:hover {
    color:#fafaf5;
  }
  
  /* スクロールバー */
  body::-webkit-scrollbar {
    width: 10px;
  }
  body::-webkit-scrollbar-track {
    background-color: #fafaf5;
    border-radius: 10px;
  }
  body::-webkit-scrollbar-thumb {
    background-color: #ea613b;
    border-radius: 10px;
  }
  
  /* メニューバー */
  .menu {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #ea613b;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    color: #fafaf5;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 5px;
    z-index: 999;
  }
  
  .menu a {
    color: #fafaf5;
    text-decoration: none;
  }
  .menu a:hover {
    color: #ea613b;
  }
  
  .menu-grid {
    display: grid;
    place-items: center;
    grid-template-areas: "menu1 menu2 menu3 menu4";
  }
  .menu-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
  }
  .menu1 { grid-area: menu1; }
  .menu2 { grid-area: menu2; }
  .menu3 { grid-area: menu3; }
  .menu4 { grid-area: menu4; }
  
  .sns {
    display: none;
    align-items: center;
    padding: 30px;
    margin-left: auto;
  }
  
  /* タイトル */
  .title {
    text-align: left;
    font-size: 3rem;
    padding: 20px;
  }
  .title1 {
    display: block;
    line-height: 2rem;
    margin-bottom: 10px;
  }
  .title2 {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 1.5rem;
  }
  
  /* テキスト */
  .text {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 2px;
    line-height: 2.7rem;
    margin: 0 auto;
    max-width: 500px;
    text-align: left;
  }
  
  /* 区切り線 */
  .separator1 {
    height:200px;
    width:100%;
    background: url(../img/separate_1.png) repeat-x center;
    background-size: auto 100%;
    margin-block: 0 50px;
  }
  .separator2 {
   height: 10px;
   width: 100%;
   background: repeating-linear-gradient(
    to right,
    #ea613b 0 1px,   /* ドットの色とサイズ */
    transparent 1px 5px /* ドット間のスペース */
   );
   background-repeat: repeat-x;
   margin-block: 50px;
  }
  
  /* リスト */
  ul {
    list-style: none;
    padding-left: 0;
  }
  li {
    display: flex;
  }
  li::before {
    content: "◆";
    color: #ea613b;
    font-size: 0.5rem;
    margin-right: 3px;
  }
  
  /* 画像ボックス */
  .box {
    text-align: left;
  }
  .box img {
    height: 110px;
    border: 2px solid;
    border-radius: 10px;
    border-color:#ffffff;
    margin: 2px 2px 2px;
  }
  .box img:hover {
    opacity: 0.8;
  }
  
  /* コピーライト */
  .copyright {
    font-size: 1.5rem;
    font-weight: 100;
    text-align: center;
    padding-bottom: 30px;
  }
  
  /* フォーム */
  .formWrap {
    margin: 0 auto;
    font-size: 1.2rem;
  }
  .form {
    width: 200px;
    margin: 0 auto -5px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
  input, textarea {
    width: 200px;
    padding: 5px;
    display: block;
    border: 1px solid #ea613b;
    background: #fafaf5;
    font-size: 1.2rem;
    color: #3c3c3c;
    letter-spacing: 1px;
  }
  input:focus, textarea:focus {
    outline: 1px solid #ea613b;
  }
  
  /* タイトル */
  h1 {
    font-family: "avenir-lt-pro", sans-serif;
    font-weight: 600;
    font-size: 3rem;
    color: #ea613b;
    letter-spacing: 7px;
    text-align: center;
    margin: 25px 0;
  }
  h2 {
    color: #ea613b;
    font-size: 1.2rem;
    margin-bottom: 3px;
    border: 1px solid #ea613b;
    border-radius: 5px;
    width: fit-content;
    padding: 0 7px;
  }
  h3 {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 15px;
  }
  
  /* トップビジュアル */
  .top {
    width: 100%;
    background-color: #ea613b;
    text-align: center;
    user-select: none;
    color: #fafaf5;
    padding: 100px 0 0;
  }
  .top img {
    width: 60%;
    max-width: 600px;
    min-width: 250px;
    object-fit: cover;
    padding-bottom: 30px;
  }
  .name {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 10px;
  }

  /* ニュース */
  .news {
   width:500px;
   font-size: 1.2rem;
   color:#fafaf5;
   font-weight: 500;
   letter-spacing: 3px;
   text-align: left;
   margin:0 auto;
   padding-bottom:30px;
   display:grid;
   grid-template-areas: "news1 news2";
  }
  .news > div {
    display:flex;
  }
  .news1 { grid-area: news1; width:fit-content; }
  .news2 { grid-area: news2; }

  /* works */
  .works {
    width:70%;
    text-align: center;
    margin: 100px auto;
    line-height:50px;
  }
  .works img {
    width:70%;
  }
  h4{
    font-size: 2rem;
    font-weight:700;
    letter-spacing:2px;
    line-height:normal;
  }
  h5{
    font-size: 1.2rem;
    font-weight:700;
    line-height:1.2rem;
    margin-bottom:30px;
  }
  
  /* メディアクエリ（スマホ用） */
  @media screen and (max-width: 768px) {
    .menu {
        font-size: 1rem;
        letter-spacing: 2px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80px; /* 高さを固定 */
        overflow: hidden; /* はみ出し防止 */
      }
    
      .menu-grid {
        display: flex;
        flex-wrap: wrap; /* 折り返しを有効にする */
        gap: 10px;
        justify-content: center; /* 中央揃え */
        max-width: 100%; /* 親の幅に収める */
        align-items: center; /* 垂直方向の中央揃え */
      }
    
      .menu-grid > div {
        padding: 0 5px;
        min-width: 50px; /* 最小幅を設定 */
        flex-grow: 1; /* メニュー項目が均等に広がるように */
        white-space: nowrap; /* テキストが折り返さないようにする */
        text-align: center; /* テキストを中央揃え */
      }
    
      .sns {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
      }
  
    .top {
      padding: 80px 0 0;
    }
  
    .top img {
      width: 80%;
      padding-bottom: 10px;
    }

    .separator1 {
      height: 100px;
    }
  
    .name {
      font-size: 3.5rem;
      letter-spacing: 7px;
    }
  
    .title {
      font-size: 2rem;
    }
  
    .title1 {
      line-height: 1.8rem;
      margin-bottom: 5px;
    }
  
    .title2 {
      font-size: 0.7rem;
      line-height: 1rem;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .text, .news {
      max-width: 80%;
    }

    .works, .works img {
      width: 80%;
    }
  }