@charset "utf-8";

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: #fff; }

:root {
  --color-main: #333333;
  --color-accent: #52bfd2;
  --font-main: "Noto sans JP", serif;
}

body {
  color: var(--color-main);
  font-family: var(--font-main);
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

br.phone { display: none; }


/* ========================
  SCROLL FADE
======================== */

.fade-in{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.fade-in.is-show{
  opacity: 1;
  transform: translateY(0);
}


/* ========================
   Header
======================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

#header{
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease;
}

/* スクロール後 */
#header.is-scrolled{
  background: rgba(0,0,0,.05);
  backdrop-filter: blur(6px);
}



.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  margin: 0 auto;
}

.brand img { height: 40px; }


.global-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}


.global-nav a{
  padding-bottom: 5px;
  position: relative;
  color: #fff;
  font-weight: bold;
}
.global-nav a::before {
  background: var(--color-accent);
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.global-nav a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}

.nav-cta {
  padding: 10px 14px;
  background: var(--color-accent);
  color: #fff;
  height: 80px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  line-height: 60px;
}



/* hamburger */

.drawer-close{
  background-color: var(--color-accent);
  border: none;
  color: white;
}

.drawer-head{
  font-size: 18px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-main);
  margin: 6px 0;
  transition: 0.3s;
}



/* ========================
   Drawer
======================== */

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: 0.35s;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 86vw);
  background: #fff;
  transform: translateX(100%);
  transition: 0.35s;
  z-index: 1100;
}

.drawer-inner { padding: 20px; }

.drawer-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding-bottom: 10px;
}

.drawer-nav {
    display: grid;
    gap: 30px;
    margin-top: 20px;
    font-weight: 700;
}


/* active */

body.is-menu-open { overflow: hidden; }

body.is-menu-open .drawer { transform: translateX(0); }

body.is-menu-open .backdrop { opacity: 1; }



/* hamburger → X */

body.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}



/* HEADER */

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background-image: url("../img/top.png"); /* ←重要 */
  background-size: cover;
  background-position: center;
  margin-top: -78px;
}

.hero-inner {
  position: absolute;
  z-index: 1;
  max-width: 1200px;
  bottom: 50px;
  right: 0;
  margin: 0 auto;
}

.hero-catch {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.9s;
  text-align: right;
}

.hero-sub {
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 700;
  margin-top: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.9s;
  transition-delay: 0.15s;
  text-align: right;
}

body.is-loaded .hero-catch,
body.is-loaded .hero-sub {
  opacity: 1;
  transform: translateY(0);
}

/* TODAY TIME */

.today-hours {
  padding: 18px 24px;
}

.today-inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding-bottom: 30px;
  padding-top: 30px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.today-date {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.today-time {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-accent);
}

/* ABOUT */

.about-block{
  padding: 90px 24px;
  background: #fff;
}

.about-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

/* left */
.about-titleline{
  position: relative;
}

.about-dot{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.about-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.2;
}

.about-lead{
  margin: 26px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

/* photos (overlap collage) */
.about-photos{
  position: relative;
  margin-top: 34px;
  min-height: 360px;
}

.about-photo{
  display: block;
  width: 350px;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  object-fit: cover;
}

/* 上の写真 */
.about-photo.p1{
  position: relative;
  z-index: 2;
}

/* 下にずらして重ねる写真 */
.about-photo.p2{
  position: absolute;
  right: 0;
  width: 480px;
  z-index: 1;
  bottom: 50px;
}

/* right */
.about-text{
  margin: 0;
  font-size: 15px;
  color: #333;
  white-space: pre-line;
  line-height: 1.2;
}

.about-btn{
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 360px;
  max-width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent);
  font-weight: 700;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #fff;
}

.about-btn::after {
  background: var(--color-accent);
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.about-btn:hover{
  background: rgba(82,191,210,.08);
}

.about-btn-arrow{
  font-size: 18px;
}

.about-btn:hover {
  color: #fff;
}
.about-btn:hover::after {
  transform: scale(1, 1);
}

/* WHY RYUWA */

.why{
  background: #eef2f5;
  padding: 90px 24px;
}

.why-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.why-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.why-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.why-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
}

.why-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.why-sub::before,
.why-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.why-sub::before{ right: 100%; margin-right: 12px; }
.why-sub::after{ left: 100%; margin-left: 12px; }

.why-lead{
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 2.2;
  color: #333;
}

/* grid */
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.why-card{
  text-align: center;
}

.why-img{
  padding: 18px;
  border-radius: 6px;
  position: relative;
}

.why-img img.card{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.why-img img.num{
  position: absolute;
  width: 50px;
}

/* タイトル・本文 */
.why-card-title{
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.why-card-text{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  letter-spacing: -1px;
}

/* SERVICE */

.service{
  background: #fff;
  padding: 90px 24px;
}

.service-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.service-head{
  margin-bottom: 34px;
}

.service-titleline{
  position: relative;
}

.service-mark{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.service-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.service-en::before{
  content: "";
  height: 0.5px;
  width: 40px;
  background-color: #7a8a96;
  display: block;
  margin: auto 10px auto 0;
}

.service-en{
  font-size: 12px;
  color: var(--color-main);
  font-weight: 700;
  position: relative;
  display: flex;
  margin: 10px 0px 10px 10px;
}

.service-lead{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-main);
}

/* list */
.service-list{
  display: grid;
  gap: 26px;
}

.service-item{
  display: grid;
  grid-template-columns: 560px 1fr;
  gap: 34px;
  align-items: center;
}

.service-img img{
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 4px;
}

/* text */
.service-item-title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-dot{
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  display: inline-block;
}

.service-text{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 2;
  color: #333;
}

/* BANNER */
.cta-banner{
  position: relative;
  padding: 46px 24px;
  background-image: url("../img/banner.jpg"); /* ←差し替え */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 画像に暗めフィルター */
.cta-banner::before{
  content:"";
  position:absolute;
  inset:0;
}

.cta-banner-inner{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

/* ---- mail button ---- */
.cta-mail{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 16px 18px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.cta-mail:hover{
  filter: brightness(0.95);
}

.cta-mail-text{
  font-size: 18px;
  letter-spacing: .02em;
}

.cta-mail-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

/* ---- tel ---- */
.cta-tel{
  text-align: left;
  color: #fff;
}

.cta-tel-num{
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cta-tel-num a{
  color: #fff;
}

.cta-tel-sub{
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  opacity: .92;
}


/* RULES */
.rules{
  background: #eef2f5;
  padding: 90px 24px;
}

.rules-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.rules-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.rules-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.rules-sub{
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--color-main);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rules-sub span{
  height: 0.5px;
  width: 100px;
  background-color: #7a8a96;
  display: inline-block;
  margin: 20px;
}

.rules-lead{
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2.0;
  color: #333;
}

/* icons */

.rules-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: start;
}

.rules-item{
  text-align: center;
}

.rules-item img{
  width: 120px;
  height: auto;
  margin: 0 auto 14px;
}

.rules-item p{
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

/* RECRUIT */
.recruit{
  background: #fff;
  padding: 90px 24px;
}

.recruit-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* head */
.recruit-head{
  margin-bottom: 15px;
}

.recruit-titleline{
  position: relative;
}

.recruit-mark{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.recruit-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.recruit-en{
  font-size: 12px;
  color: var(--color-main);
  font-weight: 700;
  position: relative;
  display: flex;
  margin: 10px 0px 10px 10px;
}

.recruit-en::before{
  content: "";
  height: 0.5px;
  width: 40px;
  background-color: #7a8a96;
  display: block;
  margin: auto 10px auto 0;
}

.recruit-lead{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 2.0;
  color: #333;
}

/* grid */
.recruit-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

/* card */
.recruit-card{
  background: #eef2f5;
  padding: 30px 30px 30px;
  position: relative;
}

.recruit-card-title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.recruit-card-text{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 2.0;
  color: #333;
}

/* button */
.recruit-btn{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  width: 260px;
  max-width: 100%;
  position: absolute;
  overflow: hidden;
}

.recruit-btn:hover{
  filter: brightness(.96);
}

.recruit-btn-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

/* image */
.recruit-img img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* COMPANY */
.company{
  padding: 90px 24px;
}

.company-inner{
  max-width: 900px;
  margin: 0 auto;
}

.company-head{
  text-align: center;
  margin-bottom: 34px;
}

.company-mark{
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.company-title{
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .03em;
}

.company-sub{
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  color: #7a8a96;
  font-weight: 700;
}

.company-tagline{
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.company-tagline::before,
.company-tagline::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.company-tagline::before{ right: 100%; margin-right: 12px; }
.company-tagline::after{ left: 100%; margin-left: 12px; }


/* table */
.company-table-wrap{
  margin-top: 20px;
}

.company-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.company-table th,
.company-table td{
  padding: 16px 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
  font-size: 13px;
  line-height: 2.0;
}

.company-table th{
  width: 180px;
  font-weight: 700;
  color: #333;
  text-align: left;
}

.company-table td{
  color: #333;
}

/* FOOTER */
/* ========================
   Footer
======================== */

.site-footer{
  background: #eef2f5;
  padding: 44px 24px 22px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* nav */
.footer-nav{
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-nav a{
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
}

.footer-nav a:hover{
  opacity: .8;
}

/* contact row */
.footer-contact{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  margin-bottom: 34px;
}

.footer-mail{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  min-width: 520px;
  max-width: 100%;
}

.footer-mail-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.footer-mail-text{
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* tel */
.footer-tel{
  text-align: center;
}

.footer-tel-num{
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tel-num a{
  color: #333;
}

.footer-tel-num a img{
  height: 42px;
  font-size: 20px;
  display: inline;
}

.footer-tel-sub{
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  opacity: .9;
}

/* bottom */
.footer-bottom{
  text-align: center;
  padding-top: 10px;
}

.footer-logo{
  height: 34px;
  margin: 0 auto;
}

.footer-copy{
  margin: 12px 0 0;
  font-size: 12px;
  color: #333;
  opacity: .7;
}


/* company.html */

.sub-hero{
  position: relative;
  height: 520px;            /* スクショの縦感に近い */
  margin: -76px 24px 0;           /* 外側の白余白 */
  background-image: url("../img/company_top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 文字を見やすくする薄い暗幕（不要なら消してOK） */
.sub-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.sub-hero-inner{
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 56px;
}

.sub-hero-title{
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

/* COMPANY INTRO */
.company-intro{
  padding: 80px 24px 90px;
  background: #fff;
}

.company-intro-inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* text */

.company-intro-text{
  margin: 0 auto 60px;
  max-width: 720px;
  font-size: 14px;
  line-height: 2.2;
  color: #333;
}

/* gallery */

.company-intro-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.company-intro-img img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* STORY */
.story{
  background: #fff;
  padding: 90px 24px;
}

.story-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: end;
}

/* head（青い■はrecruitと同じ思想） */
.story-head{
  margin-bottom: 18px;
}

.story-titleline{
  position: relative;
}

.story-mark{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.story-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.story-en{
  margin: 10px 0 0 10px;
  font-size: 12px;
  color: var(--color-main);
  font-weight: 700;
  display: flex;
}

.story-en::before{
  content: "";
  height: 0.5px;
  width: 40px;
  background-color: #7a8a96;
  display: block;
  margin: auto 10px auto 0;
}

/* body */
.story-body p{
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 2;
  color: #333;
}

/* image */
.story-right img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* PHILOSOPHY */
.philosophy{
  background: #fff;
  padding: 90px 24px;
}

.philosophy-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

/* ■（why-mark思想） */
.philosophy-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.philosophy-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
}

/* ライン付き英字（why-sub思想） */
.philosophy-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.philosophy-sub::before,
.philosophy-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.philosophy-sub::before{ right: 100%; margin-right: 12px; }
.philosophy-sub::after{ left: 100%; margin-left: 12px; }

/* text */
.philosophy-body{
  text-align: center;
}

.philosophy-body p{
  margin: 0 auto;
  max-width: 560px;
  font-size: 13px;
  line-height: 2.4;
  color: #333;
}

/* PROMISE */
.promise{
  background: #fff;
  padding: 90px 24px;
}

.promise-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 70px;
  align-items: start;
}

/* left image */
.promise-photo img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* head */
.promise-titleline{
  position: relative;
}

.promise-mark{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.promise-title{
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .03em;
  color: #333;
}

/* PROMISE 下線 */
.promise-sub{
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 800;
  color: #333;
  display: flex;
  padding-bottom: 10px;
}

.promise-sub::before {
    content: "";
    height: 0.5px;
    width: 40px;
    background-color: #7a8a96;
    display: block;
    margin: auto 10px auto 0;
}

.promise-lead{
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 2.0;
  color: #333;
  font-weight: 600;
}

/* list */
.promise-list{
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 22px;
}

.promise-item-head{
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.promise-num{
  color: var(--color-accent);
  font-weight: 800;
  font-size: 14px;
}

.promise-item-title{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-accent);
}

.promise-item-text{
  margin: 8px 0 0 24px; /* 数字のぶんだけインデント */
  font-size: 13px;
  line-height: 1.9;
  color: #333;
}


/* service.html */

.sub-hero-2{
  position: relative;
  height: 520px;            /* スクショの縦感に近い */
  margin: -76px 24px 0;            /* 外側の白余白 */
  background-image: url("../img/service_top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 文字を見やすくする薄い暗幕（不要なら消してOK） */
.sub-hero-2::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.sub-hero-inner-2{
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 56px;
}

.sub-hero-title-2{
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

/* SERVICE TILES */
.service-tiles{
  background: #eef2f5;
  padding: 90px 24px;
}

.service-tiles-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* head（whyと同じ思想） */
.service-tiles-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.service-tiles-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.service-tiles-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
}

/* ライン付き英字（why-sub思想） */
.service-tiles-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.service-tiles-sub::before,
.service-tiles-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 160px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.service-tiles-sub::before{ right: 100%; margin-right: 12px; }
.service-tiles-sub::after{ left: 100%; margin-left: 12px; }

/* grid */
.service-tiles-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 56px; /* 縦 横 */
  align-items: start;
}

.service-tile{
  display: block;
  text-align: center;
}

.service-tile-img{
  overflow: hidden;
}

.service-tile-img img{
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.service-tile-label{
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #333;
}

/* hover（クリックできる感じ） */
.service-tile:hover .service-tile-img img{
  transform: scale(1.03);
  filter: brightness(.98);
}

.service-tile:focus-visible{
  outline: 3px solid rgba(82,191,210,.45);
  outline-offset: 6px;
}

/* SERVICE DETAIL */

.service-detail{
  background: #fff;
  padding: 90px 24px;
}

.service-detail-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* head */

.service-detail-head{
  margin-bottom: 40px;
}

.service-detail-titleline{
  position: relative;
}

.service-detail-mark{
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  position: absolute;
  top: -30px;
  left: -30px;
}

.service-detail-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

/* 英字ライン仕様（←ここが重要） */

.service-detail-en{
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #333;

  display: flex;
  align-items: center;
}

.service-detail-en::before{
  content: "";
  height: 0.5px;
  width: 40px;
  background-color: #7a8a96;
  display: block;
  margin-right: 10px;
}

/* lead */

.service-detail-lead{
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 2;
  font-weight: 600;
  color: #333;
}

/* ========================
  list
======================== */

.service-detail-list{
  display: grid;
  gap: 46px;
}

.service-detail-item{
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 46px;
  align-items: start;
}

.service-detail-img img{
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}

/* right */

.service-detail-item-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-dot{
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  display: inline-block;
}

.service-detail-text{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 2;
  color: #333;
  font-weight: 600;
}

/* recruit.html */

.sub-hero-3{
  position: relative;
  height: 520px;            /* スクショの縦感に近い */
  margin: -76px 24px 0;           /* 外側の白余白 */
  background-image: url("../img/recruit_top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 文字を見やすくする薄い暗幕（不要なら消してOK） */
.sub-hero-3::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.sub-hero-inner-3{
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 56px;
}

.sub-hero-title-3{
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

/* WORK DETAILS */

.work-details{
  background: #fff;
  padding: 90px 24px;
}

.work-details-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* head（service-tiles-head相当） */
.work-details-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.work-details-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.work-details-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #333;
}

.work-details-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.work-details-sub::before,
.work-details-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.work-details-sub::before{ right: 100%; margin-right: 12px; }
.work-details-sub::after{ left: 100%; margin-left: 12px; }

.work-details-lead{
  margin-top: 26px;
  font-size: 13px;
  line-height: 2.2;
  color: #333;
  font-weight: 600;
}

.work-details-lead p{
  margin: 0;
}

.work-details-lead p + p{
  margin-top: 22px;
}

/* list */
.work-details-list{
  display: grid;
  gap: 56px;
}

.work-details-item{
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 46px;
  align-items: center;
}

.work-details-img img{
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}

/* right */
.work-details-item-title{
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.work-details-dot{
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  display: inline-block;
}

.work-details-text{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 2.0;
  color: #333;
}

/* WORK ENV */

.work-env{
  background: #fff;
  padding: 90px 24px;
}

.work-env-inner{
  max-width: 1200px;
  margin: 0 auto;
}

/* head（why型） */
.work-env-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.work-env-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.work-env-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #333;
}

.work-env-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.work-env-sub::before,
.work-env-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.work-env-sub::before{ right: 100%; margin-right: 12px; }
.work-env-sub::after{ left: 100%; margin-left: 12px; }

.work-env-lead{
  margin: 26px 0 0;
  font-size: 13px;
  line-height: 2.2;
  color: #333;
  font-weight: 600;
}

/* body */
.work-env-body{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.work-env-block + .work-env-block{
  margin-top: 38px;
}

.work-env-item-title{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.work-env-dot{
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  display: inline-block;
}

.work-env-text{
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 2.2;
  color: #333;
}

/* photo */
.work-env-photo{
  margin-top: 56px;
}

.work-env-photo img{
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
}

/* ========================
  COMPENSATION
======================== */

.compensation{
  background: #fff;
  padding: 90px 24px;
}

.compensation-inner{
  max-width: 900px;
  margin: 0 auto;
}

/* head（why型） */
.compensation-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.compensation-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.compensation-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #333;
}

.compensation-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.compensation-sub::before,
.compensation-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.compensation-sub::before{ right: 100%; margin-right: 12px; }
.compensation-sub::after{ left: 100%; margin-left: 12px; }

.compensation-lead{
  margin: 26px 0 0;
  font-size: 12px;
  line-height: 2.2;
  color: #333;
  font-weight: 600;
}

/* blocks */
.comp-block{
  margin-top: 50px;
}

.comp-block-title{
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.comp-dot{
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  display: inline-block;
}

/* table */
.comp-table-wrap{
  border-bottom: 1px solid rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

.comp-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comp-table th,
.comp-table td{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  line-height: 2.0;
  vertical-align: top;
}

.comp-table th{
  width: 34%;
  color: #333;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.comp-table td{
  color: #333;
  font-weight: 600;
}

/* notes */
.comp-note{
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 2.0;
  color: #333;
  font-weight: 600;
  text-align: center;
}

/* contact.html */

.sub-hero-4{
  position: relative;
  height: 520px;            /* スクショの縦感に近い */
  margin: -76px 24px 0;           /* 外側の白余白 */
  background-image: url("../img/contact_top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 文字を見やすくする薄い暗幕（不要なら消してOK） */
.sub-hero-4::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.sub-hero-inner-4{
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 56px;
}

.sub-hero-title-4{
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

/* CONTACT */


.contact{
  background: #fff;
  padding: 90px 24px;
}

.contact-inner{
  max-width: 900px;
  margin: 0 auto;
}

/* head：why と同じライン構造 */
.contact-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.contact-mark{
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  margin-bottom: 18px;
}

.contact-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #333;
}

.contact-sub{
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 700;
  color: #7a8a96;
  position: relative;
  display: inline-block;
  padding: 0 14px;
}

.contact-sub::before,
.contact-sub::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 90px;
  height: 1px;
  background: rgba(0,0,0,.18);
}

.contact-sub::before{ right: 100%; margin-right: 12px; }
.contact-sub::after{ left: 100%; margin-left: 12px; }

.contact-lead{
  margin: 26px 0 0;
  font-size: 12px;
  line-height: 2.2;
  color: #333;
  font-weight: 600;
}

/* form */
.contact-form{
  margin-top: 18px;
}

/* 2カラム（左ラベル / 右入力） */
.form-grid{
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.form-row{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: center;
}

.form-label{
  font-size: 12px;
  font-weight: 800;
  color: #333;
  letter-spacing: .02em;
  text-align: left;
}

/* inputs */
.input,
.textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.35);
  background: #fff;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  outline: none;
}

.input{ height: 42px; }
.textarea{ resize: vertical; min-height: 84px; }

.input:focus,
.textarea:focus{
  border-color: rgba(82,191,210,.9);
  box-shadow: 0 0 0 3px rgba(82,191,210,.18);
}

/* radio row */
.radio-row{
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  align-items: center;
}

.radio{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

.radio input{
  width: 18px;
  height: 18px;
}

/* submit */
.form-actions{
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.form-submit{
  min-width: 220px;
  padding: 14px 22px;
  border: none;
  background: #7fbfd0; /* 画像のボタン寄せ（薄め） */
  color: #333;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.form-submit:hover{
  filter: brightness(.98);
}



/* pclast */

/* ========================
   Responsive
======================== */

@media (max-width: 1100px){

  .header-inner { padding: 0 18px; }

  /* ABOUT */
    .about-inner{
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .about-title{ font-size: 30px; }
  .about-lead{ 
    font-size: 20px; 
  }

  .about-photo.p1{ width: 480px; }
  .about-photo.p2{ width: 520px; }

  /* WHY RYUWA */
  .why{ padding: 80px 18px; }

  .why-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .why-title{ font-size: 30px; }
  
  /* SERVICE */
    .service{ padding: 80px 18px; }

  .service-item{
    grid-template-columns: 480px 1fr;
    gap: 26px;
  }

  /* BANNER */
  .cta-tel-num{ font-size: 30px; }

  /* RULES */
  .rules-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  /* RECRUIT */
  .recruit{ padding: 80px 18px; }
  .recruit-grid{ grid-template-columns: 1fr 1fr; }

  /* FOOTER */
  .footer-mail{
    min-width: 420px;
  }

  .footer-mail-text{
    font-size: 16px;
  }

  .footer-tel-num{
    font-size: 40px;
  }

  /* company.html */
  .sub-hero{ margin: 0 18px; height: 480px; }
  .sub-hero-inner{ padding: 0 18px 46px; }

  /* STORY */
  .story{
    padding: 80px 18px;
  }
  .story-inner{
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  /* PROMISE */
  .promise{
    padding: 80px 18px;
  }
  .promise-inner{
    grid-template-columns: 420px 1fr;
    gap: 40px;
  }

    /* SERVICE TILES */
  .service-tiles{
    padding: 80px 18px;
  }

  .service-tiles-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 34px;
  }

  .service-tiles-sub::before,
  .service-tiles-sub::after{
    width: 110px;
  }

  /* SERVICE DETAIL */
  .service-detail{
    padding: 80px 18px;
  }

  .service-detail-item{
    grid-template-columns: 520px 1fr;
    gap: 30px;
  }

  .service-detail-lead {
    line-height: 1.8;
}

  .recruit-card-text {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
}
.service-detail-text {
    line-height: 1.8;
}

    /* WORK DETAILS */
  .work-details{
    padding: 80px 18px;
  }

  .work-details-item{
    grid-template-columns: 520px 1fr;
    gap: 30px;
  }

  /* WORK ENV */
  .work-env{ padding: 80px 18px; }

  .compensation{ padding: 80px 18px; }
  /* 1100pxlast */
}


@media (max-width: 900px){

  .header-inner { height: 50px; }

  .global-nav { display: none; }

  .menu-toggle { display: block; }

  .hero { min-height: calc(100vh - 50px); }

    .today-inner {
    flex-direction: column;
    gap: 8px;
  }

  .today-date {
    font-size: 16px;
  }

  .today-time {
    font-size: 18px;
  }

  .about-dot {
    left: -10px;
  }

  .about-text{
    font-size: 14px;
    line-height: 1.8;
  }

  /* ABOUT */
  .about-block{ padding: 70px 18px; }

  .about-inner{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-titleline{ gap: 12px; }
  .about-dot{ width: 22px; height: 22px; }

  .about-title{ font-size: 20px; }
  .about-lead{ font-size: 16px; }

  .about-photos{
    min-height: 300px;
  }

  .about-photo.p2{
    position: relative;
    left: 16px;
    right: auto;
    bottom: -18px;
    width: 92%;
  }

  .about-btn{
    width: 100%;
  }

  /* WHY RYUWA */
  .why-head{ margin-bottom: 40px; }

  .why-title{ font-size: 18px; }

  .why-sub::before,
  .why-sub::after{
    width: 50px;
  }

  .why-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-img{ padding: 14px; }

  .why-lead {
    line-height: 1.8;
}

   /* SERVICE */
  .service-item{
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .service-img img{
    aspect-ratio: 16 / 8;
  }

  .service-title{ font-size: 24px; }


  .service-mark {
    left: -10px;
}

.service-lead{
  font-size: 14px;
}

.service-text {
    line-height: 1.8;
}


  /* BANNER */
    .cta-banner{ padding: 34px 18px; }

  .cta-banner-inner{
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cta-mail{
    justify-content: space-between;
  }

  .cta-tel{
    text-align: center;
  }

  .cta-tel-num{
    font-size: 28px;
  }

  .cta-mail-text {
    font-size: 16px;
    letter-spacing: 0em;
}
  /* RULE */
    .rules{
    padding: 70px 18px;
  }

  .rules-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .rules-title{
    font-size: 18px;
  }
  /* RECRUIT */
  .recruit{ padding: 70px 18px; }

  .recruit-title{ font-size: 24px; }

  .recruit-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .recruit-card{
    padding: 22px 18px;
  }

  .recruit-btn{
    width: 80%;
    right: 0px;
  }

  .recruit-mark {
    left: -10px;
  }

  .recruit-lead {
      font-size: 14px;
      line-height: 1.8;
      margin-bottom: 40px;
  }

  .recruit-card-title {
    font-size: 16px;
  }

  .recruit-img img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      display: block;
      margin-top: 50px;
  }

  /* COMPANY */
  .company{
    padding: 70px 18px;
  }

  .company-inner{
    max-width: 100%;
  }

  .company-title{
    font-size: 18px;
  }

  .company-table th{
    width: 34%;
  }

  .company-table th,
  .company-table td{
    padding: 14px 10px;
    font-size: 12.5px;
  }

/* FOOTER */
  .site-footer{
    padding: 36px 18px 18px;
  }

  .footer-nav{
    gap: 18px;
    margin-bottom: 22px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-contact{
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
  }

  .footer-mail{
    width: 100%;
    min-width: auto;
    padding: 18px 16px;
    justify-content: center;
    background-color: #fff;
    border-radius: 15px;
  }

  .footer-mail-text{
    font-size: 15px;
  }

  .footer-tel{
    text-align: center;
  }

  .footer-tel-num{
    justify-content: center;
    font-size: 30px;
  }

  .footer-logo {
    height: 20px;
    margin: 0 auto;
  }

  .footer-tel-num a img {
    height: 30px;
    font-size: 20px;
    display: inline;
  }

  .footer-mail-icon {
    width: 32px;
    width: 32px;
    font-size: 20px;
}
  /* company.html */
  .sub-hero {
      margin: 20px 12px;
      height: 200px;
  }
  .sub-hero-inner{ padding: 0 14px 38px; }

  /* COMPANY INTRO */
  .company-intro{
    padding: 70px 18px;
  }

  .company-intro-gallery{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company-intro-text{
    font-size: 14px;
    line-height: 1.8;
  }

    /* STORY */
  .story{
    padding: 70px 18px;
  }
  .story-inner{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-mark{
    left: -10px; /* モバイルで端に寄りすぎるの防止 */
  }

  .story-title {
    font-size: 24px;
}

.story-body p {
    font-size: 14px;
  }

  /* PHILOSOPHY */
  .philosophy{
    padding: 70px 18px;
  }

  .philosophy-sub::before,
  .philosophy-sub::after{
    width: 50px;
  }

  .philosophy-body p{
    max-width: 620px;
    font-size: 14px;
    line-height: 2;
  }

  /* PROMISE */
  .promise{
    padding: 70px 18px;
  }
  .promise-inner{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .promise-mark{
    left: -10px;
  }
  .promise-photo img{
    aspect-ratio: 16 / 10;
    margin-bottom: 40px;
  }


  /* SERVICE TILES */
  .service-tiles{
    padding: 70px 18px;
  }

  .service-tiles-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-tiles-sub::before,
  .service-tiles-sub::after{
    width: 70px;
  }

  /* SERVICE DETAIL */
  .service-detail{
    padding: 70px 18px;
  }

  .service-detail-mark{
    left: -10px;
  }

  .service-detail-item{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-detail-img img{
    aspect-ratio: 16 / 8;
  }

  /* WORK DETAILS */
  .work-details{
    padding: 70px 18px;
  }

  .work-details-head{
    margin-bottom: 40px;
  }

  .work-details-sub::before,
  .work-details-sub::after{
    width: 50px;
  }

  .work-details-item{
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .work-details-img img{
    aspect-ratio: 16 / 8;
  }

  /* WORK ENV */
  .work-env{ padding: 70px 18px; }

  .work-env-sub::before,
  .work-env-sub::after{
    width: 50px;
  }

  .work-env-photo img{
    aspect-ratio: 16 / 7;
  }
  .compensation{ padding: 70px 18px; }

  .compensation-sub::before,
  .compensation-sub::after{
    width: 50px;
  }

  .comp-table th{
    width: 38%;
    white-space: normal;
  }

  .comp-table th,
  .comp-table td{
    padding: 12px 12px;
    font-size: 12px;
  }

  .comp-note{
    font-size: 11px;
  }

  .compensation-sub {
    font-size: 5px;
}

  .work-details-text {
      line-height: 1.8;
  }
  .work-env-text {
    line-height: 1.8;
}


 /* CONTACT */
  .contact{ padding: 70px 18px; }

  .contact-sub::before,
  .contact-sub::after{
    width: 50px;
  }

  .form-row{
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .form-label{
    text-align: left;
  }

  .form-grid{
    gap: 14px;
  }

  /* 900pxlast */
  .brand img {
      height: 24px;
  }

  br.phone{
    display: block;
  }

  .sub-hero-2,
  .sub-hero-3,
  .sub-hero-4 {
      margin: 20px 12px;
      height: 200px;
  }

  .nav-cta {
    border-radius: 10px;
    width: 100%;
}
}

@media (max-width: 600px){

  .rules-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

}