header{
  width: 100%;
  padding: 3rem 3rem 2rem;
  display: flex;
  justify-content: space-between;
}
.policy-logo {
    width: 100%;
    max-width:230px;
    height: auto;
    margin-bottom: 30px;
  }
.policy-logo img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -19px;
}
.main-nav {
  position: static; 
  width: auto; 
}

.main-nav ul {
  display: flex;
  gap: 2rem; 
}

.main-nav li {
  list-style: none;
}

.main-nav ul li a {

    background: url(../images/arrow_bottom.svg) no-repeat left top 0.5em;
    background-size: 10px auto;
    padding: 0 0 0 20px;
    margin: 0 0 0 15px;
    position: relative;
}
a {
    text-decoration: none;
    color: #555;
    transition: 0.2s ease-in-out;
}

#policy-wrapper{
    width:100%;
    height: auto;
    margin-top: 60px;
}
.policy-container{
    width: 70%;
    margin:0 auto;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
}
.policypage {
    display: flex;
    align-items: center; 
    justify-content: left;
    gap: 10px; 
    text-align: left; 
    font-weight: normal; 
    width: 100%;
    position: relative;
    
    margin-bottom: 100px;
  }
.policypage::after {
    content: "";
    position: absolute;
    left: 175px;
    transform: translateX(-50%);
    top: 40px;
    width: 350px;
    height: 4px;
    background: linear-gradient(135deg, #a5cfc3, #7cb7a4);
    z-index: 1;
    border-radius: 9999px;
  }
.policypage-title {
    font-size: 1.3rem; 
    font-weight: normal; 
  }
  
  .policypage-line {
    display: inline-block;
    width: 1px; 
    height: 10px; 
    background-color: #7cb7a4; 
  }
  
  .policypage-sub {
    font-size: 1.1rem; 
    color: #666; 
  }
  .text-box{
    padding-bottom: 30px;
  }
.text-box h2{
    font-size: 1.2rem;
    border-top: 1px solid #7cb7a4;
    padding-top: 40px;
    padding-bottom: 10px;
  }
  .text-box p{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .text-box-last{
    border-top: 0.5px solid #7cb7a4;
    padding-top: 40px;
    margin-top: 45px;
  }
  .text-box ul{
      list-style-type: disc; 
      padding-left: 20px; 
  }

  .text-box ul{
      margin-top: 15px; 
  }
  .text-box ul li {
      padding-left: 5px; 
  }
.text-box a {
    text-decoration: underline; 
    color: #0073e6; 
    transition: color 0.3s ease; 
    word-break: break-all;
    text-decoration: underline;
    color: #007B7B;
}
.text-box a:hover {
    color: #606060; 
}

.no-marker {
  list-style: none;
  padding-left: 0; /* 必要なら左の余白も消す */
}

/*========================================
thanks
=======================================*/
#thanks-wrapper{
    width:100%;
    height: auto;
    margin-top: 60px;
    height: 40%;
}
.thanks-container{
    width: 70%;
    margin:0 auto;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
}
.thanks-section h2{
    font-size: 1.3rem; 
    font-weight: normal;
    color: #555;
}
.thanks-section h2::after {
    content: "";
    position: absolute;
    left: 175px;
    transform: translateX(-50%);
    top: 40px;
    width: 350px;
    height: 4px;
    background: linear-gradient(135deg, #a5cfc3, #7cb7a4);
    z-index: 1;
    border-radius: 9999px;
  }
.thanks-section p{
  padding-top: 50px;
  padding-bottom: 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: normal;
   color: #555;
  font-size: 1rem;
  transition: color 0.3s;
  padding-right: 1.2em; /* 矢印のスペース確保 */
  position: relative;
}

.back-link::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url(../images/arrow_bottom.svg) no-repeat center;
  background-size: contain;
  
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.back-link:hover {
  color: #398d78; /* ホバー時の色 */
}
.menu-toggle2 {
    display: none;
  }

@media screen and (max-width: 1200px) {
.main-nav{
  display: none;
}
.menu-toggle2 {
  display: flex;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 25px;
  position: fixed;
  top: 50px;
  right: 40px;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle2 .bar {
  height: 2px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* メニューアイコンが開いたときの変形 */
.menu-toggle2.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(16px);
}
.menu-toggle2.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle2.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-16px);
}

/* モバイルメニュー本体 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  background: #ffffffe1;
  width: 80%;
  height: 100vh;
  z-index: 1000;
  padding: 100px 20px 20px;
  box-sizing: border-box;
}

.mobile-menu.active {
  display: block;
}
.policy-container {
    width: 90%;
    margin: 0 auto;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
}
}
@media screen and (max-width: 500px) {
  header {
    width: 100%;
    padding: 3rem 2rem 1rem;
    display: flex
;
    justify-content: space-between;
}
.policy-logo img {
    width: 90%;
    height: auto;
    display: block;
    margin-top: -25px;
    margin-left: -10px;
}
.policypage {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 5px;
    text-align: left;
    font-weight: normal;
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}
.policypage::after {
    content: "";
    position: absolute;
    left: 50%; /* 中央基準に */
    transform: translateX(-50%);
    top: 85px;
    width: 350px;
    height: 4px;
    background: linear-gradient(135deg, #a5cfc3, #7cb7a4);
    z-index: 1;
    border-radius: 9999px;
  }
  #policy-wrapper {
    width: 100%;
    height: auto;
    margin-top: 0px;
}
.policy-container {
        width: 90%;
        margin: 0 auto;
        font-size: 1rem;
        position: relative;
        margin-bottom: 10px;
    }
.text-box h2 {
    font-size: 1rem;
    border-top: 1px solid #7cb7a4;
    padding-top: 40px;
    padding-bottom: 10px;
    text-align: center;
}
.thanks-container{
    width: 90%;
    margin:0 auto;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
}
.thanks-section h2{
    font-size: 1.1rem; 
    font-weight: normal;
    color: #555;
    text-align: center;
}
.thanks-section h2::after {
    content: "";
    position: absolute;
    left: 50%; /* 中央基準に */
    transform: translateX(-50%);
    top: 40px;
    width: 350px;
    height: 4px;
    background: linear-gradient(135deg, #a5cfc3, #7cb7a4);
    z-index: 1;
    border-radius: 9999px;
  }
}
