@charset "UTF-8";
/*
 * Styles for the AJC 2026 theme.
 *
 * @package AJC2026
 */
@view-transition {
  navigation: auto;
}
:root {
  --mobile-header-height: 64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-feature-settings: "palt" 1;
}

@media (width < 768px) {
  html {
    font-size: 14px;
  }
}
body,
h2 {
  color: var(--wp--preset--color--base-text);
}

a {
  text-decoration: none;
}

.pos-r {
  position: relative;
}

.pos-a {
  position: absolute;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

.ai-c {
  align-items: center;
}

.jc-c {
  justify-content: center;
}

.w-100 {
  width: 100%;
}

figcaption {
  font-size: 0.8em;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.5;
  color: var(--wp--preset--color--base-text);
  /* white-space: nowrap; */
}

.top-sheetcutter img.wp-block-cover__image-background {
  -o-object-fit: contain !important;
     object-fit: contain !important;
}
.top-sheetcutter p {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.25;
}
@media (width < 768px) {
  .top-sheetcutter {
    flex-flow: column;
    min-height: auto !important;
  }
  .top-sheetcutter img {
    position: relative !important;
  }
  .top-sheetcutter p {
    font-size: 1.5em;
  }
}

.wp-block-heading.is-style-serif {
  font-family: var(--wp--preset--font-family--serif);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.header-logo {
  position: absolute;
  top: 0.5em;
  left: 1.25em;
  max-width: 36px;
  z-index: 1;
}

.header-nav-main {
  height: 68px;
  padding: 2rem 72px 0 72px;
}
@media (width < 768px) {
  .header-nav-main {
    display: none;
  }
}

.header-nav-sub {
  height: 30px;
  line-height: 25px;
  font-size: min(0.875em, 1.4vw);
  padding: 0.125em;
}
.header-nav-sub nav {
  gap: 12px;
}
.header-nav-sub ul {
  row-gap: 0;
}
.header-nav-sub li:before {
  content: "▶";
  font-size: 0.9em;
  transform: scaleY(0.75);
  margin: 0 0.25em;
}
@media (width < 768px) {
  .header-nav-sub {
    display: none;
  }
}

.header-nav-sp {
  display: none !important;
  height: var(--mobile-header-height);
}
@media (width < 768px) {
  .header-nav-sp {
    display: flex !important;
  }
}

.wp-block-navigation__responsive-container.is-menu-open {
  overflow: visible !important;
  height: 100vh;
}

main {
  margin-top: 98px !important;
}
@media (width < 768px) {
  main {
    margin-top: var(--mobile-header-height) !important;
  }
}

.wp-block-navigation-overlay-close svg,
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  width: 36px;
  height: 36px;
}

footer {
  font-size: max(14px, 0.8rem);
  margin: 0;
}

/* top */
.top-company .wp-block-cover__inner-container {
  /* padding: min(9vw, 8em) 0; */
}
.top-company .company-name {
  font-size: 3em;
  margin-block-start: 1em;
}
.top-company .company-about {
  font-size: 2.25em;
  margin-block-start: 1em;
}
@media (width < 768px) {
  .top-company .wp-block-cover__inner-container {
    /* padding: min(4.5vw, 4em) 0; */
  }
  .top-company .company-name {
    font-size: max(1.25em, 4.3vw);
  }
  .top-company .company-about {
    font-size: max(1em, 3.5vw);
  }
}

.printsolution {
  font-size: 5.5em;
  font-weight: 700;
  line-height: 1.2;
}
@media (width < 768px) {
  .printsolution {
    font-size: min(5.5em, 10vw);
  }
}

.tag-new {
  width: -moz-max-content;
  width: max-content;
  margin-right: 0 !important;
  padding: 0.125em 2em;
  font-size: 0.9em;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to right, #78175e 0%, #de59a2 56%, #de59a2 74%, #d0529a 74%, #b04288 76%, #953579 78%, #7f2b6c 80%, #6e2263 82%, #621d5c 85%, #5b1959 89%, #5a1958 100%);
}

@media (width < 768px) {
  .leduv-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* company */
.about-cover {
  background-color: #000;
}
.about-cover img {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  height: auto !important;
}

.about-philosophy {
  font-size: 1.5em;
}
.about-philosophy h2,
.about-philosophy h3 {
  color: var(--wp--preset--color--blue-1);
  margin: 0;
  line-height: 1.5;
}
.about-philosophy h2 {
  font-size: 1.5em;
}
.about-philosophy h2:not(:first-child) {
  margin-top: 1em;
}
.about-philosophy h3 {
  font-size: 0.75em;
}
@media (width < 768px) {
  .about-philosophy p {
    font-size: 0.85em;
    margin-inline: -1em !important;
  }
}

@media (width < 768px) {
  .about-circles {
    margin-inline: -2em !important;
    gap: 12px;
  }
}

.about-circle {
  font-size: 0.75em;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  width: 6em;
  height: 6em;
  border-radius: 50%;
  color: #fff;
  background-color: var(--wp--preset--color--blue-1);
}
.about-circle p {
  margin: 0;
}
.about-circle p:first-child {
  font-size: 1.375em;
  font-weight: bold;
  line-height: 1;
}

/* Product title */
.ajc-product-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  padding: 0.75em 0.5em 0.75em 0.5em;
  margin: 0 auto 1em auto;
  line-height: 1;
}

.framer {
  /* 背景を4つのパーツ（上・右・下・左）で構成 */
  background-image: linear-gradient(to right, #000, #000), linear-gradient(to top, #000 min(50%, 3em), transparent min(50%, 3em)), linear-gradient(to right, #000, #000), linear-gradient(to bottom, #000 min(50%, 3em), transparent min(50%, 3em));
  background-repeat: no-repeat;
  /* 各線の位置とサイズを指定 */
  /* ★黒い線が最大3em（全体の50%）になるため、全体の最大縦幅は 6em になります */
  background-size: 100% 1px, 1px min(100%, 6em), 100% 1px, 1px min(100%, 6em);
  /* 左：縦は最大6em */
  background-position: top left, bottom right, bottom left, top left;
  /* 左（左上基準） */
}

/* LED-UV */
.leduv-features {
  --line: #d9dde5;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
@media (width < 768px) {
  .leduv-features {
    grid-template-columns: 1fr;
  }
}
.leduv-features .feature {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5em;
}
.leduv-features .feature .wp-block-column:first-child {
  flex-basis: 4rem;
  flex-grow: 0;
}
.leduv-features .feature h3 {
  margin-bottom: 0.25em;
}
.leduv-features .feature p {
  /* margin-block-start: 0.75em; */
  margin: 0;
}
.leduv-features .feature-num {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(180deg, #faf8f3 0%, #eee6d8 100%);
  color: #8f7448;
  border: 1px solid #e5dccd;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (width < 768px) {
  .movie-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1em;
  }
}

.pdf-link-btn a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wp--preset--color--base-text);
  background-color: var(--wp--preset--color--bg-gray);
  padding: 0.25em 2em;
  border-radius: 2em;
  text-decoration: none;
  display: block;
}

/* ---------------------------------------- */
/* CTA */
.ajc-cta {
  position: relative;
  overflow: hidden;
}

.ajc-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ajc-cta-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.ajc-cta-inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.ajc-cta-heading,
.ajc-cta-tel {
  /* font-size: 2.333em; */
  font-size: 2.2em;
  font-weight: bold;
}

.ajc-cta-time {
  font-size: 1.666em;
  margin: 0 auto 1.5em auto;
}

.ajc-cta-btn {
  max-width: 600px;
}

/* ---------------------------------------- */
/* Snow Monkey Forms */
.smf-item__label__text {
  position: relative;
}

.smf-item__label__text::after {
  content: "＊";
  font-size: 0.8em;
  vertical-align: top;
  margin-left: 0.25em;
}

.smf-button-control__control {
  font-size: 1.25rem;
  width: 28%;
  max-width: 360px;
  padding: 1em !important;
  background-color: #ebebeb !important;
}

[data-screen=confirm] .hide-on-confirm {
  display: none;
}