/*!
Theme Name: shonai-tire_saiyo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Cleaned & Reorganized Version
Version: 1.0.1
*/

/* --------------------------------------------------------------
 * 01. Normalize
 * -------------------------------------------------------------- */

.page .entry-title { display: none; }
:where(figure) { margin-bottom: 0; }
.single_page .entry-title,
.single_page .entry-meta { display: none; }
.contents_page { overflow: hidden; }

/* --------------------------------------------------------------
 * 02. Box sizing
 * -------------------------------------------------------------- */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* --------------------------------------------------------------
 * 03. Root Variables
 * -------------------------------------------------------------- */
:root {
  --main-font: "Noto Sans JP", sans-serif;
  --sub-font: "Noto Serif JP", serif;

  --orange: #F27400;
  --green: #579C34;
  --black: #353535;
  --gray: #E5E5E5;
  --red: #ea1e43;

  --light-green: #62BD3C;
  --olive-green: #789230;
  --dark-green: #465740;

  --bg-gradient: linear-gradient(to right, #EBEFF2, #fff);

  --font-size--h1: clamp(2.6rem, 0.907rem + 2.96vw, 5.6rem);
  --font-size--h2: clamp(2.2rem, 0.68rem + 2.22vw, 4.2rem);
  --font-size--h3: clamp(1.8rem, 0.52rem + 1.7vw, 3.2rem);
  --font-size--h4: clamp(1.8rem, 0.52rem + 1.5vw, 2.4rem);
  --font-size--text: clamp(1.4rem, 1.5vw, 1.8rem);

  --margin-l: clamp(64px, 6vw, 96px);
  --margin-m: clamp(32px, 5vw, 64px);
  --margin-s: clamp(24px, 3vw, 32px);
}

/* --------------------------------------------------------------
 * 04. Layout Global
 * -------------------------------------------------------------- */
html {
  scrollbar-gutter: stable;
  font-family: var(--main-font);
  font-weight: 400;
  font-style: normal;
  font-size: .625rem;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg-gradient);
  font-size: var(--font-size--text);
  line-height: 1.6;
  color: var(--black);
}
main.contents_page{
 overflow-x: hidden;
}
.section_inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(1.6rem, 4vw, 2.4rem);
}

img {
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

video {
  object-fit: cover;
}

/* Smart Slider Layout Fix */
.contents_page .n2-ss-slider .n2-ss-slider-controls-below {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
.n2-ss-control-bullet {
  width: 100%;
  order: 1;
}
.nextend-arrow {
  display: block !important;
  order: 2;
  margin: 0 10px;
  position: relative !important;
  top: auto !important;
  left: auto !important;
}
.wpcp-single-item {
  border-radius: 15px !important;
}

/* --------------------------------------------------------------
 * 05. Typography
 * -------------------------------------------------------------- */
h1 {
  font-size: var(--font-size--h1);
  font-weight: 600;
  white-space: nowrap;
}

h2 {
  font-size: var(--font-size--h2);
  font-weight: 600;
  scroll-margin-top: 80px;
}

h3 {
  font-size: var(--font-size--h3);
  font-weight: 500;
}

h4 {
  font-size: var(--font-size--h4);
  font-weight: 500;
}

p { line-height: 1.8; }

input {
  font-size: var(--font-size--text);
}
input:focus {
  border: 2px solid #ccc;
}

/* --------------------------------------------------------------
 * 06. Elements
 * -------------------------------------------------------------- */

.pc_show { display: block !important; }
.sp_show { display: none !important; }

.top_btn {
  min-width: 300px;
}
.top_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  color: #fff;
  background: var(--green);
}
.top_btn a:hover{
	background: var(--light-green);
	opacity: 1;
}
.top_btn a div {
  position: relative;
}
.top_btn a div::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  z-index: 0;
}
.top_btn a div img {
  position: relative;
  z-index: 1;
	vertical-align: unset;
}

/* --------------------------------------------------------------
 * 07. Links
 * -------------------------------------------------------------- */
a {
  color: var(--black);
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: .3s ease-in-out !important;
}

a:link, a:visited {
  color: inherit;
  text-decoration: none;
}

[id] {
  scroll-margin-top: 0;
}

/* Hover */
@media (any-hover: hover) and (pointer: fine) {
  a:hover {
    opacity: .7;
  }

  /* CF7 “プライバシーポリシー” 下線除去 */
  .wpcf7-list-item-label a:hover .agree_hover {
    text-decoration: none !important;
    opacity: 1;
  }
}

/* --------------------------------------------------------------
 * 08. Utility
 * -------------------------------------------------------------- */

.breaking-out {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.press-inside {
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
}

/* --------------------------------------------------------------
 * 09. Animation
 * -------------------------------------------------------------- */
/* img animation */
.img_wrap{
	overflow: hidden;
	position: relative;
	opacity: 0;
}
.img_wrap.img-open{
	opacity: 1;
}
.img_wrap.img-open::before{
	animation: img-wrap 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: var(--bg-gradient);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
	
}
@keyframes img-wrap {
  100% {
    transform: translateX(100%);
	    }
}
/* Load animation */
.js-fadeup-load {
  opacity: 0;
  transform: translateY(20px);
  transition: .5s ease-in-out;
  transition-delay: .3s;
}
.js-fadeup-load.fade-up {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Fade Up */
.js-fadeup-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: .5s ease-in-out;
}
.js-fadeup-scroll.fade-up {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Left */
.js-fadeleft-scroll {
  opacity: 0;
  transform: translateX(-20px);
  transition: .5s ease-in-out;
}
.js-fadeleft-scroll.fade-left {
  opacity: 1;
  transform: translateX(0);
}

/* Fade Right */
.js-faderight-scroll {
  opacity: 0;
  transform: translateX(20px);
  transition: .5s ease-in-out;
}
.js-faderight-scroll.fade-right {
  opacity: 1;
  transform: translateX(0);
}

/* Delay Fade Up */
.delay-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.delay-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in Right */
.delay-item-slide {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.delay-item-slide.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Text animation */
.fade-text {
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-text.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-text span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);
}
.fade-text.is-visible span {
  animation: fadeLeftIn 0.6s forwards;
}

@keyframes fadeLeftIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --------------------------------------------------------------
 * 10. Header
 * -------------------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  margin: 0 auto;
}

.header_inner {
  display: flex;
  justify-content: space-between;
	align-items: center;
  width: 100%;
  padding-left: clamp(1.6rem, 4vw, 2.4rem);
}

.custom-logo-link {
  max-width: 70%;
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 1em;
}
.custom-logo-link img {
  width: 20rem;
  height: auto;
}
.header_flex {
  display: flex;
}

.sns_icon-box {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-right: 2.4rem;
}
.sns_icon-box img {
  width: 4rem;
}

.entry_wrapper {
  display: flex;
}

/* Entry Buttons */
.btn-entry {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.btn-entry img {
  box-sizing: content-box;
}

.header_link-entry .btn-entry {
  margin-left: .2rem;
  height: 8rem;
}
.header_link-entry .btn-entry:first-child {
  margin-left: 0;
}

.btn-entry--new { background: var(--light-green); transition: all .3s ease;}
.btn-entry--midway { background: var(--olive-green); transition: all .3s ease;}
.btn-entry--senior { background: var(--dark-green); transition: all .3s ease;}
.btn-entry a:hover{
	opacity: 1;
}
.btn-entry--new:hover{
	background-color: #6ace41;
}
.btn-entry--midway:hover{
	background-color: #95b53c;
}
.btn-entry--senior:hover{
	background-color: #5b7153;
}
.header_link-entry .btn-entry a {
  padding: .8rem 2.4rem;
}

/* --------------------------------------------------------------
 * 11. Hamburger Menu
 * -------------------------------------------------------------- */
.ham_btn {
  background: #000;
  min-width: 80px;
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  z-index: 999;
  cursor: pointer;
}
.ham_btn span {
  display: block;
  height: 4px;
  background: #fff;
  width: 40px;
  transition: all 0.3s ease;
}
.ham_btn.is_open span:nth-child(1) {
  transform: translateY(16px) rotate(45deg);
}
.ham_btn.is_open span:nth-child(2) {
  opacity: 0;
}
.ham_btn.is_open span:nth-child(3) {
  transform: translateY(-16px) rotate(-45deg);
}

body.is_menu_open {
  overflow: hidden;
}

/* --------------------------------------------------------------
 * 12. Overlay Menu (PC / SP)
 * -------------------------------------------------------------- */
#overlay_pc.is_open,
#overlay_sp.is_open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.overlay {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.overlay .custom-logo-link {
  margin: var(--margin-s) 0;
}

.overlay .entry_wrapper {
  display: flex;
  flex-direction: column;
  width: 25%;
  height: 100%;
}

.overlay .btn-entry {
  width: 100%;
  height: calc(100% / 3);
  margin: 0;
}

.overlay .btn-entry a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: var(--font-size--h4);
}
.overlay .btn-entry a img {
  height: var(--font-size--h4);
  width: var(--font-size--h4);
  margin-right: 2.4rem;
  padding: 1.2rem;
  background: #fff;
  border-radius: 50%;
}

.g_menu-pc--hide {
  display: none;
}

/* --------------------------------------------------------------
 * 13. Navigation
 * -------------------------------------------------------------- */
.navigation_wrapper {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 16rem;
}

.copy_logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navigation_wrapper nav {
  margin-top: 1.6rem;
}
.navigation_wrapper nav a:hover{
	opacity: 1;
	color: #d34242;
}
.navigation_wrapper .navigation_right > ul,
.navigation_wrapper .navigation_left > ul {
  width: fit-content;
  margin: 0 auto;
}

/* Main navigation title */
.navigation_wrapper ul > .nav_main-navi {
  font-size: var(--font-size--h5);
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.navigation_wrapper ul > .nav_main-navi a {
  position: relative;
  padding-left: calc(var(--font-size--h3) + 1.6rem);
}

/* Items */
.navigation_wrapper li:not(.nav_main-navi) a {
  line-height: 2;
}

/* Arrow icon */
.navigation_wrapper .nav_main-navi > a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-image: url("https://systembox-prod.sakura.ne.jp/shonai-tire_saiyo/wp/wp-content/uploads/2025/10/arrow_right.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: var(--font-size--h4);
  height: var(--font-size--h4);
  transition: .3s ease-in-out;
}

/* Sub Menu */
.nav_main-navi > .sub-menu {
  font-size: var(--font-size--text);
  font-weight: 400;
  margin-top: 1.6rem;
}

.sub-menu .nav_main-navi--child {
  font-size: var(--font-size--h5);
  font-weight: 500;
  margin-top: 1.6rem;
}

.sub-menu .nav_main-navi--child .sub-menu {
  font-size: var(--font-size--text);
  font-weight: 400;
  padding-left: 1em;
}

/* Home button */
.navigation_wrapper .nav_link-home.nav_main-navi {
  margin-bottom: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--black);
}

/* --------------------------------------------------------------
 * 14. Footer
 * -------------------------------------------------------------- */
.footer {
  padding-top: var(--margin-m);
  padding-bottom: 2.4rem;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.footer .navigation_wrapper {
  justify-content: space-around;
  margin-bottom: 3.2rem;
}

.footer .entry_wrapper {
  flex-direction: column;
  gap: 2.4rem;
}

.footer .nav_link-home.nav_main-navi,
.footer .nav_link-corporate--site {
  display: none;
}

.footer .btn-entry {
  border-radius: 10px;
}

.footer .btn-entry a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: var(--font-size--text);
  padding: .8rem 2.4rem;
}

.footer .btn-entry a img {
  height: var(--font-size--text);
  width: var(--font-size--text);
  margin-right: 2.4rem;
  padding: 1.2rem;
  background: #fff;
  border-radius: 50%;
}

.footer .sns_icon-box {
  justify-content: center;
  margin-bottom: 3.2rem;
  margin-right: 0;
}

.footer .copy_logo-wrapper {
  flex-direction: row;
  justify-content: space-between;
}


/* --------------------------------------------------------------
 * 15. Section – Top MV
 * -------------------------------------------------------------- */
.section_top-mv {
  margin-bottom: var(--margin-l);
}

.section_top-mv--movie {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.section_top-mv--movie video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.section_top-mv--title {
  position: absolute;
  bottom: 10%;
  left: 6%;
  color: #fff;
  z-index: 2;
}

.js-modal-btn {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
	background: #fff;
  border-radius: 100vmax;
	border: 1px solid var(--green);
  cursor: pointer;
	transition: background-color .3s ease;
}

.js-modal-btn img {
  width: clamp(6rem, 10vw, 16rem);
  height: auto;
  transition: filter .3s ease;
}
.js-modal-btn:hover{
	background: var(--green);
}
.js-modal-btn:hover img{
	filter: brightness(3) saturate(0);
}
/* --------------------------------------------------------------
 * 16. Top Common Titles
 * -------------------------------------------------------------- */
.top_title-h2 { margin-bottom: 1.6rem; }
.top_title-h3 { margin-bottom: .8rem; }

/* --------------------------------------------------------------
 * 17. Section – About
 * -------------------------------------------------------------- */
.section_top-about {
position: relative;
  padding-bottom: var(--margin-l);
  border-bottom: 2px dashed #000;
  margin-bottom: var(--margin-l);
}

.section_top-about--flex > div {
  display: flex;
  justify-content: space-between;
}

.writing_vertical {
  position: relative;
  writing-mode: vertical-rl;
  font-size: var(--font-size--h2);
  font-weight: 600;
}

.section_top-about--text {
  width: 60%;
}
.section_top-about--text p {
  margin-bottom: var(--margin-s);
}
.section_top-about--text h2 {
  font-size: var(--font-size--h3);
}

/* Background Circles */
.section_top-about .bg_image-l {
  width: 500px;
  height: 500px;
  margin-top: -30%;
  border-radius: 50%;
  box-shadow: -180px 160px 90px #ccc;
  z-index: -1;
}
.section_top-about .bg_image-m {
  position: absolute;
  top: 0;
  right: -250px;
  border-radius: 50%;
  box-shadow: -50px 50px 50px #ccc;
  z-index: -1;
}
.section_top-about .bg_image-s {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  box-shadow: -30px 40px 50px #ccc;
  z-index: -1;
}

/* --------------------------------------------------------------
 * 18. Section – People (Hito)
 * -------------------------------------------------------------- */
.section_hito {
  margin-bottom: var(--margin-l);
  padding-bottom: var(--margin-l);
  border-bottom: 2px dashed #000;
}

.section_top-hito--flex > div {
  display: flex;
  gap: 24px;
}

.section_top-hito--item h3 {
  margin-bottom: .8rem;
}

.top_slider {
  width: 45vw;
  margin-right: calc(50% - 50vw);
}

/* Interview Block */
.hito_interview {
  width: 50%;
  position: relative;
}
.hito_interview p {
  margin-bottom: var(--margin-m);
}
.hito_interview .bg_image-s {
  position: absolute;
  bottom: 20%;
  left: -15%;
  border-radius: 50%;
  box-shadow: -30px 40px 50px #ccc;
  z-index: -1;
}

.section_hito-about {
  margin-bottom: var(--margin-m);
}

.wpcp-post-title{
	
}

/* --------------------------------------------------------------
 * 19. Section – Flex Layout
 * -------------------------------------------------------------- */
.section_flex .section_flex-about {
  margin-bottom: var(--margin-m);
}

.section_flex-flex_container > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.section_flex-item {
  flex: 1;
}

.section_flex-img {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 35%;
	height: fit-content;
  aspect-ratio: 1 / 1;
  background-image: url('https://systembox-prod.sakura.ne.jp/shonai-tire_saiyo/wp/wp-content/uploads/2025/10/circle.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  box-shadow: -50px 50px 50px #ccc;
  z-index: -1;
}

.section_flex-img img {
  width: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.section_flex-text {
  margin-bottom: var(--margin-m);
}

/* --------------------------------------------------------------
 * 20. Section – Company / Work / Environment / Saiyou
 * -------------------------------------------------------------- */
.section_company,
.section_work,
.section_kankyou,
.section_saiyou {
  margin-bottom: var(--margin-l);
  padding-bottom: var(--margin-l);
  border-bottom: 2px dashed #000;
}

/* Saiyou Special Background */
.section_saiyou {
  position: relative;
  padding-bottom: 0;
  border-bottom: none;
}
.section_saiyou .bg_image-m {
  position: absolute;
  bottom: -50%;
  right: -10%;
  border-radius: 50%;
  box-shadow: -50px 50px 50px #ccc;
  z-index: -1;
}

/* --------------------------------------------------------------
 * 21. PDF Icon
 * -------------------------------------------------------------- */
a[href$='.pdf'] {
  background: url(../shonaitire/icon/ico_pdf.gif) no-repeat right 70%;
}
a[href$='.pdf']:hover {
  text-decoration: none;
}

