@charset 'UTF-8';
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}
/* ---------------------------
common
----------------------------*/

h1 {
  margin-top:1em; 
  margin-bottom: 1em;
  text-align: center;
}
h1 .main-vPC{
  display: none;
}
section{
  text-align: center;
  margin-bottom:2.6em;
}
section > h2{
  text-align: left
}
section > p{
  text-align: left
}

#Contents .container {
  width: 100%;
  max-width: 700px;
  padding: 0 2em;
  margin: 0 auto;
}
@media (min-width: 600px) {
  h1 .main-vPC{
  display: block;
  margin-top:3em; 
  margin-bottom: 2em;
}
  h1 .main-vSP{
  display: none;
}
 section{
  
  margin-bottom:3em;
}
}
/* ---------------------------
section1
----------------------------*/


#section1 .registration {
  margin: 1em auto .2em;
  display: inline-block;
  background-color: #555; 
  color: #fff; 
  padding: 10px 20px; 
  border-radius: 8px;
  text-align: center;
  font-size: 16px; 
  font-weight: bold; 
  text-decoration: none; 
  transition: background-color 0.3s ease; 
}
@media (min-width: 600px) {

  #section1 .registration {
  padding: 1em 2em; 
  border-radius: 8px;
  text-align: center;
  font-size: 16px; 
  font-weight: bold; 
  text-decoration: none; 
  transition: background-color 0.3s ease; 
  }}
/* ---------------------------
section2
----------------------------*/
#section2 .pulldown{
    margin: 1em 0
}
#section2 img{
  width: 100%;
  max-width: 460px;
  margin: 1em auto;
}
@media (min-width: 600px) {

  #section2 .pulldown{
    padding: 1em;
    margin: 2em 2em 1em;
/*    border-style: solid;
    border-width:.5px;
    border-color: #333;*/
    
    display: flex;
    justify-content: space-between;
          border-radius: .4em;

  }
  #section2 .pulldown select{
    display: flex;
height: 3em;      
    align-items: center;
    margin: auto;
  }
  }
/* ---------------------------
section3
----------------------------*/

#terms label{
  display: block;
  margin: 1em 0 2em;
}

#section3 button#cartButton{
  font-size: 2em;
  padding: 1em 3em;
  background-color: #d02929;
  border-radius: 10em;
}

h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
}

.link {
  color: #007BFF;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

select, button {
  margin-bottom: 15px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
/*  background-color: #007BFF;*/
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

@media (min-width: 600px) {
  .container {
    padding: 20px;
  }
}
.registration {
  display: inline-block;
  background-color: #555; 
  color: #fff; 
  padding: 10px 20px; 
  border-radius: 8px;
  text-align: center;
  font-size: 16px; 
  font-weight: bold; 
  text-decoration: none; 
  transition: background-color 0.3s ease; 
}

.registration a {
  text-decoration: none; /* アンカータグのデフォルト装飾を消す */
  color: inherit; /* 親の色を継承 */
}

.registration:hover {
  background-color: #333; /* ホバー時に背景色を変更 */
}

#terms-section {
  margin-top: 20px;
}
#terms-section a{
  text-decoration: underline;
}

#terms-content {
  width: 100%; /* 利用規約をページ幅に合わせる */
  max-width: 800px; /* 最大幅を設定（必要に応じて調整） */
  height: 400px; /* PC用高さ */
  overflow-y: scroll; /* 縦スクロールを有効にする */
  border: 1px solid #ccc; /* 枠線を追加 */
  border-radius: 8px; /* 角丸にする */
  padding: 15px; /* 内側の余白 */
  box-sizing: border-box; /* パディングを含めてサイズを計算 */
  background-color: #f9f9f9; /* 背景色を薄いグレーに */
}

.terms-link {
  color: #007BFF; /* リンクの文字色 */
  text-decoration: none; /* アンダーラインを消す */
}

.terms-link:hover {
  text-decoration: underline; /* ホバー時にアンダーラインを表示 */
}

@media (max-width: 768px) {
  #terms-content {
    height: 200px; /* スマホ用高さ */
  }
}

/* ---------------------------
[SP] section1
----------------------------*/



