@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
/* ==================================================
  BASE (全体の設定)
================================================== */
*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  text-decoration: underline;
}
html {
  font-size: 62.5%;
  scroll-padding-top: 89px;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Hiragino Kaku Gothic ProN, Hiragino Sans, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333333;
  letter-spacing: 0.05em;
}
ul {
  list-style-type: none;
}
h1 {
  width: 50px;
}
h2 {
  text-align: center;
  background: url(../img/vector01.svg) no-repeat center bottom;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 4.2rem;
  margin: 12rem 0 10rem;
  letter-spacing: 0.12em;
}
h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.03em;
}
/* ==================================================
  SHARED COMPONENTS (共通パーツ)
================================================== */
.inner-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.card-num, .job-title, .keyword, .detail h3 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
}
/* ==================================================
  HEADER
================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5% 1.5rem 4%;
  color: #006788;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  transition: background-color 0.5s, color 0.5s;
  z-index: 100;
}
/* 詳細ページのヘッダーは、JSの状態に関わらず最初から青くする */
.detail header {
  background-color: rgba(78, 162, 198, 0.7) !important; /* !importantでJSの制御より優先させる */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* 詳細ページのナビメニューの文字を最初から白にする */
.detail header .menu li a,
.detail header h1 a {
  color: #fff !important;
}

/* ハンバーガーメニューの三本線も最初から白にする */
.detail .menu-btn span {
  background-color: #fff !important;
}
.scrolled {
  background-color: rgba(78, 162, 198, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.navscrolled {
  color: #fff;
}
.menu {
  display: flex;
  align-items: center;
}
.menu li {
  margin-left: 5rem;
}
.menu li:first-of-type {
  margin-left: 0px;
}
dt::before {
  content: "●";
}
dt {
  margin-top: 4rem;
}
dl dt:first-child {
  margin-top: 0;
}
/* ==================================================
  WORKS
================================================== */
#works {
  background-color: #f0f7f9;
  margin-top: 10rem;
  padding: 10rem 2%;
}
#works h2 {
  margin-top: 0;
  margin-bottom: 5rem;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
}
.work-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: block;
}
#works a, #works a:visited {
  color: inherit;
  text-decoration: none;
}
.work-img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}
.work-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.work-item:hover .work-img-wrapper img {
  transform: scale(1.05);
}
.work-item:hover .work-title {
  color: #4EA2C6;
}
.work-content {
  padding: 10px 5px;
}
.tag {
  display: inline-block;
  color: #4EA2C6;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  transition: opacity 0.3s;
}
.work-item:hover .tag {
  opacity: 0.7;
}
#works .work-title {
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}
#works h3 {
  margin: 0;
}
#works a {
  color: #4EA2C6;
  text-decoration: none;
  transition: color 0.3s;
}
#works a:hover {
  text-decoration: none; /* 下線を消す設定 */
  color: #4EA2C6;
}
.work-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.work-link:hover {
  text-decoration: none;
}
.tab-group {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  margin-bottom: 40px;
  padding: 0;
}
.tab {
  cursor: pointer;
  padding: 8px 20px;
  border: 1px solid #4EA2C6;
  color: #4EA2C6;
  background-color: #fff;
  border-radius: 25px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.tab.active {
  background-color: #4EA2C6 !important;
  color: #fff !important;
}
@media (hover: hover) {
  .tab:hover:not(.active) {
    background-color: rgba(78, 162, 198, 0.1);
  }
}
/* ==================================================
  About Me
================================================== */
#aboutme {
  /* 95pxで足りない（見出しが隠れる）なら数値を大きく、空きすぎるなら小さくします */
  scroll-margin-top: 120px;
}
.aboutme-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin: 0 auto;
  padding: 0 20px;
}
.aboutme-visual {
  flex: 0 0 300px;
}
.portrait-frame {
  background-color: #f8f8f8;
  border-radius: 50%; /* 丸く切り抜くと親しみやすさUP */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid #eee;
}
.aboutme-content {
  flex: 1;
  text-align: left;
}
.job-title {
  color: #4EA2C6;
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.profile-text {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.profile-link {
  margin-top: 2rem;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin-bottom: 3rem;
}
.skill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f5f9fb;
  border: 1px solid #e1ecf2;
  padding: 8px 16px;
  border-radius: 50px;
}
.skill-list li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.skill-list li span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #006788;
  white-space: nowrap;
}
.btn-more {
  display: inline-block;
  background-color: #4EA2C6;
  color: #fff;
  padding: 14px 50px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 30px;
  border: 1px solid #4EA2C6;
  text-align: center;
  transition: all 0.3s;
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
}
.btn-more:hover {
  background-color: #fff;
  color: #4EA2C6;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 162, 198, 0.2);
}
#aboutme h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
#aboutme a:hover {
  text-decoration: none;
  border: 1px solid #D3C094;
  color: #D3C094;
  background-color: #fff;
}
#aboutme a:visited:hover {
  color: #D3C094;
}
.name {
  line-height: 1;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
}
.name span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  white-space: nowrap;
}
nav a {
  color: #006788;
}
footer .menu a {
  color: #fff;
}
.detail .menu a {
  color: #fff;
}
.mv-title {
  font-size: 6.4rem;
  font-weight: bold;
}
/* ==================================================
  Main visual
================================================== */
.mv {
  color: #fff;
  height: 100vh;
  text-align: center;
  padding-top: 45vh;
  position: relative;
  overflow: hidden;
}
.flex-area {
  display: flex;
  justify-content: space-between;
}
.sp-only {
  display: none; /* PCでは改行しない */
}
/* ==================================================
  contact
================================================== */
#contact {
  padding: 10rem 2%;
  background-color: #D9D9D9;
  margin-top: 10rem;
  text-align: center;
}
#contact h2 {
  margin-top: 0;
  margin-bottom: 5rem;
}
.form-area {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  text-align: left;
}
#Inquiry {
  width: 100%;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 3rem;
  font-size: 1.6rem;
}
label {
  font-weight: bold;
  margin-bottom: 0.8rem;
  display: block;
}
.button-area {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
}
.button {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  letter-spacing: 0.1em;
  font-size: 1.5rem;
  flex: 1;
  max-width: 200px;
  padding: 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s;
}
.button:hover {
  opacity: 0.6;
}
#submit {
  background-color: #006788;
  color: #fff;
}
#reset {
  background-color: #999;
  color: #fff;
}
/* ==================================================
  footer
================================================== */
footer {
  background-color: rgba(78, 162, 198, 0.9); /* 少し濃くして安定感を出す */
  padding: 6rem 0 3rem; /* 上の余白を多めにとってゆったりさせる */
}
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 5rem; /* PCでは少し広げる */
  margin-bottom: 5rem; /* コピーライトとの距離をしっかり取る */
  list-style: none;
  padding: 0;
}
.footer-menu a {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600; /* リンクなので少し太めにして存在感を出す */
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}
.footer-menu a:hover {
  opacity: 0.7;
  text-decoration: none;
}
.copyright {
  color: #fff;
  text-align: center;
  font-size: 1.0rem;
  letter-spacing: 0.3em; /* 字間をさらに広げて「あえて小さくしてる」感を出す */
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: block; /* inline-blockからblockへ */
  width: 60%; /* 線を短くする */
  margin: 0 auto; /* 中央寄せ */
  padding-top: 2.5rem;
}
.subnav li + li::before {
  margin: 0 15px;
  content: "＞";
  display: inline-block;
}
.container a {
  color: #006788;
}
.container a:visited {
  color: #551a8b;
}
.url-row {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}
.kaigyo {
  text-indent: -7em;
  padding-left: 7em;
}
.js-text span {
  opacity: 0;
}
svg#wave02 {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -3;
}
#logodesign {
  margin-top: 7rem;
}
.section-bottom {
  background-color: rgba(78, 162, 198, 0.5);
  /* SVGのIDを指定して切り抜く */
  clip-path: url(#wave-clip);
  /* 切り抜かれた分、上に重ねる */
  margin-top: -50px;
  padding-top: 80px;
}
/* ==================================================
  SVG logo用
================================================== */
.svg-elem-1, .svg-elem-2 {
  fill: transparent;
  stroke: transparent; /* 線も最初は透明 */
}
.is-animated.svg-elem-1 {
  animation: animate-svg-fill-1 0.7s ease forwards 0.3s;
}
.is-animated.svg-elem-2 {
  animation: animate-svg-fill-2 0.7s ease forwards 1.0s;
}
@keyframes animate-svg-fill-1 {
  100% {
    fill: rgb(0, 103, 136);
    stroke: rgb(0, 103, 136);
  }
}
@keyframes animate-svg-fill-2 {
  100% {
    fill: rgb(60, 60, 60);
    stroke: rgb(60, 60, 60);
  }
}
/* ==================================================
   汎用アニメーション
================================================== */
/* --- 共通：ふわっと出る要素の初期状態 --- */
/* animate-itemがついた本人、もしくはanimate-itemの中にある直下の子要素を対象にする */
.animate-item, .animate-item > h2, .animate-item > .concept-text, .animate-item > .scroll-indicator, .animate-item > .flex-box, .animate-item > .flex-text, .show {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* --- 共通：表示された時（is-animatedがついた時） --- */
.is-animated, .is-animated > h2, .is-animated > .concept-text, .is-animated > .scroll-indicator, .is-animated > .flex-text, .is-animated > .flex-box, .is-animated.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
/* --- 順番に出すための遅延（ディレイ） --- */
/* パターンA：Serviceなどの横並び要素（flex-box）用 */
.flex-area .animate-item:nth-child(1), .is-animated > .flex-box:nth-child(1) {
  transition-delay: 0.2s;
}
.flex-area .animate-item:nth-child(2), .is-animated > .flex-box:nth-child(2) {
  transition-delay: 0.4s;
}
.flex-area .animate-item:nth-child(3), .is-animated > .flex-box:nth-child(3) {
  transition-delay: 0.6s;
}
/* パターンB：Conceptなどの縦並び要素用（中身を順番に出す） */
/* 1番目：h2（Conceptの大きな文字） */
.is-animated > h2 {
  transition-delay: 0.2s;
}
/* 2番目：concept-text（メインメッセージ） */
.is-animated > .concept-text {
  transition-delay: 0.6s;
}
/* 3番目：scroll-indicator（スクロール指示） */
.is-animated > .scroll-indicator {
  transition-delay: 1.0s;
}
/* ==================================================
  concept
================================================== */
.h2-big {
  background-image: none;
  font-size: 30rem;
  text-align: left;
  position: absolute;
  top: 13%;
  left: 0%;
  line-height: 1;
  color: rgba(78, 162, 198, 0.3);
  max-width: 100vw;
  overflow: hidden;
  white-space: nowrap;
}
h3 span {
  position: relative;
}
#concept h3 span::before {
  position: absolute;
  top: -1em;
  left: 0px;
  content: "・";
}
#concept .concept-area {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url(../img/conceptbg.jpg);
  background-size: cover; /* 画面いっぱいに広げる */
  background-position: center; /* 真ん中を基準にする */
  background-repeat: no-repeat; /* 継ぎ足し禁止！ */
  background-color: rgba(255, 255, 255, 0.1);
  background-blend-mode: lighten;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#concept .concept-text {
  position: absolute;
  top: 51vh;
  left: 45vw;
  color: #fff;
}
#concept .concept-text p {
  margin-top: 2rem;
}
/* ==================================================
  service
================================================== */
#service .flex-area {
  margin: 0 auto;
  gap: 30px;
  justify-content: center;
  width: 100%;
}
#service .flex-box {
  width: calc((100% - 60px) / 3);
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
#service p {
  text-align: left;
  font-size: 1.6rem;
  line-height: 2;
}
#service h3 {
  font-weight: bold;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
/* ==================================================
  べつのhtmlの設定
================================================== */
#logo .container {
  max-width: 1400px;
  margin-bottom: 100px;
}
#logo h1 {
  margin-top: 100px;
  margin-bottom: 20px;
}
#logo h2 {
  background-image: none;
  font-size: 2.4rem;
  font-weight: normal;
  text-align: left;
  margin-top: 50px;
  margin-bottom: 0px;
  margin-right: 0px;
  margin-left: 0px;
}
.maegaki {
  text-align: left;
}
.syurui {
  margin-top: 5rem;
  font-size: 3.2rem;
}
#logo .flex-area {
  display: flex;
  max-width: 1400px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
#logo .flex-box {
  flex-wrap: wrap;
  width: 48%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
#logo .flex-img {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
#logo .flex-img-b {
  background-color: #000;
  justify-content: space-between;
  width: 100%;
  display: flex;
}
/* ==================================================
  WORKS DETAIL (詳細ページ専用)
================================================== */
.detail h3 {
  position: relative;
  z-index: 2;
}
/* パンくずリスト */
.breadcrumb-nav {
  margin-top: 15rem;
}
.subnav {
  display: flex;
  font-size: 1.4rem;
}
.subnav li + li::before {
  content: "＞";
  margin: 0 15px;
  color: #999;
}
#overview {
  padding: 6rem 0;
}
#overview h2 {
  background-image: none;
  text-align: left;
  font-size: 3.2rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: -0.02em;
}
.work-meta-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 2rem;
}
.category-label {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.url-link {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4EA2C6;
  text-decoration: none;
  letter-spacing: 0.15em;
  display: inline-block;
  position: relative;
  line-height: 1.2;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.url-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #006788;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.url-link .icon {
  display: inline-block;
  font-size: 1.2rem;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  transition: transform 0.3s ease;
}
.url-link:hover {
  color: #006788;
  text-decoration: none;
}
.url-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.url-link:hover .icon {
  transform: translate(3px, -3px);
}
.work-hero-img {
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2rem 0 4rem;
}
/* --- Concept & Design (01) --- */
.concept-visual-section {
  background-image: url(../img/conceptbg.jpg); /* HTMLにクラスがあったのでここへ */
  background-attachment: fixed; /* パララックス効果（お好みで） */
}
/* --- Logo Concept (02) --- */
.logo_concept-section {
  background-color: #f8f8f8;
  padding: 10rem 0;
  position: relative;
}
.process-info {
  display: flex;
	flex-wrap: wrap;
  justify-content: space-around; /* space-betweenより少し中央に寄せる */
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 4rem 0;
  margin-bottom: 8rem;
}
.pc_mobile_view {
  display: flex;
  align-items: flex-start;
  gap: 5%;
}
.pcview {
  flex: 2;
} /* PCは大きく */
.mobileview {
  flex: 1;
} /* スマホは細めに */
/* ==================================================
   STRATEGY SECTION (01)
================================================== */
#strategy.strategy-visual-section {
  width: 100%;
  background-image: url(../img/conceptbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}
.strategy-bg-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}
.strategy-bg-num, .logo_concept-bg-num {
  position: absolute;
  font-size: 25rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  color: rgba(78, 162, 198, 0.1);
}
.strategy-main-title {
  color: #fff;
  margin-bottom: 5rem;
}
.strategy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px;
  width: 100%;
  position: relative;
  z-index: 2;
  align-items: stretch;
}
.strategy-card {
  background: #fff;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.strategy-card h4 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #4EA2C6;
  display: inline-block;
}
/* --- カード内のテキスト (pとul/li) の統一 --- */
.strategy-card p, .strategy-card .design-notes li {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #555;
}
.strategy-card p {
  margin: 0;
  flex-grow: 1;
}
.strategy-card .design-notes {
  list-style: disc;
  margin-left: 20px;
  padding: 0;
  margin-top: 0;
  flex-grow: 1;
}
.strategy-card .design-notes li {
  margin-bottom: 0.5rem;
}
.strategy-card .design-notes li:last-child {
  margin-bottom: 0;
}
/* カード内の数字 */
.card-num {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.4rem;
  color: #4EA2C6;
  font-weight: bold;
  display: inline-block;
  margin-right: 2rem;
}
/* 背景の横向きテキスト */
.side-text {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: rotate(90deg);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}
/* ==================================================
   OTHERS
================================================== */
.process-info {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 3rem 0;
  margin-bottom: 4rem;
  font-size: 1.6rem;
}
.pc_mobile_title {
  margin-bottom: 1rem;
}
.detail .flex-area {
  justify-content: center;
  gap: 50px;
}
#logodesign .flex-text {
  max-width: 20%;
}
#profile .flex-text {
  max-width: 30%;
}
#profile {
  margin-top: 2rem;
  padding-bottom: 5rem;
}
.logo_concept-title {
  margin-bottom: 5rem;
}
.logo_concept-flex {
  display: flex;
  align-items: center;
  gap: 6rem;
  position: relative;
  z-index: 2;
}
.logo_concept-visual {
  flex: 1;
  background: #000;
  padding: 6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo_concept-visual_white {
  flex: 1;
  background: #fff;
  padding: 6rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo_concept-visual img {
  max-width: 280px;
  height: auto;
}
.logo_concept-description {
  flex: 1;
}
.logo_concept-keywords {
  margin-bottom: 2rem;
}
.logo_concept-text h4 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #333;
  position: relative;
  padding-left: 1.5rem;
}
.keyword {
  display: inline-block;
  color: #4EA2C6;
  font-family: "Josefin Sans", sans-serif;
  font-weight: bold;
  margin-right: 1.5rem;
  font-size: 1.6rem;
}
.logo_concept-text h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2em;
  background-color: #4EA2C6;
}
.logo_concept-text p {
  font-size: 1.7rem;
  line-height: 2.2;
  color: #555;
}
.logo-text h4 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  position: relative;
  padding-left: 1.5rem;
}
.logo-text h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2em;
  background-color: #4EA2C6;
}
.logo-text p {
  font-size: 1.6rem;
  line-height: 2;
  color: #666;
}
.show {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.show.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.scroll-indicator {
  position: absolute;
  right: 40px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: floating 3s ease-in-out infinite;
}
.scroll-indicator span {
  writing-mode: vertical-rl;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5em;
  text-shadow: 0 0 15px rgba(0, 103, 136, 0.8);
  margin-bottom: 20px;
}
.scroll-indicator::after {
  content: "";
  width: 1px;
  height: 100px; /* PCは線を長くして存在感を出す */
  background-color: #fff;
  animation: scroll-line 2.5s infinite;
}
@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  } /* 15px分、上にふんわり浮く */
  100% {
    transform: translateY(0);
  }
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* --- PC用の設定（既存のコードを活かす） --- */
.menu-btn {
  display: none; /* PCでは三本線ボタンは隠す */
}
.pcview img, .mobileview img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 柔らかい影をつける */
  border-radius: 5px; /* 角をほんの少し丸くする */
}
/* ==================================================
   BANNER DETAIL PAGE
================================================== */
.banner-flex-container {
  display: flex;
  gap: 60px;
  margin-top: 4rem;
  align-items: flex-start;
  justify-content: center;
}
.banner-visual-layout {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.banner-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
}
.banner-sub-vert {
  width: 160px;
}
.banner-visual-layout img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.banner-sub-horiz img {
  max-width: 320px;
}
.banner-sub-vert img {
  width: 160px;
  max-height: none;
}
.banner-info {
  flex: 1;
  max-width: 500px;
}
.banner-section {
  margin-bottom: 4rem;
}
.banner-sub-title {
  font-size: 1.8rem;
  color: #4EA2C6;
  margin-bottom: 2rem;
  border-left: 4px solid #4EA2C6;
  padding-left: 15px;
  line-height: 1.4;
}
.banner-section p {
  font-size: 1.5rem;
  line-height: 1.9;
  color: #555;
  margin: 0;
  padding-left: 5px;
  text-align: justify;
}
.tool-icon-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  vertical-align: middle;
}

.tool-icon-wrapper img {
  width: 18px;
  height: 18px;
  box-shadow: none !important;
  vertical-align: -3px;
}

.process-info-mini {
  margin-top: 4rem;
  padding: 2.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.process-info-mini p, .tool-used {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #666;
}
.work-meta-row {
/*  margin-left: 0;*/
  margin-bottom: 2rem;
}
@media print {
  .banner-flex-container {
    display: flex;
    flex-direction: row;
  }
	
  header, footer, .breadcrumb-nav {
    display: none;
  }
}

/* style.css の一番下に追記 */
@media screen and (min-width: 1025px) {
  /* bodyにgryphon-detailがある時だけ、中のflexコンテナを調整 */
  body.gryphon-detail .banner-flex-container {
    display: flex !important;
    align-items: flex-start !important;
    gap: 40px !important; /* 説明文と画像の間の隙間 */
  }

  /* 説明文エリアを45%に広げる */
  body.gryphon-detail .banner-info {
    flex: 0 0 45% !important;
    max-width: 45% !important;
  }

  /* 画像エリアを55%に抑える */
  body.gryphon-detail .banner-visual-layout {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* 中の画像がはみ出さないように強制 */
  body.gryphon-detail .banner-visual-layout img {
    width: 100% !important;
    height: auto !important;
  }
}

/* ==================================================
   ILLUSTRATION PAGE (自画像専用スタイル)
================================================== */

/* イラスト用の縦並びレイアウト */
.illustration-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* メイン画像を大きく見せる */
.illust-main img {
  width: 100%;
  max-width: 500px; /* バナーよりも一回り大きく */
  height: auto;
  border: 1px solid #eee;
  display: block;
}

/* アイコン使用イメージの枠 */
.illust-usage {
  text-align: center;
  background: #fdfdfd;
  padding: 20px;
  border-radius: 15px;
  border: 1px dashed #ccc;
  width: 100%;
  max-width: 250px;
}

.usage-label {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 10px;
  font-weight: bold;
}

/* 丸いアイコンの再現 */
.icon-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #4EA2C6;
}

.icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usage-text {
    width: 100% !important; /* 親がrowになっても、横幅を100%占領させる */
    flex-basis: 100%;        /* flexの子要素としての幅も100%に固定 */
    text-align: center;      /* 文字を中央に */
    margin-top: 15px;
    display: block;          /* 念のためブロック要素として扱う */
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
  .illustration-layout {
    width: 100%;
  }
}

/* ==================================================
  Responsive Design
================================================== */
/* タブレット対応 */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  .aboutme-container {
    gap: 40px;
  }
  h2 {
    margin-top: 10rem;
    margin-bottom: 8rem;
    padding-bottom: 0.5rem;
  }
  .tab-group {
    gap: 12px;
  }
  .tab {
    padding: 10px 15px;
  }
  .tab.active {
    background-color: #4EA2C6;
    color: #ffffff;
  }
  .container {
    width: 85%; /* 左右にしっかり余白を作る */
    max-width: 800px; /* 文字が横に伸びすぎない限界を決める */
    margin: 0 auto;
  }
  .detail .flex-area {
    align-items: center;
    gap: 40px;
  }
  .detail .flex-text {
    width: 100%;
    text-align: left; /* 文字は左揃え */
    padding: 0 10px;
  }
  .h2-big {
    font-size: 18rem;
    width: 100%;
    overflow: hidden;
  }
  #concept .concept-text {
    left: 10%; /* 45vwから変更 */
    width: 80%;
  }
  #logodesign .flex-text {
    max-width: 70%;
  }
  #profile .flex-text {
    max-width: 70%;
  }
  .overview h2 {
    font-size: 2.6rem;
  }
  .process-info {
    flex-direction: column;
    gap: 15px;
  }
  .strategy-card {
    padding: 20px;
  }
  .banner-flex-container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
  }

  .banner-visual-layout {
    justify-content: center;
    width: 100%;
  }

  .banner-info {
    max-width: 100%;
    width: 90%;
  }
}
/* スマホ対応 */
@media (max-width: 768px) {
  html {
    font-size: 54%;
  }
  .logo_concept-bg-num, .strategy-bg-num {
    font-size: 12rem;
    top: 5%;
  }
  .logo_concept-flex {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .logo_concept-visual {
    width: 100%;
    max-width: 300px;
    padding: 4rem;
  }
  .strategy-card-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
  }
  .strategy-card {
    height: auto;
    padding: 30px 20px;
  }
  .mv-title {
    font-size: 4.8rem;
  }
  h2 {
    margin-top: 7rem;
    margin-bottom: 7rem;
  }
  #service h3 {
    font-size: 2.0rem;
    margin-top: 2rem;
  }
  #service p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  #works .work-title {
    font-size: 1.4rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .tag {
    margin-bottom: 4px;
  }
  .skill-list {
    justify-content: flex-start;
    gap: 8px;
  }
  .skill-list li {
    padding: 5px 12px;
  }
  .skill-list li img {
    width: 18px;
    height: 18px;
  }
  .skill-list li span {
    font-size: 1.3rem;
  }
  .name {
    font-size: 2.4rem;
    letter-spacing: 0.2em;
  }
  .name span {
    display: inline;
    margin-left: 10px;
    font-size: 1.4rem;
  }
  .job-title {
    font-size: 1.4rem;
  }
  .portrait-frame {
    padding: 25px;
  }
  .form-area {
    padding: 0 20px;
  }
  .button-area {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .button {
    width: 100%;
    max-width: none;
  }
  footer {
    padding: 5rem 0 3rem;
  }
  .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  .footer-menu a {
    font-size: 1.5rem;
  }
  .copyright {
    padding-top: 2.5rem;
    width: 80%;
    margin: 0 auto;
    display: block;
  }
  .nav-area {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 103, 136, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    z-index: 1050;
  }
  .nav-area.is-open {
    right: 0;
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: 3rem;
    padding: 0;
    width: 100%;
  }
  .nav-area .menu li {
    margin-left: 0;
    margin-bottom: 2rem;
  }
  .menu li a {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    font-size: 2.8rem;
    font-family: "Josefin Sans", sans-serif;
    position: relative;
    text-decoration: none;
    transition: opacity 0.3s;
  }
  .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 2px;
    background-color: #fff;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s;
    transform-origin: center;
  }
  .menu li a:active {
    opacity: 0.6;
  }
  .nav-area.is-open {
    right: 0;
  }
  .nav-area.is-open .menu li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-area.is-open .menu li:nth-child(1) {
    transition-delay: 0.2s;
  }
  .nav-area.is-open .menu li:nth-child(2) {
    transition-delay: 0.3s;
  }
  .nav-area.is-open .menu li:nth-child(3) {
    transition-delay: 0.4s;
  }
  .nav-area.is-open .menu li:nth-child(4) {
    transition-delay: 0.5s;
  }
  .menu-btn {
    display: block;
    position: relative;
    width: 30px;
    height: 22px;
    z-index: 1100;
    cursor: pointer;
  }
  .menu-btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #006788;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
  }
  .scrolled .menu-btn span, .menu-btn.is-active span {
    background-color: #fff;
  }
  .menu-btn span:nth-child(1) {
    top: 0;
  }
  .menu-btn span:nth-child(2) {
    top: 10px;
  }
  .menu-btn span:nth-child(3) {
    top: 20px;
  }
  .nav-area.is-open {
    right: 0;
  }
  .menu-btn.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }
  .menu-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  .menu-btn.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }
  .tab-group {
    flex-wrap: wrap; /* スマホで2列にする */
    gap: 8px;
  }
  .tab {
    flex: 0 0 calc(50% - 4px);
    padding: 12px 0;
  }
  .aboutme-visual {
    flex: 0 0 auto;
    width: 150px;
    padding: 0;
  }
  #concept .concept-area {
    height: auto;
    min-height: 100vh;
    padding: 15rem 5% 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #concept .concept-text {
    position: static;
    width: 100%;
    margin-top: 2rem;
    color: #fff;
  }
  .detail .flex-box svg {
    width: 120px;
    height: auto;
  }
  .detail .flex-area {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .scroll-indicator {
    right: 15px;
    bottom: 30px;
    animation: floating 3s ease-in-out infinite;
  }
  .scroll-indicator span {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .scroll-indicator::after {
    height: 60px;
  }
  #logodesign .flex-text {
    max-width: 100%;
  }
  #profile .flex-text {
    max-width: 100%;
  }
  #service .flex-area {
    gap: 40px;
  }
  .svg-elem-1, .svg-elem-2 {
    fill: rgb(0, 103, 136) !important; /* 1つ目の色 */
    stroke: rgb(0, 103, 136) !important;
    opacity: 1 !important;
    animation: none !important; /* アニメーションを強制停止 */
  }
  .svg-elem-2 {
    fill: rgb(60, 60, 60) !important; /* 2つ目の色（グレー） */
    stroke: rgb(60, 60, 60) !important;
  }
  /* 2. その他のふわっと出る要素も最初から表示 */
  .animate-item, .animate-item > h2, .animate-item > .concept-text, .animate-item > .scroll-indicator, .animate-item > .flex-box, .animate-item > .flex-text, .show {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important; /* 動きを消す */
  }
	.illustration-layout {
    order: 2; /* 説明文（banner-info）の後にイラストを表示させる場合 */
    margin-top: 30px;
  }

  .illust-main img {
    max-width: 100%; /* スマホ画面からはみ出さないように */
    height: auto;
  }
}
@media (hover: hover) {
  .menu li a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
}
@media (max-width: 630px) {
  html {
    font-size: 50%;
    scroll-padding-top: 70px; /* スマホ専用の数値に上書き */
  }
  .form-area {
    min-width: auto;
  }
  h2 {
    background-image: url(../img/vector02.svg);
    padding-bottom: 0.5rem;
  }
  .work-item {
    margin: 0 auto;
    width: 100%;
  }
  .work-content {
    padding-top: 0px;
  }
  .h2-big {
    font-size: 12rem;
    top: 5%;
  }
  .sp-only {
    display: block;
  }
  #service .flex-area {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  #service .flex-box {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0 5%;
  }
  #service .flex-box img {
    width: 120px;
    height: auto;
    margin: 0 auto;
  }
  #aboutme {
    scroll-margin-top: 50px;
  }
  .aboutme-content {
    text-align: left;
    width: 100%;
  }
  #aboutme .section-p {
    padding: 60px 0;
  }
  .aboutme-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  .btn-more {
    display: block;
    width: 80%;
    padding: 12px 0;
    margin: 30px auto 0;
    text-align: center;
  }
  .pc_mobile_view {
    flex-direction: column;
    gap: 50px;
  }
  .pcview, .mobileview {
    width: 100%;
  }
}
@media (max-width: 480px) {
  h2 {
    font-size: 3rem;
    margin-top: 8rem;
    margin-bottom: 6rem;
  }
	#overview h2 {
		font-size: 2.4rem;
	}
  .skill-list li {
    padding: 6px 12px;
  }
  .tab-group {
    flex-wrap: wrap; /* ここで初めて折り返しを許可する */
    justify-content: center;
    gap: 8px;
  }
  .tab {
    flex: 0 0 calc(50% - 5px); /* 2列2段にする */
    padding: 10px 0;
  }
  .h2-big {
    font-size: 10rem;
  }
  .banner-visual-layout {
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
  }

  .banner-left-column {
    width: 60%;
  }

  .banner-sub-vert {
    width: 30%;
  }
  
  .banner-sub-vert img {
      max-height: 300px; 
      object-fit: contain;
  }
}

/* ==================================================
   BACK TO TOP BUTTON
================================================== */
.page-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  opacity: 0; /* 最初は隠しておく */
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px); /* 少し下から浮かび上がる演出 */
}

/* ボタンがアクティブ（表示中）のとき */
.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top a {
  display: block;
  width: 50px;
  height: 50px;
  background: #4EA2C6;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
	border: 2px solid #fff; 
  box-sizing: border-box;
}

/* 矢印のデザイン（CSSで描画） */
.page-top a::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ホバー時の動き */
.page-top a:hover {
  background: #3a8ab0; /* 少し濃い青 */
  transform: scale(1.1);
}

/* ---------------------------------
   レスポンシブ対応（スマホ）
--------------------------------- */
@media (max-width: 768px) {
  .page-top {
    right: 20px;
    bottom: 20px;
  }
  .page-top a {
    width: 44px; /* スマホでは少し小さく（タップしやすい最小サイズ） */
    height: 44px;
  }
}