@charset "UTF-8";
html {
  -webkit-text-size-adjust: 100%;
}

html {
  font-family: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  text-align: center;
}

#container {
  position: relative;
}

section.section_container {
  margin-bottom: 80px;
  padding: 0 1rem;
}

.section_body {
  margin: 40px 0;
}

a {
  text-decoration: none;
  color: #0d6e2e;
}
a:hover {
  color: hsl(9, 100%, 64%);
}

h2 {
  font-size: 3rem;
}

.inline_block {
  display: inline-block;
}

.subtitle {
  font-size: 1.8rem;
}

header {
  width: 100%;
  height: 92px;
  padding: 0 7.8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid hsl(9, 100%, 64%);
}
@media screen and (max-width: 700px) {
  header {
    padding: 0;
    flex-direction: column;
  }
}
header h1 {
  font-size: 2.3rem;
}
header nav {
  font-size: clamp(1.1rem, 1.2vw, 1.5rem);
}
header nav ul {
  display: flex;
  justify-content: end;
  gap: 2vw;
}
@media screen and (max-width: 700px) {
  header nav ul {
    justify-content: center;
    padding-bottom: 10px;
  }
}
header nav ul li {
  list-style: none;
  white-space: nowrap;
}

main {
  width: 100%;
}

#home {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#home div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: hsl(0, 0%, 98%);
  line-height: 1.1;
  text-shadow: 0 0 4px hsl(0, 0%, 50%);
}
#home div .from_tomosan_farm {
  font-size: clamp(3rem, 20vw, 6rem);
  font-weight: 800;
}
#home div .to_family {
  font-size: clamp(1rem, 9vw, 2.5rem);
  font-weight: 600;
}
#home div .green {
  color: hsl(142, 69%, 58%);
}

#news .news_body {
  height: 200px;
  overflow-y: scroll;
}
#news table {
  margin: 0 auto;
  border-spacing: 20px;
}

#products {
  width: 100%;
}
#products .green_title {
  color: #0d6e2e;
}

#product_cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
#product_cards .card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  gap: 1rem;
  flex-wrap: nowrap;
  word-break: break-word;
}
#product_cards .card .image_photo {
  flex: 0 0 38%;
  max-width: 38%;
  min-width: 0;
  flex-shrink: 0;
}
#product_cards .card .image_photo img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
@supports not (aspect-ratio: 4/3) {
  #product_cards .card .image_photo {
    height: 100%;
  }
}
#product_cards .card .product_features {
  width: 60%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
#product_cards .card h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  margin-bottom: 0.3em;
  line-height: 1.3;
  font-weight: 700;
  color: #333;
}
#product_cards .card p {
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  line-height: 1.6;
  margin-bottom: 0.8em;
  word-break: keep-all;
  color: #333;
}
#product_cards .card .buy_product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5em;
  width: 100%;
}
#product_cards .card .buy_product .price {
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 600;
  color: #0d6e2e;
  flex-shrink: 0;
  white-space: nowrap;
}
#product_cards .card .buy_product .buy {
  display: inline-block;
  background-color: #0d6e2e;
  color: #fff;
  padding: 0.4em 1em;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}
#product_cards .card .buy_product .buy:hover {
  background-color: #0d6e2e;
}

/*タブレット対応*/
@media (max-width: 1024px) and (min-width: 601px) {
  #product_cards .card {
    flex-direction: column;
  }
  #product_cards .card .image_photo,
  #product_cards .card .product_features {
    width: 100%;
    max-width: 100%;
  }
}
/*スマホ対応（iPhone　SEなど）*/
@media (max-width: 600px) {
  #product_cards .card {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0.8rem;
  }
  #product_cards .card .image_photo,
  #product_cards .card .product_features {
    width: 100%;
    max-width: 100%;
  }
  #product_cards .card .image_photo img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  #product_cards .card .product_features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #product_cards .card .buy_product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.3rem;
    width: 100%;
  }
  #product_cards .card .buy_product .price {
    white-space: normal;
    flex: none;
    line-height: 1.3;
    font-size: 1rem;
  }
  #product_cards .card .buy_product .buy {
    display: inline-block;
    align-self: flex-end;
    font-size: 0.95rem;
    padding: 0.3em 0.8em;
    flex: none;
  }
}
#video .video_container h2 {
  font-size: 1.5rem;
}

#main-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.9rem;
}

#footer {
  position: relative;
  margin: 0;
  padding: 0;
  padding-bottom: 40px;
  padding-top: 10px;
  background-color: hsl(36, 45%, 61%);
  border-top: #0d6e2e 5px solid;
}
#footer img {
  position: absolute;
  top: -65px;
  right: 0;
  left: 0;
  margin: auto;
  width: 60px;
  height: 60px;
}
#footer small {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}
#footer small .table {
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#footer small .table .table_row {
  display: flex;
}
#footer small .table .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
#footer small .table .table_title {
  text-align: center;
}
#footer small .table .table_title h2 {
  font-size: 2rem;
}
#footer small .table .th {
  text-align: right;
  margin: 0;
  padding: 2px 3px;
}
#footer small .table .td {
  text-align: left;
  padding: 2px 3px;
}

/*# sourceMappingURL=style.css.map */
