/* ===============================
   terms共通
================================= */
.terms-bg{
    background-image: url("../img/all/haikei.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-color:white;
}




/* ===============================
   terms-top
================================= */
.terms-top {
  padding:0 0 0 0;
}
.terms-top .area {
  display: grid;
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
.terms-top .area h1 {
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 1;
}
.terms-top .area h1::before {
  content: "";
  position: absolute;
  top: calc(-100vh - 1rem);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100vh;
  background-color: #fff;
  z-index: 0;
}
.terms-top .area .image {
  grid-area: 1 / 1;
  z-index: 0;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
.terms-top .area .image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.terms-top .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* ←暗さの度合い */
  z-index: 0;
}
@media only screen and (max-width: 768px) {
.terms-top .area {
  height: auto;
}
.terms-top .area .image {
  height:auto;
}
}




/* ===============================
   terms-sec01
================================= */
.terms-sec01 {
    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;
    color:#603813;
}
.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 #603813;
    border-bottom: 1px solid #603813;
    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 {
    padding:10% 5% 10% 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;
    font-weight:bold;
    text-align:center;
    color:#603813;
}
.terms-sec02 .area .line{
    width:250px;
    height:2px;
    background-color: #603813;
    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:#603813;
}
.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;
}

