@charset "utf-8";
/* CSS Document */

body {
    margin: 0;
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
}
img {
    max-width: 100%;
    height: auto;
    display: block
}

main {
    margin: auto;
    padding: 1rem
}
article {
    flex: 1 1 100%;
    padding: 0;
    min-width: 300px
}
h2 {
    font-size: clamp(1.8rem, 3vw, 1.2rem);
    margin-top: 1.5rem;
    text-align: center;
}
h3 {
    text-align: center;
}
p {
    font-family: yu-mincho-pr6n, MyYuMinchoM, "游明朝", YuMincho, "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
    letter-spacing: .08em;
    line-height: 2;
}

/* section 全体 */
section {
    width: 100%;
    padding: 4rem 1rem;
}
section {
    background: #efd7ca;
}
/* 内側ラッパー */
.section-inner {
    max-width: 640px;
    margin: 0 auto
}
/* メインビジュアル */

section.visual {
    padding: 80px 0 0;
    background-color: #FFF;
}
.visual-inner {
    max-width: 100%;
}
img.visual-img-sp {
    display: none;
}    
/* intro テキスト */

section.intro {
    background-color: #FFF;
    padding: 80px;
}
.intro h1 {
        font-family: yu-mincho-pr6n, MyYuMinchoM, "游明朝", YuMincho, "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "Noto Serif JP", serif;
    line-height: 1.7;
    font-size: 40px;
    text-align: center
}

/* section テキスト */
section p {
    letter-spacing: .08em;
    line-height: 1.8;
    font-size: 14px;
    margin-top: 21px;
}
/* mbox モデル画像 */

.mbox-block .swiper { width: 100%; overflow: hidden; }
.mbox-block .swiper-slide { text-align: center; }
.mbox-block .swiper-slide img {
  width: 100%;
  height: auto;         
  object-fit: contain;  
  display: block;
}
.mbox-block .swiper {
    width: 100%;
    overflow: hidden;
    margin-top: 86px;
}


/* items リスト */
ul.items {
    list-style: none;
    margin: 2rem auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
}
ul.items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 均等配置 */
    gap: 1rem;
}
ul.items li {
    flex: 1 1 calc(33.333% - 1rem); /* 3列レイアウト */
    max-width: 320px;
}
@media (max-width: 768px) {
    ul.items li {
        flex: 1 1 calc(50% - 1rem); /* タブレットは2列 */
    }
}
@media (max-width: 480px) {
    
    section {
    width: 100%;
    padding: 4rem 1rem;
}
    
	
	ul.items {
    width: 80%;
}
	
    ul.items li {
        flex: 1 1 100%; /* スマホは1列 */
    }
}
ul.items li .info {
    box-sizing: border-box;
    height: 100%;
    margin: auto;
    padding-bottom: 40px;
    position: relative;
    width: auto;

    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center;    /* 子要素を中央寄せ */
    text-align: center;     /* テキストも中央揃え */
}
ul.items li h3 {
    color: #036;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-top: 10px;
}
ul.items li p {
    color: #666;
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.3;
    margin-top: 13px;
}
ul.items li .view-btn {
    border: 1px solid #036;
    border-radius: 20px;
    padding: 4px 14px;
    margin-top: 12px;
    font-size: 12px;
    background: #fff;
    color: #036;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
}

ul.items li .view-btn:hover {
    background: #036;
    color: #fff;
}
.mbox-inner {
    max-width: 640px;
    margin: auto;
}

/* 非スライダー用（通常の .mbox-block 内画像） */
.mbox-block:not(.slider) img {
  width: 100%;
  height: auto;
  display: block;
}

.coordinate {
  margin-top: 12px;
  display: flex;
  gap: 6px;        /* 各アイテム間の余白 */
  justify-content: center;
  flex-wrap: wrap;  /* 長い文は折返し可 */
  font-size: 13px;
  text-align: center;
}
.coordinate a {
  color: #333;
  text-decoration: none;
}
.coordinate a:hover {
  text-decoration: underline;
}

/* 必要ならスマホ用の調整 */
@media (max-width: 768px) {
  .coordinate {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}
    
    
/* --- 小型スマホ (〜480px) --- */
@media (max-width: 480px) {
main {
    margin: auto;
    padding: 0;
}


section {
    width: 100%;
    padding: 4rem 0;
}

section p {
    letter-spacing: .08em;
    line-height: 1.8;
    font-size: 13px;
    margin-top: 21px;
    width: 90%;
    margin: 21px auto;
}
    
section.visual {
    padding: 0;
}	
	
	
.visual-inner {
    padding-top: 40px;
  height: 100vh;
  background-color: #fbd9c4;

  display: flex;              /* Flex化 */
  justify-content: center;    /* 横中央 */
  align-items: center;        /* 縦中央 */
  flex-direction: column;     /* 複数画像を縦並びに */
}

.visual-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0; /* ← 初期状態は透明 */
}
    
    
          img.visual-img {
    display: none;
}  
    
  img.visual-img-sp {
    display: block;
}  
    .intro h1 {
    font-size: 22px;
    display: none;
}
    section.intro {
    padding: 24px;
}
    
    
.coordinate {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}


ul.items li {
    flex: 1 1 100%;
    margin: auto;
}
ul.items li .info {
    width: auto;
}
}

/* --- スマホ全般 (481〜768px) --- */
@media (max-width: 768px) and (min-width: 481px) {
main {
    margin: auto;
    padding: 0;
}


section {
    width: 100%;
    padding: 2rem 0;
}
section p {
    letter-spacing: .08em;
    line-height: 1.8;
    font-size: 14px;
    margin-top: 21px;
    width: 90%;
    margin: 21px auto;
}
    
      img.visual-img {
    display: none;
}  
    
  img.visual-img-sp {
    display: block;
}  
    
.coordinate {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
}



ul.items li .info {
    width: auto;
}
    
    
    
}

/* --- タブレット (769〜1024px) --- */
@media (max-width: 1024px) and (min-width: 769px) {
}

 
