@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=GFS+Didot&family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  /* font-family */
  --font-family-01: "Noto Sans JP", sans-serif;
  --font-family-02: "GFS Didot", serif;

  /* color */
  --base-color01: #ffffff;
  --base-color02: #f0f9f9;
  --key-color: #4fb3c8;
  --sub-color01: #997b60;
  --sub-color02: ;
  --font-color: #34302d;
}

.key-color {
  color: var(--key-color);
}

/* header */

#header {
  position: absolute;
  z-index: 10;
  left: 0;
  width: 100%;
  background: transparent;
}

#header .header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#header nav ul {
  font-family: var(--font-family-02);
  font-size: 16px;
}

#header nav ul li a {
  display: inline-block;
  position: relative;
  margin-bottom: 0.4rem;
}

#header nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  opacity: 0.7;
  transition: width 0.4s ease;
  background-color: var(--key-color);
}

#header nav ul li a:hover::after {
  width: 100%;
}

#header nav ul li a span {
  display: block;
  margin-top: 0.4rem;
  font-size: 70%;
}

/* hamburger menu */

.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  background: transparent;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    top 0.4s ease;
  background-color: var(--font-color);
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 11px;
}
.hamburger span:nth-child(3) {
  top: 21px;
}

.hamburger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
  transform-origin: center;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
  transform-origin: center;
}

/* sp and tablet size */
@media screen and (max-width: 1023.98px) {
  #header nav ul li i {
    font-size: 170%;
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 19px;
    right: 19px;
  }

  #global-nav {
    display: flex;
    position: fixed;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    inset: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    background: linear-gradient(
      135deg,
      var(--base-color01) 0%,
      var(--base-color01) 40%,
      var(--base-color02) 100%
    );
  }

  #global-nav.active {
    transform: translateX(0);
    pointer-events: auto;
  }

  #global-nav ul {
    flex-direction: column;
    text-align: center;
  }

  #global-nav li {
    margin-bottom: 1.8rem;
  }
}

/* PC size */
@media screen and (min-width: 1024px) {
  #header .container-header {
    max-width: 1200px;
    padding: 1.4rem 0;
    margin: 0 auto;
  }

  #global-nav {
    display: flex;
    flex-direction: row;
    position: static;
    transform: none;
    pointer-events: auto;
  }

  #global-nav ul {
    display: flex;
    text-align: center;
    gap: 1.6rem;
  }
}

/* main */

#main .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#main {
  margin-bottom: 6.4rem;
}

#main > section {
  margin-bottom: 6.4rem;
}

/* links */

#links .box-gp {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
}

#links i {
  font-size: 60px;
}

/* footer */

#footer {
  padding: 2.5rem 1rem 0;
  margin-bottom: 2rem;
}

.footer-name {
  margin-bottom: 0.6rem;
}

.footer-name .font-large {
  font-size: 140%;
}

.footer-name .ruby-name {
  display: inline-block; 
  margin-top: 0.2em; 
}

.footer-name .ruby-name rt {
 font-size: 45%;
 margin-bottom: 0.2rem;
}

.footer-info {
  line-height: 0.2;
  margin-bottom: 3rem;
}

.footer-copy {
  margin-top: 1.5rem;
}

/* common */

body {
  font-family: var(--font-family-01);
  letter-spacing: 0.064em;
  color: var(--font-color);
  background: linear-gradient(
    135deg,
    var(--base-color01) 0%,
    var(--base-color01) 40%,
    var(--base-color02) 100%
  );
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  line-height: 1.7;
  margin: 0 0 0.4rem 0;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

a {
  color: var(--font-color);
  text-decoration: none;
  transition: all 0.4s ease;
}

a:hover {
  color: var(--key-color);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  width: 100%;
}

address {
  font-style: normal;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* 画像＆背景 斜めカット */
.img-diagonal-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.4rem;
}
.img-diagonal-wrapper img {
  display: block;
  width: 100%;
}
.img-diagonal-wrapper::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  opacity: 0.24;
  background-color: var(--key-color);
}
/* 左上カット */
.img-diagonal-wrapper.left-top img {
  clip-path: polygon(30px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30px);
}
.img-diagonal-wrapper.left-top::before {
  clip-path: polygon(30px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30px);
}
/* 右上カット */
.img-diagonal-wrapper.right-top img {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.img-diagonal-wrapper.right-top::before {
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.btn01 {
  display: inline-block;
  text-align: center;
  font-size: 90%;
  letter-spacing: 0.2em;
  line-height: 1.4;
  padding: 1rem 4rem;
  margin-top: 1rem;
  border-radius: 2px;
  border: 2px solid var(--sub-color01);
  transition: all 0.3s ease;
}

.btn01:hover {
  border: 2px solid var(--key-color);
  color: #fff;
  background-color: var(--key-color);
}

/* PC size */
@media screen and (min-width: 1023.98px) {
  /* common */
  
  p {
    font-size: 18px;
  }

  ul {
    font-size: 17px;
  }

  /* main */

  #main {
    margin-bottom: 8rem;
  }

  #main > section {
    margin-bottom: 6rem;
  }

  .btn01 {
    font-size: 100%;
    padding: 1.4rem 6rem;
  }
}
/* =========================
   Floating Shapes Background
========================= */

/* 共通 */
.floating-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.2;
  animation: drift linear infinite;
  background-color: currentColor;
}

/* 個別の位置・アニメーション時間・色 */
.shape:nth-child(1) { top: 10%; left: 5%;  color: rgba(79,179,200,0.35);  animation-duration: 42s; }
.shape:nth-child(2) { top: 40%; left: 80%; color: rgba(153,123,96,0.35);  animation-duration: 55s; }
.shape:nth-child(3) { top: 70%; left: 15%; color: rgba(79,179,200,0.35);  animation-duration: 38s; }
.shape:nth-child(4) { top: 85%; left: 60%; color: rgba(153,123,96,0.35);  animation-duration: 60s; }
.shape:nth-child(5) { top: 20%; left: 50%; color: rgba(79,179,200,0.35);  animation-duration: 48s; }
.shape:nth-child(6) { top: 60%; left: 90%; color: rgba(153,123,96,0.35);  animation-duration: 52s; }
.shape:nth-child(7) { top: 75%; left: 35%; color: rgba(79,179,200,0.35);  animation-duration: 45s; }
.shape:nth-child(8) { top: 5%;  left: 70%; color: rgba(153,123,96,0.35);  animation-duration: 58s; }

/* 形 */
.circle { width: 60px; height: 60px; border-radius: 50%; }
.square { width: 56px; height: 56px; }
.rect   { width: 100px; height: 44px; }
.triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 50px solid currentColor;
  background: none;
}

/* アニメーション */
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(120px, -80px) rotate(6deg); }
  40%  { transform: translate(-100px, -160px) rotate(-4deg); }
  60%  { transform: translate(-180px, 60px) rotate(8deg); }
  80%  { transform: translate(60px, 140px) rotate(-6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* * {
  border: solid 1px red;
} */
