:root {
    --brand-color: #002E5D;
    --sub-brand-color: #6BFF5F;
    --title-color:#004986
    
  }
  @media screen and (min-width: 751px) {
    :root {
      --section-margin:120px;
      --title-font-size: 3.2rem;
      --base-font-size:1.6rem
    }
  }
  @media screen and (max-width: 750px) {
    :root {
      --section-margin:60px;
      --title-font-size: 2.2rem;
      --base-font-size:1.4rem
    }
  }
  html {
    font-size: 10px; /* 1rem = 10px に設定 */
    font-family: "Noto Sans JP", sans-serif;
    scroll-padding: 100px;
	scroll-behavior: smooth;
  }
  
  body{
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    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: #CDD6DD;
  }
  
  /* Microsoft Edge */
  input[type="text"]::-ms-input-placeholder {
    color: #CDD6DD;
  }
  
  /* Internet Explorer */
  input[type="text"]:-ms-input-placeholder {
    color: #CDD6DD;
  }
  textarea::placeholder {
    color: #CDD6DD; /* プレースホルダーの文字色を指定 */
  }
  input {
      border-radius:5px;
      -webkit-box-sizing: content-box;
      -webkit-appearance: button;
      appearance: button;
      border: none;
      box-sizing: border-box;
      cursor: pointer;
      font-size: calc(var(--base-font-size) *  1.2);
    border: 1px solid #CCC;
      border-radius:0;
      padding:14px 10px;
      width:100%
  }
  
  textarea {
      -webkit-box-sizing: content-box;
      -webkit-appearance: button;
      appearance: button;
      border: none;
      box-sizing: border-box;
      cursor: pointer;
      min-height: 200px;
  
    border: 1px solid #CCC;
      border-radius:0;
      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%); /* 垂直方向に中央揃え */
}

.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;
}
.ad_btn{
  width:100%;
  position: relative;
  background: var(--brand-color);
  color: #FFF;
  font-size:1.5rem;
  font-weight: 600;
  padding:20px 0;
  text-align: center;
  border: 3px solid var(--brand-color);
  display: inline-block;
  transition: all 0.3s ease;
}
.ad_btn:hover {
  opacity: 0.6;
}
  @media screen and (min-width: 751px) {
    .moca_sp{display: none!important;}
    .moca_pc{display: block;}
    .main_wrap{
      
      width: 1000px;
      margin: auto;
    }

    h2.title{
      width: 100%;
     font-size: var(--title-font-size);
     font-weight: 700;
     text-align: center;
     line-height: 140%;
     margin:0 0 60px;
     
    }
    h3.sub{
      width: 100%;
      font-size: calc(var(--title-font-size) * 3 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem
     }
     h4.sub{
      width: 100%;
      font-size: calc(var(--title-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{
      width: 300px;
      position: relative;
      background: #0C4A9E;
      color: #FFF;
      font-size: calc(var(--base-font-size) *  1.2);
      padding:20px 0;
      font-weight: 700;
      display: inline-block;
      text-align: center;
      border: 3px solid #0C4A9E;
      border-radius: 10px;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    .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% - 80px) / 3);
      display: flex;
      flex-wrap: wrap;
  }
  .modal-content .ad_wrap ul li img{
      width:60%;
      margin:0 20% 10px;
      text-align: center;
  }
  }
  
  @media screen and (max-width: 750px) {
    .moca_pc{display: none!important;;}
    .moca_sp{display: block;}
    .main_wrap{
      width:100%;
      margin: auto;
      
    }
    .padding_width{
      padding-left:4%;
      padding-right: 4%;

    }
    h2.title{
      width: 100%;
     font-size: var(--title-font-size);
     font-weight: 700;
     text-align: center;
     margin:0 0 30px;
     line-height: 160%;
     
    }
    h3.sub{
      width: 100%;
      font-size: calc(var(--title-font-size) * 3 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem
     }
     h4.sub{
      width: 100%;
      font-size: calc(var(--title-font-size) * 2.5 / 4);
      font-weight: 700;
      text-align: center;
      margin:0 0 2rem;
      line-height: 140%;
     }
    
    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{
      width: 300px;
      position: relative;
      background: #0C4A9E;
      color: #FFF;
      font-size: calc(var(--base-font-size) *  1.2);
      padding:14px 0;
      font-weight: 700;
      display: inline-block;
      text-align: center;
      border: 1px solid #0C4A9E;
      border-radius: 10px;
      box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    .modal-content .ad_wrap{
        width:80%;
        margin:0 10%;
    }
    .modal-content .ad_wrap ul{
        width:100%;
        display: flex;
        flex-wrap: wrap;
        gap:20px
    }
    .modal-content .ad_wrap ul li{
        width:calc((100% - 20px) / 2);
        display: flex;
        flex-wrap: wrap;
    }
    .modal-content .ad_wrap ul li img{
        width:60%;
        margin:0 20% 10px;
        text-align: center;
    }
  }
  /**ここまでGLOBA**/