@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&display=swap");
/* ページ定義 */
html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);
  color: #1f2937;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ol {
  padding-inline-start: 25px;
}

/* 見出し定義 */
.hero {
  padding: 72px 24px 20px;
  text-align: center;
  background: linear-gradient(to right, #0284c7, #38bdf8);
  color: #fff;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* メイン定義 */
.main {
  max-width: 1000px;
  width: 1000px;
  flex: 1;
  margin: 48px auto 0;
  padding: 24px 24px;
  display: flex;
  flex-direction: column; /* 縦方向 */
  gap: 32px;
}

/* 各コンテンツ定義 */
.card {
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.card p {
  margin-left: 16px;
  font-size: 16px;
}

.card h2 {
  font-size: 24px;
  color: #0284c7;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

.card ul {
  font-size: 16px;
  padding-inline-start: 25px;
}

.card li {
  font-size: 16px;
}

/* ===== ヘッダー定義 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #EBF8FE;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav li {
  margin-right: 24px;
}

.nav li:last-child {
  margin-right: 0;
}

.nav a {
  font-size: 14px;
  color: #4b5563;
}

.nav a:hover,
.nav a.active {
  color: #0284c7;
  font-weight: 600;
}

.hamburger {
  display: none;
}
  
/* ===== フッター定義 ===== */
.footer {
  background: #1e293b;
  color: #e5e7eb;
  padding-top: 20px;
  margin-top: 80px;
}

.footer-inner {
  padding: 0 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.footer h3 {
  margin: 0;
  color: #fff;
}

.footer p {
  font-size: 14px;
  color: #cbd5f5;
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 24px;
}

.link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #0284c7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.link:hover {
  color: #0369a1;
}

.link:hover::after {
  transform: scaleX(1);
}

h3 {
  color: #0284c7;
  font-size: 18px;
  margin-bottom: 8px;
}

/* ボタン定義 */
.btn {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.btn-sky {
  background: #0284c7;
}

.btn-sky:hover {
  background: #0369a1;
}

.btn-green {
  background: #059669;
}

.btn-green:hover {
  background: #047857;
}

/* 採用情報 */
.note {
  font-size: 14px;
  color: #6b7280;
  margin-top: 8px;
}

.message {
  margin-top: 48px;
  padding: 24px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  line-height: 1.8;
  font-weight: 500;
}

/* 全ページのtableタグに適用 */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  font-size: 14px;
}

table th {
  width: 180px;
  text-align: left;
  color: #0284c7;
  font-weight: 600;
  vertical-align: top;
}

table td {
  line-height: 1.7;
}

table ul {
  list-style-type: disc;
  margin-block-start: 0em;
  margin-block-end: 0em;
  padding-inline-start: 20px;
}

/* 会社情報ページのTable幅指定 */
.colGroup1 {
  width: 30%;
}

.colGroup2 {
  width: 70%;
}

/* 会社情報：印刷エリアの定義 */
.print-area {
  text-align: right;
}

/* TOPページ */

/* GRIDレイアウトの配置定義（上段） */
.row-top {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

/* GRIDレイアウトの配置定義（下段） */
.row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* TOPメッセージ1 */
.top-content h1 {
  font-size: 24px;
  border-bottom: 1px solid #67696d;
  padding-bottom: 14px;
}

/* TOPメッセージ2 */
.top-content h2 {
  font-size: 18px;
  color: #000000;
  margin-left: 24px;
  padding-top: 12px;
  /* card　定義打消し */
  border-bottom: 0px;
}

/* 上段レイアウトの定義 */
.top-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* 上段レイアウト：写真定義 */
.top-content img {
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* あいさつページ */
/* 顔写真付きカードスペース内の配置定義 */
.greeting-content {
  display: flex;
  align-items: flex-start;
}

/* 顔写真 */
.greeting-content img {
  width: 30%;
  max-width: 100px;
  margin-top: 17px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 代表取締役 */
.signature {
  text-align: right;
  font-weight: 600;
}

/* Google Map 表示エリア定義 */
.card iframe {
  width: 100%;
  height: 380px;
  border: none;
}

.sp-only {
  display: none;
}

.pc-only {
  display: block;
}