/* =====================
   共通
   ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* コンテンツ：固定ヘッダー分の余白 */
.page {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  background: #fffaf0;
  padding-top: 220px; /* ヘッダー＋ナビの高さ分 */
}

/* =====================
   固定ヘッダー＆ナビ
   ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 上段ヘッダー */
.header-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 24px;
  background: #22272b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ画像 */
.logo-image img {
  max-height: 150px;
  height: auto;
  width: auto;
  display: block;
}

.contact-btn {
  background: #fff;
  color: #22272b;
  padding: 8px 24px;
  font-size: 14px;
  border-radius: 3px;
  text-decoration: none;
}


/* 下段グローバルナビ */
.global-nav {
  width: 1200px;
  margin: 0 auto;
  background: #76d0df;
}

.nav-inner {
  width: 1200px;      /* ★ 幅1200pxに固定 */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  padding: 10px 0;    /* 横のpaddingは0にして幅をきっちり1200に */
}

/* 均等割り */
.nav-inner a {
  flex: 1;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

/* =====================
   HERO
   ===================== */
html {
  scroll-padding-top: 180px;
}

.hero {
  padding: 80px 60px 40px;
  margin-bottom: 100px;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-sub {
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体',sans-serif;
  font-size: 40px;
  margin-bottom: -20px;
  margin-left: 10px;
  letter-spacing: 0.6em;
}

.hero-title {
  font-size: 110px;
  margin: 0;
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体',sans-serif;
  letter-spacing: 0.2em;
}

.hero-sub2 {
  margin-top: -20px;
  margin-left: 10px;
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体',sans-serif;
  font-size: 40px;

}

.hero-visual {
  width: 40%;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.hero-card {
  background: #d9f8ff;
  border: 2px solid #43c6da;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.card1 {
  grid-column: 1 / 3;
  height: 120px;
}

.card2,
.card3 {
  height: 90px;
}

/* =====================
   セクション共通
   ===================== */
.section {
  padding: 50px 60px;
}

/* 見出し行：左右寄せ */
.section-header {
  display: flex;
  margin-bottom: 20px;
}

.section-header.align-right {
  justify-content: flex-end;
}

.section-header.align-left {
  justify-content: flex-start;
}

/* カラーバー：文字より長い帯の下半分を #76d0df で塗る */
.section-title-wrap {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  padding: 6px 100px 8px;  /* ★ 文字より長くするため左右に余白を多めに */
  background: linear-gradient(
    to bottom,
    transparent 50%,
    #76d0df 50%
  );                      /* ★ 下半分だけ色付け */
}

.section-title {
  font-size: 30px;
  font-family: 'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN',sans-serif;
  letter-spacing: 0.5em;
  margin: 0;
}

.section-sub {
  font-size: 18px;
  margin-bottom:10px;
}

/* =====================
   ABOUT
   ===================== */
.about-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.about-heading {
  font-size: 18px;
  margin: 0 0 8px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.about-body {
  font-size: 16px;
  line-height: 1.8;
}

/* ABOUT レイアウト拡張・アニメーション */

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* カード内で写真＋テキストを横並びにする */
.about-card-inner {
  display: flex;
  gap: 20px;
  align-items: center;
}

.about-card-inner--reverse {
  flex-direction: row-reverse;
}

.about-photo {
  flex: 0 0 280px;
}

.about-photo--small {
  flex-basis: 180px;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about-text-block {
  flex: 1;
}

/* 特長3カラム */
.about-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.about-feature-item {
  background: #f8fbfa;
  border-radius: 10px;
  border: 1px solid #e3ece7;
  padding: 12px;
  font-size: 13px;
  line-height: 1.8;
}

.about-feature-item h4 {
  font-size: 14px;
  margin: 0 0 6px;
}

/* アニメーション（下からフェードイン） */
.about .about-card {
  opacity: 0;
  transform: translateY(20px);
  animation: about-fade-up 0.7s ease-out forwards;
}

.about .about-card:nth-of-type(1) {
  animation-delay: 0.1s;
}

.about .about-card:nth-of-type(2) {
  animation-delay: 0.25s;
}

.about .about-card:nth-of-type(3) {
  animation-delay: 0.4s;
}

@keyframes about-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .about-card-inner,
  .about-card-inner--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-photo,
  .about-photo--small {
    flex-basis: auto;
    width: 100%;
  }

  .about-feature-list {
    grid-template-columns: 1fr;
  }
}


/* =====================
   SERVICE
   ===================== */
.service-grid {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 6つとも白背景＋ホバーで #76d0df */
.service-item {
  display: block;
  text-align: center;
  padding: 12px 10px;
  font-size: 60px;
  border: 2px solid #333;
  border-radius: 40px;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-item:hover {
  background: #76d0df;
  color: #fff;
  border-color: #76d0df;
}

/* =====================
   GALLERY
   ===================== */
.gallery-text {
  font-size: 16px;
  line-height: 1.8;
}

.gallery-grid {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  display: block;
  text-align: center;
  padding: 12px 10px;
  font-size: 60px;
  border: 0px solid #333;
  border-radius: 40px;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.more-btn-wrap {
  margin-top: 18px;
  margin-bottom: 50px;
}

.more-btn {
  background: #76d0df;
  color: #fff;
  padding: 10px 20px;
  float: right;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: #22272b;
  color: #fff;
  text-align: center;
  padding: 20px 0 24px;
  margin-top: 50px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.copy {
  font-size: 12px;
  opacity: 0.7;
}

/* =========================
   スマホ用レスポンシブ対応
   ========================= */
@media (max-width : 764px ){

  .page {
    width: 100%;
    padding-top: 160px; /* モバイルはヘッダー高さを少し低めに */
  }

  .header-inner {
    width: 100%;
    padding: 8px 12px;
  }

  .logo-image img {
    max-height: 60px;
  }

  .contact-btn {
    padding: 6px 14px;
    font-size: 12px;
  }

  .global-nav {
    width: 100%;
    margin: 0 auto;
    background: #76d0df;
}
  .nav-inner {
    width: 100%;
    padding: 6px 0;
  }

  .nav-inner a {
    font-size: 12px;
  }

  .hero {
	margin: 0 auto;
    padding: 0px 60px 40px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-title {
    font-size: 55px;
  }

  .hero-sub,
  .hero-sub2 {
    font-size: 20px;
  }

  .section {
    padding: 24px 5px;
  }

.section-title {
  font-size: 20px;
  font-family: 'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN',sans-serif;
  letter-spacing: 0em;
  margin: 0;
}
	
.section-sub {
  font-size: 12px;
  margin-bottom:5px;
}
	
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item {
    font-size: 20px;
  }

  .gallery-text,
  .about-body {
    font-size: 14px;
  }

.gallery-grid {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
	}
	
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
  }
}
/* ====================================
   子ページ用追加スタイル
   ==================================== */

/* パンくずリスト */
.breadcrumb {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 60px 0;
  font-size: 13px;
  color: #666;
}

.breadcrumb a {
  color: #0077aa;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 子ページメインコンテンツ */
.subpage-content {
  padding: 32px 60px 60px;
}

/* 子ページの大見出し（H1） */
.subpage-title {
  font-size: 30px;
  margin: 0 0 24px;
  display: inline-block;
  padding: 8px 28px 10px;
  /* 見出しの下半分に #76d0df を敷く */
  background: linear-gradient(
    to bottom,
    transparent 50%,
    #76d0df 50%
  );
}

/* 子ページ内の共通テキスト */
.subpage-content p {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 1.2em;
}

/* 子ページ内の中見出し（例：h2） */
.subpage-content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid #76d0df;
}

/* 箇条書き */
.subpage-content ul,
.subpage-content ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 1.9;
}

/* テーブル（任意で使用） */
.subpage-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}

.subpage-content th,
.subpage-content td {
  border: 1px solid #ccc;
  padding: 8px 10px;
}

.subpage-content th {
  background: #f2fbfd;
  text-align: left;
}

/* ====================================
   子ページ：イラスト用レイアウト
   ==================================== */

/* アイキャッチブロック */
.subpage-eyecatch {
  margin: 24px 0 32px;
  padding: 20px;
  background: #f2fbfd;
  border-radius: 10px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.subpage-eyecatch-image img {
  width: 260px;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.subpage-eyecatch-text {
  font-size: 14px;
  line-height: 1.9;
}

.subpage-eyecatch .eyecatch-title {
  font-size: 20px;
  margin: 0 0 8px;
}

/* 制作実績ギャラリー */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 16px 0 32px;
}

.work-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 13px;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 8px;
}

.work-caption {
  font-weight: 700;
  margin: 0 0 4px;
}

.work-note {
  margin: 0;
  color: #666;
  line-height: 1.7;
}

/* スマホ時の調整 */
@media (max-width: 768px) {
  .subpage-eyecatch {
    flex-direction: column;
    align-items: flex-start;
  }

  .subpage-eyecatch-image img {
    width: 100%;
  }

  .work-gallery {
    grid-template-columns: 1fr; /* 1列表示 */
  }
}

/* ================================
   ホームページ制作ページ用
   ================================ */

.hp-page {
  padding-bottom: 60px;
}

/* ヒーローブロック */
.hp-hero {
  background: #f6faf8;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
}

.hp-hero-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hp-hero-visual {
  flex: 0 0 350px;
}

.hp-hero-visual-card {
  background: #7fdac4;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-visual-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hp-hero-text {
  flex: 1;
}

.hp-hero-title {
  font-size: 30px;
  margin: 0 0 6px;
}

.hp-hero-catch {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.hp-hero-lead {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* 共通セクション */
.hp-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 22px 26px;
  margin-bottom: 22px;
  border: 1px solid #e3ece7;
}

.hp-section-title {
  font-size: 20px;
  margin: 0 0 6px;
}

.hp-section-lead {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
}

/* セクション1：お悩みカード */
.hp-problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

.hp-problem-item {
  background: #f6faf8;
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.8;
}

.hp-problem-item h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.hp-section-foot {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* セクション2：2カラムレイアウト（テキスト＋モック画像） */
.hp-layout-two-column {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.hp-layout-left {
  flex: 1;
}

.hp-layout-right {
  flex: 0 0 320px;
}

.hp-type-list {
  font-size: 13px;
  line-height: 1.8;
  padding-left: 18px;
}

.hp-type-list li {
  margin-bottom: 4px;
}

.hp-mock-card {
  background: #f6faf8;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #e3ece7;
}

.hp-mock-card img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.hp-mock-note {
  font-size: 11px;
  color: #777;
  margin-top: 6px;
}

/* セクション3：制作フロー */
.hp-flow-list {
  font-size: 13px;
  line-height: 1.9;
  padding-left: 18px;
}

.hp-flow-list li {
  margin-bottom: 6px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hp-hero {
    padding: 18px 16px;
  }

  .hp-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hp-hero-title {
    font-size: 24px;
  }

  .hp-hero-catch {
    font-size: 16px;
  }

  .hp-problem-list {
    grid-template-columns: 1fr;
  }

  .hp-layout-two-column {
    flex-direction: column;
  }

  .hp-layout-right {
    flex: 1;
  }
}

/* ================================
   制作実績（3カラムリンク）
   ================================ */

.hp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.hp-work-item {
  display: block;
  background: #ffffff;
  border: 1px solid #e3ece7;
  border-radius: 10px;
  text-decoration: none;
  padding: 12px;
  transition: 0.2s ease;
}

.hp-work-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.hp-work-thumb {
  background: #f6faf8;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e3ece7;
  margin-bottom: 10px;
}

.hp-work-thumb img {
  width: 100%;
  display: block;
}

.hp-work-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin: 0;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hp-works-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   子ページ スマホレスポンシブ
   ========================= */
@media (max-width: 768px) {

  .breadcrumb {
    width: 100%;
    padding: 12px 16px 0;
    font-size: 12px;
  }

  .subpage-content {
    padding: 24px 16px 40px;
  }

  .subpage-title {
    font-size: 22px;
    padding: 6px 18px 8px;
  }

  .subpage-content p,
  .subpage-content ul,
  .subpage-content ol {
    font-size: 14px;
  }

  .subpage-content h2 {
    font-size: 18px;
  }
}

/* =========================
   お問い合わせフォーム
   ========================= */
.contact-section {
  margin-top: 8px;
}

.contact-intro {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.contact-form {
  max-width: 720px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

/* 必須マーク */
.required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 11px;
  color: #fff;
  background-color: #d9534f;
  border-radius: 3px;
}

/* テキスト系共通 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccd2dd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #76d0df;
  box-shadow: 0 0 0 2px rgba(118, 208, 223, 0.3);
  outline: none;
}

/* ラジオボタン・チェックボックス */
.label-inline {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.radio-group label {
  margin-right: 16px;
  font-size: 14px;
}

.form-privacy p {
  margin-bottom: 4px;
  font-size: 13px;
  color: #555;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* 送信ボタン */
.form-actions {
  margin-top: 24px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  min-width: 180px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  background: linear-gradient(135deg, #2b7bb9, #76d0df);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.2s ease;
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* =========================
   確認画面
   ========================= */
.confirm-box {
  max-width: 720px;
  background: #fff;
  border: 1px solid #d3dbea;
  padding: 16px 18px;
  border-radius: 6px;
  margin: 20px 0 10px;
}

.confirm-list {
  margin: 0;
}

.confirm-row {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.confirm-row:last-child {
  border-bottom: none;
}

.confirm-row dt {
  width: 30%;
  font-weight: 600;
  font-size: 14px;
}

.confirm-row dd {
  width: 70%;
  margin: 0;
  font-size: 14px;
}

/* 確認画面ボタン */
.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.btn-back {
  min-width: 140px;
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid #999;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.btn-back:hover {
  background: #eee;
}

/* =========================
   スマホ向け調整（フォーム）
   ========================= */
@media (max-width: 768px) {
  .contact-form,
  .confirm-box {
    max-width: 100%;
  }

  .confirm-row dt,
  .confirm-row dd {
    width: 100%;
  }

  .confirm-row dt {
    margin-bottom: 2px;
  }

  .confirm-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-submit,
  .btn-back {
    width: 100%;
    max-width: 280px;
  }
	}