body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.menu-toggle { display: none; }       

/* スマートフォン用のスタイル */
@media (max-width: 600px) {
  .container {
    width: 95%;
    max-width: 800px;
  }

  .logo {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .logo img {
    height: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  h1 {
    font-size: 1.2em;
    margin: 5px 0;
    text-align: left;
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .text-content {
    width: 100%;
  }

  .text-image-pair {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .text-image-pair .text-content {
    width: 100% !important;
    text-align: left;
  }

  .text-image-pair .image-container {
    width: 100% !important;
    text-align: center;
  }

  .text-image-pair .image-container img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .text-image-pair .image-container.custom-width {
    width: 100%;
  }

  .nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  footer {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }


  .menu-toggle {
    display: block;   
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 20px; 
    padding: 8px 10px;
    min-width: 44px;
    min-height: 44px; 
  }

  header nav ul {
    display: none;
    position: absolute;
    top: 80px;          
    right: 16px;
    background: #fff;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
  }
  
  header.is-open nav ul {
    display: flex;
    flex-direction: column;
  }

  header nav ul li {
    margin: 0;
  }

  header nav ul li a {
    display: block;
    padding: 12px 16px;
  }
}


   
header {
    background-color: rgba(255, 255, 255, 0.97); 
    color: black;
    padding: 0;
    position: sticky; 
    top: 0;
    box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 80px;
}
.nav-container {
    display: flex;
    align-items: center;    
    height: 100%;
}
.logo {
  height: 100%;           
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;           
  max-height: 80px;       
  width: auto;            
  object-fit: contain;    
  display: block;         
}
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;    
}
nav ul li {
    display: inline;    
    margin: 0 15px;
}
nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;    
}
section {
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    max-width: 1200px;    
    text-align: left;    
    box-sizing: border-box;
    overflow: hidden;
}
.text-image-pair {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.text-image-pair .text-content {
    flex: 1;
}
.text-image-pair .image-container {
    width: 40%;
    flex-shrink: 0;
}
.text-image-pair .image-container.custom-width {
    width: 60%; 
}
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 10px 0;
}
.image-container img {
    width: 100%;    
    max-width: 100%;
    height: auto;
    display: block;
}
.image-caption {
    font-size: 1.2em;
    color: #666;
    margin-top: 5px;
    text-align: center;
}
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px; 
    margin: 10px auto;
}
.qr-code-container img {
    width: 100%; 
    height: auto;
    display: block;
}
h2 {
    color: #2F5597;
}
p {
    font-size: 1.2em;
    line-height: 1.6;
}
ul li {
    font-size: 1.1em;
}
ul ul li {
    font-size: 1em;
}
footer {
    margin-top: 10px;
    padding: 10px;
    background-color: #2F5597;
    color: white;
    max-width: 1200px;    
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    font-size: 0.9em;
}

.store-links {
    display: flex;
    gap: 10px; 
    justify-content: center;
    margin-top: 20px;
}


.store-link img {
    width: 150px;
    height: auto;
    transition: filter 0.3s ease, opacity 0.3s ease; 
}

.store-link.disabled {
    pointer-events: none; 
    cursor: not-allowed;
}

.store-link.disabled img {
    opacity: 0.5; 
    filter: grayscale(100%); 
}


.store-link:not(.disabled) {
    pointer-events: auto; 
}

.store-link:not(.disabled) img {
    opacity: 1; 
    filter: none; 
    cursor: pointer;
}