*{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body{
   font-size: 25px;
   font-color:#54454b
}



#concept{
   width: 1180px;
   margin: 0 auto;
}

.container{
   width: 1180px;
   margin: 0 auto;
}

/*header*/
header{
   background-color: #fbf8f3;
padding-bottom: 10px;
}

#gnav ul{
   display: flex;
   justify-content: right;
   padding: 10px 10px 20px;
}


.banner-container {
    display: flex;
    align-items: center;
    max-width: 1000px; /* Adjust as needed */
    margin: 20px auto;
    background-color: #f7a627; /* Orange background for the left/middle part */
    border-radius: 10px;
    overflow: hidden; /* To contain floated/absolutely positioned elements if any */
    font-family: 'Arial', sans-serif; /* Or a Japanese font */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative; /* For positioning inner elements */
}

.banner-left {
    display: flex;
    align-items: center;
    padding-left: 20px; /* Adjust as needed for image spacing */
    flex-grow: 1; /* Allows it to take available space */
}

.banner-left img {
    height: 150px; /* Adjust image size as needed */
    width: auto;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 5px; /* Slightly rounded corners for the image */
}

.banner-text-content {
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.date-highlight {
    background-color: #e58d1b; /* Slightly darker orange */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.main-txt {
    font-size: 0.9em; /* Adjust font size */
    white-space: nowrap; /* Prevents text from wrapping */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); /* 文字の影 */
    align-items: center; /* 垂直中央 */
  padding-left: 50px; /* 左寄せ */
}

.banner-right {
    display: flex;
    align-items: stretch; /* Stretch children to fill height */
    height: 100%; /* Take full height of parent */
}

.price-box {
    background-color: white;
    padding: 10px 20px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 250px; /* Adjust width as needed */
    box-sizing: border-box; /* Include padding in width */
}

.fee-label {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 5px;
}

.price-details {
    align-items: baseline;
    font-size: 1.8em; /* Adjust as needed */
    font-weight: bold;
    color: #333;
}

.price-details del {
    color: #999;
    font-size: 0.8em;
    text-decoration: line-through;
    margin-right: 5px;
}

.price-details .arrow {
    margin: 0 10px;
    font-size: 1.2em;
    color: #e58d1b; /* Orange color for the arrow */
}

.zero-price {
    color: #e74c3c; /* Red color for 0 */
    font-size: 1.8em; /* Make the 0 bigger */
}


.trial {
 padding: 0rem 3rem 1rem;
  font-style:normal;
  -webkit-transform: skew(-30deg);
  transform: skew(-30deg);
  color: #34362b;
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#68e0cf));
  background-image: -webkit-linear-gradient(left, #ffff 0%, #68e0cf 100%);
  background-image: linear-gradient(to right, #ecdfb4, #ffff 100%);
  font-size: 35px;
}

.trial2{
   text-align: center;
    color: #f75b87;
    margin-top: 20px;
    font-weight: 900;
 
}

#item-sec {
    height: 600px;
    background-color: #f7f3f3;
    /* この行を追加 */
    background-image: url("images/top.jpg");
    background-size: cover;
    background-position: center;
}

#item-sec .main-ttl{
   position: inherit;
   z-index: 2;
}

#item-sec .main-ttl strong{
   font-size: 3em;
   color: #FFFFFF;
}


.main-txt{
   text-align: right;

}

#-sec1{
   background-color: #efdddd;
}

h1{background-color: #FFFFFF;
}

#item-sec2{
   background-color: #fbf8f3;
   padding: 40px;

}

.merit{
    padding-top: 40px;
    margin-bottom: 40px;
}




#serbis-sec1{
    background-color: #fbf8f3;
    padding-top: 40px;
}


.btn{
   background-color: #f75b87;
   display: block;
   width: 500px;
   padding: 20px 25px;
   box-shadow: 6px 6px 10px 0 rgba(0,0,0,.4);
   margin: 10px auto 0;
   text-align: center;
   border-radius: 10rem;
   color: #fff;
 font-weight: bold;
 font-size: 1.1rem;
 text-decoration: none;

    color: #fff;
 font-size: 1.8rem;         /* ← ← ← 文字をもっと大きく！ */
 font-weight: bold;
 text-decoration: none;
 text-shadow:
     -1px -1px 0 #000,
      1px -1px 0 #000,
    -1px  1px 0 #000,
      1px  1px 0 #000;
}

.btn:hover {
  background-color: #dad18a; /* ホバー時にちょっと濃く */
  transform: scale(1.05);     /* ちょい拡大アニメーション */
  transition: 0.3s ease;

}

.btn {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* ほんのり文字に影！ */
}




/*婚活悩み*/
ul{
    padding: 20px;
    background-color: #fbf8f3;
    font-size: 18px;
    list-style: none;
}
li{

    padding: 10px;
    text-align: center;
    margin: 5px;
    border-radius: 5rem;
}

.flexbox1{
    display: flex;
justify-content: center;
}

/*婚活悩み写真*/
.concept img{
     border-radius: 1rem;
     margin: 30px auto 0;
}
.concept{
   display: flex;
  justify-content: center;
}

/*会員数*/
.merit{
   text-align: center;
}

#item-sec2{
   background-color #e0dbdb;
}

/*メリット4つ横並び*/
.item-box-wrap{
   display:flex;
   flex-wrap:wrap;
   justify-content:space-between;
   width: 100%;
}

.item-box{

   width: 270px;
   padding:10px;
   border-radius:15px;
   border: 5px solid #81bbe0;

}

.item-box h3 {
    font-size: 1.2em;
    padding: 10px;
    color:  #3b4245
    text-align: center;
}


.item-box img{
    width: 100%;
    }

.item-box p{
    font-size: 0.9em;
    padding: 5px;
    text-align: justify;
    }


h3{
    font: size 30px;
    color: #073a50;
    margin-bottom: 10px;
}


section h2{
  text-align: center;
    margin-bottom: 40px;
    font-size:1.6em;
    padding: 20px;
    }

.campaign1{
    background-color: #efdddd;
}

.serbis-sec1{
    margin: 0 auto;
    background-color: #efdddd;
    margin-bottom: 30px;
}

.serbis{
    width: 1080px;
     margin: 0 auto;
    margin-bottom: 30px;
    }


.serbis{
    display: flex;
    flex-wrap: wrap;
}

.serbis-txt{
    width: 700px;
    background-color: #FFFFFF;
    padding: 20px;
}

.ser-h{
text-align: right;
padding: 0 50px;
}

.spacer {
  height: 50px; /* ←余白の高さを調整できる */
}

.serbis-f{
    text-align: center;
}


/*料金プラン*/
.pran {
    text-align: center;
}

 .PRICE {
    background-color:#FFFFFF;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
 }

.PRICE th,td{
 padding: 20px;
}



/*FAQ*/

#item-sec4{
    background-color:#fbf8f3;
    padding: 40px;
}


.faq{
    width: 700px;
    margin: 0 auto;
}

.qa-7 {
    width: 900px;
    margin-bottom: 10px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: #fbf8f3;
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #503d3d;
    font-weight:800;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    font-weight: 800;
    font-size: 1.3em;
}

.qa-7 summary::before {
    color: #0c2e6e;
    content: "Q";
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #8a5656b3;
    border-right: 3px solid #8a5656b3;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

.qa-7 p::before {

    color: #aa5e5e;
    line-height: 1.2;
    content: "A";
}

/*price*/
#item-sec3{
    background-color: #efdddd;
    padding: 30px;
    text-align: center;
}

.price-section {
    text-align: center;
    margin: 4rem 0;
}

.price-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.price-card {
    background: #fff;
    border: 2px solid #2ad0a3;
    border-radius: 1.0rem;
    width: 350px;
    padding: 2rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card h3 {
    color: #2ad0a3;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price-card .yen {
    font-size: 1.8rem;
    color: #444;
}

.price-card .yen strong {
    font-size: 1.8rem;
    color: #f77287;
}


.triall {
display: flex;
font-size: 35px;
}


.impor{
    text-size-adjust: 35px;
    color: #209cff;
}

/*アクセス*/
.access{
    margin: 0 30px;
}


th{
    text-align: left;
}

td{
    text-align: left;
}

.contact{
    width: 500px;
     text-align: left;
}



.contact-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.contact-button {
    text-align: center;
    display: flex;
    justify-content: center;
}

#item-sec5{
    background-color:#efdddd;
    background-image: url("images/engaged.jpg");　
    background-size: cover;
    background-position: center;
    height:800px;
    padding: 40px;
    text-align: center;
}

label{
    font-weight: 700;
}

.contact-2{
    background-color: rgba(255, 255, 255, 0.3);
}

.info{
   background-color: rgba(255, 255, 255, 0.3);
}

#item-sec5{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



/*footer*/
footer{
    text-align: center;
    background-color: #fbf8f3;
}

.footer-nav ul{
    display: flex;
    justify-content: center;
}


@media screen and (max-width: 768px) {

  body {
    font-size: 16px;
    padding: 0 1rem;
  }

  .container,
  .faq,
  .serbis,
  .contact,
  .price-card,
  .item-box {
    width: 100% !important;
    margin: 0 auto;
  }

  .item-box-wrap,
  .price-wrap,
  .serbis {
    flex-direction: column;
    align-items: center;
  }

  .serbis-image img {
    width: 80%;
    margin: 0 auto;
  }

  .btn {
    width: 90%;
    font-size: 1.2rem;
    padding: 1rem;
  }

  .main-txt {
    font-size: 1.1rem;
    padding-left: 1rem;
    text-align: center;
    white-space: normal;
  }

  #item-sec {
    height: auto;
    padding: 2rem 1rem;
  }

  .qa-7 {
    width: 100%;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-box input,
  .contact-box textarea,
  .contact-box select {
    width: 100%;
    margin-top: 0.5rem;
  }

  nav#gnav ul,
  .footer-nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav#gnav ul li,
  .footer-nav ul li {
    margin-bottom: 0.5rem;
  }

  .trial {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .price-card h3 {
    font-size: 1.4rem;
  }

  .price-card .yen {
    font-size: 1.4rem;
  }

  .zero-price {
    font-size: 1.4rem;
  }

  #item-sec5 {
    height: auto;
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .worries {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    text-align: center;
  }

  .worries img {
    width: 80%;
    height: auto;
    margin-bottom: 1rem;
  }

  .worries ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .worries li {
    font-size: 1.2rem;
    padding: 0.3rem 0;
    color: #444;
  }
}