/* 全体設定（* に修正） */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f4f5f7;
  color: #333;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  position: relative; /* アプリ対策：絶対配置の基準にする */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.section {
  padding: 60px 16px;
  border-bottom: 1px solid #eee;
}

.section-title {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  font-weight: bold;
  color: #0b1e3f;
}

.hero {
  width: 100%;
  max-width: 500px;
  position: relative;
  background: #f4f5f7;
  overflow: hidden; 
}



.hero-inner {
  position: relative;
  width: 100%;
}

.hero-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.main-title {
  position: absolute;
  top: 5%;
  left: 6%;
  z-index: 10;
  width: 35%;
  margin: 0;
  opacity: 0; 
  animation: fadeInUp 1.0s ease-out forwards;
  animation-delay: 0.2s; 
}

.main-title img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}

.cat-nav,
.section,
.footer {
  position: relative;
  background-color: #fff;
}

.cat-nav {
  background-color: #0b1e3f; 
  color: #fff;
  padding: 30px 16px;
  border-radius: 6px;
}

.main-title {
  position: absolute;
  top: 5%;
  left: 6%;
  z-index: 10;
  width: 35%;
  margin: 0;
}

.main-title img {
  width: 100%;
  height: auto;
  display: block;
}

.hero section {
  position: relative;
  z-index: 1;
  margin-top: -30px;
}

.hero section img {
  width: 100%;
  height: auto;
  display: block;
}

.subtitle {
  font-weight: bold;
  font-size: 0.95rem;
  color: #0b1e3f;
  margin-bottom: 12px;
}

.desc {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 20px;
  text-align: left;
}

.feature-icons {
  margin-top: 16px;
}

.feature-item {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 0.75rem;
}

.feature-item i {
  display: block;
  font-size: 1.2rem;
  color: #0b1e3f;
  margin-bottom: 4px;
}

.cat-nav-title {
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 8px;
}

.cat-nav-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 8px;
}

.cat-item {
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.concern-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.75rem;
}

.concern-card i {
  font-size: 1.4rem;
  color: #888;
  margin-bottom: 6px;
}

.catch-phrase {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #0b1e3f;
  line-height: 1.4;
}

.scene-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4; 
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scene-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px;
  box-sizing: border-box;
  color: #ffffff;
}

.scene-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scene-icon {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.scene-card-title {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 2px;
  color: #ffffff;
}

.scene-card-desc {
  font-size: 0.65rem;
  color: #dddddd;
  line-height: 1.2;
}

.scene-arrow {
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 4px;
}

.scene-arrow i {
  color: #0b1e3f;
  font-size: 0.65rem;
}

.img-placeholder {
  height: 90px;
  background-color: #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #666;
}

.card-body {
  padding: 8px;
}

.card-body h3 {
  font-size: 0.8rem;
  color: #0b1e3f;
}

.card-body p {
  font-size: 0.7rem;
  color: #777;
}

.item-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 6px;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.item-card-img {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.item-card-content {
  width: 58%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.item-card-content h3 {
  font-size: 0.75rem;
  font-weight: bold;
  color: #0b1e3f;
  margin-bottom: 12px;
  line-height: 1.2;
}

.item-card-content p {
  font-size: 0.6rem;
  color: #666;
  line-height: 1.25;
  margin-bottom: 12px;
}

.item-btn {
  display: inline-block;
  font-size: 0.58rem;
  color: #0b1e3f;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #d0d5dd;
  border-radius: 20px;
  padding: 2px 8px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.item-btn:hover {
  background-color: #0b1e3f;
  color: #ffffff;
  border-color: #0b1e3f;
}

.material-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 12px 10px;
  border-left: 3px solid #0b1e3f;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.material-card:hover {
  background-color: #f0f4f8;
}

.material-card-inner {
  flex: 1;
}

.material-card h3 {
  font-size: 0.8rem;
  font-weight: bold;
  color: #0b1e3f;
  margin-bottom: 4px;
}

.material-card p {
  font-size: 0.68rem;
  color: #666;
  line-height: 1.3;
}

.material-arrow {
  font-size: 0.65rem;
  color: #888;
  margin-left: 6px;
  flex-shrink: 0;
}

.brand-box {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.brand-box img {
  width: 50%;
}

.brand-btn {
  display: block;
  width: 60%;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 30px;
  font-size: 13px;
  transition: all 0.3s ease;
  margin-top: 25px;
  color: #0b1e3f;
}

.brand-btn:hover {
  background-color: #0b1e3f;
  border-color: #0b1e3f;
  color: #ffffff;
}

.reason-card {
  text-align: center;
  padding: 8px;
}

.reason-card i {
  font-size: 1.5rem;
  color: #0b1e3f;
  margin-bottom: 6px;
}

.reason-card h4 {
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.reason-card p {
  font-size: 0.68rem;
  color: #666;
}

.footer {
  background-color: #0b1e3f;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
}

.footer-msg {
  font-size: 14px;
  line-height: 1.6;
}

.contact {
  margin-bottom: 30px;
}

.contact p {
  margin: 5px 0;
  font-size: 14px;
}

.contact strong {
  font-size: 24px;
  font-weight: bold;
  margin-left: 8px;
}

.contact .hours {
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 25px;
}

.btn-primary {
  display: block;
  width: 200px;
  margin: 0 auto;
  text-align: center;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 30px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.btn-outline {
  display: block;
  width: 60%;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
  padding: 12px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  font-size: 13px;
  transition: all 0.3s ease;
  color: #ffffff;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #ffffff;
}

.copyright {
  font-size: 12px;
  color: #999999;
  margin: 0;
}
/* パンくずリスト */
.breadcrumb {
    width: 100%;
    padding: 10px 15px;
    background:#eaeef0;
    font-size: 11px;
    color: #666;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 5px;
    color: #999;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}