    @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&display=swap');
      
      * {
        margin: 0;
        padding: 0;
        font-family: 'Noto Sans JP', sans-serif;
        /* Dev outline: 1px solid #FF0000; /* デバッグ用アウトライン */
      }
      
      body {
        background-color: #F3F3F3;

        margin: 50px auto; 
      }

        header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background-color: #212121;
        display: flex;
        align-items: center;
        padding: 10px;
        z-index: 1000; /* ヘッダーを前面に固定 */
        }
        .btn_ATS{
        color: white;
        text-decoration: none;/*リンクの下線を消すやつ*/
        }
        
        .nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        }
    
        .menu-toggle {
      font-size: 1.5em;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      display: none; /* デフォルトでは非表示 */
      margin-left: auto; /* 右寄せ */
    }
    
    .nav-menu {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      width: 100%;
    }
    
    .nav-menu ul {
      list-style: none;
      display: flex;
      gap: 20px;
      padding: 0;
    }
    
    .nav-menu a {
      text-decoration: none;
      color: white;
    }
    
    /* 画面幅が768px以下になったらメニューを隠し、ハンバーガーを表示 */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
        position: absolute;
        right: 20px; /* 右端に配置 */
        top: 50%;
        transform: translateY(-50%);
      }
    
      .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #333;
      }
    
      .nav-menu ul {
        flex-direction: column;
        text-align: center;
        padding: 0;
      }
    
      .nav-menu a {
        display: block;
        padding: 10px;
        color: white;
      }
    
      .nav-menu.show {
        display: flex;
      }
    }
      

/* --- サイドバー --- */
.main-layout {
  display: flex;
  min-height: 100vh;
  background: #f3f3f3;
}

.sidebar-fixed {
  width: 220px;
  background: #e6e6e6;
  padding: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-shadow: 1px 0 8px rgba(0,0,0,0.03);
  position: fixed;
  left: 0;
  top: 60;
  z-index: 10;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.sidebar-logo-icon {
  font-size: 2rem;
  margin-right: 8px;
}
.sidebar-logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #222;
}
.sidebar-list {
  list-style: none;
  padding: 0;
  width: 100%;
}
.sidebar-list li {
  margin: 16px 0;
  width: 100%;
}
.sidebar-list a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 10px 32px;
  border-radius: 8px 0 0 8px;
  transition: background 0.2s;
}
.sidebar-list a:hover {
  background: #d1d1d1;
}

/* --- メインコンテンツ --- */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 0 0 0;
}

.profile-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 40px 32px 32px 32px;
  max-width: 480px;
  width: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-title {
  font-family: 'Segoe UI',sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
}

.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e6e6e6;
  margin-bottom: 10px;
}
.profile-username {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.profile-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.icon-link img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}
.icon-link:hover img {
  filter: grayscale(0) drop-shadow(0 0 2px #969696);
}
.profile-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.profile-link-card {
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1.1rem;
  color: #222;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s, box-shadow 0.2s;
  gap: 16px;
}
.profile-link-card img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}
.profile-link-card span {
  font-size: 0.95rem;
  color: #888;
  margin-left: 8px;
}
.profile-link-card:hover {
  background: #e6e6ff;
  box-shadow: 0 2px 8px rgba(108,99,255,0.08);
}
.profile-ad {
  width: 100%;
  margin: 18px 0 10px 0;
  position: relative;
}
.ad-label {
  position: absolute;
  top: 8px;
  right: 16px;
  background: #969696;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 2px 10px;
  z-index: 2;
}
.profile-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 0.98rem;
}

/* --- フッター --- */
.main-footer {
  text-align: center;
  background: #f3f3f3;
  padding: 32px 0 12px 0;
  margin-left: 220px;
  color: #888;
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .main-layout {
    flex-direction: column;
  }
  .sidebar-fixed {
    position: static;
    width: 100%;
    flex-direction: row;
    min-height: unset;
    padding: 12px 0;
    box-shadow: none;
    justify-content: flex-start;
  }
  .sidebar-list {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 8px;
  }
  .sidebar-list a {
    padding: 8px 12px;
    border-radius: 8px;
  }
  .main-content, .main-footer {
    margin-left: 0;
    padding: 0 4px;
  }
  .profile-section {
    width: 85%;
    box-shadow: none;
  }

  body{
    background-color: #fff;
  }
}


        /*コンテナ群*/
        .container {
            width: 85%;
            margin: 20px auto; /* 中央配置 */
            padding: 20px;
            background-color: #ffffff; /* 背景色 */
            border-radius: 5px;
        }

        .side_container{
            width: 100%;
            margin: 20px auto; /* 中央配置 */
            padding: 20px;
            background-color: #ffffff; /* 背景色 */
            border-radius: 5px;
        }

      footer {
          width: 100%;
          text-align: center;
          padding: 10px 0;
          border-top: 1px solid rgba(255,255,255,0.3);
          color: rgb(255, 255, 255);
        }

        .under_text{
        font-size: 0.8rem;
           position: fixed;
    bottom: 0;
        }

        .service_text {
  font-family: 'Segoe UI',sans-serif;
  text-align: left;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
}

/*ローディング用*/
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}