/* =========================
   Base / Tokens
========================= */
:root{
  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --container: 1120px;
  --gutter: 24px;

  --bg: #ffffff;
  --bg-alt: #f2f8ff;
  --text: #0b1220;
  --muted: #5b6476;
  --border: rgba(16, 24, 40, .12);

  --primary: #D44848;
  --primary-ink: #ffffff;
  --cta-red: #d84a4a;
  --cta-red-hover: #c74242;
  --footer-blue: #2b5caa;
  --footer-blue-light: #6da3d9;
  --footer-btn: #d6504e;
  --footer-btn-hover: #c44848;
  --wave: #edfaff;
  --wave-strong: #d7ecff;
  --shadow: 0 16px 40px rgba(16, 24, 40, .10);

  --radius: 16px;
  --radius-sm: 12px;

  --header-h: 72px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 2;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

html{ scroll-behavior: smooth; }

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

.rink_map {
	text-decoration: underline;
}

.center{ display: flex; justify-content: center; }

/* =========================
   Section label (EN/JA)
========================= */
.section-label{
  display: grid;
  gap: 2px;
  justify-items: center;
  margin: 0px 0 50px;
}
.section-label-img{
  display: block;
  height: auto;
  margin: 0 auto;
}
.section-label-img--news,
.section-label-img--services,
.section-label-img--projects{ width: min(72vw, 440px); }
.section-label-ja{
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: rgba(11, 18, 32, .55);
	text-align: center;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  transform: translateY(-200%);
  transition: transform .2s ease;
  z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

.container{
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================
   Header / Nav
========================= */
.site-header{
    position: fixed;
    top: 0;
    z-index: 50;  
	width: 100%;
  	/*height: var(--header-h);   */ 
	height: 100px;
  /*background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);*/
}
.header-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo{
  display: block;
  width: auto;
}

.site-nav{ display: flex; align-items: center; }
.nav-toggle{
  appearance: none;
  border: 0px solid var(--border);
  background: none;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
	z-index: 999;
}
.nav-toggle-lines{
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 999px;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}
.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

.nav-panel{ display: block; }
.nav-list{
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(11, 18, 32, .82);
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-cta{
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 14px;
}

/* =========================
   Hero
========================= */
.hero--photo{
  position: relative;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.hero-photo{
  min-height: clamp(320px, 58vw, 520px);
  /*background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.02) 40%, rgba(255,255,255,0) 70%),
    url("../image/hero.jpg");*/
  background-size: cover;
  background-position: center 22%;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  pointer-events: none;
}
.hero-overlay-inner{
  width: 100%;
}
.hero-logo{
  display: block;
  width: min(300px, 82vw);
  height: auto;
  pointer-events: auto;
}
.hero-wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 90px;
  pointer-events: none;
}
.hero-wave::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height:90px;
	background-image: url("../image/bg_wave01.png");
	background-position: bottom center;
  	background-repeat: no-repeat;
}

/* NEWS */
.section--news{
  background: var(--wave);
  padding: 26px 0 34px;
}
.news-box{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(32, 78, 175, .12);
  border-radius: 18px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}
.news-item{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(16,24,40,.08);
}
.news-item:first-child{ border-top: 0; }
.news-date{
  font-weight: 100;
  font-size: 12px;
  color: rgba(11,18,32,.55);
}
.news-title{
  font-weight: 100;
  font-size: 12px;
  color: rgba(11,18,32,.72);
}

/* About */

h2 {
  	overflow: hidden;
	text-align: center;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity .7s cubic-bezier(.22,.61,.36,1),
      transform .7s cubic-bezier(.22,.61,.36,1);
}

.char.show {
    opacity: 1;
    transform: translateY(0);
}
.section--about{
  position: relative;
  /*background: #f0f7ff;*/
  padding: 48px 0 72px;
  overflow: visible;
}
.about-title{
  margin: 0 0 20px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: #333333;
  letter-spacing: .04em;
}
.about-intro{
  margin: 0 0 32px;
  text-align: center;
}
.about-intro p{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #555555;
}
.about-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}
.about-card{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 0 16px 20px;
  overflow: visible;
  min-height: 168px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, .06);
}
.about-card-text{
  flex: 1;
  min-width: 0;
  padding-bottom: 8px;
  align-self: flex-start;
}
.about-card-title{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  color: #333333;
	text-align: center;
}
.about-card-body{
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #555555;
}
.about-card-img{
  display: block;
  width: min(200px, 50%);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: bottom right;
  flex-shrink: 0;
  align-self: flex-end;
  margin: 0 -20px -28px 4px;
  position: relative;
  z-index: 1;
}
.about-action{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 8px;
}
.btn-about{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  height: 52px;
  padding: 0 40px;
  border-radius: 10px;
  background: #d65550;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: background .15s ease;
}
.about-wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 56px;
}

/* Waves for sections */
.wave-top,
.wave-bottom{
  height: 42px;
  background: var(--wave);
}
.wave-top::before,
.wave-bottom::before{
  content: "";
  display: block;
  height: 100%;
}
.wave-bottom{
  /*transform: scaleY(-1);*/
}

/* Services */
.section--services{
  padding: 0;
  background: var(--wave);
}
.section--services .container{ padding-top: 18px; padding-bottom: 18px; }
.service-card{
  background: #fff;
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 12px;
  overflow: hidden;
}
.service-thumb{
  aspect-ratio: 4 / 3;
  height: auto;
  background-size: cover;
  background-position: center;
}
.service-thumb[data-thumb="1"]{ background-image: url("../image/servise01.jpg"); }
.service-thumb[data-thumb="2"]{ background-image: url("../image/servise02.jpg"); }
.service-thumb[data-thumb="3"]{ background-image: url("../image/servise03.jpg"); }
.service-thumb[data-thumb="4"]{ background-image: url("../image/servise04.jpg"); }
.service-thumb[data-thumb="5"]{ background-image: url("../image/servise05.jpg"); }
.service-thumb[data-thumb="6"]{ background-image: url("../image/servise06.jpg"); }
.service-thumb[data-thumb="7"]{ background-image: url("../image/servise07.jpg"); }
.service-thumb[data-thumb="8"]{ background-image: url("../image/servise08.jpg"); }
.service-thumb[data-thumb="9"]{ background-image: url("../image/servise09.jpg"); }
.service-thumb::after{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,.00) 45%, rgba(0,0,0,.10) 100%);
}
.service-body{ padding: 20px 30px 30px; }
.service-title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
	line-height:1.5;
	color: #2b5caa;
}
.service-text{ margin: 0; font-size: 14px; color: rgba(11,18,32,.58); }
.text-link--center{ display: inline-block; padding: 12px 0 0; font-size: 12px; }

/* Projects */
.section--projects{
  /*padding: 34px 0 48px;
  background: var(--wave);*/
}
.projects{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.project{
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-thumb{
  aspect-ratio: 4 / 3;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  border: 0;
}
.project:nth-child(1) .project-thumb{ background-image: url("../image/projects01.jpg"); }
.project:nth-child(2) .project-thumb{ background-image: url("../image/projects02.jpg"); }
.project:nth-child(3) .project-thumb{ background-image: url("../image/projects03.jpg"); }
.project:nth-child(4) .project-thumb{ background-image: url("../image/projects04.jpg"); }
.project:nth-child(5) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(6) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(7) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(8) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(9) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(10) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(11) .project-thumb{ background-image: url("../image/projects00.jpg"); }
.project:nth-child(12) .project-thumb{ background-image: url("../image/projects00.jpg"); }

.project-title{
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /*text-align: center;*/
  padding: 18px 14px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: .02em;
}
.projects-actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
.btn-projects{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  background: #d65151;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border: none;
  transition: background .15s ease;
}

/* =========================
   Sections / Components
========================= */
.section{
  padding: 72px 0;
}
.section-alt{ background: var(--bg-alt); }
.section-head{ margin-bottom: 22px; }
.section-head-row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.section-kicker{
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(11, 18, 32, .55);
  font-size: 12px;
}
.section-title{
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.text-muted{ color: var(--muted); }
.text-link{
  font-weight: 600;
  color: rgba(27, 77, 255, .95);
}

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.kv{ margin: 0; }
.kv-row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.kv-row:first-child{ border-top: 0; padding-top: 0; }
.kv-row dt{ color: rgba(11, 18, 32, .68); font-weight: 600; }
.kv-row dd{ margin: 0; }

.grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}
.tile-title{
  margin: 0 0 6px;
  font-size: 18px;
}
.tile-text{
  margin: 0;
  color: var(--muted);
}

.work{
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.work-thumb{
  height: 170px;
  background:
    linear-gradient(135deg, rgba(27,77,255,.20), rgba(122,205,255,.18)),
    linear-gradient(180deg, #f2f4ff 0%, #ffffff 100%);
}
.work-body{ padding: 14px 14px 16px; }
.work-title{ margin: 0 0 6px; font-weight: 700; }
.work-meta{ margin: 0; color: var(--muted); font-size: 13px; }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;  
	border-radius: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary--red{
  background: var(--cta-red);
  color: #fff;
}
.btn-secondary{
  background: #fff;
  border-color: var(--border);
  color: rgba(11, 18, 32, .9);
}

/* Contact */
.contact-card{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}
.form{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field{ display: grid; gap: 6px; }
.field-full{ grid-column: 1 / -1; }
.field-label{ font-weight: 700; font-size: 13px; color: rgba(11, 18, 32, .78); }
.field-input{
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 12px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field-input:focus{
  border-color: rgba(27, 77, 255, .55);
  box-shadow: 0 0 0 4px rgba(27, 77, 255, .12);
}
.form-actions{ margin-top: 10px; }
.contact-side{ display: grid; gap: 12px; }
.contact-box{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.contact-title{ margin: 0 0 8px; font-weight: 800; }
.contact-tel{ margin: 0 0 6px; font-weight: 900; font-size: 20px; }
.contact-tel a{ color: rgba(27, 77, 255, .95); }

/* Footer */
.site-footer{
  margin: 0;
  padding: 0;
  background: var(--footer-blue);
}

/* Footer top: CTA + illustrations */
.footer-cta{
  position: relative;
  background: #fff;
  overflow: visible;
}
.footer-cta-head{
  text-align: center;
  padding: 56px 0 36px;
}
.footer-cta-title{
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: .04em;
}
.footer-cta-lead,
.footer-cta-note{
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(11, 18, 32, .62);
}
.footer-cta-note{
  margin-top: 2px;
}
.footer-cta-body{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: flex-end;
  gap: 12px;
  min-height: 140px;
  padding-bottom: 8px;
}
.footer-illus{
  display: block;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  margin-bottom: 10px;
}
.footer-illus--left{
  width: min(200px, 36vw);
  justify-self: start;
}
.footer-illus--right{
  width: min(240px, 42vw);
  justify-self: end;
}
.btn-contact-form{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: center;
  justify-self: center;
  min-width: min(100%, 340px);
  height: 56px;
  padding: 0 36px;
  border-radius: 8px;
  background: var(--footer-btn);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  transition: background .15s ease;
  margin-bottom: 24px;
}
.btn-contact-icon{
  flex-shrink: 0;
}
.footer-waves{
  position: relative;
  z-index: 1;
  height: 56px;
  margin-top: -24px;
}
.footer-wave-bg{
  position: absolute;
  inset: 0;
  background: var(--footer-blue);
}
.footer-wave-top{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

/* Footer main: company + nav */
.footer-main{
  background: var(--footer-blue);
  color: #fff;
  padding: 36px 0 0;
  margin-top: -1px;
	background-image: url("../image/bg_footer.png");
	background-position: bottom center;
	background-repeat: no-repeat;
}

.footer-main-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-company-block{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.footer-logo{
  display: block;
  width: min(320px, 92vw);
  height: auto;
}
.footer-company-info{
  padding-top: 0;
}
.footer-address,
.footer-tel{
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 400;
  color: rgba(255,255,255,.95);
}
.footer-tel{
  margin-top: 2px;
}
.footer-nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 24px;
	padding-top: 28px;
  flex-shrink: 0;
}
.footer-nav a{
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.footer-copy{
  margin: 0;
  padding-bottom: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
}

	
    header.fixed {
		background-image: url("../image/bg_wave_header.png?v=1");
		/*background-image: url("../image/bg_wave_header_sp.png?v=1");*/
		background-position: top center;
		background-repeat: no-repeat;
		background-size: 100% auto;
    }
    header .container{
      	max-width: 96%;
		height:100px;
		padding:0;
    }
    .brand-logo{
        height: 80px;
        width: 418px;
		margin-top: 20px;
    }
	.hero-photo {
    	height: 900px;
  	}
	#main {
	  	margin-top: -100px;
	}
	#about {
		background-image: url("../image/bg_wave02.png");
		background-position: bottom center;
		background-repeat: no-repeat;
	}
	
	#services {
		padding-top:100px;
	}
    .service-cards{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
        margin-top: 10px;
    }
	
    .section--services{
        padding: 0;
        background: var(--wave);
        background-image:url("../image/bg_wave03top.png");
        background-repeat:no-repeat;
        background-position:center top;
    }
    .section--projects{
        padding: 34px 0 48px;
        background: var(--wave);
        background-image:url("../image/bg_wave03bottom.png");/*先に書いたほうが上になる*/
        background-repeat:no-repeat;
        background-position:center bottom;
    }
    .news-box{
      	padding: 0px 30px;
    }
	
    .news-item{
        padding: 20px 0;
    }
	
	.news-date,
    .news-title{
      	font-size: 16px;
    }
	
    .hero-photo{
      /*min-height: clamp(560px, 36vw, 600px);*/
		height: 100vh;
		min-height: 600px;
		max-height: 1080px;
      background-position: center 28%;
    }
    .hero-overlay{ padding-bottom: 12px; }
    .hero-logo{ width: min(380px, 32vw); }
    .hero-wave{ height: 90px; }
    .hero-wave::before{ height: 90px; }

    .section--about{ padding: 56px 0 80px;margin-bottom: 50px; }
    .about-title{ font-size: 48px; margin-bottom: 24px; }
    .about-intro{ margin-bottom: 40px; }
    .about-intro p{ font-size: 15px; }
    .about-cards{ width:1000px;gap: 60px; margin: 0 auto 44px; }
    .about-card{ width: 455px;min-height: 200px; padding: 24px 0 20px 24px; border-radius: 18px; }
    .about-card-title{ font-size: 17px; margin: 16px 0 36px; }
    .about-card-body{ font-size: 13px; line-height: 1.85; }
    .about-card-img{
      width: min(122px, 52%);
      margin: 0 -28px -36px 8px;
    }
    .btn-about{ min-width: 320px; height: 56px; font-size: 16px; }
    .about-wave{ height: 64px; }

    .project-title{ font-size: 15px; padding: 20px 16px 22px; }
    .btn-projects{
      width: calc((100% - 42px) / 4);
      min-width: 220px;
      height: 52px;
      font-size: 15px;
    }

    .footer-cta-head{ padding: 64px 0 30px; }
    .footer-cta-title{ font-size: 28px; margin-bottom: 22px; }
    .footer-cta-lead,
    .footer-cta-note{ font-size: 15px; }
    .footer-cta-body{ min-height: 180px; }
    .footer-illus--left{ width: min(200px, 14vw); }
    .footer-illus--right{ width: min(240px, 17vw); }
    .btn-contact-form{
      min-width: 380px;
      height: 60px;
      font-size: 17px;
      margin-bottom: 160px;
    }
    .footer-waves{ height: 64px; margin-top: -32px; }
    .footer-main{ padding-top: 44px; }
    .footer-logo{ width: min(391px, 52vw); }
    .footer-company-block{ gap: 22px; }
    .footer-address,
    .footer-tel{ font-size: 14px; }
    .footer-tel a{ pointer-events: none; }
    .footer-nav a{ font-size: 15px; }
	
	.sp {display:none;}

.pankuzu {
    margin: 0 auto;
    text-align: right;
	font-size:0.85em;
}
.pankuzu a{
	text-decoration: underline;
}
.aboutus-title{
	border-left:4px solid #1a5c8a;
	color:#1a5c8a;
	line-height: 1;
  	padding: 5px 0 7px 10px;
}
.aboutus-title-en{
	color:#e8392a;
	font-size:0.7em;
	font-weight:normal;  
	padding-left: 1em;
}

.company-table-section {
  background: #fff;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(25, 39, 79, .12);
  overflow: hidden;
}

.company-table tbody tr {
  border-bottom: 1px solid rgba(25, 39, 79, .08);
}

.company-table tbody tr:last-child {
  border-bottom: none;
}

.company-table-label {
  background: #EDFAFF;
  color: #1b5db8;
  font-weight: 700;
  padding: 18px 24px;
  text-align: left;
  width: 25%;
  vertical-align: top;
  border-right: 1px solid rgba(25, 39, 79, .08);
}

.company-table-value {
  background: #fff;
  color: #333;
  padding: 18px 24px;
  text-align: left;
  line-height: 1.8;
}



.history-section {
  background: #f8f6ff;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table tbody tr {
  display: flex;
  border-bottom: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(17, 32, 56, .06);
  overflow: hidden;
  margin-bottom: 10px;
}

.history-table tbody tr:last-child {
  margin-bottom: 0;
}

.history-date {
  width: 22%;
  color: #0066cc;
  font-weight: 700;
  padding: 20px 24px;
  vertical-align: top;
}

.history-event {
  flex: 1;
  color: #333;
  padding: 20px 24px;
  text-align: left;
  line-height: 1.8;
}
.mfp_buttons button {
	background: var(--primary);
    color: var(--primary-ink);
    padding: 10px 4em;
    border-radius: 12px;
    border: 0;
    font-size: 1.25em;
}

#privacy ul{
	list-style-type: disc;
	padding-left:1em;
}
#privacy ol > li{
	margin-bottom: 0.5em;
}
#privacy h3{
	margin-top: 3.0em;
}
#privacy article h3:first-child{
	margin-top: 0em;
}

.section--aboutus,
.section--projects,
.section--recruit{
    background: #F5FCFD;
    background-image:url("../image/bg_wave_sub01top.png");
    background-repeat:no-repeat;
    background-position:center top;
}

#aboutus .wave-bottom,
#projects .wave-bottom,
#recruit .wave-bottom{
    background: #fff;
    background-image:url("../image/bg_wave_sub02bottom.png");
    background-repeat:no-repeat;
    background-position:center top;
}

.tel-banner {
	width:377px;
	margin: 30px auto 0;
}

.banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  border: 2px solid #e8392a;
  border-radius: 6px;
  padding: 10px 20px 10px 16px;
  text-decoration: none;
  color: inherit;
}

.banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.banner__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.banner__label {
  font-size: 13px;
  color: #e8392a;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.banner__number-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.banner__number {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

#contact h2 + p a{
	text-decoration: underline;
}
.banner__contact {
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}
.no-btn-contact-form .btn-contact-form{
	opacity: 0!important;
}

	
	.subpage {
	  	margin-top: 0px!important;
	}
	
	.pankuzu {
		width:1200px;
		transform: translateY(-2VW);
	}
	
	#aboutus .policy-group {
        display: flex;
        align-items: flex-start; /* 上揃え */
        gap: 20px; /* 要素間の余白（任意） */
	}
	#aboutus .container article {
		/*float:left;*/
	}
	
	.policy01 {
		margin-bottom:90px;
		width:100%;
	}
	.policy02 {
		margin-bottom:90px;
		width:50%;
  		flex: 1; /* 幅を均等にする場合 */
	}
	.policy03 {
		margin-bottom:90px;
		width:49%;
  		flex: 1; /* 幅を均等にする場合 */
	}
	
	.policy01 .aboutus-text {
		font-size:32px;
		line-height: 1.43;
		text-align: center;
	}
	.policy02 .aboutus-text {
		font-size:22px;
		line-height: 1.43;
	}
	.policy02 ul li {
		font-size:16px;
	}
	.policy03 .aboutus-text {
		font-size:20px;
		line-height: 1.85;
	}
	
    .company-table,
	.history-table {
      	width: 1000px;
		margin: 0 auto;
    }
	
	
    .section--aboutus,
    .section--projects,
    .section--recruit{
		padding: 180px 0 0;
		background-size: 100%;
    }
	#aboutus .wave-bottom,
	#projects .wave-bottom,
	#recruit .wave-bottom,
	#contact .wave-bottom,
	#history .wave-bottom{
		background-size: 100%;
		height:143px;
		height: 7VW;
	}
	
    .section--history{
        padding: 200px 0 0;
        background: #F5FCFD;
        background-image:url("../image/bg_wave_sub02top.png");
        background-repeat:no-repeat;
        background-position:center top;
		background-size: 100%;
    }
	#contact .wave-bottom,
	#history .wave-bottom{
        background: #fff;
        background-image:url("../image/bg_wave_sub02bottom.png");
        background-repeat:no-repeat;
        background-position:center top;
		background-size: 100%;
		/*height:143px;*/
	}
	
	form#mailformpro {
        width: 1000px;
        margin: 0 auto;
    }
	
	.qualification  {
		padding-top:100px;
    }
	.qualification .company-table {
      	width: 480px;
      	margin: 0 auto;
    }
	.qualification .company-table th {
      	width: 70%;
    }
	.qualification-body {
        width: 1000px;
      	margin: 0 auto;
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .qualification-body .company-table {
      	flex: 1;
    }
	
	#recruit .tel-banner{
		padding:50px 0 50px;
	}
    .tel-banner a{
        pointer-events: none;
    }


#contact p.read{
	text-align: center;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-preview {
  /*border-bottom: 1px solid #e0e0e0;*/
  padding: 16px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.card-preview img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.preview-placeholder {
  width: 100%;
  min-height: 220px;
  /*background: #fff;
  border: 1px solid #e8e8e8;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  gap: 8px;
}

.preview-placeholder svg {
  opacity: 0.3;
}

.card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.btn-download {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  padding: 11px 12px 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease;
}

.btn-download:hover {
  background: #cd6161;
}

.btn-download:active {
  background: #178aaa;
}

.btn-download .btn-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2px;
}

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .preview-placeholder {
    min-height: 280px;
  }


.fadeUpTrigger{
    opacity: 1;
}
