/* ===============================
   terms共通
================================= */





/* ===============================
   terms-top
================================= */
.terms-top {
  position: relative;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  background: url("../img/terms/top.jpg") no-repeat center center / cover;
}
.terms-top .text h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  border: 1px solid #fff;
  padding: 15vh 3vw; /* 画面比率で調整 */
  font-size: 2em;
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  white-space: nowrap;
}
.terms-top .text h1::before{
    content: "";
    position: absolute;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    border: 1px solid white;
    pointer-events: none;
    transition: all 0.5s;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    }
@media (max-width: 768px) {
.terms-top .text h1 {
  padding: 15vh 7vw;
}
}




/* ===============================
   terms-sec01
================================= */
.terms-sec01 {
    color:white;
    padding:15% 0 0 0;
}
.terms-sec01 .area {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
.terms-sec01 .wrap{
    display: flex;
    flex-direction: column;
    gap:3rem;
}
.terms-sec01 .ttl {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.terms-sec01 .box {
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
    gap:2rem;
    padding: 30px;
}
.terms-sec01 .box a{
    width:250px;
    font-size:1rem;
    text-align: center;
    padding: 30px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition: opacity 0.5s;
    max-width:100%;
}
.terms-sec01 .box a:hover{
    opacity:0.6;
}
@media (max-width: 768px) {
.terms-sec01 {
    padding:15% 5% 0 0;
}
.terms-sec01 .area {
    width: 100%;
}
}







.terms-sec02 {
    color:white;
    padding:10% 5% 0 5%;
}
.terms-sec02 .area {
    width: 100%;
    max-width:1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap:3rem;
}
.terms-sec02 .area .title{
    font-size:2rem;
    text-align:center;
}
.terms-sec02 .area .line{
    width:250px;
    height:2px;
    background-color: #7F6000;
    margin:0 auto;
}
.terms-sec02 .area .wrap{
    display: flex;
    flex-direction: column;
    gap:1rem;
}
.terms-sec02 .area .wrap .ttl{
    font-size:1.25rem;
    font-weight:bold;
    color:#7F6000;
}
.terms-sec02 .area .wrap .text{
    font-size:1rem;
    line-height: 2rem;
}
.terms-sec02 .area .wrap .text ol{
  list-style-type: decimal;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.terms-sec02 .area .wrap .text ol li{
    padding-bottom:1rem;
}

.terms-sec02 table,
.terms-sec02 td,
.terms-sec02 th {
    border: 1px solid #595959;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.terms-sec02 td,
.terms-sec02 th {
    padding: 20px;
    height: 25px;
}
.terms-sec02 table caption {
    text-align: left;
    margin-bottom: 10px;
}

