body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #f7f7f5;
  color: #333;
  line-height: 1.8;
}

body.has-fixed-header {
  padding-top: 52px;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px #00000010;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
header h1 {
  margin: 0;
  font-size: 26px;
  color: #3a7f5a;
}


.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

.simple-center {
  text-align: center;
  padding: 200px 20px 200px 20px; 
}

.hourglass-loader {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 28px auto;
  position: relative;
  border: 1px solid #a8b8ac; 
  border-radius: 50%;        
  animation: mini-rotate 4s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.hourglass-loader::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 1px;
  height: 18px;
  background-color: #a8b8ac;
  transform: translateX(-50%);
}
.status-text {
  font-size: 2.2rem;   
  color: #3f4a43;       
  letter-spacing: 0.25em; 
  font-weight: 500;
  margin: 0 0 20px 0;   
}
.sub-text {
  font-size: 0.85rem;   
  color: #8fa094;       
  letter-spacing: 0.3em; 
  margin: 0;
  display: block;
}
@keyframes mini-rotate {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(180deg); } 
  50% { transform: rotate(180deg); } 
  75% { transform: rotate(360deg); } 
  100% { transform: rotate(360deg); } 
}

.footer {
  text-align: center;
  padding: 20px 0;
  background: #e9ede8;
  margin-top: 85px;
}

.footer-text {
  margin: 0;
  color: #6b756f;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  
  /* 0. 基本設定：スマホ向けリセット */
  html, body {
    touch-action: manipulation !important;
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    -webkit-text-size-adjust: 100% !important;
  }

  body {
    padding-top: 140px !important; /* ヘッダー分を確保 */
    box-sizing: border-box !important;
  }

  /* 1. ヘッダー：左寄せ・固定 */
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff !important;
    z-index: 1000 !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }

  .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .header-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;  
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  footer {
    padding: 20px 15px !important;
    text-align: center !important;
  }
}