:root {
  --ink: #27343a;
  --text: #516067;
  --muted: #89969c;
  --line: #8fd3e7;
  --accent: #79a7b7;
  --accent-dark: #6898aa;
  --accent-light: #1489ad;
  --pale: #effcff;
  --white: #fff;
  --content: 1200px;
  --gutter: clamp(22px, 7vw, 140px);
  --sans: "Zen Kaku Gothic New", sans-serif;
  --serif: "Shippori Mincho", serif;
}

* {
  box-sizing: border-box;
}

html {
  /* scroll-behavior: smooth; */
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.9;
  letter-spacing: 1px;
  box-sizing: border-box;
  overflow-x: hidden;
}

main {
  display: block;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  filter: opacity(0.7);
}

.article .postCont a {
  color: #1388ad;
  text-decoration: underline;
}

.cont {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content);
}

hr {
  margin: 2rem 0;
  border: none;
  border-bottom: 1px solid #aaa;
}

.center {
  text-align: center;
}

.serif {
  font-family: var(--serif);
}

.section-pad {
  padding: clamp(60px, 7vw, 140px) 0;
}

.news-sec .cont {
  display: grid;
  grid-template-columns: minmax(100px, 30%) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 50px);
}

.section-heading {
  align-self: center;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
}

h1 {
  font-size: clamp(28px, 2.05vw, 40px);
}

h2 {
  font-size: clamp(27px, 1.95vw, 36px);
  font-family: var(--serif);
  margin-bottom: 2rem;
}

h2 span.en {
  display: flex;
  font-size: clamp(14px, 1.0vw, 18px);
  position: relative;
  align-items: center;
  gap: 4px;
}

.postCont h2 {
  width: fit-content;
  margin: auto;
  margin-bottom: 4rem;
}

h2 span.en::before,
.postCont h2::before {
  position: relative;
  display: block;
  width: 36px;
  height: 30px;
  top: 0;
  left: 0;
  content: "";
  background: url(../image/headline.svg) no-repeat;
  background-size: contain;
  background-position: center;
}

.postCont h2::before {
  left: calc(50% - 18px);
}

h2.center span.en {
  width: fit-content;
  margin: auto;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

p {
  margin: 0;
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  margin: 2rem 0;
  padding: 1rem 50px;
  border: 1px solid #38a8cd;
  color: var(--accent-light);
  font-size: clamp(12px, 1vw, 14px);
  background: rgba(255, 255, 255, 0.54);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
}

.line-button::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 4%;
  display: flex;
  width: 40px;
  height: 100%;
  background: url(../image/arrow.svg) no-repeat;
  background-size: contain;
  background-position: center;
  transition: all 0.3s;
}

.line-button:hover {
  color: #fff;
  background: var(--accent-light);
  filter: initial;
}

.line-button:hover::after {
  right: 0%;
  background-image: url(../image/arrow2.svg);
}

/*animation*/
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.3s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.fadeUpTrigger {
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blur {
  animation-name: blurAnime;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger {
  opacity: 0;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

/*header*/
header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  align-items: stretch;
  width: 100%;
  height: 75px;
  background: #ffffffe3;
  color: #38484f;
  transition: all 0.3s;
}

header.fixed_header {
  background: #ffffffc9;
  box-shadow: 0 0px 3px #c3c3c3;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  padding-left: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: 2rem;
  white-space: nowrap;
  position: relative;
  z-index: 200;
}

.brand span {
  font-size: 0.74em;
}

.brand strong {
  font-weight: 400;
  font-size: 1.38em;
}

.global-nav {
  display: flex;
  gap: 0.5rem;
  height: 100%;
}

#g-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 28px;
  font-family: var(--serif);
  white-space: nowrap;
  height: 100%;
  margin: 0;
}

#g-nav a {
  transition: color 0.2s ease;
}

#g-nav a:hover {
  color: var(--accent-dark);
}

header .openbtn {
  display: none;
}

.header-actions {
  display: flex;
}

.header-action {
  display: grid;
  place-items: center;
  width: 75px;
  padding: 12px 5px 5px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  line-height: 1.0;
  text-align: center;
  font-weight: 500;
  white-space: nowrap
}

.header-action.catalog {
  background: #f08f22;
}

.header-action.tel {
  background: #254096;
}

.header-action.contact {
  background: #00a6c9;
}

.action-icon {
  display: block;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
}

/*MV*/
.hero {
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

.mv_slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}

.swiper-slide img {
  height: auto;
  width: 100%;
}

.swiper-img {
  width: 100%;
  height: 100%;
}

.hero img,
.footer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero img {
  object-position: center center;
}

.swiper-pagination-bullet-active {
  background: var(--accent-light)
}

/*TOP NEWS*/
.news-sec {
  padding-top: clamp(60px, 8vw, 150px);
  padding-bottom: clamp(60px, 8vw, 150px);
}

.news-panel {
  padding: clamp(42px, 5vw, 70px) clamp(42px, 6vw, 78px);
  background: url(../image/bg_blue1.jpg) no-repeat;
  background-size: cover;
}

.news-item {
  border-bottom: 1px solid rgba(118, 177, 194, 0.36);
  font-family: var(--serif);
  position: relative;
  padding: 0.8rem 0;
}

.news-item::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 0%;
  display: flex;
  width: 60px;
  height: 65%;
  background: url(../image/arrow.svg) no-repeat;
  background-size: contain;
  background-position: center;
  transition: all 0.2s;
}

.news-item:hover::after {
  right: 0%;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 0.6rem;
  font-family: var(--serif);
}

.news-meta span {
  position: relative;
  padding-left: 10px;
}

.news-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: #9cadb2;
  transform: translateY(-50%);
}

.news-item a {
  min-width: 0;
  color: #1388ad;
  text-decoration: none;
  padding-right: 60px;
}

.about-sec {
  padding: 2rem 0;
}

.about-sec .cont {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(50%, 50%);
  gap: clamp(20px, 3vw, 50px);
  align-items: flex-start;
  position: relative;
}

.about-media {
  position: relative;
  /* margin-left: calc(100% - 50vw); */
  width: auto;
  height: 100%;
  margin-left: -50%;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  padding-top: 2rem;
}

.about-copy p,
.story-sec p {
  margin: 2rem 0;
  line-height: 2.2;
}

.story-sec {
  padding-bottom: 10%;
  text-align: center;
}

.story-sec .cont {
  max-width: 650px;
}

.story-sec .cont p {
  margin-bottom: 2rem;
}

.story-mark {
  width: min(300px, 56vw);
  margin: clamp(48px, 5vw, 72px) auto 0;
}

.wide-photo {
  aspect-ratio: 3 / 1;
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

/*ギャラリー*/
.gallery_top {
  width: 100%;
  max-width: 1500px;
}

.gallery_top .modula-gallery .modula-item:nth-child(1) {
  margin-left: -5%;
}

.gallery_top .modula-gallery .modula-item:nth-child(2) {
  padding: 2rem;
}

.gallery_top .modula-gallery .modula-item:nth-child(3) {
  margin-top: 5%;
}

.gallery_top .modula-gallery .modula-item:nth-child(4) {}

.gallery_top .modula-gallery .modula-item:nth-child(5) {}

.gallery_top .modula-gallery .modula-item:nth-child(6) {
  margin-top: 8%;
}

.gallery_top .modula-gallery .modula-item:nth-child(7) {
  padding: 1rem;
}

.gallery_top .modula-gallery .modula-item:nth-child(8) {}

.gallery_top .modula-gallery .modula-item:nth-child(9) {
  padding: 1rem;
  margin-left: -5%;
}

.gallery_top .modula-gallery .modula-item:nth-child(10) {
  margin-left: 4%;
}

.gallery_top .modula-gallery .modula-item:nth-child(11) {
  margin-left: -5%;
}

.gallery_top .modula-gallery .modula-item:nth-child(12) {
  margin-top: 5%;
}

/* Modula + simpleParallax.js */
.modula-gallery .modula-item {
  overflow: hidden;
}

.modula-gallery .modula-item-content {
  overflow: hidden;
}

.modula-gallery .simpleParallax {
  width: 100%;
  height: 100%;
}

.modula-gallery .simpleParallax img {
  display: block;
  width: 100%;
  height: 100%;
}

/* アニメーション軽減設定 */
/* @media (prefers-reduced-motion: reduce) {
    .modula-gallery .simpleParallax img {
        transform: none !important;
    }
} */
.products-sec {
  overflow: hidden;
  padding-top: clamp(108px, 8vw, 146px);
  padding-bottom: clamp(112px, 10vw, 180px);
  background: url(../image/bg_gray.jpg) no-repeat;
  background-size: cover;
}

.products-sec .cont {
  max-width: 1800px;
}

.product-row {
  /* width: 130%; */
}

.product-row .grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.products-head {
  align-items: center;
  display: flex;
  gap: 5vw;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 5%;
}

.products-head .line-button {
  justify-self: start;
  margin-top: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  background: #fff;
  box-shadow: 0 10px 22px rgba(80, 112, 124, 0.14);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.product-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--accent-dark);
  color: var(--white);
  font-size: 18px;
  font-family: 'Shippori Mincho';
  position: relative;
}

.product-name::after {
  content: "";
  display: flex;
  width: 50px;
  height: 100%;
  background: url(../image/arrow2.svg) no-repeat;
  background-size: contain;
  background-position: center;
  transition: all 0.3s;
  position: absolute;
  right: 5%;
}

.product-card:hover .product-name::after {
  margin-right: -3%;
}

.swiper-button-prev,
.swiper-button-next {
  background: #79a8b78f;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: var(--white);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
}

.swiper-button-prev {
  left: -1.5rem;
}

.swiper-button-next {
  right: -1.5rem;
}

.market-links {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 5vw, 76px);
  margin-top: clamp(62px, 6vw, 94px);
}

.market-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 405px);
  min-height: 64px;
  padding: 10px 52px;
  border: 1px solid #8a969b;
  background: rgba(255, 255, 255, 0.88);
  color: #535d61;
  font-weight: 500;
  font-size: 20px;
  gap: 5px;
}

.market-links strong {
  margin-right: 12px;
  color: #111;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
  text-decoration: underline;
}

.gallery-sec {
  padding-top: clamp(112px, 10vw, 184px);
  text-align: center;
}

.gallery-sec h2 {
  margin-bottom: clamp(88px, 9vw, 154px);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  padding: 2rem;
  background:
    linear-gradient(rgba(229, 251, 255, 0.78), rgba(229, 251, 255, 0.78)),
    url("../image/contact-pattern.webp") center / cover;
  box-shadow: 0 5px 16px rgba(78, 128, 145, 0.16);
}

.contact-card .contact-card__inner {
  padding: 2rem;
  text-align: center;
}

.contact-card .contact-card__inner+.contact-card__inner {
  border-left: 1px solid var(--line);
}

.contact-card h2 {
  font-size: clamp(25px, 1.7vw, 34px);
}

.contact-card p {
  margin: 2rem 0 0;
  font-family: var(--sans);
  line-height: 2;
}

.contact-card .line-button span {
  margin-right: 10px;
  display: inline-flex;
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-buttons a {
  margin-bottom: 0;
  height: 55px;
}

.contact-buttons small {
  display: block;
  margin: 0.5rem 0;
}

.contact-card .line-button:hover svg path {
  fill: var(--white);
}

.contact-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 15px;
  color: #5c6b70;
  font-family: var(--sans);
  ;
  font-size: 12px;
}

.footer-photo {
  height: min(539px, 28.1vw);
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
}

.footer-photo img {
  object-position: center 48%;
}

.site-footer {
  background: #79a7b7;
  color: var(--white);
  font-family: var(--sans);
  ;
}

.footer-inner {
  display: flex;
  gap: 40px;
  width: min(90%, 1400px);
  margin: 0 auto;
  padding: 60px 0;
  justify-content: space-between;
  align-items: end;
}

.footer-brand {
  margin-bottom: 30px;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
}

.footer-brand span {
  font-size: 13px;
}

address {
  font-style: normal;
  line-height: 2;
}

.footer-nav {}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  white-space: nowrap;
  font-size: 12px;
}

.copyright {
  grid-column: 2;
  justify-self: end;
  margin-top: 36px;
  font-size: 12px;
}

/*page ページ*/
.sv {
  margin-top: 70px;
  background-image: url(../image/bg_page.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: end;
  height: 30vh;
  padding-bottom: 3rem;
}

.sv .cont {
  max-width: 1400px;
}

.sv h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 48px);
  text-transform: capitalize;
  color: #061C72;
  letter-spacing: 4px;
}

.sv h1 small {
  display: block;
  font-size: clamp(15px, 1.2vw, 20px);
  letter-spacing: 2px;
}

.breadcrumbs {
  width: 90%;
  margin: 2rem auto 4rem;
  max-width: 1400px;
}

.breadcrumbs ul {
  margin-left: auto;
  width: fit-content;
}

.breadcrumbs ul li {
  display: inline-block;
  padding: 0 5px;
  font-size: 12px;
}

.article {
  min-height: 60vh;
  padding-bottom: 15%;
}

.postCont .wp-block-paragraph {
  margin-bottom: 1.0rem;
  padding-top:1rem;
}

.postCont .wp-block-table {
  border: none;
}

.postCont .wp-block-table td,
.postCont .wp-block-table th {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 1rem;
}

.postCont .wp-block-table tr td:first-child {
  border-bottom: 1px solid #777;
  text-align: center;
  min-width: 150px;
}

.fullcover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  aspect-ratio: 3 / 1;
  height: auto;
  min-height: auto !important;
}

/*ページネーション*/
.pagination {
  text-align: center;
}

.page-numbers {
  font-weight: 500;
  color: var(--accent-dark);
}

.page-numbers:not(.dots, .next, .prev) {
  padding: 2px 10px 4px;
  background: #fff;
  border: 1px solid var(--accent-dark);
}

.page-numbers.current,
.page-numbers:not(.dots, .next, .prev):hover {
  background: var(--accent-dark);
  color: #fff;
}

/*会社案内*/
#strength {
  position: relative;
}

#strength h2 {
  margin-left: 0;
}

#strength h2::before {
  display: none;
}

#strength .media {
  position: relative;
  min-width: 50%;
  left: 5%;
}

#strength .media::after {
  width: 110%;
  height: auto;
  aspect-ratio: 4 / 3;
  content: "";
  position: absolute;
  background: var(--accent);
  z-index: -1;
  opacity: 0.4;
  top: 25%;
  right: -25%;
}

#strength .media .simpleParallax:has(.image1) {
  position: relative;
  width: 85%;
}

#strength .media .simpleParallax:has(.image2) {
  position: absolute;
  bottom: 8%;
  left: 40%;
  width: 70%;
}

#gallery-work .modula-item:nth-child(odd) {
  margin-top: 2%;
}

#gallery-work .modula-item:nth-child(even) {
  margin-top: -1%;
}

#profile {
  width: 110%;
  margin-left: -5%;
  margin-right: -5%;
  padding: 2rem 0;
  max-width: 97vw;
  gap: 2rem;
}

#profile h2::before {
  display: none;
}

#profile .wp-block-media-text__content {
  padding: 0;
}

#profile .wp-block-media-text__media {
  width: 110%;
  margin-left: -10%;
}

/*商品紹介*/
.product-cats {
  padding: 4rem 0;
}

.catList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 1rem;
}

.catList .line-button {
  width: 100%;
  min-width: auto;
  padding: 1rem;
  min-height: auto;
}

.catList .line-button::after {
  display: none;
}

.catList .is-active .line-button {
  color: #fff;
  background: var(--accent-light);
  filter: initial;
}

.product-items {
  padding: 4rem 0;
}

.product-items:not(.is-active) {
  display: none;
}

.itemList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 2rem;
  margin: 4rem 0;
}

.itemList .item {
  width: 100%;
  height: 100%;
}

.itemList .item .image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

.itemList .item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.itemList .item .itemMeta {
  margin-top: 0.5rem;
}

.itemCode {
  color: var(--accent);
}

/*切子について*/
#typeList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

#typeList .wp-block-button__link {
  text-decoration: none;
  border-width: 1px;
  font-family: var(--serif);
}

#typeList .wp-block-button__link:hover {
  color: #fff;
  background: var(--accent-light);
  filter: initial;
}

.explan .wp-block-media-text {
  margin-top: 2rem;
}

.explan .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  align-self: flex-start;
}

.explan h3 {
  display: flex;
  padding: 0.1rem 0.6rem;
  color: var(--accent-light);
  font-weight: 500;
  font-family: var(--serif);
  font-size: clamp(20px, 1.5rem, 36px);
  border-left: 4px solid;
}

.explan h3 em {
  position: relative;
  font-size: clamp(10px, 0.8rem, 16px);
  font-style: normal;
  display: flex;
  align-items: center;
  left: -1rem;
  gap: 0.4rem;
}

.explan h3 em::before,
.explan h3 em::after {
  content: "";
  position: relative;
  display: block;
  width: 35px;
  height: 1px;
  background: var(--accent-light);
}

/*FAQ*/
.wp-block-accordion {}

.wp-block-accordion-item {
  border-top: 1px solid var(--accent-dark);
}

.wp-block-accordion-item:last-child {
  border-bottom: 1px solid var(--accent-dark);
}

.wp-block-accordion-heading {
  font-weight: 500;
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 18px);
  margin: 0;
  position: relative;
  padding-left: 60px;
  line-height: 1.5;
}

.wp-block-accordion-heading::before {
  position: absolute;
  display: inline-flex;
  width: 35px;
  height: 95%;
  justify-content: center;
  content: "Q.";
  left: 0.5rem;
  top: 0;
  font-size: 1.5rem;
  align-items: center;
  font-family: var(--serif);
  color: #007F9F;
}

.wp-block-accordion-heading__toggle-icon {
  font-size: 2.5rem;
  color: var(--accent);
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none !important;
}

.wp-block-accordion-panel {
  padding: 0;
  position: relative;
  padding-left: 60px;
}

.wp-block-accordion-panel::before {
  position: absolute;
  display: inline-flex;
  width: 35px;
  height: 95%;
  justify-content: center;
  content: "A.";
  left: 0.5rem;
  top: 0.5rem;
  font-size: 1.5rem;
  align-items: start;
  font-family: var(--serif);
  color: #007F9F;
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading {
  background-color: #eee;
}

/*お問い合わせフォーム*/
input,
select,
textarea {
  width: auto;
  max-width: 100%;
  padding: 1rem;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin: 0.5rem auto;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  background: var(--white);
}

main form {
  width: 100%;
  margin: 4rem auto;
  background: url(../image/bg_blue1.jpg) no-repeat;
  background-size: cover;
  padding: 6rem 4rem;
  border-radius: 20px;
  max-width: 1000px;
}

form table {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

form table th {
  text-align: left;
  font-weight: 400;
  padding: 1rem 0;
  min-width: 30%;
}

form table .requierd {
  font-size: 9px;
  padding: 10px;
  color: red;
  font-weight: 500;
}

form table td {
  padding: 1rem 0;
}

form table td input,
form table td select,
form table td textarea {
  width: 100%;
  max-width: 500px;
}

form table .wpcf7-form-control-wrap {
  position: relative;
}

.wpcf7-form-control-wrap:has(select)::after {
  border-right: 1px solid;
  border-top: 1px solid;
  width: 8px;
  height: 8px;
  transform: rotate(135deg);
  content: "";
  position: absolute;
  right: 14px;
  top: -3px;
  bottom: 0;
  margin: auto 0;
}

/*お知らせアーカイブ*/
.blog .news-panel {
  background: none;
  max-width: 1200px;
  margin: auto;
}

/*single　お知らせ*/
.single-post .wrapper .cont {
  max-width: 900px;
}

.postMeta {
  margin: 4rem 0;
}

.postTitle {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
}

.single-post .postCont {
  margin-bottom: 10%;
}

.btn-back {
  text-align: center;
}

@media (max-width: 1080px) {
  header {
    height: 64px;
  }

  .brand strong {
    font-size: 1.16em;
  }

  .brand {
    padding-left: 1rem;
  }

  header .openbtn {
    position: absolute;
    cursor: pointer;
    width: 64px;
    height: 64px;
    z-index: 300;
    top: 0;
    right: 0;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    background: var(--accent);
  }

  .openbtn span {
    display: block;
    height: 1px;
    border-radius: 5px;
    transition: all 0.4s;
    background: #fff;
    width: 45%;
  }

  header.active .openbtn span:nth-of-type(1) {
    transform: translateY(3px) rotate(35deg);
  }

  header.active .openbtn span:nth-of-type(2) {
    display: none;
  }

  header.active .openbtn span:nth-of-type(3) {
    transform: translateY(-2px) rotate(-35deg);
  }

  #g-nav {
    width: 100%;
    min-width: 260px;
    height: 100vh;
    position: absolute;
    top: 0;
    right: -2000px;
    padding: 2rem;
    padding-top: 8rem;
    z-index: 1;
    background: #fffffff0;
    display: block;
    transition: all 0.3s;
  }

  header.active #g-nav {
    opacity: 1;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.5s;
  }

  #g-nav ul {
    flex-direction: column;
    height: auto;
  }

  .header-actions {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
  }

  .header-action {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 0.8rem;
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 3rem 0;
  }

  .hero {
    height: 80vh;
    min-height: 420px;
  }

  .hero img {
    object-position: center top;
  }

  .news-sec .cont,
  .products-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-sec .line-button {
    margin: 0;
  }

  .news-panel {
    padding: 2rem;
  }

  .news-item {
    grid-template-columns: 1fr 34px;
    gap: 10px;
    padding: 10px 0;
  }

  .news-meta {
    grid-column: 1 / -1;
  }

  .news-item::after {
    width: 28px;
  }

  .about-sec .cont {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-media {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .product-row {
    width: 100%;
  }

  .products-head {
    flex-direction: column;
    gap: 0;
  }

  .product-row .grid4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
  }

  .product-name {
    padding: 0.5rem;
    font-size: 14px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .market-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .market-links a {
    width: min(100%, 360px);
  }

  .gallery-sec h2 {
    margin-bottom: 52px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 26px;
  }

  .gallery-item {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .gallery_top .modula-gallery .modula-item:nth-child(2){
    padding:0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 1rem;
  }

  .contact-card .contact-card__inner {
    padding: 2rem 1rem;
  }

  .contact-card .contact-card__inner+.contact-card__inner {
    border-left: 0;
    border-top: 1px solid rgba(79, 147, 170, 0.46);
  }

  .contact-buttons {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /*page*/
  .sv {
    margin-top: 64px;
  }

  .breadcrumbs {
    margin-top: 1rem;
  }

  .article {
    padding-bottom: 25%;
  }

  .news-item a {
    padding-right: 0;
  }

  .news-item::after {
    display: none;
  }

  .postCont h2 {
    margin-bottom: 2rem;
  }

  /*会社案内*/
  #strength .media .simpleParallax:has(.image2) {
    left: 30%;
    position: relative;
    bottom: 4rem;
  }

  .fullcover {
    aspect-ratio: 2/1;
  }

  #profile {
    width: 100%;
    margin: auto;
    padding: 1rem 0;
  }

  /*お知らせ*/
  .blog .news-panel {
    padding: 0;
  }

  /*商品*/
  .product-cats {
    padding: 2rem 0;
  }

  .catList {
    grid-template-columns: repeat(2, 1fr);
  }

  .catList .line-button {
    margin: 0;
  }

  .itemList {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  /*切子について*/
  #typeList {
    grid-template-columns: repeat(2, 1fr);
  }

  .explan .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
    padding: 0;
  }

  /*FAQ*/
  .wp-block-accordion-heading,
  .wp-block-accordion-panel {
    padding-left: 40px;
    ;
  }

  .wp-block-accordion-heading::before,
  .wp-block-accordion-panel::before {
    width: 25px;
  }

  /*お問い合わせ*/
  main form {
    margin: 2rem 0;
    padding: 2rem 1rem;
  }

  .line-button {
    margin: auto
  }

  main form table tr {
    padding-bottom: 1rem;
    display: block;
  }

  main form table th,
  main form table td {
    display: block;
    width: 100%;
    padding: 0;
  }

  main form .line-button {
    display: flex;
    margin: 2rem auto;
  }

  /*footer*/
  .footer-photo{
    min-height: 150px;
    background-attachment: initial;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0px;
  }

  .footer-nav ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .copyright {
    grid-column: 1;
    justify-self: start;
  }
}