/*トップ画像*/
#top {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 75px;
  color: var(--accent-color);
}
#top .top_lead{
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  grid-template-areas:
  "left phone ."
  "bottom right right";
  padding: 60px 0px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
#top >div{
  line-height: 40px;
  font-size: 20px;
}
#top .top_lead_left{
  grid-area: left;
  text-align: left;
  align-self: self-start;
}
#top .top_phone_img{
  grid-area: phone;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#top .top_lead_right{
  grid-area: right;
  text-align: left;
  align-self: self-end;
}
#top .top_lead_2{
  padding-top: 110px;
  font-size: 24px;
  line-height: 55px;
}
#top .nun_space{
  letter-spacing: 3px;
}
#top .lead_15th{
  color: var(--main-color);
  font-size: 44.5px;
  font-weight: 700;
}
#top .top_lead_3{
  text-align: right;
  padding-top: 60px;
}
#top .top_lead_4{
  text-align: center;
  padding: 80px 0 20px;
}
#top img:first-child{
  width: 30%;
  padding-bottom: 5%;
}
#top img:last-child{
  width: 80%;
}
#top .top_deco{
  pointer-events: none;
}
#top .star{
  position: absolute;
}
#top .star_1{ top: 2%; right: 20%; width: 5%; animation: flash 2.3s infinite;}
#top .star_2{ top: 20%; left: 28%; width: 4%; animation: flash 3.2s infinite;}
#top .star_3{ top: 25%; left: 24%; width: 3%; animation: flash 3.0s infinite;}
#top .star_4{ top: 35%; right: 18%; width: 3%; animation: flash 3.8s infinite;}
#top .star_5{ top: 40%; right: 14%; width: 2%; animation: flash 2.5s infinite;}
#top .star_6{ top: 44%; right: 22%; width: 5%; animation: flash 3.3s infinite;}
#top .star_7{ bottom: 33%; left: 26%; width: 5%; animation: flash 3.6s infinite;}
#top .star_8{ bottom: 26%; left: 19%; width: 3%; animation: flash 2.4s infinite;}
#top .star_9{ bottom: 5%; left: 43%; width: 3%; animation: flash 3.5s infinite;}
#top .star_10{ bottom: 1%; right: 49%; width: 2%; animation: flash 2.1s infinite;}
#top .star_11{ top: 23%; right: 7%; width: 2%; animation: flash 2.7s infinite;}
#top .star_12{ top: 27%; right: 4%; width: 3%; animation: flash 3.7s infinite;}
#top .star_13{ bottom: 20%; left: 35%; width: 2%; animation: flash 2.6s infinite;}
@keyframes flash {
  0% { opacity: 1;}
  40% { opacity: 1;}
  50% { opacity: 0;}
  60% { opacity: 1;}
  100% { opacity: 1;}
}
#top .top_br,#top .top_br_sp{
  display: none;
}

@media(max-width:1100px){
  #top .top_lead{
    max-width: 850px;
  }
  #top .top_br{
    display: block;
  }
}
@media(max-width:900px){
  #top{
    padding-top: 80px;
  }
  #top >div{
    font-size: 17px;
  }
  #top .top_lead{
    grid-template-columns: 1fr 200px 1fr;
    grid-template-areas:
    "left phone ."
    "right right right";
    max-width: 600px;
    padding: 0;
  }
  #top .top_phone_img{
    padding-top: 20px;
  }
  #top .top_lead_2{
    padding-top: 80px;
    font-size: 19.5px;
    line-height: 50px;
  }
  #top .lead_15th{
    font-size: 40px;
  }
  #top .top_lead_3 {
    padding-top: 20px;
  }
  #top .star_2{ top: 24%; }
  #top .star_3{ top: 30%; }
  #top .star_7{ bottom: 25%; left: 17%; }
  #top .star_8{ bottom: 20%; left: 14%;}
  #top .star_9{ bottom: -3%; }
  #top .star_10{ bottom: -8%; }
  #top .star_13{ bottom: 15%; left: 22%; }

}
@media(max-width:600px){
  #top{
    padding-top: 40px;
  }
  #top .top_lead{
    display: block;
    max-width: 310px;
    padding: 0;
  }
  #top .top_lead_1,#top .top_lead_2 {
    text-align: center;
  }
  #top .top_lead_3{
    text-align: center;
  }
  #top .top_lead_2{
    padding-top: 30px;
  }
  #top .top_phone_img{
    width: 70%;
  }
  #top .star_1{ top: 5%; left: 90%; width: 8%;}
  #top .star_2{ top: 12%; left: 7%; width: 8%;}
  #top .star_3{ top: 15%; left: 0%; width: 6%;}
  #top .star_4{ top: 50%; right: 96%; width: 6%;}
  #top .star_5{ top: 37%; left: 91%; width: 4%;}
  #top .star_6{ top: 45%; right: 85%; width: 10%;}
  #top .star_7{ bottom: 37%; left: 88%; width: 10%; }
  #top .star_8{ bottom: 33%; left: 96%; width: 6%;}
  #top .star_9{ bottom: 15%; left: 6%; width: 6%;}
  #top .star_10{ bottom: -4%; right: 58%; width: 6%;}
  #top .star_11{ top: 23%; left: 95%; width: 4%;}
  #top .star_12{ top: 25%; left: 100%; width: 6%;}
  #top .star_13{ bottom: 20%; left: 0%; width: 4%;}

  #top .top_br{
    display: none;
  }
  #top .top_br_sp{
    display: block;
  }
}
@media(max-width:450px){
  #top >div{
    font-size: 16px;
  }
  #top .btn a::after{
    top: 36px;
  }
  }

/* ヒストリー */
#history .hst_chronology{
  color: var(--accent-color);
  padding-left: 120px;
  position: relative;
}
#history .hst_border{
  position: absolute;
  background: var(--accent-color);
  left:60px;
  top:2%;
  width:2px;
  height:96%;
}
#history div ul{
  display: grid;
  row-gap: 10px;
  list-style: none;
  padding: 0;
  position: relative;
  list-style: none;
  margin: 0;
}
#history ul li{
  display: grid;
  position: relative;
  grid-template-columns: 80px 40px 1fr;
  column-gap: 15px;
  padding: 0 20px;
  margin: 5px 0;
  font-size: 19.2px;
}
#history ul li span:first-child{
  justify-self: end !important;
  text-align: right;
}
#history ul li span:nth-child(2){
  justify-self: center !important;
  text-align: center;
}
#history ul li span:last-child{
  justify-self: start !important;
  text-align: left;
}
#history .hst_emp, .hst_emp_sub ,.hst_y_emp, .hst_y_emp_sub{
  font-weight: 700;
}
#history .hst_emp{
  font-size: 32px;
  margin: 10px 0;
}
#history .hst_emp_sub{
  font-size: 24px;
  margin: 6px 0;
}
#history .hst_y_emp{
  font-size: 32px;
}
#history .hst_y_emp_sub{
  font-size: 24px;
}
#history .hst_emp::before,.hst_emp_sub::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 2; 
}
#history .hst_emp::before {
  width: 35px;
  height: 35px;
  background: var(--main-color);
  border: 3px solid var(--background-color);
  left: -76px;
}
#history .hst_emp_sub::before {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 2px solid var(--background-color);
  left: -69px;
}
@media (max-width: 770px) {
  #history .hst_chronology {
    padding-left: 80px;
  }
  #history .hst_border {
    left: 40px;
  }
  #history ul li {
    grid-template-columns: 60px 30px 1fr;
  }
  #history .hst_emp::before {
    width: 25px;
    height: 25px;
    left: -51px; 
  }
  #history .hst_emp_sub::before {
    width: 15px;
    height: 15px;
    left: -46px; 
  }
}
@media (max-width: 623px) {
  #history .hst_border{
    left: 30px;
  }
  #history ul li {
    grid-template-columns: 30px 15px 1fr;
  }
  #history .hst_emp::before {
    left: -61.5px; 
  }
  #history .hst_emp_sub::before {
    left: -56.5px; 
  }
}
@media (max-width: 652px) {
#history .hst_br{
  display: none;
}
}
@media (max-width: 578px) {
  #history .hst_border{
    height: 93%;
    top: 4%;
  }
}
@media (max-width: 521px) {
  #history .hst_border{
    height: 94%;
    top:3%;
  }
}
@media (max-width: 400px) {
  #history .hst_chronology {
    padding-left: 45px;
  }
  #history ul li {
    grid-template-columns: 50px 15px 1fr;
    font-size: 16px;
    margin: 0;
  }
  #history .hst_emp{
    font-size: 25.6px;
  }
  #history .hst_y_emp{
    font-size: 32px;
  }
  #history .hst_y_emp_sub{
    font-size: 25.6px;
  }
  #history .hst_emp::before {
    left: -26px; 
  }
  #history .hst_emp_sub::before {
    left: -21.5px; 
  }
}

/* メッセージ */
#message .msg_pre{
  display: flex;
  gap: 60px;
  padding: 0 10% 2%;
}
#message .msg_pre img{
  width: 25%;
  height: 100%;
  border-radius: 10px;
}
#message .msg_pre >div{
  margin: 30px 0;
}
#message .msg_pre_com,.msg_pre_name,.msg_pre_sum,.msg_pre_acd{
  color: var(--accent-color);
}
#message .msg_pre_com{
  font-size: 1.2rem;
}
#message .msg_pre_name{
  font-size: 1.3rem;
}
#message .msg_name_br{
  display: none;
}
#message .msg_pre_sum{
  font-size: 1.7rem ;
  font-weight: 700;
  margin: 15px 0;
  color: var(--main-color);
}
#message .dropdown{
  text-align: center;
  line-height: 2.5;
  padding-top: 0;
  display: none;
}
#message .dropdown p{
  margin: 3% 7% 5%;
  color: var(--accent-color);
}
#message .btn-more  {
  display: flex;
  position: relative;
  border: 2px solid var(--main-color);
  background-color: var(--background-color);
  color: var(--main-color);
  font-size: 1.2rem;
  border-radius: 50px;
  margin: 2% auto 10%;
  padding: 16px 70px;
  width: 30%;
  height: 65px;
  text-decoration: none;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.3 ease;
  overflow: hidden;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
#message .btn-more::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  border-radius: 50px;
  transition: left 0.4s ease;
  z-index: -1;
}
#message .btn-more:hover::before{
  left: 0;
}
#message .btn-more:hover{
  color: var(--background-color);
}
}
@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #message .btn-more::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    border-radius: 50px;
    transition: left 0.4s ease;
    z-index: -1;
  }
  #message .btn-more:hover::before{
    left: 0;
  }
  #message .btn-more:hover{
    color: var(--background-color);
  }
  }
#message .btn-more::after{
  position: absolute;
  top:  50%;
  right: 30px;
  font-family: "font awesome 6 free";
  font-weight: bold;
  font-size: 1rem;
  content: "\f078";
  transform: translateY(-50%);
  transition: transform 0.3s ease, color 0.3s ease;
  z-index: 2;
}
#message .btn-more.close::after{
  transform: translateY(-50%) rotate(180deg);
}
#message .msg_cus{
  margin: 0;
  max-width: 2000px;
  padding-bottom: 6%;
}
#message .msg_cus_img{
  margin: 0;
  max-width: 2000px;
  display: block;
  height: 400px;
  background-image:url( ../img/comment.png ) ;
  background-repeat: repeat-x;
  animation-name: scroll;
  animation-timing-function: linear;
  animation-duration: 120s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  background-size: auto 100%;
}
@keyframes scroll {
    0% {
      background-position: 0 center;
  }
    100% {
      background-position: -2000px center;
  }
  }

  @media (max-width: 980px) {
    #message .btn-more  {
      padding: 1rem 2rem;
      width: 55%;
    }
  }
  @media (max-width: 800px) {
    #message .msg_pre >div{
      margin: 0;
    }
  }
  @media (max-width: 600px) {
    #message .msg_pre{
      gap: 30px;
    }
    #message .msg_pre img{
      width: 35%;
    }
    #message .btn-more  {
      padding: 1rem 2rem;
      width: 85%;
    }
    #message .msg_cus_img{
      height: 300px;
    }
  }
  @media (max-width: 480px) {
    #message .msg_pre_com{
      font-size:1.0rem;
    }
    #message .msg_pre_name{
      font-size:1.1rem;
    }
    #message .msg_pre_sum{
      font-size:1.3rem;
    }
    #message .dropdown{
      font-size:0.9rem;
    }
  }
  @media (max-width: 423px) {
    #message .msg_pre_name{
      line-height: 1.3rem;
      padding-top: 7px;
    }
    #message .msg_name_br{
      display: block;
    }
  }

/* キャンペーン */
#campaign .cmp_sep{
  font-style: normal;
  background-color: var(--accent-color);
  color: var(--background-color);
  padding: 30px 0;
  font-family: "zen maru gothic";
  font-weight: 500;
}
#campaign .cmp_ty_n{
  border: 1px solid var(--main-color);
  border-left: 0;
  border-radius: 0 50px 50px 0;
  padding: 10px 0 10px 15%;
  margin:40px 70% 0 0;
  font-size: 20.8px;
  font-style: italic;
  font-weight: 600;
  font-family: "nunito";
  min-width: 280px;
  white-space: nowrap;
}
#campaign .cmp_ttl{
  font-size: 2rem;
  font-weight: 700;
  margin: 15px 0 10px;
}
#campaign .cmp_br{
  display: none;
}
#campaign .cmp_date{
  text-align: center;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 1px;
}
#campaign .cmp_end{
  margin: 20px auto 0;
  padding: 20px;
  background-color: #a0a0a0;
  color: #fff;
  width: 75%;
  text-align: center;
  font-size: 20px;
}
#campaign .cmp_sum{
  padding: 40px 70px;
  color: var(--accent-color);
}
#campaign .cmp_sum a{
  text-decoration: none;
  color: var(--main-color);
  font-weight: 700;
}
#campaign .cmp_prs h4{
  text-align: center;
  background-color: var(--main-color);
  color: var(--background-color);
  width: 50%;
  margin: 0 auto 2%;
  padding: 6px;
}
#campaign .cmp_prs{
  margin-bottom: 100px;
  max-width: 100vw;
}
#campaign .no_link a{
  pointer-events: none;
}
#campaign .no_link a::before , #campaign .no_link a::after{
  display: none;
}
#campaign .cmp_prs ul{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  list-style: none;
  padding-bottom: 10px;
  margin: 0;
}
#campaign .cmp_prs ul a{
  text-decoration: none;
}
/*
#campaign .cmp_prs ul a:hover{
  opacity: 0.9;
}
*/
#campaign .cmp_prs ul li{
  border: 3px solid var(--main-color);
  background-color: var(--background-color);
  border-radius: 10px;
  margin: 1%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(auto , 140px) minmax(240px, auto) minmax(min-content, 1fr); 
}
#campaign .cmp_prs_req{
  color: var(--main-color);
  margin: 0 40px 25px;
  padding: 0 10px 15px;
  border-bottom: solid 2px var(--main-color);
  font-size: 17px;
  position: relative;
}
#campaign .cmp_prs_req:hover{
  opacity: 0.8;
}
#campaign .cmp_prs_req::after{
  position: absolute;
  top: 3px;
  right: 10px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  content: "\f105";
  transition: all 0.3s;
}
#campaign .cmp_prs_req:hover::after{
  right: 5px;
}
#campaign .cmp_prs_ty2 ul li {
  grid-template-rows: minmax(auto , 170px) minmax(240px, auto) minmax(min-content, 1fr); 
}
#campaign .cmp_prs_ty3-1 ul li {
  grid-template-rows: minmax(auto , 170px) minmax(240px, auto) minmax(min-content, 1fr); 
}
#campaign .cmp_prs_ttl{
  background-color: var(--main-color);
  color: var(--background-color);
  padding: 20px;
  border-radius: 7px 7px 0 0;
}
#campaign .cmp_prs_ttl div h5{
  font-size: 25px;
}
#campaign .cmp_prs_ttl div p{
  font-size: 19px;
  font-weight: 300;
}
#campaign .cmp_prs_sum{
  background-color: var(--background-color);
  color: var(--accent-color);
  border-radius: 0  0 7px 7px;
  font-weight: 500;
}
#campaign .cmp_prs_sum p{
  color: var(--accent-color);
  padding: 15px;
  text-align: justify;
  font-size: 19px;
}
#campaign .cmp_prs_sum span{
  display: block;
  font-size: 14px;
  line-height: 1.6;
  margin-top:10px ;
}
#campaign .cmp_prs_sum p a{
  text-decoration: none;
  color: var(--main-color);
}
#campaign .cmp_prs_step{
  text-align: center;
  font-size: 1.5rem;
  padding: 7px 0;
  margin: 5% 16% 3%;
  background-color: var(--accent-color);
  color: var(--background-color);
  border-radius: 10px;
}
#campaign .cmp_prs_cms{
  font-family: "nunito";
  font-weight: 700;
  font-size: 1.5rem;
  font-style: italic;
  background-color: var(--background-color);
  text-align: center;
  padding: 10px 0;
  margin: 20px auto;
  width: 40%;
}
#campaign .cmp_prs_bg{
  background-image: url(../img/bg_pattern.png);
  background-repeat: space repeat;
  background-size: 8%;
  background-color: rgba(255,255,255,0.5);
  background-blend-mode:lighten;
  padding: 3% 5% 5%;
}
#campaign .cmp_prs_attention{
  background-color: var(--background-color);
  color: var(--accent-color);
  padding: 15px;
}
#campaign .cmp_prs_attention p{
  font-size: 0.8rem;
  font-weight: 100;
}
#campaign .cmp_prs_attention>p{
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 5px;
}
#campaign .btn a::after{
  top: 26px;
}
@media (max-width: 800px) {
  #campaign .cmp_ttl{
    line-height: 2.5rem;
  }
  #campaign .cmp_date{
    line-height: 2rem;
    font-size: 1.5rem;
  }
  #campaign .cmp_br{
    display: block;
  }
  #campaign .cmp_sum{
    padding: 40px 50px;
  }
  #campaign .cmp_sum p{
    padding-bottom: 20px;
    text-align: justify;
  }
  #campaign .cmp_prs_step{
    margin: 3% 10% 1.5%;
  }
  #campaign .cmp_prs_cms{
    width: 70%;
  }
  #campaign .cmp_prs ul li{
    margin: 1.5%;
  }
  #campaign h5{
    font-size: 20px;
  }
  #campaign .cmp_prs_ttl p{
    font-size: 1.0rem;
  }
  #campaign .cmp_prs ul li >p{
    font-size: 0.9rem;
    line-height: 20px;
  }
}
@media (max-width: 600px) {
  #campaign .cmp_sep{
    font-size: 1.5rem;
    margin:50px 0;
  }
}
@media (max-width: 577px) {
  #campaign .cmp_prs ul li{
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    grid-template-rows: minmax(auto,1fr) auto;
  }
  #campaign .cmp_prs_ttl{
    grid-column: 1/3;
    grid-row: 1/2;
  }
  #campaign .cmp_prs_img{
    grid-column: 1/2;
    grid-row: 2/3;
    padding: 15px;
  }
  #campaign .cmp_prs_sum{
    grid-column: 2/3;
    grid-row: 2/3;
  }
  #campaign .cmp_prs_sum p{
    padding: 20px;
    padding-left: 0;
  }
  #campaign .cmp_prs_req{
    grid-column: 1/3;
    grid-row: 3/4;
  }
  #campaign .prs_ttl_br{
    display: none;
  }
}
@media (max-width: 501px) {
  #campaign .cmp_prs h4{
    margin-bottom: 4%;
  }
  #campaign .cmp_prs_ttl{
    padding: 15px;
  }
  #campaign .cmp_prs_ttl h5{
    line-height: 30px;
  }
}
@media (max-width: 450px) {
  #campaign .btn a::after{
    top: 22px;
  }
}
@media (max-width: 400px) {
  #campaign .cmp_prs h4{
    margin-bottom: 4%;
  }
  #campaign .cmp_prs_sum p{
    font-size: 0.9rem;
  }
}
