@charset "UTF-8";

/*
Theme Name: LINKPEER
Theme URI: https://linkpeer.net/linkpeer
Author: LINKPEER
Author URI: LINKPEER
Description: このテーマは、完全オリジナルで構築されたWordPressテーマです。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: your-theme-textdomain
*/

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* CSS Document */ 
:root {
  --main-white: #ffffff;
  --primary-black: #222222;
  --color-accent-blue: #19A3A3;
  --color-sub-blue: #DAE6E7;
  --color-text-blue: #41B3B3;
  --font-xxl: clamp(24px, 3.33vw, 999rem); /* ��48px */
  --font-h2: clamp(24px, 3.89vw, 999rem); /* ��56px */
  --font-ll: clamp(2rem, 2.5vw, 999rem); /* ��36px */
  --font-lg: clamp(24px, 2.22vw, 999rem); /* ��32px */
  --font-md: clamp(20px, 1.67vw, 999rem); /* 約24px */
  --font-sm: clamp(18px, 1.25vw, 999rem); /* 約22px */
  --font-p: clamp(16px, 1.11vw, 999rem);
}
html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
  font-weight: 400;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  color: var(--color-text);
  background-color: #FFFFFF;
  letter-spacing: 0.08em;
}
h2 {
  font-size: var(--font-h2);
  line-height: 1.5;
}

p, li, a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: var(--font-p);
}
.catch {
  font-size: var(--font-catch);
}
@media (max-width: 767px) {
  body {
    font-size: 1.6em;
    overflow-x: hidden;
  }
}
a:hover {
  opacity: 0.7;
}
*, *:before, *:after {
  box-sizing: border-box;
}
img {
  width: 100%;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.PC-br {
  display: inline;
}
.SP-br {
  display: none;
}
.br-sp-only {
  display: none;
}

@media screen and (max-width: 374px) {
  .br-sp-only {
    display: inline;
  }
}

/* ボタンの基本スタイル（共通） */
.btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-accent-blue);
  color: #fff;
  padding: 1em 2em;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  padding-right: 5em; /* 矢印分スペース */
  font-size: var(--font-p);
  border: none;
  transition: 0.3s;
}
/* 区切り線 */
.btn-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  right: 3.2em;
  height: 100%;
  width: 1px;
  background-color: hsla(0, 0%, 100%, 0.4);
}
/* 三角矢印 */
.btn-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.3em;
  width: 0.6em;
  height: 0.6em;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .PC-br {
    display: none;
  }
  .SP-br {
    display: inline;
  }
}
.font-noto {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
/* ベースのレイアウト */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0; /* 外側にpaddingは不要 */
}

/* 中身の横幅と余白管理は .header-inner で */
.header-inner {
  margin: 1.2em 2em; /* 上下余白＋中央寄せ */
  padding: 1em 2em; /* 内部余白 */
  display: flex;
  justify-content: space-between;
  align-items: center;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
  border-radius: 16px;
}

.header__logo img {
  width: 220px;
  height: auto;
}
/* PCナビゲーション */
.header-nav_pc {
  display: flex;
}
.header-gnav_pc_list {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  margin-right: 3em;
}
.header-gnav_pc_list li a {
  text-decoration: none;
  transition: opacity 0.3s;
}
.header-gnav_pc_list li a:hover {
  opacity: 0.7;
}
/* スマホナビ非表示（PC時） */
.header-nav_sp {
  display: none;
}
/* ハンバーガーボタン */
.openbtn {
  display: none;
  position: relative;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  cursor: pointer;
  z-index: 1100;
}

/* 中央の線3本 */
.openbtn span {
  display: block;
  position: absolute;
  left: 18px;
  right: 18px;
  height: 0.8px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* 各線の配置 */
.openbtn span:nth-child(1) {
  top: 20px;
}
.openbtn span:nth-child(2) {
  top: 27px;
}
.openbtn span:nth-child(3) {
  top: 34px;
}
/* ナビゲーションメニュー（SP） */
#g-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-sub-blue);
  transition: right 0.4s;
  padding: 40px 24px;
  z-index: 1000;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#g-nav.active {
  right: 0;
}
#g-nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.header__menu li{
  padding-bottom: 32px;
}
.header__menu-list {
  display: block;
  font-size: 20px;
  color: var(--primary-black);
  text-decoration: none;
}
.header__menu li {
  position: relative;
  padding-left: 1.5em; /* アイコン分の余白を追加 */
}

.header__menu li::before {
  content: "";
  position: absolute;
  left: 2.5em;
  top: 50%;
  transform: translateY(-160%);
  width: 14px;
  height: 14px;
  background-image: url("image/arrows_1.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.header__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header__menu-list:hover {
  opacity: 0.7;
}
/* メディアクエリでスマホ表示 */
@media screen and (max-width: 960px) {
  .header-inner {
    margin: 8px;
    padding: 8px;
}
  .header-nav_pc {
    display: none;
  }
  .header-nav_sp {
    display: block;
  }
  .openbtn {
    display: block;
  }
  .header__logo img {
    width: 140px;
  }
}
.hero-inner {
  display: flex;
  flex-direction: column;
  margin-top: 7em;
  padding: 0
}
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2em;
  padding: 1em 5em;
}
.hero-image picture {
  display: block;
  margin: 0;
  padding: 0;
}
.hero-image {
  width: 100vw;
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1250px) {
  .br-sp-hide {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .hero-text {
    padding: 1em 2em;
  }
}
.hero-text h2 {
  font-size: var(--font-xxl);
  white-space: nowrap;
}
.hero-image {
  line-height: 0;
}
.hero-image img {
  display: block;
}
.vision {
  padding: 12.5em 0;
  position: relative;
  background:  linear-gradient(145deg, #f0fafa 0%, #b5cecf 100%);
  overflow: hidden;
}

.vision {
  padding: 12.5em 0;
  position: relative;
  background: linear-gradient(145deg, #DEF3F3 0%, #cdeaea 100%);
  overflow: hidden;
}


.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0 8vw 0 10vw;
}
.vision-box {
  background-color: var(--main-white);
  padding: 6vw;
  border-radius: 24px;
  box-shadow: 8px 12px 12px rgba(192, 213, 213, 0.9);
}
.vision-lead {
  text-align: center;
  padding-bottom: 2.5em
}
.vision-catchtext{
  padding-bottom: 1em;
  color: var(--color-accent-blue);
  font-weight: 600;
  text-align: center;
  font-size: var(--font-sm);
}
.service-inner {
  padding: 10em 6.25em;
  background-image: url("../image/service_bg.webp");
  background-size: 100%;
  opacity: 1;
}
.service-header {
  display: grid;
  grid-template-columns: auto 1fr; /* 左：アイコンや小見出し、右：本文など */
  align-items: baseline;
  gap: 5em; /* 任意で余白調整 */
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2em;
  justify-items: center;
  max-width: 2000px;
  margin: 4em auto 0;
}
.service-card {
  position: relative;
  border-radius: 16px;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2em;
  overflow: hidden; /* ::before には必須 */
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #CAE0DD 0%, #9CDBDC 100%);
  opacity: 0.7;
  z-index: 0;
  border-radius: 16px;
}
/* 以下、内容のレイヤーを前面に出す */
.service-card > * {
  position: relative;
  z-index: 1;
}
.card-number {
  position: absolute;
  top: 1em;
  left: 2em;
}
.card-image-wrapper {
  margin: 3.5em auto 2.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-image-wrapper img {
  width: 100%;
}
.card-title {
  color: var(--color-accent-blue);
  padding-bottom: 0.8em;
  font-size: var(--font-sm);
  font-weight: 600;
}
.card-description {
  padding: 0em 1.2em;
  text-align: left;
}
.case-study-inner {
  background-color: rgba(229, 243, 243, 0.7);
  border-radius: 24px;
  margin: 7.5em 6.25em;
  padding: 7em 5vw;
  box-shadow: 0px 4px 16px 5px rgba(192, 213, 213, 0.8);
}
.case-study-inner_wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr; /* テキストと画像を2カラムに */
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.case-study-text {
  display: inline-block;
}
.case-study-text > *:not(:last-child) {
  margin-bottom: 1em;
}
.case-study-image {
  padding-left: 2em;
  text-align: center;
}
.case-study-image img {
  width: 70%;
}
.case-study-text h2 {
  font-size: var(--font-lg);
  color: var(--color-accent-blue);
}
.news-inner {
  display: grid;
  grid-template-columns: 1fr 2fr; /* 左：右の比率調整 */
  align-items: center;
  gap: 2em;
  padding: 3em 7vw;
}
.news-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1em;
}
.news-left {
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 1em;
}
.news-left h2 {
  font-size: var(--font-xxl);
  font-weight: bold;
}
.news-left .label {
  font-size: var(--font-sm);
  color: var(--color-gray);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.news-left img {
  width: 80%;
  padding-top: 1em;
}
.news-right {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.news-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5em;
  padding: 2em 3em;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.news-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  min-width: 80px;
}
.news-date, .news-category {
  font-weight: bold;
}
.news-button {
  align-self: flex-end;
  justify-self: end;
  margin-right: 7vw;
}
.news-button .btn {
  padding: 1.3em 2em;
}
.news-button .btn {
  padding-right: 5em; /* 矢印スペース分広げる */
}
.contact-inner {
  background-color: var(--color-sub-blue);
  border-radius: 24px;
  margin: 7.5em 2.25em;
}
.contact-title {
  text-align: left;
}
.contact-header {
  display: grid;
  place-items: center; /* 上下左右すべて中央寄せ */
  padding: 4em;
  text-align: center;
  gap: 2em;
}
.contact-title {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.contact-title h2, .contact-title .label {
  margin: 0;
}
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 2em;
  align-items: center;
  padding: 1em 5vw 4em 5vw;
  margin: 0 auto;
}
.contact-lead {
  font-size: var(--font-lg);
  color: var(--color-accent-blue);
  font-weight: 600;
  padding-bottom: 1em;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 理由 + 画像 を横並びに */
  align-items: center;
  gap: 1em;
  margin-top: 3em;
}
.contact-image {
  width: 100%;
  min-width: 160px; /* 極小でも表示 */
  margin: 0 auto;
  overflow: hidden; /* はみ出し防止 */
}
.contact-image img {
  max-width: 100%;
  height: auto;
  display: block;
}
.reasons-list {
  position: relative;
}
.reasons-list ::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 15px;
  margin-right: 6px;
  background: url("image/arrows_1.svg") no-repeat center center / contain;
}
.reasons-list li {
  padding-bottom: 0.8em;
  font-size: var(--font-p);
}
.reasons-list li:last-child {
  padding-bottom: 0;
}
.contact-image img {
  width: 70%;
}
.form-group {
  display: flex;
  flex-direction: column;
  padding-bottom: 1em;
}
.form-group label {
  margin-bottom: 0.5em;
  font-size: var(--font-p);
}
.form-group input, .form-group textarea {
  border: none;
  border-radius: 8px;
  padding: 1.5em;
  background: #fff;
  box-shadow: 0 0 0 1px #ccc inset;
}
.form-submit {
  text-align: center;
  padding-bottom: 4em;
}
.form-submit .btn {
  padding: 1.3em 7em 1.3em 4em;
  margin-bottom: 1em;
}
.footer-inner {
  background: url("image/footer_bg.webp") no-repeat center top;
  background-size: cover;
  position: relative;
}
.footer-contect {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20em 6.25em 1.8em;
    flex-direction: column;
}
.footer-contect_text {
  font-size: var(--font-ll);
  font-weight: 600;
}
.footer-logo img {
  padding-top: 1.5em;
  width: 80%;
}
.pagetop {
  position: absolute;
  right: 4em;
  bottom: 4em;
}

.pagetop img {
  width: 100%;
  height: auto;
  display: block;
}
.copyright {
  text-align: center;
  padding: 3em 0 1em;
  font-size: 12px;
}
.highlight {
  color: var(--color-accent-blue);
}
.sub-text span {
  font-weight: 600;
  background: linear-gradient(to bottom, transparent 50%, rgba(25, 163, 163, 0.2) 50%);
}
.label {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 15px;
  margin-right: 6px;
  background: url("image/arrows_1.svg") no-repeat center center / contain;
}
.person-wrap {
  display: flex;
  justify-content: center;
}
.person-wrap img {
  width: 60%;
  height: auto;
}
.vision-lead {
  font-size: var(--font-sm);
  line-height: 2.2;
}
.highlight_a {
  color: var(--color-accent-blue);
  font-weight: 600;
}
.emphasis {
  font-size: var(--font-md);
  display: inline-block;
  background-color: var(--color-accent-blue);
  font-weight: bold;
  color: #fff;
  padding: 0em 0.5em;
  border-radius: 4px;
  margin-right: 0.2em;
  white-space: nowrap;
}
.service-text .emphasis {
  font-size: var(--font-p);
  font-weight: 400;
}
.case-study-inner .emphasis {
  font-size: var(--font-p);
  padding: 0.3em 0.5em;
  display: block;
  width: fit-content;
}
.contact-content .emphasis {
  font-size: var(--font-p);
  padding: 0.3em 0.5em;
  font-weight: 400;
  margin-bottom: 1em;
}
.description span {
  color: var(--color-accent-blue);
  font-weight: 600;
  background: linear-gradient(to bottom, transparent 50%, rgba(25, 163, 163, 0.2) 50%);
}
.client {
  padding-top: 2em;
}
.client a {
  position: relative;
  display: inline-block;
  text-decoration: underline dotted;
  text-underline-offset: 12px; /* オフセットの調整 */
  text-decoration-thickness: 0.11em; /* 太さ（11%相当） */
  transition: opacity 0.3s ease;
}
.client a:hover {
  opacity: 0.5;
}
.client a::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("../image/link_icon.svg") no-repeat center center / contain; /* アイコン画像を入れる */
  margin-left: 0.4em;
  vertical-align: middle;
}
@media (max-width: 768px) {
    .hero {
    min-height: calc(100vh - 80px); 
    display: flex;
    align-items: center;
        padding: 0;
  margin: 0;
  }
  .hero-text {
    display: block;
    padding: 3em 1.5em;
    text-align: left;
  }
  .hero-inner {
    display: flex;
    padding: 0;
    text-align: left;
    margin-top: 85px;
  }
  .hero-image {
    order: -1;
  }
  .hero-text h2 {
    white-space: normal;
    padding-bottom: 0.5em;
  }
  .hero-image img {
    width: 100%;
    height: auto;
  }
  .vision {
    padding: 4em 0;
  }
  .vision-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5em;
  }
  .vision-inner img {
    width: 70%;
    height: auto;
  }
  .vision-box {
    width: 100%;
    padding: 2.5em 1em;
    border-radius: 16px;
    box-shadow: 4px 8px 8px rgba(192, 213, 213, 0.6);
    margin: 0 auto;
  }
  .emphasis{
    white-space: normal;
    margin-right: 0;
    padding: 0em 0.3em;
  }
  .vision-lead {
    padding-bottom: 1.5em;
    text-align: center;
  }
  .vision-left {
    display: grid;
    grid-template-columns: auto 1fr; /* アイコン・見出し・英語ラベル */
    align-items: center;
    gap: 0.5em;
    margin-bottom: 2em;
  }
  .service-inner {
    padding: 4em 1em;
  }
  .service-header {
    display: block;
  }
  .service-header_title{
    padding-bottom: 1em;
  }
  .service-cards {
    margin: 2em auto 0;
}
  .case-study-inner {
    margin: 4em 1em;
    padding: 4em 5vw 3em;
  }
  .case-study-inner_wrap {
    display: block;
  }
  .case-study-image {
     text-align: right;
     margin-top: 3em;
     width: 100%;
     padding: 0 2em 0 0;
  }
  .case-study-image img{
    width: 50%;
  }
  .client {
    padding-top: 1em;
}
  .news-inner {
    display: block;
    padding: 2em 1.5em;
  }
  .news-left {
    grid-template-columns: 1fr 1.3fr;
    gap: 0em;
    margin-bottom: 1em;
  }
  .news-left img {
    padding-top: 0em;
  }
  .news-left_image {
    justify-self: center;
    text-align: center;
  }
  .news-list li {
    gap: 1em;
    padding: 1em 1em;
    display: block;
}
  .news-meta {
    flex-direction: row;
    gap: 1em;
}

  .footer-contect {
    padding: 17em 1.5em 2em;
}
  .footer-logo img {
    width: 60%;
}
  .pagetop {
    right: 0em;
    bottom: 19em;
}
  .pagetop img {
    width: 70%;
}
  .copyright {
    padding-bottom: 1em;
            font-size: 12px;
  }
    .contact-content{
    display: block;
    margin-top: 1em;
  }
    .contact-image {
    margin-left: auto;
    margin-right: 0;
      width: 60%;
      padding: 1em 0;
  }
  .contact-image img{
    width: 100%;
  }
}
@media (max-width: 1000px){
    .contact-header{
    padding: 4em 0 1em;
    margin: 0 auto;
  }
  .contact-inner {
    margin: 4.5em 1em 6em;
}
  .contact-wrap{
    display: block;
    padding-bottom: 2em;
  }
}

/*========= 流れるテキスト ===============*/

/*全共通*/
.slide-in {
  overflow: hidden;
  display: inline-block;
}
.slide-in_inner {
  display: inline-block;
}

/*左右のアニメーション*/
.leftAnime {
  opacity: 0;
}

.slideAnimeLeftRight {
  animation-name: slideTextX100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}

@keyframes slideTextX100 {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name: slideTextX-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}

@keyframes slideTextX-100 {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}




/*========= PCナビゲーション 下から上にスライド ==========*/

.hoverPageSlide {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  text-decoration: none;
}

.hoverPageSlide span {
  display: block;
  transform: translateY(0%);
  transition: transform 0.4s ease;
}

.hoverPageSlide::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  display: block;
  width: 100%;
  transform: translateY(0%);
  transition: transform 0.4s ease;
  color: inherit;
}

.hoverPageSlide:hover span {
  transform: translateY(-100%);
}

.hoverPageSlide:hover::before {
  transform: translateY(-100%);
}


.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.2s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#top {
  scroll-margin-top: 100px;
      position: relative;
}

#NEWS {
  scroll-margin-top: 200px;
      position: relative;
}