@charset "utf-8";

:root {
  --color-primary: #02A3CC;
  --color-accent: #eded00;
  --hover-speed: 0.3s;
}

/* 全体 */
/* ============================================ */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 0.83vw, 16px);
  color: #222;
  line-height: 1.6;
  letter-spacing: 0.025em;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ============================================ */
/* 共通 */
/* ============================================ */
.site-header__pc {
  display: block;
}

.header-menu-sp {
  display: none;
}

.title {
  font-size: clamp(20px, 1.56vw, 30px);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.title__en {
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

/* ============================================ */
/* 共通 - fix */
/* ============================================ */
.fixed-message {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-accent);
  text-align: center;
  padding: 10px;
  font-size: 14px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9;
  min-height: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.fixed-message .material-symbols-outlined {
  vertical-align: middle;
  padding: 0 .3em;
  font-size: 1em;
}

.fixed-message a {
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.3em;
}

.fixed-message.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#page-top a {
  background-color: #222;
  bottom: 50px;
  color: #fff;
  width: clamp(36px, 3.5vw, 50px);
  aspect-ratio: 1/1;
  display: grid;
  place-content: center;
  position: fixed;
  right: clamp(10px, 1vw, 20px);
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  z-index: 3;
}

.oteco__message-wrapper {
  position: fixed;
  left: -30px;
  bottom: 80px;
  width: clamp(150px, 10.41vw, 200px);
  z-index: 5;
}

.oteco__message {
  cursor: pointer;
}

.oteco__close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
}

/* モーダル */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal__container {
  background: #fff;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
}

.modal__close {
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
}

/* ============================================ */
/* header */
/* ============================================ */
.site-header__pc {
  position: fixed;
  width: 100%;
  background: #fff;
  z-index: 10;
  height: 80px;
  display: grid;
  align-items: center;
  transition: height 0.3s ease;
}

.site-header__inner {
  margin: 0 auto;
  width: 96%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.56vw, 30px);
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.56vw, 30px);
}

.site-header__list a:hover {
  color: var(--color-primary);
  transition: var(--hover-speed);
}

.site-header__btn {
  padding: 10px 18px;
  background: var(--color-accent);
  border-radius: 5px;
  white-space: nowrap;
  transition: var(--hover-speed);
}

.site-header__btn:hover {
  filter: brightness(0.7);
  transition: var(--hover-speed);
}

.site-header__pc.is-shrink {
  height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-header__pc.is-shrink .site-header__btn {
  padding: 6px 14px;
}

/* ============================================ */
/* footer */
/* ============================================ */
.footer {
  background: #f9f9f9;
  padding: clamp(40px, 3.12vw, 60px) 0 70px;
}

.footer__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.footer__logo {
  display: block;
  margin-bottom: 15px;
}

.footer__text p {
  margin: 0 0 4px;
}

.footer__menu {
  text-align: right;
  display: grid;
  gap: 10px;
}

.footer__menu a {
  position: relative;
}

.footer__menu a::after {
  background-color: #222;
  bottom: -2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
  width: 100%;
}

.footer__menu a:hover::after {
  transform: scale(1, 1);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}

.footer__copy {
  opacity: 0.9;
}

.footer__credit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__produced {
  opacity: 0.9;
}

.footer__security {
  width: 150px;
}

/* ============================================ */
/* mv */
/* ============================================ */
.mv {
  padding-top: 80px;
}

.mv__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}

.mv__image {
  height: 100%;
}

.mv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__info {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-info__inner {
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
}

.mv__title {
  font-size: clamp(18px, 1.30vw, 25px);
  margin-bottom: 10px;
  font-weight: 600;
  /* border-bottom: 1px solid #fff; */
}

.mv__text {
  font-weight: 400;
}

.mv__staff {
  text-align: right;
  margin-top: 10px;
  font-weight: 400;
}

.mv__contact {
  margin-top: 20px;
  background: #fff;
  padding: 15px clamp(15px, 2.08vw, 40px);
  border-radius: 5px;
}

.mv__alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #222;
  margin-bottom: 15px;
}

.mv__alert-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
}

.mv__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  justify-content: center;
}

.mv__tel,
.mv__mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #222;
  padding: 10px 30px;
  border-radius: 999px;
}

.mv__tel .material-symbols-outlined,
.mv__mail .material-symbols-outlined {
  font-size: 20px;
}

.mv__note {
  font-size: clamp(12px, .72vw, 14px);
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 400;
}

.mv__note-image {
  background: #fff;
  width: fit-content;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================ */
/* news */
/* ============================================ */
.news {
  padding: clamp(50px, 5.2vw, 100px) 0 0;
}

.news__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.news__box {
  background: #f9f9f9;
  padding: clamp(20px, 2.08vw, 40px);
  max-height: 400px;
  overflow-y: auto;
}

.news__box::-webkit-scrollbar {
  width: 6px;
}

.news__box::-webkit-scrollbar-track {
  background: #e0e6f0;
}

.news__box::-webkit-scrollbar-thumb {
  background: #9ca7b8;
}

.news__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3px 15px;
  padding: 20px 10px;
  border-bottom: 1px solid #d3dae6;
}

.news__meta {
  font-weight: bold;
}

.news__date {
  white-space: nowrap;
  color: var(--color-primary);
}

.news__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
}

.news__header .material-symbols-outlined {
  transition: transform 0.2s ease;
}

.news__header.open .material-symbols-outlined {
  transform: rotate(180deg);
}

.news__content {
  display: none;
  padding-top: 10px;
  color: #222;
  font-size: clamp(12px, .72vw, 14px);
  font-weight: 400;
}

/* ============================================ */
/* oteco */
/* ============================================ */
/* OTECO block */
.oteco {
  padding: clamp(50px, 5.2vw, 100px) 0 0;
}

.oteco__inner {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.oteco__box {
  background: var(--color-primary);
  /* 添付の水色寄せ（必要なら変更OK） */
  border-radius: 14px;
  padding: 18px;
}

.oteco__logo {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oteco__logo img {
  width: min(560px, 90%);
  display: block;
}

.oteco__sub {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(18px, 1.04vw, 20px);
  text-align: center;
}

.oteco__message {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
}

.oteco__text {
  color: #ffffff;
  line-height: 1.9;
  margin: 0;
}

/* SP調整 */
@media (max-width: 768px) {

  .oteco__box {
    padding: 14px;
  }

  .oteco__sub {
    font-size: 13px;
  }

  .oteco__text {
    font-size: 14px;
    line-height: 1.85;
  }
}

/* ============================================ */
/* company */
/* ============================================ */
.company {
  padding: clamp(50px, 5.2vw, 100px) 0 0;
}

.company__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.company__info{
  margin-bottom: 30px;
}
.company__info-title{
  font-size: clamp(18px,1.04vw,20px);
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 1px solid #222;
}
.company__list {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
}

.company__list dt {
  background: var(--color-primary);
  border: 1px solid #222;
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  border-radius: 4px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company__list dd {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #222;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

/* ============================================ */
/* faq */
/* ============================================ */
.faq {
  padding: clamp(50px, 5.2vw, 100px) 0;
}

.faq__inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #d3dae6;
  padding: 20px 0;
}

.faq__question {
  width: 100%;
  padding: 0 44px 0 0;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: var(--color-primary);
}

.faq__answer {
  margin-top: 10px;
}

.faq__question::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.faq__question::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  width: 2px;
  height: 16px;
  background: currentColor;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.faq__question.is-open::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__q,
.faq__a {
  font-weight: 700;
  margin-right: 5px;
}

.faq__tel,
.faq__mail {
  color: #d61919;
}

.faq__tel:hover,
.faq__mail:hover {
  text-decoration: underline;
}

/* ============================================ */
/* contact */
/* ============================================ */
.contact {
  background: url("../img/contact_bg.png") center / cover no-repeat;
  padding: clamp(60px, 6vw, 100px) 0;
  text-align: center;
}

.contact__inner {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.contact__title {
  font-size: clamp(20px, 1.56vw, 30px);
  font-weight: 700;
  margin-bottom: 15px;
}

.contact__en {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.contact__text {
  margin-bottom: 30px;
}

.contact__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.08vw, 40px);
}

.contact__btn {
  width: clamp(200px, 13.54vw, 260px);
  padding: 18px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--hover-speed);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.contact__btn:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.contact__btn--tel {
  background: var(--color-accent);
  border: 1px solid #222;
}

.contact__btn--mail {
  background: #fff;
  border: 1px solid #222;
}

.contact__btn .material-symbols-outlined {
  font-size: 1.4em;
}


/* ============================================
   BlueWorks風テーマ（上書き）
   ※レイアウトは触らず「色・影・角丸・質感」だけ変更
   いまのCSSの末尾に貼り付けてください
============================================ */

:root{
  /* ベース */
  --bw-bg: #ffffff;
  --bw-bg2:#f6f9ff;
  --bw-text:#0b1b33;
  --bw-muted: rgba(11,27,51,.68);
  --bw-line: rgba(11,27,51,.12);

  /* ブルー基調（BlueWorks準拠） */
  --bw-blue:#2f6bff;
  --bw-cyan:#2ee9ff;
  --bw-accent: linear-gradient(135deg, var(--bw-blue), var(--bw-cyan));

  /* 影・角丸 */
  --bw-shadow: 0 18px 60px rgba(11,27,51,.10);
  --bw-shadow2: 0 10px 30px rgba(11,27,51,.10);
  --bw-r: 18px;

  /* 既存変数をBlueWorks寄せで上書き */
  --color-primary: var(--bw-blue);
  --color-accent: #e8f0ff; /* 黄色はやめて「淡いブルー面」へ */
  --hover-speed: 0.25s;
}

/* 背景を白＋うっすらブルーに */
body{
  color: var(--bw-text);
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(47,107,255,.12), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(46,233,255,.10), transparent 55%),
    linear-gradient(180deg, var(--bw-bg), var(--bw-bg2));
}

/* リンクホバー */
a:hover{ color: var(--bw-blue); }

/* ============================================
   共通見出し（title）
============================================ */
.title{
  color: var(--bw-text);
}
.title__en,
.contact__en{
  color: var(--bw-blue);
}

/* ============================================
   Header（PC）
============================================ */
.site-header__pc{
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bw-line);
}
.site-header__pc.is-shrink{
  box-shadow: 0 12px 34px rgba(11,27,51,.10);
}
.site-header__list a:hover{
  color: var(--bw-blue);
}

/* ヘッダーお問い合わせボタン：グラデ強め */
.site-header__btn{
  background: var(--bw-accent);
  color: #071022;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(47,107,255,.18);
}
.site-header__btn:hover{
  filter: brightness(1.03);
}

/* SPハンバーガー（雰囲気だけ寄せる） */
@media (max-width: 968px){
  .hamburger-morph{
    background: rgba(11,27,51,.92);
  }
  .nav-morph{
    background: rgba(11,27,51,.86);
  }
  .nav-morph__item .site-menu__btn{
    background: var(--bw-accent);
    color:#071022;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(47,107,255,.18);
  }
}

/* ============================================
   MV（右側の青い面 → BlueWorksブルー面に）
============================================ */
.mv__info{
  background:
    radial-gradient(600px 320px at 10% 10%, rgba(46,233,255,.20), transparent 60%),
    radial-gradient(700px 380px at 90% 60%, rgba(47,107,255,.22), transparent 60%),
    linear-gradient(135deg, rgba(47,107,255,.92), rgba(46,233,255,.10));
  color:#fff;
}
.mv__title{
  /* border-bottom: 1px solid rgba(255,255,255,.55); */
}

/* 緊急連絡カード（白カード＋角丸＋影） */
.mv__contact{
  border-radius: var(--bw-r);
  border: 1px solid var(--bw-line);
  box-shadow: var(--bw-shadow);
  background: rgba(255,255,255,.92);
}

/* 緊急連絡のボタン：黄色→BlueWorksグラデ */
.mv__tel,
.mv__mail{
  background: var(--bw-accent);
  color:#071022;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(47,107,255,.18);
}
.mv__tel:hover,
.mv__mail:hover{
  filter: brightness(1.03);
}

/* OTECO表示枠もカード化 */
.mv__note-image{
  border-radius: 14px;
  border: 1px solid var(--bw-line);
  box-shadow: var(--bw-shadow2);
}

/* ============================================
   NEWS：箱をカード化
============================================ */
.news__box{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--bw-line);
  border-radius: var(--bw-r);
  box-shadow: var(--bw-shadow);
}
.news__item{
  border-bottom: 1px solid rgba(11,27,51,.12);
}
.news__date{
  color: var(--bw-blue);
}
.news__header{
  color: var(--bw-text);
}
.news__content{
  color: var(--bw-muted);
}

/* スクロールバーも淡めに */
.news__box::-webkit-scrollbar-track{ background: rgba(11,27,51,.08); }
.news__box::-webkit-scrollbar-thumb{ background: rgba(11,27,51,.25); }

/* ============================================
   COMPANY：dt/ddのベタ黒枠→淡い枠＋角丸
============================================ */
.company__info-title{
  border-bottom: 1px solid rgba(11,27,51,.18);
}
.company__list dt{
  background: rgba(47,107,255,.92);
  border: 1px solid rgba(11,27,51,.08);
  border-radius: 14px;
  box-shadow: var(--bw-shadow2);
}
.company__list dd{
  border: 1px solid rgba(11,27,51,.10);
  border-radius: 14px;
  background:#fff;
  box-shadow: var(--bw-shadow2);
}

/* ============================================
   FAQ：色味調整＋開閉の見た目
============================================ */
.faq__question{
  color: var(--bw-blue);
}
.faq__item{
  border-bottom: 1px solid rgba(11,27,51,.12);
}
.faq__tel,
.faq__mail{
  color: var(--bw-blue);
  font-weight: 700;
}

/* ============================================
   CONTACT：背景画像を活かしつつ、ボタンをBlueWorks調に
   ※背景が強ければ薄い白ベールを追加
============================================ */
.contact{
  position: relative;
}
.contact::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.78);
}
.contact__inner{
  position: relative;
  z-index:1;
}

/* ボタン */
.contact__btn{
  border-radius: 999px;
  border: 1px solid rgba(11,27,51,.10);
  box-shadow: var(--bw-shadow2);
}
.contact__btn--tel{
  background: var(--bw-accent);
  color:#071022;
  font-weight: 900;
}
.contact__btn--mail{
  background:#fff;
  color: var(--bw-text);
}
.contact__btn:hover{
  transform: translateY(0); /* 既存の沈み込みは雰囲気によって好みで */
  filter: brightness(1.02);
}

/* ============================================
   Footer：薄いブルー面＋枠線
============================================ */
.footer{
  background: rgba(246,249,255,.70);
  border-top: 1px solid var(--bw-line);
}
.footer__top{
  border-bottom: 1px solid rgba(11,27,51,.18);
}
.footer__menu a::after{
  background-color: rgba(11,27,51,.70);
}

/* ============================================
   fixed-message：黄色→濃紺＋白文字（緊急バナー風）
============================================ */
.fixed-message{
  background: rgba(11,27,51,.92);
  color:#fff;
  border-top: 1px solid rgba(255,255,255,.14);
}
.fixed-message a{
  color:#fff;
}

/* OTECO吹き出し closeボタンも統一 */
.oteco__close{
  background: rgba(11,27,51,.92);
}

/* modal：閉じるボタンをグラデに */
.modal__close{
  background: var(--bw-accent);
  color:#071022;
  font-weight: 900;
  border-radius: 999px;
}

.oteco__box {
  background: var(--bw-accent);
}