/* ===== 共通 ===== */

body{
  font-family: sans-serif;
  background:#f3f3f3;
  margin:0;
  line-height:1.8;
}

.container{
  max-width:1000px;
  margin:0 auto;
  padding:20px;
}

/* ===== header ===== */

.site-header{
  background:white;
  border-bottom:1px solid #ddd;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  text-decoration:none;
  color:#333;
  font-weight:bold;
}

.nav-link{
  margin-left:15px;
  text-decoration:none;
  color:#666;
  font-size:14px;
}

/* ===== hero ===== */

.hero{
  background:white;
  text-align:center;
  padding:30px 0;
  border-bottom:1px solid #ddd;
}

.title{
  font-size:24px;
  margin:10px 0;
}

.meta{
  font-size:13px;
  color:#777;
}

/* ===== layout ===== */

.content-inner{
  display:flex;
  gap:20px;
  margin-top:20px;
}

/* ===== 目次 ===== */

.toc{
  width:250px;
}

.toc-card{
  background:white;
  border:1px solid #ddd;
  padding:15px;
  border-radius:6px;
}

.toc-title{
  font-weight:bold;
  margin-bottom:10px;
}

.toc-list{
  padding-left:20px;
  font-size:14px;
}

.toc-list a{
  color:#333;
  text-decoration:none;
}

/* ===== 本文 ===== */

.policy{
  flex:1;
}

.policy-card{
  background:white;
  border:1px solid #ddd;
  padding:20px;
  border-radius:6px;
}

.section{
  border-top:1px solid #ddd;
  padding-top:15px;
  margin-top:15px;
}

.section:first-child{
  border:none;
}

.h2{
  font-size:18px;
  margin-bottom:8px;
}

.list{
  padding-left:20px;
}

/* ===== contact ===== */

.contact-box{
  background:#f7f7f7;
  padding:15px;
  border-radius:6px;
  border:1px solid #ddd;
}

.contact-dl .row{
  margin-bottom:10px;
}

.contact-dl dt{
  font-weight:bold;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: linear-gradient(135deg, #ffffff 0%, #ccefff 100%);
  padding: 80px 20px 40px;
  text-align: center;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-nav {
  margin-bottom: 24px;
  font-size: 1rem;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.75rem;
  margin-bottom: 32px;
}

.footer-copy {
  font-size: 0.7rem;
  color: #333;
}

/* ===== ボタン ===== */

.btn{
  display:inline-block;
  padding:8px 18px;
  background:#eee;
  border-radius:5px;
  text-decoration:none;
  color:#333;
}

.back{
  text-align:center;
  margin-top:20px;
}

/* ===== スマホ ===== */

@media(max-width:768px){

  .content-inner{
    flex-direction:column;
  }

  .toc{
    width:100%;
  }

}
