@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap");

/*=======================
  TOPページ
==========================*/

body {
  overflow-x: hidden;
}

/*---------------
  メインビジュアル
---------------*/
#mainVisual {
  width: 100%;
  height: calc(105% - 85px);
  top: 0;
  left: 0;
  text-align: left;
  overflow: hidden;
  position: relative;
}

#leftImg,
#rightImg,
#backgroundImg {
  width: 100%;
}

#backgroundImg img {
  width: 90%;
  height: calc(100% + 30px);
  top: 0;
  left: 0;
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
  object-fit: cover;
  animation: fadeIn 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#leftImg img {
  width: 75%;
  height: 95%;
  top: 0;
  left: 0;
  position: absolute;
  clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
  object-fit: cover;
}

#rightImg img {
  width: 51%;
  height: 95%;
  top: 0;
  right: 0;
  position: absolute;
  clip-path: polygon(65% 0, 100% 0, 100% 100%, 0 100%);
  object-fit: cover;
}

#mainVisual .copytext-area {
  font-family: "Arial";
  font-style: italic;
  font-weight: 100;
  color: #fff;
  z-index: 100;
  font-size: 40px;
  bottom: 15%;
  left: 60px;
  position: absolute;
  text-shadow: 3px 3px 6px #808080;
}

#mainVisual .copytext-area h1 {
  margin-bottom: 10px;
}
#mainVisual .copytext-area p {
  font-family: "HGS明朝B";
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
}

/* SCROLL DOWN */
.scroll_down {
  z-index: 1000;
  position: absolute;
  bottom: 100px;
  right: 0;
  padding: 0 50px 0 20px;
  font-size: 1rem;
  height: 200px;
  writing-mode: vertical-lr;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  animation: circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 160px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 160px;
  background: #fff;
}

/*---------------
  TOPセクション
---------------*/

.top-section {
  margin: 0px auto 0 auto;
  overflow: hidden;
}

.top-section-container {
  display: flex;
  justify-content: center;
  margin: 100px auto;
}

.top-section-container-img {
  text-align: center;
  width: 70%;
}

.top-section-container-img img {
  width: 100%;
}

.top-section .text-container {
  padding-top: 30px;
  padding-left: 20px;
}

.top-section .text-container p {
  padding-left: 20px;
}

.top-section .text-container p:first-of-type {
  padding-top: 50px;
}

.top-section .text-container p:not(:first-of-type) {
  padding-top: 5px;
}

/*---------------
  About Us 大和製作所の強み
---------------*/
.about-us-section {
  padding-top: 100px;
  padding-bottom: 170px;
}

.about-us-section .img-size {
  height: 338px;
  width: 100%;
}

.about-us-section .img-size img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about-us-section-left {
  text-align: left;
  padding-right: 0;
}

.about-us-section-right {
  text-align: right;
  padding-left: 0;
}

.about-us-wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
  margin: 0 20px;
}

.about-us-wrapper span.no {
  font-style: italic;
  font-size: 12rem;
  font-weight: 100;
  color: #f7fff6;
  opacity: 0.5;
  font-family: "Didot LT Pro", serif;
  display: inline-block;
  width: 220px;
  text-align: left;
}

.about-us-section .container h3:first-of-type {
  padding-top: 80px;
}

.about-us-section-left p:first-of-type {
  padding-top: 2%;
}

.about-us-section-right h3 {
  padding-right: 3%;
}

.about-us-section-right p:first-of-type {
  padding-top: 2%;
}

.about-us-section-right .button {
  padding-right: 3%;
}

.about-us-container {
  padding: 0;
}

.about-us-section-left {
  padding-right: 10%;
}

.about-us-section-right {
  padding-left: 10%;
}

.about-us-section-left p,
.about-us-section-left .button {
  padding-left: 20px;
}

.about-us-section-right p,
.about-us-section-right .button {
  padding-right: 20px;
}

.about-us-section-right .button-area {
  text-align: right;
}

.about-us-section-left .button-area {
  text-align: left;
}

/*---------------
  Product 製品案内
---------------*/

.product-section .container {
  margin-top: -5px;
  margin-bottom: -5px;
}

.product-section-top {
  /* width: 1520px; */
  width: 100%;
  height: 100px;
  margin: -50px auto 0 auto;
  clip-path: polygon(
    2% 0%,
    98% 0%,
    100% 30%,
    100% 50%,
    100% 100%,
    100% 100%,
    0% 100%,
    0% 30%
  );
}

.product-section-bottom {
  /* width: 1520px; */
  width: 100%;
  height: 100px;
  margin: 0 auto -50px auto;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 30%,
    100% 70%,
    98% 100%,
    30% 100%,
    2% 100%,
    0% 70%
  );
}

.product-section .product-button-wrapper {
  margin-top: 40px;
}

.product-section .products {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 100px 0 0 0;
  margin: 0 auto;
}

.product-button-wrapper {
  text-align: center;
}

.product-section .products {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/*---------------
  ３つ横並びコンテンツ　（TOP・製品紹介）
---------------*/

.material-symbols-outlined {
  width: 30px;
  height: 20px;
  margin-left: 5px;
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

.product-name a {
  text-decoration: none;
  color: #313131;
}

.product-name .product-name-ja {
  margin-top: 18px;
}

.product-name .product-name-en {
  font-size: 0.9rem;
}

.product-wrapper {
  width: 390px;
}

.product-wrapper .product-img {
  overflow: hidden;
}

.product-wrapper .product-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 7 / 5;
  transition: transform 0.3s ease;
}

.product-wrapper:hover .product-img img {
  transform: scale(1.1);
}

.product-wrapper:hover .material-symbols img {
  transform: translateX(10px);
}

.product-section .product-wrapper {
  margin: 0;
  width: 390px;
}

.product-section .border-litegreen {
  display: block;
  width: 1px;
  background-color: #439247;
  height: 400px;
  margin: 0 24px;
  margin-top: 0;
}

.product-button-wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
}

/*---------------
  Factory 工場紹介
---------------*/
.factory-section {
  padding-top: 50px;
}

.factory-section .container {
  margin-top: 50px;
  margin-bottom: 50px;
}

.factory-section .factories {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  padding: 80px 0 0 0;
}

.factory-wrapper {
  width: 390px;
  /* padding-bottom: 100px; */
  padding-top: 50px;
  margin: 0 28px;
}

.factory-section .factory-button-wrapper {
  margin-top: 40px;
}

.factory-wrapper .factory-img {
  overflow: hidden;
}

.factory-wrapper .factory-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 7 / 4;
  transition: transform 0.3s ease;
}

.factory-wrapper:hover .factory-img img {
  transform: scale(1.1);
}

.factory-wrapper:hover .material-symbols img {
  transform: translateX(10px);
}

/* リンクの設定 */
.factory-name a {
  text-decoration: none;
  color: #ffffff;
}

.factory-name .factory-name-ja {
  margin-top: 18px;
}

.factory-name .factory-name-en {
  font-size: 14px;
}

.factory-button-wrapper {
  text-align: center;
}

.factory-section-bottom {
  background: #439247;
  width: 100%;
  margin: 0 auto;
  height: 90px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 30%,
    100% 0%,
    50% 100%,
    30% 100%,
    50% 100%,
    0% 0%
  );
  border-top: 3px solid #439247;
}

.factory-section .factories {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.factory-section .factory-wrapper {
  margin: 0;
  width: 390px;
}

.factory-section .border-litegreen {
  display: block;
  width: 1px;
  background-color: #439247;
  height: 400px;
  margin: 0 28px;
  margin-top: 0;
}

.factory-button-wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
}

.factory-section-bottom-setting {
  height: 90px;
  width: 100%;
  margin: -89px auto 0 auto;
}

/*---------------
  Good Design 受賞・認定
---------------*/

.good-design-section {
  padding-top: 80px;
  padding-bottom: 50px;
  margin-top: 0;
}

.good-design-wrapper {
  width: 100%;
  background-color: #ffffff;
  margin: 15px;
  box-shadow: 7px 7px 10px 1px rgba(0, 0, 0, 0.2);
}

.good-design-wrapper .good-design-img {
  overflow: hidden;
}

.good-design-wrapper .good-design-img img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 7 / 5;
  transition: transform 0.3s ease;
}

.good-design-wrapper .good-design-img:hover img {
  transform: scale(1.1);
}

.good-design-name {
  height: 120px;
  display: flex; /* 要素をフレックスボックスレイアウトにする */
  align-items: center; /* 垂直方向に中央揃えにする */
  padding: 30px 32px;
}

/* リンクの設定 */
.good-design-name a {
  text-decoration: none;
  color: #313131;
}

.good-design-name .good-design-sub-title span {
  margin-top: 18px;
}

.good-design-section .good-designs {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  justify-content: space-between;
  width: 100%;
  padding: 80px 0 0 0;
}

.good-design-button-wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}

/*---------------
  News お知らせ
---------------*/
.news-section {
  padding-top: 100px;
  margin: auto;
}

.news-button-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.news-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 50px auto;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
}

.article-container {
  margin-top: 30px;
}

.article-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px 0;
  position: relative;
}

.article-item h2,
.article-item > div {
  padding-left: 40px;
}

.article-date {
  font-size: 1rem;
  margin-right: 10px;
  display: inline-block;
}

.article-category {
  display: inline-block;
  background-color: #fff;
  color: #4caf50;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 10px;
  font-weight: bold;
}

.article-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  display: block;
  letter-spacing: 1.5px;
}

.article-title a {
  color: #fff;
  text-decoration: none;
}

.article-title a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  padding: 20px;
  font-style: italic;
  color: #fff;
}

.error {
  color: #ffcccc;
  text-align: center;
  padding: 20px;
}

.arrow-icon {
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.more-link a:hover .arrow-icon {
  transform: translateX(10px);
}

/*---------------
  サブセクション
---------------*/
.sub-section {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.sub-section .container {
  height: 500px;
  display: flex;
  justify-content: center;
}

/*---------------
  YouTubeセクション
---------------*/
.youtube-section {
  padding: 0;
  background-color: #78b17b;
  width: 100%;
}

.youtube-section .container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.youtube-wrapper {
  width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.youtude-image-container {
  text-align: center;
}

.youtude-image {
  width: 200px;
  max-width: 100%;
  margin: -20 auto 30px auto;
}

.youtude-image img {
  object-fit: contain;
}

.youtude-movie-container {
  margin: 0 20px;
}

.youtude-movie-container iframe {
  max-width: 500px;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/*---------------
  バナーセクション
---------------*/
.banner-section {
  padding: 0;
  background-color: #c4e1c6;
  width: 100%;
}

.banner-section .container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: auto;
  position: relative;
}

.banner-section .banner-wrapper {
  width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.banner-section .banner-wrapper img {
  height: 121px;
}

.banner-section .banner-wrapper .blog-banner {
  width: 492px;
  margin: 0 auto 40px auto;
}

.banner-section .banner-wrapper .qa-banner {
  width: 492px;
  height: 175px;
  margin: 0 auto;
}

.banner-section .banner-button {
  margin: 0 20px;
}

.banner-section .banner-text {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-left: 14px;
  background-color: #4f6b57;
  color: #ffffff;
  width: 100%;
  height: 54px;
  padding-top: 12px;
}

.banner-section .banner-text::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #445c4b;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}

/* .banner-section .banner-text:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
} */

.banner-section .banner-button:hover .banner-text::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.banner-section .banner-text-wrapper {
  position: relative;
  height: 30px;
}

/* バナー写真の親要素に初期値のプロパティを指定 */
.banner-section .scale-img {
  width: min(100%, 492px);
  margin-inline: auto;
  overflow: hidden;
  cursor: pointer;
}

/* バナー写真の変形時間 */
.banner-section .scale-img img {
  transition: transform 0.5s ease;
}

/* ホバー時、バナー写真の変形後のプロパティ */
/* .banner-section .banner-button:hover .scale-img>img{
    transform: scale(1.3);
} */

.banner-section .banner-button:hover .scale-img > img {
  transform: scale(1.3);
}

/* バナー矢印の親要素に初期値のプロパティを指定 */
.banner-section .banner-arrow {
  width: 40px;
  height: 32px;
  position: absolute;
  top: 70%;
  right: 4%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* バナー矢印の写真の変形時間 */
.banner-section .banner-arrow img {
  object-fit: cover;
  height: auto;
  transition: transform 0.3s ease;
}

/* ホバー時、バナー矢印の変形後のプロパティ */
.banner-section .banner-button:hover .banner-arrow > img {
  transform: translateX(10px);
}

@media (max-width: 900px) {
}

/*=======================
  レスポンシブ
==========================*/
@media (max-width: 1024px) {
  /*---- メインビジュアル ----*/
  .scroll_down {
    display: none;
  }
}

@media (max-width: 960px) {
  /*---- メインビジュアル ----*/
  #mainVisual {
    min-height: 590px;
    height: 60%;
  }

  #mainVisual .copytext-area h1 {
    font-size: 1.2em;
  }

  #mainVisual .copytext-area h3 {
    font-size: 1.5rem;
  }

  /*---- TOPセクション ----*/
  .top-section-container {
    flex-direction: column;
    align-items: center;
  }

  .top-section-container-img {
    width: 100%;
  }

  .top-section-container img {
    width: 100%;
    height: auto;
    max-width: 600px;
    order: -1;
    object-fit: contain;
  }

  .top-section .text-container {
    padding-top: 0px;
  }

  .top-section .text-container p:first-of-type {
    padding-top: 20px;
  }

  /*---- About Us 大和製作所の強み ----*/
  .about-us-section {
    padding-top: 70px;
    padding-bottom: 140px;
  }

  .about-us-section .container h3:first-of-type {
    padding-top: 30px;
  }

  .about-us-section .container h3 {
    padding-top: 60px;
  }

  .about-us-wrapper span.no {
    font-size: 7rem;
    width: 120px;
  }

  .about-us-section-left {
    padding-right: 0px;
  }

  .about-us-section-right {
    text-align: left;
    padding-left: 0px;
  }

  .about-us-section-right,
  .about-us-section-left {
    margin-top: 30px;
  }

  .about-us-section-left p,
  .about-us-section-right p {
    text-align: left;
    padding: 0 10px;
  }

  .about-us-section .img-size {
    height: 260px;
  }

  /*---- Product 製品案内 ----*/
  .product-section .products {
    flex-direction: column;
    gap: 10px;
    padding: 60px 0 0 0;
  }

  .product-section .border-litegreen {
    display: none;
  }

  .product-section .product-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
  }

  .product-wrapper .product-img img {
    aspect-ratio: 7 / 3;
  }

  .product-name .product-name-ja,
  .product-name .product-name-en {
    margin-left: 10px;
  }

  /*---- Factory 工場紹介 ----*/
  .factory-section .factories {
    flex-direction: column;
    gap: 10px;
    padding: 60px 0 0 0;
  }

  .factory-section .border-litegreen {
    display: none;
  }

  .factory-section .factory-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding-top: 0px;
  }

  .factory-section .factory-button-wrapper {
    padding-bottom: 50px;
  }

  .factory-wrapper .factory-img img {
    aspect-ratio: 7 / 3;
  }

  .factory-name .factory-name-ja,
  .factory-name .factory-name-en {
    margin-left: 10px;
  }

  .factory-section-bottom {
    height: 70px;
  }

  .factory-section-bottom-setting {
    height: 70px;
    margin-top: -69px;
  }

  /*---- Good Design 受賞・認定 ----*/
  .good-design-section .good-designs {
    gap: 0px;
    flex-wrap: wrap;
    padding-top: 60px;
  }

  .good-design-section .good-design-wrapper {
    width: 45%;
    max-width: 500px;
    margin: 20px auto;
    padding-top: 0px;
  }

  .good-design-name {
    padding: 20px 12px;
  }

  /*---- お知らせ ----*/
  .news-section {
    padding-top: 70px;
  }

  /*---- サブセクション ----*/
  .sub-section {
    display: block;
    margin-top: 40px;
  }

  .sub-section .container {
    padding: 0 20px;
  }

  /*---- YouTubeセクション ----*/
  .youtube-section {
    margin-bottom: 0;
  }

  .youtube-wrapper {
    width: 100%;
  }

  /*---- バナーセクション ----*/
  .banner-section .banner-wrapper {
    display: flex;
  }

  .sub-section .banner-section .container {
    height: 270px;
    max-width: 700px;
  }

  .banner-section .banner-wrapper .blog-banner,
  .banner-section .banner-wrapper .qa-banner {
    width: 50%;
    height: auto;
    margin: 0 0 12px 0;
  }

  .banner-section .banner-wrapper .scale-img img {
    height: 90px;
  }

  .banner-section .banner-text {
    padding-top: 15px;
  }

  .banner-section .banner-button {
    height: 120px;
  }
}

@media (max-width: 620px) {
  /*---- メインビジュアル ----*/
  #mainVisual {
    height: calc(105% - 75px);
  }

  #leftImg img {
    width: 100%;
    height: 52%;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
  }

  #rightImg img {
    width: 100%;
    height: 52%;
    top: 43%;
    right: 0;
    clip-path: polygon(0% 30%, 100% 0, 100% 100%, 0 100%);
  }

  #backgroundImg img {
    width: 150%;
    height: calc(100% + 20px);
    clip-path: polygon(0 0, 100% 0, 46% 100%, 0 100%);
  }

  #mainVisual .copytext-area {
    bottom: 10%;
    left: 30px;
  }
  #mainVisual .copytext-area h1 {
    font-size: 0.8em;
  }

  /*---- TOPセクション ----*/
  .top-section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 70px auto;
  }

  .top-section-container img {
    width: 90%;
    height: auto;
    order: -1;
    object-fit: contain;
  }

  .top-section .text-container {
    padding-left: 10px;
  }

  .top-section .text-container p {
    padding-left: 10px;
  }

  /*---- About Us 大和製作所の強み ----*/
  .about-us-section .container h3 {
    padding-top: 40px;
  }

  .about-us-wrapper {
    margin: 0 10px;
  }

  .about-us-section .container h3:first-of-type {
    padding-top: 10px;
  }

  .about-us-wrapper span.no {
    font-size: 6rem;
    width: 100px;
    margin-right: -5px;
  }

  .about-us-wrapper .kodawaru {
    letter-spacing: -2px;
  }

  .about-us-containe .button {
    text-align: center;
  }

  .about-us-section-right .button-area,
  .about-us-section-left .button-area {
    text-align: center;
    margin-top: 20px;
  }

  .about-us-section-left {
    padding-right: 0px;
  }

  .about-us-section-right {
    padding-left: 0px;
  }

  .about-us-section-left p,
  .about-us-section-right p {
    text-align: left;
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .about-us-section .img-size {
    height: 200px;
  }

  .about-us-section {
    padding-top: 50px;
    padding-bottom: 120px;
  }

  .product-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .product-section .products {
    padding: 40px 0 0 0;
  }

  .product-section-top {
    height: 60px;
    margin: -50px auto -10px auto;
  }

  .product-section-bottom {
    height: 60px;
    margin: -10px auto -50px auto;
  }

  .product-section .product-button-wrapper {
    margin-top: 20px;
  }

  .factory-section .factories {
    padding: 40px 0 0 0;
  }

  .factory-section .factory-button-wrapper {
    margin-top: 20px;
  }

  .factory-section-bottom {
    height: 50px;
  }

  .factory-section-bottom-setting {
    height: 50px;
    margin-top: -49px;
  }

  .good-design-section .good-designs {
    padding-top: 30px;
  }

  .good-design-section .good-design-wrapper {
    width: 100%;
    max-width: 350px;
  }
  .good-design-wrapper .good-design-img img {
    aspect-ratio: 7 / 4;
  }

  .good-design-name {
    height: 60px;
  }

  .good-design-button-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .news-section {
    padding-top: 50px;
  }

  .news-button-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .sub-section .container {
    height: 400px;
  }

  .youtude-image {
    margin: -5px auto 30px auto;
  }

  .youtude-image img {
    object-fit: cover;
    width: 150px;
  }

  .youtude-movie-container iframe {
    max-width: 440px;
  }

  .banner-section .banner-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .sub-section .banner-section .container {
    height: 380px;
    max-width: 400px;
  }

  .banner-section .banner-wrapper .blog-banner,
  .banner-section .banner-wrapper .qa-banner {
    width: 100%;
  }

  .banner-section .banner-text {
    height: 40px;
    padding-top: 9px;
  }
}

@media (max-width: 480px) {
  /*---- TOPセクション ----*/
  .top-section-container {
    padding: 0px;
  }

  .top-section-container img {
    width: 96%;
  }

  .top-section .text-container p:first-of-type {
    padding-top: 10px;
  }

  .about-us-section {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .about-us-wrapper {
    margin: 0 4px;
  }

  .about-us-wrapper span.no {
    font-size: 3.8rem;
    width: 70px;
  }

  .about-us-section .img-size {
    height: 150px;
  }

  .product-section .products {
    padding: 30px 0 0 0;
  }

  .product-section .product-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
  }

  .factory-section-bottom {
    height: 40px;
  }

  .factory-section-bottom-setting {
    height: 40px;
    margin-top: -39px;
  }

  /*---- お知らせ ----*/
  .article-title {
    font-size: 1.4rem;
  }

  .article-item {
    padding: 15px 0;
  }

  .article-item h2,
  .article-item > div {
    padding-left: 20px;
  }

  .youtude-movie-container iframe {
    max-width: 320px;
  }

  .sub-section .container {
    height: 330px;
  }

  .youtude-image {
    margin: -5px auto 20px auto;
  }
}

@media (max-width: 400px) {
  .sub-section .container {
    height: 290px;
  }
}
