/* ------------------------------
  全体背景（欠け色の正体）
------------------------------ */
/* @font-face でローカルフォントを優先 */
  @font-face {
    font-family: 'Local Noto Sans JP';
    src: 
      local('Noto Sans JP'), /* Windows用 */
      local('Noto Sans CJK JP Regular') /* Android用 */;
  }

body{
  font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
}
.for_pc {
  display: block;
}
.for_sp {
  display: none;
}


@media screen and (max-width: 768px) {
.for_sp {
  display: block;
}
.for_pc {
  display: none;
}
}
/* ------------------------------
  ページ外枠
------------------------------ */
.page-frame {
  position: relative;
  min-height: 100vh;
  border: 10px solid #000;
  box-sizing: border-box;
  transition: border-color 0.4s ease;
}

/* 枠反転 */
.page-frame.is-invert {
  border-color: #fff;
}

/* ==============================
  欠け（必ず表示される）
============================== */

/* 上：中央→右30% / 斜め */
.page-frame::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 25%;
  height: 30px;

  background: #fff;        /* ← body背景と同じ */
  transform: skewX(-20deg);
  z-index: 10;
  pointer-events: none;
}

/* 下：中央→左10% / 斜め逆 */
.page-frame::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 30%;
  width: 10%;
  height: 30px;

  background: #000;        /* ← body背景と同じ */
  transform: skewX(-20deg); 
  z-index: 10;
  pointer-events: none;
}

/* ------------------------------
  セクション（100vh）
------------------------------ */
.section {
  height: auto;
  min-height: 100vh;
  padding: 80px 60px;
  box-sizing: border-box;

  background: #fff;
  color: #000;

  display: flex;
  flex-direction: column;
  justify-content: center;

  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media screen and (max-width: 768px) {
.section {
  padding: 40px 30px;
}
}

.section.is-show {
  opacity: 1;
  transform: translateY(0);
}

#sec-06 {
  text-align: center;
}

/* 反転ページ */
.section.invert {
  background: #000;
  color: #fff;
}

.section.invert a {
  color: #fff;
}

/* ------------------------------
  見た目
------------------------------ */
.logo {
  width: 235px;
  height: 132px;
  background: url('../img/logo.png') no-repeat;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  margin: 0 auto;
}


h2 {
  margin: 0 0 20px;
  font-size: 32px;
}

h3 {
  font-size: 20px;
}
h4 {
  font-size: 20px;
}

h4 {
  margin: 30px 0 0;
}

p {
  font-size: 16px;
  line-height: 1.9;
}

.tagline {
  font-size: 18px;
}

.profile img {
  width: 100%;
  max-width: 600px;
}

@media screen and (max-width: 768px) {
  h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
  margin-bottom: 0;
}
h4 {
  font-size: 16px;
}

  ul li {
  font-size: 14px;
  line-height: 1.5;
}
  p {
  font-size: 14px;
  line-height: 1.5;
}
  th,td {
  font-size: 14px;
  line-height: 1.5;
}
    .profile img {
  max-width: 300px;
}
}


/* ハンバーガー */
.hamburger {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: #333;
  left: 0;
  transition: 0.3s ease;
}

/* 3本線の位置 */
.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

/* ===== 開いた時（×になる） ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* メニュー */
.global-menu {
  position: fixed;
  top: 10px;
  right: -220px;
  width: 120px;
  height: calc(100% - 80px);
  background: #fff;
  opacity: 0.9;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 999;
}

.global-menu.open {
  right: 10px;
}

.global-menu ul {
  list-style: none;
  padding: 0;
}

.global-menu li {
  padding: 10px 20px;
}

.global-menu li a {
  text-decoration: none;
  color: #000;
}
.global-menu li a:hover {
  text-decoration: underline;
  color: #333;
}

#toTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 15px;
  display: none;
  cursor: pointer;
}