* {
margin:0;
padding:0;
font: normal 100% Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
word-spacing:-2px;
}

html {
  overflow-y: scroll;
}

html, body {
  overflow-x: hidden;
  font: normal 100% Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
  text-align: center;
  font-size: 1rem;
}

.main {
  background-color: #fff;
  margin: 0 auto;       /* 上下・左右中央揃え */
  padding: 0 1em;       /* 内側の余白 */
  box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 軽めのシャドウ */
  border-radius: 8px;     /* 角を少し丸める */
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding: 0 ; /* スマホでの左右余白を確保 */
}


p {
padding:0.3em 0;
line-height: 150%;
}

img {
display: block;
border: none;
margin-left: auto;
margin-right: auto;
max-width: 100%;
height: auto;
}
h1.policy {
padding:50px 0;
font-size:20pt;
}
h2 img{
margin-left: 0;
margin-right: auto;
}

ul {
list-style:none;
}

main {
	display: flex;
	background-color: #fff;
}



.footer {
  background-color: #e1ffb5;
  color: #000;
  font-size: 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media screen and (max-width: 899px) {
  .footer {
    font-size: 16px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto; /* 高さを固定せず中身に合わせる */
  text-align: center;
  gap: 0.5em;
  padding: 1em; /* スマホで余白確保 */
  word-break: break-word; /* 長い単語でも折り返す */
  width: 100%;
  box-sizing: border-box; /* padding込みで100% */
}


.footer a {
  color: #000;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer img {
  display: block;
  margin: 0 auto;
}

/* === 基本構造 === */
.header {
  background-color: #e1ffb5;
  color: #000;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-inner {
  height: 70px;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-title {
	max-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.header-logo {
	max-height:70px;
  width: auto;
  margin: 0;
}

/* === ナビゲーション（共通） === */
.header-nav {
  position: absolute;
  top: 70px;
  right: 0;
  width: 100%;
  background-color: #e1ffb5;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 998;
}

.header-nav.active {
  transform: translateX(0);
}

.nav-items {
  padding: 20px 0;
  list-style: none;
  text-align: center;
}

.nav-item {
  margin-bottom: 15px;
}

.nav-menu {
  display: block;
  width: 200px; /* スマホでも適正な幅 */
  height: 60px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: 100% 120px; /* 全体サイズは120px */
  background-position: 0 0;
}
.nav-menu:hover {
  background-position: 0 -60px;
}

/* 画像の指定 */
#nav-1 { background-image: url('img/menu_maintopic.png'); }
#nav-2 { background-image: url('img/menu_about.png'); }
#nav-3 { background-image: url('img/menu_faq.png'); }
#nav-4 { background-image: url('img/menu_contact.png'); }

/* アクセシビリティ用 */
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* サブリンク */
.nav-sub {
  display: none;
}

.nav-sub a {
  text-decoration: underline;
  color: red;
  font-size: 1.1em;
}

/* Xロゴ */
.nav-logo-x {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 5px;
}

/* === ハンバーガー === */
.header-hamburger {
  display: block;
  position: absolute;
  top: 10px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  z-index: 1000;
}

.header-hamburger span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background-color: #000;
  transition: all 0.4s ease;
}

.header-hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.header-hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* === PC表示用 === */
@media screen and (min-width: 900px) {
  .header-nav {
	  margin-top: 10px;
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: inherit;
    height: 70px;
    width: auto;
  }

  .nav-items {
    display: flex;
    gap: 1.5em;
    padding: 0;
    margin: 0;
    text-align: left;
  }

	.nav-item {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  height: 70px;
	}

	.nav-menu {
	  width: 200px;
	  height: 60px;
	  background-repeat: no-repeat;
	  background-size: 100% 120px;
	  background-position: 0 0;
	  margin-top: 5px;
	  margin-bottom: 5px;
	}

  .nav-menu:hover {
    background-position: 0 -60px;
  }
  .nav-menu:hover {
    background-position: 0 -60px;
  }

	.nav-logo-x {
	  display: block;
	  width: 60px;
	  height: 60px;
	  object-fit: contain;
	}
  .nav-sub {
    display: none;
  }

  .header-hamburger {
    display: none;
  }

}

/* === スマホ表示用 === */
@media screen and (max-width: 899px) {
  .nav-sub {
    display: block;
    margin-bottom: 10px;
  }
}


/* その他レイアウト */
#top {
padding-top: 80px;
}
#top p span{
font-weight:bold;
}

h2{
font-size: 1.6em;
}
h3, h4{
padding: 0;
font-size: 1.6em;
color: #000055;
font-weight:bold;
}


.indent {
padding: 1em 100px 1em 100px;
}
.contents {
	padding: 1.5em 0.25em;
  scroll-margin-top: 85px; /* ヘッダーの高さに応じて調整 */
}

.first-indent {
width: 100%;
text-indent: 0.5em;
}


.head {
padding:50px 0 0 0;
}

span.head {
font-weight:bold;
color: #000055;
}
span.bold {
font-weight:bold;
}
span.strong {
font-weight:bold;
font-size:120%;
color: red;
}

blockquote {
position: relative;
padding: 10px 15px 10px 50px;
box-sizing: border-box;
font-style: italic;
border: solid 2px #464646;
color: #464646;
background-color: #F1E2BE
}
footer {
padding: 1.5em 4em;
}

footer dt{
padding: 0 0 0 350px;
float:left;
}
footer dl{
display: flex;
flex-wrap: wrap;
}
footer dl, footer dd{
padding:0 1.1em;
}

footer dd a{
color: #fff;
}


@media screen and (max-width: 768px){
.instagram-media{
max-width: 600px !important;;
min-width: 100% !important;
margin: 0 -1px !important;
border-right: none !important;
border-left: none !important;
}
}

/*
index.html
*/
.top-introduction-container {
  display: flex;
  justify-content: space-between; /* 左右に配置 */
}

.top-introduction-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  gap: 10px;
}

.top-introduction-left {
  width: 68%;
}
.top-introduction-left div {
  padding: 1em 0;
}

.top-introduction-hara {
  width: 30%;
}
img.top-introduction {
  width: 100%;
  height: 100%;
}



#maintopic {
	padding: 50px 0 20px 0;
  font-size: 1rem;
}

.maintopic-title img {
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto 50px;
}

.maintopic-grid {
  width: 100%;
  max-width: 600px;
  padding: 0 10px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-rows: 90px 90px;
  gap: 10px;
  box-sizing: border-box;
}



.maintopic-center {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* スプライトリンク */
.maintopic-link {
  width: 100%;
  height: 90px;
  background-size: 100% 180px;
  background-position: 0 0;
  background-repeat: no-repeat;
  display: block;
  text-indent: -9999px;
}
.maintopic-link:hover {
  background-position: 0 -90px;
}

.maintopic-center img {
  width: 80%;
  max-width: 125px;
  height: auto;
}

/* 個別画像指定 */
#top-topic1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background-image: url("img/top_maintopic1.png");
}
#top-topic2 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background-image: url("img/top_maintopic2.png");
}
#top-topic3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background-image: url("img/top_maintopic3.png");
}
#top-topic4 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  background-image: url("img/top_maintopic4.png");
}

/*
topic
*/
/* キャプション */
.caption {
  text-align: left;
  font-size: 0.95rem;
  padding-top: 0.5em;
}

/* 各 topic セクション */
.topic-block {
  margin-bottom: 2em;
}

.topic-block h3 {
  margin-bottom: 1em;
}

/* トピック全体：PCは横並び・モバイルは縦 */
.topic {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 上端揃え */
  gap: 1.5em;
  flex-wrap: wrap;
  padding: 1em;
}



/* 左側テキスト */
.topic-text {
  flex: 1 1 0;
  max-width: 550px;
}

/* テキスト内段落 */
.textblock p {
  margin-bottom: 1em;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* 右側画像 */
.topic-pict {
  flex: 0 0 auto;
  width: 245px;
}

/* 画像自体 */
.topic-pict-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top; /* 念のため */
}

/* --- モバイル（幅が狭い）時は画像を下に移動 --- */
@media screen and (max-width: 600px) {
  .topic {
    flex-direction: column;
  }

  .topic-text {
    max-width: 100%;
  }

  .topic-pict {
    width: 100%;
    margin-top: 1em;
  }

  .topic-pict-img {
    width: 100%;
    height: auto;
  }
}


/*
about
*/

/* セクション構成 */
.about-section,
.about-gallery,
.about-soil {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* タイトル画像調整 */
.topic-title,
.about-subtitle {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 1rem;
}

/* 見出し画像 */
.about-hara {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 2rem;
}

/* 情報欄 (dt/dd 非表示) */
.about-info dt,
.about-info dd {
  display: none;
}

/* Google Map リンク */
.googlemaplink {
  font-size: 0.9rem;
  text-align: right;
  margin-top: 0.5rem;
}

.googlemap {
  box-sizing: border-box;
  width: 100%;
  height: 500px;
  flex: none;
  margin: 0 auto;
  padding: 1em
}

.googlemap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}


/* テキストブロック */
.textblock {
  font-size: 1rem;
  line-height: 1.7;
}

/* ギャラリー：3列横並び、画像に余白なし・角丸なし */
.about-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem;
}

.about-pictlist {
  flex: 1 1 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
}

.about-listpict {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border: none;
  border-radius: 0;
}

/* 土のやわらかさセクション */
/* 要素を縦並びに変更 */
.about-content {
  display: block; /* 横並びをやめて縦配置 */
  text-align: left;
  margin-top: 1rem;
}



/* YouTube動画の調整 */
.video-container {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto 0 ;
  position: relative;
}

.video-container iframe {
  width: 100%;
  height: 337.5px; /* 600px の幅に対する 16:9 比率 */
  display: block;
}


/* レスポンシブ対応（小さい画面では幅を調整） */
@media screen and (max-width: 768px) {
  .video-container {
    max-width: 100%; /* 画面幅に応じて縮小 */
  }
}


/* 小文字テキスト */
.textblock .small {
  font-size: 0.85rem;
  color: #444;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-gallery {
    flex-direction: column;
  }

  .about-pictlist {
    max-width: 100%;
  }
}


/*
QandA
*/
/* 視覚的に非表示（スクリーンリーダー用） */
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  border: 0;
}

/* ◆qandaページ */
.qanda-question {
  border: 3px dotted #33aa00;
  padding: 5px;
  margin: 10px 0 10px 10px;
}

.qanda-answer {
  border: 1px solid #33aa00;
  padding: 5px;
  margin: 0 0 10px 10px;
}

.qanda-answer dl {
  margin-left: 20px;
}

.qanda-answer dt,
.qanda-answer dd {
  padding: 5px;
  margin-left: 0;
}

.qanda-answer dt {
  font-weight: normal;
}

.smalllink{
font-size: x-small;
}

* {
/*
  outline: 1px solid red;
*/
}


.right{
text-align: right;
}

/* プライバシーポリシーページ用の余白調整 */
.page-policy {
  padding-left: 1.5em;
  padding-right: 1.5em;
  box-sizing: border-box; /* ← これを追加してはみ出しを防ぐ */
}

/* スマホ表示の時の余白調整（必要に応じて） */
@media screen and (max-width: 899px) {
  .page-policy {
    padding-left: 1em;
    padding-right: 1em;
  }
}