/* ==============================================
   DAP Realize Corporate Site - style.css
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ------ RESET ------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #222;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ==============================================
   HEADER
   ============================================== */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0 40px;
    box-sizing: border-box;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
    max-width: 1600px;
    margin: 0 auto;
}
.MDL_window_wrap {
    text-align: center;
    position: relative;
}
@media screen and (max-width: 736px) {
    .MDL_window_wrap {
        max-width: 100%;
        height: 65vh;
        position: absolute;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        top: 50%;
        left: 50%;
        white-space: nowrap;
        transform: translate(-50%, -50%);
        text-align: center;
        overflow: hidden;
        margin: 0;
        padding: 0;
        z-index: 9999;
        transition: all 1s ease-in-out;
        opacity: 0;
        pointer-events: none;
    }
}
.MDL_window_wrap.over {
    opacity: 1;
    pointer-events: auto;
}
.blur {
    -ms-filter: blur(6px);
    filter: blur(6px);
}
#overlay {
    display: block;
}
@media screen and (max-width: 736px) {
    #overlay {
        width: auto;
    }
}
@media screen and (max-width: 736px) {
    #overlay {
        width: 100%;
        height: 110%;
        text-align: left;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        pointer-events: none;
        opacity: 0;
        animation: 1s opp 1s ease-in-out forwards;
    }
}
@media screen and (max-width: 736px) and (max-width: 736px) {
    #overlay {
        opacity: 1;
    }
}
#overlay:before {
    content: "";
}
@media screen and (max-width: 736px) {
    #overlay:before {
        position: fixed;
        z-index: 3;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #fff;
        transform: scale(0);
        right: 0;
        top: 5px;
        transition: all 1.5s;
    }
}
@media screen and (max-width: 736px) {
    #overlay.over:before {
        pointer-events: auto;
        transform: scale(15);
    }
}
@media screen and (max-width: 736px) {
    .MDL_window_wrap2 p {
        font-size: 12px !important;
    }
}
.lock {
    overflow: hidden;
}
#modal-target {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}
.modal-content {
    display: none;
}
.modal-overlay {
    z-index: 9998;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-wrap {
    z-index: 9999;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.modal-close {
    font-size: 200%;
}
.modal-close:hover {
    cursor: pointer;
    color: #f00;
}
.tel {
    display: none;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 15px;
    box-sizing: border-box;
    z-index: 999;
}
@media screen and (max-width: 736px) {
    .tel {
        display: block;
    }
}
a#btn {
    display: none;
    margin: 0;
    position: fixed;
    right: 15px;
    top: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 15px;
    box-sizing: border-box;
    z-index: 99999;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0px 10px 10px -3px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 736px) {
    a#btn {
        display: block;
    }
}
a#btn span {
    background: #4f81bd;
    width: 18px;
    height: 2px;
    display: block;
    position: relative;
    top: 8px;
    left: 1px;
}
a#btn span:before {
    content: "";
    display: block;
    position: absolute;
    top: -7px;
    background: #4f81bd;
    width: 18px;
    height: 2px;
    transition: all 0.3s ease-in-out;
}
a#btn span:after {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    background: #4f81bd;
    width: 18px;
    height: 2px;
    transition: all 0.3s ease-in-out;
}
a#btn span.change {
    height: 0;
    width: 18px;
}
a#btn span.change:before {
    transform: rotate(-45deg);
    top: 0;
}
a#btn span.change:after {
    transform: rotate(45deg);
    top: 0;
    width: 18px;
}
.header-logo {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.header-nav li{
	list-style: none;
	padding: 0;
	margin: 0;
}
.header-nav a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
	letter-spacing: .09em;
}

.header-nav a:hover {
  text-decoration: underline;
}

.header-nav a.active {
  color:#4f81bd;
  font-weight: 700;
}

/* ==============================================
   HERO (トップページのみ)
   ============================================== */
.hero {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: url(../images/fig1.png) 50% 22% no-repeat;
    background-size: 1600px;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0
  );
}

.hero-content {
  
 margin: 100px auto 0;
    width:fit-content;
    box-sizing: border-box;position: relative;
    left:-50px;
  color: #fff;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,.9);
}
.hero-content h2{
    font-size: 52px;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #EEE;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,.9);
	width: fit-content;
}

.hero-content .hero-company {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  color: #000;
  background: rgba(255, 255, 255, 0.75);
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 35px;
  font-weight: bold;
    padding-left:250px;
    letter-spacing: 0.05em;
    color: #111;
}

.hero-btns {
  display: flex;
  gap: 120px;
	  padding-left:250px;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn-blue {
  background:#00a99d;
  color: #fff;
  padding: 12px 32px 18px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.04em;
	border-radius: 50px;
}

.btn-teal {
  background: #ff8b00;
  color: #fff;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.04em;
	border-radius: 50px;
}

.btn-detail {
  display: inline-block;
  color: #fff;
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
	border-radius:50px;
}

.btn-detail--blue { background:#00a99d; }
.btn-detail--teal { background: #ff8b00; }
.btn-detail--red  { background: #333; align-self: flex-start; }

.btn-company {
  display: inline-block;
  border:1px solid #333;
	border-radius:50px;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* ==============================================
   SECTION COMMON
   ============================================== */
.sec-title {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

/* ==============================================
   事業紹介
   ============================================== */
.jigyou {
  background: #fff;
  padding: 56px 40px;
}

.jigyou-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.jigyou-card img {
  width: 100%;
	border-radius: 10px;
}

.jigyou-card-body {
  padding: 16px 0 0;
  text-align: center;
}

.jigyou-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.jigyou-card-title--blue { color:#00a99d; }
.jigyou-card-title--teal { color: #ff8b00; }

.jigyou-card-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}

/* ==============================================
   DAPリアライズとは
   ============================================== */
.about {
  background: #f7f7f7;
  padding: 56px 40px;
  text-align: center;
}

.about p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  width: fit-content;
  margin: 0 auto 24px;
  text-align: left;
}

/* ==============================================
   技術・知的財産
   ============================================== */
.technology {
  background: #fff;
  padding: 56px 40px 56px;
}

.tech-inner {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #ddd;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
	    border-radius: 10px;
}

.tech-text {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.tech-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 24px;
}

.tech-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	border-radius:0 10px 10px 0;
}

/* ==============================================
   FOOTER
   ============================================== */
footer {
  background: #1a1a2e;
  color: #fff;
  padding: 100px 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-links a::before {
  content: '>';
  font-size: 11px;
	display: inline-block;
	transform: scale(.7,1)
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
}

/* ==============================================
   会社情報ページ
   ============================================== */
.page-header {
  padding: 40px 40px 32px;
  border-bottom: 1px solid #ddd;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
}

.breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
	margin: 15px 40px;
}

.breadcrumb a {
  color: #555;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.sec-block {
  margin-bottom: 56px;
}

.sec-heading {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.sec-heading::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 28px;
  background: #4f81bd;
  border-radius: 2px;
  margin-right: 14px;
  flex-shrink: 0;
}

.sec-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.04em;
}

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

.company-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.company-table tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.company-table th {
  width: 140px;
  padding: 16px 16px 16px 0;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  vertical-align: top;
  white-space: nowrap;
}

.company-table td {
  padding: 16px 0;
  font-size: 14px;
  color: #222;
  line-height: 1.8;
  vertical-align: top;
}

.company-table td a {
  color:#4f81bd;
  text-decoration:underline;
}

.company-table td a:hover {
  text-decoration: underline;
}

.jigyouryouiki-text {
  font-size: 14px;
  color: #333;
  line-height: 2;
  margin-bottom: 28px;
}

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

.service-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.service-table tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.service-table th {
  width: 120px;
  padding: 14px 16px 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  vertical-align: top;
}

.service-table td {
  padding: 14px 0;
  font-size: 14px;
  color: #222;
  line-height: 1.8;
  vertical-align: top;
}

.service-table td a {
  color:#4f81bd;
  text-decoration:underline;
}

.service-table td a:hover {
  text-decoration: underline;
}

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

.history-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.history-table tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.history-table td {
  padding: 14px 0;
  font-size: 14px;
  color: #222;
  line-height: 1.8;
  vertical-align: top;
}

.history-table td:first-child {
  width: 100px;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 20px;
  color: #333;
}

.bold-year {
  font-weight: 700 !important;
  color: #111 !important;
}

.trademarks {
  font-size: 12px;
  color: #666;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  margin-top: 40px;
  line-height: 1.8;
}

/* ==============================================
   RESPONSIVE — タブレット (max-width: 1024px)
   ============================================== */
@media (max-width: 1024px) {
  .jigyou-grid {
    max-width: 100%;
  }

  .tech-inner {
    max-width: 100%;
  }
}
.pc{
	display: block;
}
.sp{
	display: none;
}
/* ==============================================
   RESPONSIVE — スマートフォン (max-width: 768px)
   ============================================== */
@media (max-width: 768px) {
    .about p{
        font-size: 14px;
    }
	.tech-title {
		font-size: 20px;
	}
	.breadcrumb {
		margin: 15px;
	}
	.pc{
	display: none;
}
.sp{
	display: block;
}

  /* Header */
  header {
    padding: 0 16px;
    height: auto;
    min-height: 52px;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-logo {
    font-size: 14px;
			position: relative;
        z-index: 9999;
  }

  .header-nav {
    gap: 12px;
			display: block;
  }

  .header-nav a {
    font-size: 15px;
  }
	.header-nav li{
					margin-bottom: 15px;
	}
  /* Hero */
  .hero {
    height:385px;
    background: url(../images/fig1.png) 78% 24% no-repeat;
    background-size: cover;
  }

  .hero-content {
    left: 16px;
    right: 16px;
      position: absolute;
      margin: 0;
      transform: translateY(-50%);
      top:50%;
  }

  .hero-content h1 {
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
    .hero-content h2{
        font-size: 26px;
    }

  .hero-content .hero-company {
    font-size: 13px;
  }

  .hero-content p {
    font-size: 14px;
			      padding-left: 0;
			margin-bottom: 20px;
  }

  .hero-btns {
      flex-direction: column;
    gap: 10px;
    width: fit-content;
      padding-left: 0;
			margin: 0 auto 20px auto;
  }

  .hero-btns a {
    padding: 15px 20px;
    font-size: 13px;
    border: 1px solid rgba(180, 180, 180, 0.6);

  }

  /* Sections */
  .jigyou,
  .about,
  .technology {
    padding: 40px 16px;
  }

  .sec-title {
    font-size: 20px;
  }

  /* 事業紹介 */
  .jigyou-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jigyou-card img {
    height: auto;
  }

  .jigyou-card-title {
    font-size: 16px;
  }

  .jigyou-card-desc {
    font-size: 13px;
  }

  /* 技術・知的財産 */
  .technology {
    padding-top: 40px;
  }

  .tech-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tech-img {
    order: -1;
  }

  .tech-img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
      border-radius:10px 10px 0 0;
  }

  .tech-text {
    display: block;
    padding: 24px 20px;
			text-align: center;
  }
	.tech-desc{
		text-align: left;
        font-size: 13px;
	}

  /* Footer */
  footer {
    padding: 20px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-copy {
    font-size: 13px;
  }

  /* 会社情報ページ */
  .page-header {
    padding: 40px 16px 40px;
  }

  .page-body {
    padding: 32px 16px 60px;
  }

  .company-table th {
    width: 90px;
    font-size: 13px;
    padding-right: 10px;
  }

  .company-table td {
    font-size: 13px;
  }

  .service-table th {
    width: 80px;
    font-size: 13px;
    padding-right: 10px;
  }

  .service-table td {
    font-size: 13px;
  }

  .history-table td {
    font-size: 13px;
  }

  .history-table td:first-child {
    width: 72px;
    padding-right: 12px;
  }

  .jigyouryouiki-text {
    font-size: 13px;
  }
}

/*追加*/

/* ===== 追加OK（競合なし） ===== */

.sec-lead {
  font-size: 14px;
  color: #333;
  line-height: 2;
  margin-bottom: 32px;
}

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

.info-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.info-table tr:first-child {
  border-top: 1px solid #e0e0e0;
}

.info-table th {
  width: 160px;
  padding: 16px 16px 16px 0;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
}

.info-table td {
  padding: 16px 0;
  font-size: 14px;
  color: #222;
  line-height: 1.8;
  vertical-align: top;
}

.info-table td a {
  color: #0000cc;
  text-decoration: none;
}

.info-table td a:hover {
  text-decoration: underline;
}

/* 特許テーブル */
.patent-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.patent-table tr {
  border-bottom: 1px solid #e8e8e8;
}

.patent-table tr:first-child {
  border-top: 1px solid #e8e8e8;
}

.patent-table th {
  padding: 12px 16px 12px 0;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  text-align: left;
  white-space: nowrap;
  background: #f5f7fa;
}

.patent-table th:first-child {
  padding-left: 12px;
  width: 200px;
}

.patent-table td {
  padding: 14px 0;
  font-size: 13px;
  color: #333;
  line-height: 1.8;
  vertical-align: top;
}

.patent-table td:first-child {
  padding-left: 12px;
  width: 200px;
}

.patent-table td a {
  color: #0000cc;
  text-decoration: none;
  font-weight: 700;
}

.patent-table td a:hover {
  text-decoration: underline;
}

.patent-num {
  font-weight: 700;
  font-size: 13px;
}

.patent-date {
  font-size: 11px;
  color: #888;
}

/* カード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 28px 24px;
  background: #fff;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0000cc;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.card-body {
  font-size: 13px;
  color: #444;
  line-height: 1.9;
}

/* プログラムテーブル */
.program-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.program-table thead tr {
  background: #1a1a2e;
}

.program-table thead th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: left;
}

.program-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.program-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.program-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: #333;
  line-height: 1.8;
  vertical-align: top;
}

.program-table tbody td:first-child {
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  width: 200px;
}

/* ステップ */
.step-flow {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}

.step {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.step:not(:last-child)::after {
  content: '▶';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #aaa;
  z-index: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step-label {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}

.step--define .step-num { background: #0000cc; }
.step--analyze .step-num { background: #006666; }
.step--plan .step-num { background: #990000; }

/* 補足 */
.highlight-box {
  background: #f0f4f8;
  border-left: 4px solid #4f81bd;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #333;
  line-height: 2;
  border-radius: 0 4px 4px 0;
}

.note {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
  margin-top: 32px;
}
