/* ========= Base ========= */

body{
  margin:0;
  font-family:"Noto Sans JP",sans-serif;
  color:#241807;
  background:#ffffff;
}

.container{
  max-width:900px;
  margin:auto;
  padding:20px;
  font-size:20px;
}

.center{
  text-align:center;
}

img{
  max-width:100%;
  height:auto;
}

/* ========= Header ========= */

.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  background:#ffffff;
  border-bottom:4px solid #4CAF50;
  padding:10px 20px;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
  z-index:10;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1000px;
  margin:auto;
}

.header img{
  height:40px;
}

.header a{
  background:#F2B705;
  padding:8px 16px;
  border-radius:20px;
  text-decoration:none;
  color:#241807;
  font-weight:bold;
}

/* ========= Hero ========= */

.hero{
  background:linear-gradient(135deg,#FFF 0%,#FFEFBA 50%,#FFE680 100%);
  padding:140px 20px 80px;
  text-align:center;
}

.hero h1{
  font-size:40px;
  margin-bottom:20px;
}

.hero p{
  font-size:20px;
  font-weight:bold;
}

/* ========= Card ========= */

.card{
/*  background:#ffffff;*/
  background:#DA2E2E;
  color:#ffffff;
  border-radius:16px;
  padding:30px;
  margin:30px 0;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* ========= Grid ========= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.grid-item{
  background:#FFEFBA;
  border:2px solid #EDC920;
  border-radius:16px;
  padding:20px;
  text-align:left;
  font-size:18px;
}

/* ========= Timeline ========= */

.timeline{
  border-left:4px solid #EDC920;
  padding-left:30px;
  margin-top:40px;
}

.timeline-item{
  margin-bottom:40px;
  position:relative;
}

.timeline-item::before{
  content:"";
  width:14px;
  height:14px;
  background:#F2B705;
  border-radius:50%;
  position:absolute;
  left:-38px;
  top:5px;
}

.timeline-important::before{
  background:#DA2E2E;
}

/* ========= URL Section ========= */

.url-section{
  background:linear-gradient(135deg,#ddedda 0%,#4FA143 100%);
  padding:20px 20px;
  text-align:center;
}

.url-box{
  background:#ffffff;
  padding:40px;
  border-radius:20px;
  margin:30px auto;
  max-width:700px;
}

.url{
  font-size:28px;
  font-weight:bold;
  background:#FFEFBA;
  padding:15px;
  border-radius:10px;
  word-break:break-all;
}

.button{
  margin-top:20px;
  padding:15px 30px;
  background:#EDC920;
  border:none;
  border-radius:30px;
  font-size:18px;
  cursor:pointer;
}

.button:hover{
  background:#F2B705;
}

.text-40bold {
  font-size:40px;
  color:#DA2E2E;
  font-weight:bold;
}

.text-18bold {
  font-size:20px;
  color:#DA2E2E;
  font-weight:bold;
}

/* ========= Contact ========= */

.contact{
  background:#FFEFBA;
  border:2px solid #EDC920;
  border-radius:20px;
  padding:30px;
}

/* ========= Footer ========= */

footer{
  background:#241807;
  color:#999;
  text-align:center;
  padding:30px;
  font-size:14px;
}

/* ========= Animation ========= */

.float{
  animation:float 3s ease-in-out infinite;
}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

.fade-in{
  animation:fadein 0.8s ease-out;
}

@keyframes fadein{
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;}
}


/* ========= Mobile ========= */

@media (max-width:640px){

.header-inner{
  flex-direction:column;
  gap:10px;
}

.header img{
  height:30px;
}

.hero{
  padding:120px 20px 40px;
}

.hero h1{
  font-size:28px;
}

.hero p{
  font-size:16px;
}

.container{
  font-size:16px;
}

.url{
  font-size:18px;
}

.url-box{
  padding:25px;
}

}

/* ========= Responsive Layout ========= */

/* スマホ */

@media (max-width:640px){

.grid{
  grid-template-columns:1fr;
}

.grid-item{
  font-size:16px;
}

}


/* タブレット */

@media (min-width:641px) and (max-width:900px){

.grid{
  grid-template-columns:repeat(2,1fr);
}

}


/* PC */

@media (min-width:901px){

.grid{
  grid-template-columns:repeat(3,1fr);
}

}



