/*
Theme Name: FLAG Original
Theme URI: 
Author: Naoki
Description: Original theme for FLAG corporate site
Version: 1.0
Text Domain: flag-original
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 50%,rgba(238,238,238,1) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  margin: 0;
  padding: 0;
  color: #222;
  font-family: Arial, "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
    font-size: clamp(10px, 1.2vw, 14px);
    font-weight: normal;
  line-height: 1.4em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.6s ease;
}
a:hover {
  opacity: .75;
  transition: all 0.3s ease;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-main {
  display: block;
}

.inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  height: 103px;
}

.site-logo a {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}
.site-catchcopy {
  display: inline-block;
  padding: 3px 0 0 16px;
  vertical-align: middle;
  font-size: clamp(10px, 1.2vw, 14px);
  color: #3f3f3f;
}

.site-header__contact {
  position: absolute;
  top: 32px;
  right: 10px;
  width: 84px;
  height: 38px;
}
.site-header__contact a svg {
  display: inline-block;
  transition: transform 0.6s ease;
}
.site-header__contact a:hover svg {
  transition: all 0.3s ease;
  transform: scale(1.08);
}


.global-nav {
  background: #eee;
  width: 100%;
}
.global-nav .menu {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;

  width: min(1200px, 100%);
  margin: 0 auto;
}
.global-nav .menu > li {
  flex: 0 1 217px; /* 固定寄り、でも縮められる */
  text-align: center;
}
.global-nav .menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-left: 2px solid #fff;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 0.08em;
  transition: all 0.6s ease;
}
.global-nav .menu > li:last-child > a {
  border-right: 2px solid #fff;
}

/* BRAND */
.global-nav .menu > li.menu-item-116 > a:hover,
.global-nav .current-menu-item.menu-item-116 > a,
.global-nav .current-menu-ancestor.menu-item-116 > a,
.global-nav .current-menu-parent.menu-item-116 > a {
  background: #f67a00;
  color: #fff;
  transition: all 0.3s ease;
}
/* COMPANY */
.global-nav .menu > li.menu-item-98 > a:hover,
.global-nav .current-menu-item.menu-item-98 > a,
.global-nav .current-menu-ancestor.menu-item-98 > a,
.global-nav .current-menu-parent.menu-item-98 > a {
  background: #1e2b69;
  color: #fff;
  transition: all 0.3s ease;
}
/* ONLINE STORE */
.global-nav .menu > li.menu-item-99 > a:hover,
.global-nav .current-menu-item.menu-item-99 > a,
.global-nav .current-menu-ancestor.menu-item-99 > a,
.global-nav .current-menu-parent.menu-item-99 > a {
  background: #378e07;
  color: #fff;
  transition: all 0.3s ease;
}
/* CONTACT */
.global-nav .menu > li.menu-item-100 > a:hover,
.global-nav .current-menu-item.menu-item-100 > a,
.global-nav .current-menu-ancestor.menu-item-100 > a,
.global-nav .current-menu-parent.menu-item-100 > a {
  background: #333;
  color: #fff;
  transition: all 0.3s ease;
}



/* Footer */
.site-footer {
  background: #fff;
  color: #3f3f3f;
  margin: 20px 0 0;
  padding: 0;
}
.site-footer__inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  position: relative;
}
.site-footer__logo {
}
.site-footer__catchcopy {
  font-size: clamp(10px, 1.2vw, 14px);
}
.site-footer__contact {
  margin-left: auto;
}
.site-footer__contact .tel {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
  font-size: 42px;
  line-height: 1.1;
}
.site-footer__contact .tel .telicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 36px;
  flex: 0 0 28px;
}
.site-footer__contact .mail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
  font-size: 18px;
  line-height: 1.1;
}
.site-footer__contact .mail .mailicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 25px;
  flex: 0 0 34px;
}
.site-footer__contact_sp {
  display: none;
}

.site-footer__nav {
  background: #ececec;
  width: 100%;
  padding: 14px 0;
  font-size: clamp(10px, 1.2vw, 12px);
}
.site-footer__nav .menu {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 0 auto;
}
.site-footer__nav .menu > li {
  flex: 0 1 auto;
  text-align: center;
}
.site-footer__nav .menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
  margin: 16px 0;
  border-right: 1px solid #9c9c9c;
  font-size: clamp(12px, 1.4vw, 14px);
  transition: all 0.6s ease;
}
.site-footer__nav .menu > li:last-child > a {
  border: none;
}

.site-footer__copy {
  position: relative;
  background: #1e2b69;
  padding: 14px 0;
  font-size: clamp(10px, 1.2vw, 12px);
  color: #b6bacc;
  text-align: center;
}
.site-pagetop {
  position: fixed;
  right: 0;
  bottom: 0;
  background: #222;
  border-radius: 16px 0 0 0;
  width: 64px;
  height: 64px;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    background-color 0.25s ease;
}
.site-pagetop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%,-50%) rotate(-45deg);
}
.site-pagetop.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


/* Common page */
.js-fadein {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.22,1,.36,1),
    filter 1s ease;
  will-change: opacity, transform, filter;
}
.js-fadein.is-inview {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.js-fadein.delay-1 {
  transition-delay: 0.15s;
}
.js-fadein.delay-2 {
  transition-delay: 0.3s;
}
.js-fadein.delay-3 {
  transition-delay: 0.45s;
}

.js-reveal-image {
  position: relative;
  overflow: hidden;
}
.js-reveal-image img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(10px) brightness(0.9);
  transition:
    opacity 1.2s ease,
    transform 1.4s cubic-bezier(.22,1,.36,1),
    filter 1.2s ease;
  will-change: opacity, transform, filter;
}
/* 上から下に薄く開く感じ */
.js-reveal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3f3f3;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
  z-index: 2;
  pointer-events: none;
}
.js-reveal-image.is-inview::after {
  transform: translateY(102%);
}
.js-reveal-image.is-inview img {
  opacity: 1;
  transform: scale(1);
  filter: blur(0) brightness(1);
}
@media (prefers-reduced-motion: reduce) {
  .js-fadein,
  .js-reveal-image img,
  .js-reveal-image::after {
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }

  .js-reveal-image::after {
    display: none;
  }
}


main.site-main {
  position: relative;
  padding-top: 47px;
}
main.site-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
}
body.page-brand main.site-main::before {
  background: #f67a00;
}
body.page-company main.site-main::before {
  background: #1e2b69;
}
body.page-online-store main.site-main::before {
  background: #378e07;
}
body.page-contact main.site-main::before {
  background: #333;
}

.content-shell {
    position: relative;
  z-index: 2;
}
.top-page .content-shell {
  margin-top: -120px;
}

.content-shell::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 100%;
  max-width: 1186px;
  height: 18px;
  pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.10),
    rgba(0, 0, 0, 0)
  );
}
.contentsContainer-wrap {
    position: relative;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 280px,
    rgba(255, 255, 255, 0) 400px
  );
  margin: 0 auto;
  padding: 0 10px;
  width: 100%;
  max-width: 1180px;
  box-sizing: border-box;
  z-index: 1;
  transform: none;
}
.contentsContainer-wrap::before,
.contentsContainer-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.contentsContainer-wrap::before {
  left: -4px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30) 0px,
    rgba(0, 0, 0, 0.1) 80px,
    rgba(0, 0, 0, 0.03) 180px,
    rgba(0, 0, 0, 0) 280px
  );

  filter: blur(2px);  /* ← ぼかし小さめ */
}
.contentsContainer-wrap::after {
  right: -4px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30) 0px,
    rgba(0, 0, 0, 0.1) 80px,
    rgba(0, 0, 0, 0.03) 180px,
    rgba(0, 0, 0, 0) 280px
  );

  filter: blur(2px);
}


.page-section {
  padding: 50px 0;
}

.page-title {
  padding: 0;
  margin: 0;
  font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.0;
  text-align: center;
}
.page-title__sub {
  padding: 8px 0 20px;
  font-size: clamp(12px, 1.5vw, 16px);
  text-align: center;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

/* News */
.news-list {
  display: grid;
  gap: 2px;
  width: 80%;
  margin: 0 auto;
}
.news-item a {
  display: flex;
  gap: 20px;
  background: #f3f3f3;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
  font-size: clamp(12px, 1.2vw, 14px);
  transition: all .6s ease;
}
.news-item time {
  width: 110px;
  color: #6e6e6e;
  text-align: right;
}
.news-item a:hover {
  background: #e5e5e5;
  transition: all .3s ease;
}

/* Responsive */
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 16px 20px 24px;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .global-nav .menu > li {
    flex: 1;
    width: 100%;
  }

  .global-nav .menu > li > a {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .global-nav .current-menu-item.menu-item-98 > a,
  .global-nav .current-menu-ancestor.menu-item-98 > a,
  .global-nav .current-menu-parent.menu-item-98 > a,
  .global-nav .current-menu-item.menu-item-99 > a,
  .global-nav .current-menu-ancestor.menu-item-99 > a,
  .global-nav .current-menu-parent.menu-item-99 > a,
  .global-nav .current-menu-item.menu-item-100 > a,
  .global-nav .current-menu-ancestor.menu-item-100 > a,
  .global-nav .current-menu-parent.menu-item-100 > a {
    background: none;
	  color: #222;
  }
}

/* ==========  BRAND  ========== */
/* == 大枠 == */
.brand-card {
  position: relative;
  background: #fff;
  border: 1px solid #d9d9d9;
  margin: 0 0 15px;
  overflow: visible;
}

.brand-card__images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: visible;
}
.brand-card__img {
  aspect-ratio: 589 / 485;
  overflow: hidden;
}
/* BRAND PAGE */
body.page-brand .brand-card__img {
  aspect-ratio: 485 / 620;
}
.brand-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 上揃え */
}

/* ロゴ */
.brand-card__logo {
  position: absolute;
  left: 5.5%;
  bottom: -52px;
  background: #000;
  width: clamp(120px, 15vw, 158px);
  aspect-ratio: 1 / 1;
  z-index: 3;
}
.brand-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 下部 */
.brand-card__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0 34px;
  padding: 64px 38px 34px;
}
.brand-card__info {
  grid-row: 1;
　grid-column: 1;
  min-width: 0;
  padding-left: 10.5%;
}
.brand-card__category {
  margin: 10px 0 0;
  color: #555;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.brand-card__title {
  margin: 0 0 28px;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.95;
  color: #3d3d3d;
}

/* 説明文 */
.brand-card__text {
  grid-row: 1/3;
　grid-column: 2;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
  word-break: break-word;
}
.brand-card__text a {
  display: inline-block;
  border-bottom: 1px #24388d dotted;
  color: #24388d;
}
.brand-card__text--pc {
  display: block;
}
.brand-card__text--sp {
  display: none;
}

.brand-card__links {
  grid-row: 2;
　grid-column: 1;
  display: grid;
  gap: 8px;
  padding-left: 10.5%;
}
.brand-card__links li, .brand-m-card__links li {
  list-style: none;
}
.brand-card__links a, .brand-m-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24388d;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brand-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  font-size: 14px;
  line-height: 1;
}
.brand-card__icon svg {
  width: 100%;
  height: 100%;
}

/* ===== Tablet ===== */
@media (max-width: 1100px) {
  .brand-card__body {
    grid-template-columns: 210px 1fr;
    gap: 28px;
    padding: 58px 28px 30px;
  }

  .brand-card__title {
    font-size: clamp(34px, 4vw, 54px);
  }

  .brand-card__text {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* ===== SP ===== */
@media (max-width: 767px) {
  /* TOP */
  .brand-card__img {
    aspect-ratio: 190 / 270; /* 縦長に変更 */
  }

  .brand-card__logo {
    left: 5%;
    bottom: -22px;
  }

  .brand-card__body {
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 28px 18px 22px;
  }

  .brand-card__category {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .brand-card__title {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .brand-card__links {
    gap: 12px;
  }
  .brand-card__links a, .brand-m-card__links a {
    gap: 10px;
    font-size: 11px;
  }
  .brand-card__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 12px;
  }

  .brand-card__text {
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.25;
  }
  .brand-card__text--pc {
    display: none;
  }
  .brand-card__text--sp {
    display: block;
  }

  /* BRAND PAGE */
  body.page-brand .brand-card__images {
    grid-template-columns: 1fr;
  }
  body.page-brand .brand-card__img {
    aspect-ratio: 3 / 4;
  }
  body.page-brand .brand-card__img:nth-child(1) {
    display: none;
  }
  body.page-brand .brand-card__logo {
    bottom: -63px;
    width: 120px;
  }
  body.page-brand .brand-card__body {
    position: relative;
    grid-template-columns: 1fr;
    padding: 84px 0 25px;
  }
  body.page-brand .brand-card__info {
    position: absolute;
    top: -76px;
    right: 40px;
    text-align: right;
  }
  body.page-brand .brand-card__title {
    margin: 0;
  }
  body.page-brand .brand-card__text {
    grid-row: 2;
　  grid-column: 1;
    padding: 0 30px;
  }
  body.page-brand .brand-card__links {
    grid-row: 3;
　  grid-column: 1;
    display: inline-flex;
    gap: 18px;
    padding-left: 5%;
  }
}

/* ===== Narrow SP ===== */
@media (max-width: 520px) {
  .brand-card__body {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 26px 14px 18px;
  }
  .brand-card__title {
    font-size: 28px;
  }
  .brand-card__text {
    font-size: 12px;
    line-height: 1.75;
  }
}

/* == 中・小枠 == */
.brand-m-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  margin: 0 0 15px;
  overflow: visible;
}
.brand-m-card__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.brand-m-card__inner.reverse {
  direction: rtl;
}
.brand-m-card__inner.reverse > * {
  direction: ltr;
}
.brand-m-card__img { /* 中枠画像 */
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.brand-s-card__img { /* 小枠画像 */
  aspect-ratio: 4 / 2.2;
  overflow: hidden;
}
.brand-m-card__img img, .brand-s-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* 上揃え */
}
.brand-m-card__body, .brand-s-card__body {
  align-self: center;
  padding: 0 40px;
}
.brand-m-card__info {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  align-items: end;
}
/* ロゴ */
.brand-m-card__logo {
  background: #000;
  width: 105px;
  aspect-ratio: 1 / 1;
}
.brand-m-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-m-card__name {
  justify-items: right;
}
.brand-m-card__category {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.brand-m-card__title {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.95;
  color: #3d3d3d;
  text-align: right;
}
.brand-m-card__text {
  padding: 20px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}
.brand-m-card__links {
  display: inline-flex;
  gap: 18px;
}

/* ===== SP ===== */
@media (max-width: 767px) {
  /* BRAND PAGE */
  .brand-m-card__inner {
    grid-template-columns: 1fr;
  }
  .brand-s-card__img { /* 小枠画像 */
    aspect-ratio: 4 / 1.9;
    overflow: hidden;
  }
  .brand-m-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .brand-m-card__body {
    padding: 0 30px 30px;
    margin-top: -40px;
  }
  .brand-s-card__body { /* 小枠body */
    padding: 0 30px 30px;
    margin-top: -50px;
  }
  .brand-m-card__logo {
    width: 120px;
  }
  .brand-m-card__text {
    padding-top: 30px;
  }
  .brand-m-card__links {
    display: inline-flex;
    gap: 18px;
  }
}

/* =========================================
   TOP
========================================= */
.top-hero {
  position: relative;
  width: 100%;
  height: 700px;
  max-height: 700px;
  overflow: hidden;
}
.top-hero .swiper-wrapper,
.top-hero .swiper-slide {
  height: 100%;
}
/* スライド */
.swiper-slide {
  position: relative;
}
/* 背景 */
.top-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 6s linear;
}
/* アクティブ時にズームアウト */
.swiper-slide-active .top-hero__bg {
  transform: scale(1);
}
/* フェード用（重要） */
.swiper {
  --swiper-theme-color: transparent;
}
.top-hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 150px 0 0;
}
.top-hero__content-inner {
  width: min(1200px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", "Hiragino Mincho Pro", serif;
}
.top-hero__title,
.top-hero__link {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 1.4s ease-out forwards;
}
.top-hero__title {
    font-size: clamp(18px, 3vw, 36px);
    font-weight: normal;
    line-height: 1.3em;
    text-align: center;
    animation-delay: 0.6s;
}
.top-hero__link {
    display: inline-block;
    background: #c3c9e4;
    padding: 10px 46px;
    margin: 25px 0 0;
    font-size: 18px;
    color: #040e3a;
    text-decoration: none;
    animation-delay: 1s;
}
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.top-copy {
    padding: 40px;
    text-align: center;
}
.top-copy1 {
    display: inline-block;
    border-bottom: 1px #999999 solid;
    padding: 0 0 4px;
    font-size: clamp(12px, 1.2vw, 16px);
  text-align: center;
    font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
    line-height: 1em;
    letter-spacing: .04em;
}
h1.top-copy2 {
    padding: 20px 0 10px;
    margin: 0;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 600;
    font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
    line-height: 1.1em;
}
h1.top-copy2 br {
  display: none;
}
h2.top-copy_subtext {
  display: inline-block;
    padding: 4px 0;
    margin: 0;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: normal;
    line-height: 1.3em;
    text-align: left;
}

.top-business_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.top-business_item {
    background: #484848;
    height: 420px;
    color: #fff;
    text-align: center;
}
.top-business_item.manuf {
	background: url('assets/img/top_3work_manufacturing.jpg') center top no-repeat;
	background-size: cover;
}
.top-business_item.import {
	background: url('assets/img/top_3work_import.jpg') center top no-repeat;
	background-size: cover;
}
.top-business_item.marke {
	background: url('assets/img/top_3work_marketing.jpg') center top no-repeat;
	background-size: cover;
}
.top-business_item h3 {
    display: inline-block;
    border-bottom: 3px #fff solid;
    padding: 56px 0 2px;
    margin: 0 0 16px;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 400;
    font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
    line-height: 1em;
}
.top-business_en {
    font-size: 18px;
    color: #d5d5d5;
}
.top-business_cmt {
    display: inline-block;
    margin: 110px 0 0;
    width: 65%;
    font-size: 14px;
    line-height: 1.45em;
    text-align: left;
}

/* =========================================
   Top Brand Small Card
========================================= */
.top-brand-s-card__wrap {
  margin-top: 40px;
}
.top-brand-s-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.top-brand-s-card__item {
  background: #fff;
  border: 1px solid #cfcfcf;
  box-sizing: border-box;
  overflow: hidden;
}

/* 画像エリア */
.top-brand-s-card__image-wrap {
  position: relative;
  overflow: visible;
}
.top-brand-s-card__image img {
  display: block;
  width: 100%;
  height: 315px;
  object-fit: cover;
  object-position: center top; /* 上揃え */
}

/* ロゴ */
.top-brand-s-card__logo {
  position: absolute;
  right: 35px;
  bottom: -68px;
  width: 106px;
  aspect-ratio: 1 / 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.top-brand-s-card__logo img {
  display: block;
  width: 100%;
  height: 100%;
}

/* 本文 */
.top-brand-s-card__body {
  padding: 18px 22px 20px;
}

.top-brand-s-card__cat {
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.05;
  color: #444;
  letter-spacing: 0.03em;
}

.top-brand-s-card__title {
  padding: 0;
  margin: 0 0 12px;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  color: #3d3a3a;
  font-weight: 400;
}
/* 説明文 */
.top-brand-s-card__text {
  margin: 0 0 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.34;
  word-break: break-word;
}
.top-brand-s-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-brand-s-card__links li {
  margin: 0;
}
.top-brand-s-card__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2f4292;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  transition: opacity 0.25s ease;
}
.top-brand-s-card__links a:hover {
  opacity: 0.75;
}
/* アイコン */
.top-brand-s-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.top-brand-s-card__icon svg {
  width: 100%;
  height: 100%;
}
/* テキスト下線 */
.top-brand-s-card__links a span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================
   More Button
========================================= */
.top-brand-s-card__more {
  margin-top: 40px;
  text-align: center;
}

.top-brand-s-card__more-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 510px;
  padding: 12px 70px 12px 40px;
  background: #4152a3;
  color: #d9def3;
  text-decoration: none;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", serif;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: opacity 0.6s ease;
}
.top-brand-s-card__more-link::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #d9def3;
  border-right: 2px solid #d9def3;
  transform: translateY(-50%) rotate(45deg);
}
.top-brand-s-card__more-link:hover {
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

@media screen and (max-width: 767px) {
  .top-brand-s-card__wrap {
    margin-top: 28px;
  }

  .top-brand-s-card__list {
    gap: 6px;
  }

  .top-brand-s-card__image {
    height: 200px; /* 縦長見えに */
    object-position: center top;
  }

  .top-brand-s-card__logo {
    right: 12px;
    bottom: -18px;
    width: 72px;
  }

  .top-brand-s-card__body {
    padding: 14px 14px 16px;
  }

  .top-brand-s-card__cat {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .top-brand-s-card__title {
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.08;
  }

  .top-brand-s-card__links {
    gap: 10px 14px;
  }
  .top-brand-s-card__links a {
    gap: 8px;
    font-size: 11px;
  }
  .top-brand-s-card__icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .top-brand-s-card__text {
    display: none;
  }

  .top-brand-s-card__more {
    margin-top: 28px;
  }

  .top-brand-s-card__more-link {
    display: flex;
    width: calc(100% - 40px);
    min-width: 0;
    min-height: 48px;
    margin: 0 auto;
    padding: 12px 46px 12px 20px;
    font-size: 14px;
  }

  .top-brand-s-card__more-link::after {
    right: 18px;
    width: 8px;
    height: 8px;
  }
}


/* =========================================
   COMPANY
========================================= */
.company-info, .company-history {
  width: fit-content;
  margin: 45px auto 0;
}
.company-info {
  padding: 0 30px;
}
.company-history {
  background: #f2f2f2;
  padding: 40px;
}
.company-info__row {
  display: flex;
  padding: 20px 10px 2px;
  border-bottom: 3px solid #e7e7e7;
  font-family: "Times New Roman", Times, "Yu Mincho", "游明朝", "游明朝体", serif;
}
.company-info dt, .company-history dt {
  width: 160px;
  font-size: clamp(12px, 1.2vw, 16px);
  color: #5b5b5b;
  letter-spacing: 0.05em;
}
.company-info dd, .company-history dd {
  flex: 1;
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.3;
}
.company-history dt {
  width: 110px;
}
.company-history dd {
  font-size: clamp(14px, 1.2vw, 16px);
}


@media (max-width: 768px) {
  .site-header__inner {
    height: 70px;
  }
  img.custom-logo {
    width: 110px;
    height: auto;
  }
  .site-catchcopy {
    display: block;
    padding: 0;
  }
  .site-header__contact {
    display: none;
  }

  main.site-main {
    position: relative;
    padding-top: 125px;
  }
  main.site-main::before {
    /*top: 70px;*/
  }
  
  .site-footer__inner {
    flex-direction: column;
    gap: 30px 0;
    align-items: center;
    text-align: center;
  }
  .site-footer__contact {
    display: none;
  }
  .site-footer__contact_sp {
    display: block;
    width: 100px;
    height: 45px;
  }


  .top-hero {
    height: 550px;
    max-height: 550px;
  }
  .top-hero__content {
    padding: 100px 0 0;
  }
  .top-hero__link {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .content-shell {
    margin-top: -100px;
  }
  .content-shell::before, .contentsContainer-wrap {
    width: 96%;
  }

  .top-copy {
    padding: 40px 15px;
  }
  h1.top-copy2 br {
    display: block;
  }
  .top-business_grid {
    grid-template-columns: 1fr;
  }
  .top-business_item {
    height: auto;
  }
  .top-business_item.manuf, .top-business_item.import, .top-business_item.marke {
    background-position: center center;
  }
  .top-business_item h3 {
    padding: 36px 0 2px;
  }
  .top-business_cmt {
    display: inline-block;
    margin: 40px 0 30px;
    width: 65%;
    font-size: 12px;
    line-height: 1.35em;
  }

  /* News */
  .news-list {
    width: 100%;
  }
  .news-item a {
    padding: 18px 10px 18px 0;
  }
  .news-item time {
    max-width: 100px;
  }

  /* COMPANY */
  .company_mission-img {
    max-width: 580px;
    margin: 0 auto;
  }
  .company_mission-img img {
    width: 100%;
    height: auto;
  }
  .company-info__row {
    flex-direction: column;
    gap: 6px;
    padding: 14px 0 4px;
  }
  .company-info dt {
    width: auto;
  }
}

