:root {
    --brand-color: #F9FBF0;
    --sub-brand-color: #4EA501;
    
  }
  @media screen and (min-width: 751px) {
    :root {
      --section-margin:120px;
      --h2-font-size: 3.2rem; 
    }
  }
  @media screen and (max-width: 750px) {
    :root {
      --section-margin:60px;
      --h2-font-size: 2.8rem; 
    }
  }
  html {
    font-size: 10px; /* 1rem = 10px に設定 */
    font-family: 'Montserrat', 'Yu Gothic', sans-serif;
    scroll-behavior: smooth;
  }
  body{
    font-size: 1.6rem;
    margin:0!important
  }
  @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  .fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  input:-webkit-autofill
  {
    /* 色はinput要素の背景色（ここでは#fff）にそろえる */
    box-shadow: 0 0 0px 999px #fff inset;
  }
  
  input[type="text"]::placeholder {
    color: #B5986D;
  }
  
  /* Microsoft Edge */
  input[type="text"]::-ms-input-placeholder {
    color: #B5986D;
  }
  
  /* Internet Explorer */
  input[type="text"]:-ms-input-placeholder {
    color: #B5986D;
  }
  textarea::placeholder {
    color: #B5986D; /* プレースホルダーの文字色を指定 */
  }
  input {
      border-radius:5px;
      -webkit-box-sizing: content-box;
      -webkit-appearance: button;
      appearance: button;
      border: none;
      box-sizing: border-box;
      cursor: pointer;
  
    border: 1px solid #CCC;
      border-radius:5px;
      padding:10px;
      width:100%
  }
  
  textarea {
      border-radius:5px;
      -webkit-box-sizing: content-box;
      -webkit-appearance: button;
      appearance: button;
      border: none;
      box-sizing: border-box;
      cursor: pointer;
  
    border: 1px solid #CCC;
      border-radius:5px;
      padding:10px;
      width:100%
  }
  .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  .fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .zoom-in-section {
    opacity: 0.6;
    transform: scale(1.2); /* 初期状態を拡大 */
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
  }
  
  .zoom-in-section.is-visible {
    opacity: 1;
    transform: scale(1); /* 通常のサイズに戻す */
  }
  

  
  
  .padding-width{
    padding-left:4%;
    padding-right: 4%;
  }
  
  .modal {
    display: none; /* デフォルトでは非表示 */
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px 0;
    border: 1px solid #888;
    width: 83%;
    position: relative;
    top: 50%;
    transform: translateY(-50%); /* 垂直方向に中央揃え */
}
.modal-content .ad_wrap{
    width:80%;
    margin:0 10%;
}
.modal-content .ad_wrap ul{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    gap:30px 40px
}
.modal-content .ad_wrap ul li{
    width:calc((100% - 40px) / 2);
    display: flex;
    flex-wrap: wrap;
}
.modal-content .ad_wrap ul li img{
    width:60%;
    margin:0 20% 10px;
    text-align: center;
}
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
p:last-of-type {
  margin-bottom: 0;
}


  @media screen and (min-width: 751px) {
    main{
      margin-top:var(--section-margin) 
     }
    .moca_sp{display: none;}
    .moca_pc{display: initial;}
    .main_wrap{
      max-width: 1400px;
      min-width: 1000px;
      margin: auto;
      padding-left:4%;
    padding-right: 4%;
    }
    h2.title{
      width: 100%;
     font-size: var(--h2-font-size);
     font-weight: 500;
     text-align: center;
     margin:0 0 60px;
     
    }
    h3.sub{
      width: 100%;
      font-size: calc(var(--h2-font-size) * 3 / 4);
      font-weight: 500;
      text-align: center;
      margin:0 0 2rem
     }
     h4.sub{
      width: 100%;
      font-size: calc(var(--h2-font-size) * 2.5 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem
     }
    
    a{
      color: #000;
      font-size:1.6rem;
      transition: opacity 0.5s
    }
    a:hover{
      opacity: 0.8;
    }
    p{
      font-size:1.4rem;
      line-height: 180%;
      margin-bottom:1.2rem;
      letter-spacing: 0.1rem;
    }
    .btn_wrap{
      width:100%;
      text-align: center;
    }
    .more_btn{
      position: relative;
        color: #000;
        font-size: 1.6rem;
        padding: 20px 40px;
        font-weight: 500;
        display: inline-block;
        text-align: center;
        border: 1px solid #000;
    }
    .more_btn:hover{
      opacity: 0.5;
    }
    .about_wrap{
      width:100%;
      padding-bottom: var(--section-margin);
      
    }
    .about_box {
    
    }
    .about_box p{
      text-align: center;
      font-size: 1.4rem;
      line-height: 300%;
    }
  }
  
  @media screen and (max-width: 750px) {
    main{
     margin-top:var(--section-margin) 
    }
    .moca_pc{display: none;}
    .moca_sp{display: block;}
    .main_wrap{
      width:100%;
      margin: auto;
      padding-left:4%;
    padding-right: 4%;
    }
    h2.title{
      width: 100%;
     font-size: var(--h2-font-size);
     font-weight: 700;
     text-align: center;
     margin:0 0 60px;
     
    }
    h3.sub{
      width: 100%;
      font-size: calc(var(--h2-font-size) * 3 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem
     }
     h4.sub{
      width: 100%;
      font-size: calc(var(--h2-font-size) * 2.5 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem
     }
    
    a{
      color: #000;
      font-size:1.6rem;
      transition: opacity 0.5s
    }
    a:hover{
      opacity: 0.8;
    }
    p{
      font-size:1.4rem;
      line-height: 140%;
      margin-bottom:1.2rem;
      letter-spacing: 0.3rem;
    }
    .btn_wrap{
      width:100%;
      text-align: center;
    }
    .more_btn{
      position: relative;
        color: #000;
        font-size: 1.6rem;
        padding: 20px 40px;
        font-weight: 500;
        display: inline-block;
        text-align: center;
        border: 1px solid #000;
    }
    .more_btn:hover{
      opacity: 0.5;
    }
    .about_wrap{
      width:100%;
      padding-bottom: var(--section-margin);
      
    }
    .about_box {
    
    }
    .about_box p{
      text-align: center;
      font-size: 1.2rem;
      line-height: 300%;
    }
  }
  /**ここまでGLOBA**/