@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 16px;
  font-family: YuGothic, '游ゴシック',"Noto Sans JP", Meiryo, sans-serif;
}

/* ==============★SWELL　ここから ==============*/
/* 全体 */
p {
  line-height: 1.8rem;
  color: #1a1a1a;
  margin-top: 16px;
  margin-bottom: 16px;
}

#body_wrap.home #content.l-content.l-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0!important;
}

@media (min-width: 767px) {
/* トップページでは最初からヘッダーを存在させない */
.home .l-header {
  transform: translateY(-110%);
  transition: none !important;
}
}

/* global navi blog parts */
.nv-btn a {
  color: #333;
}

/* global navi font size */
.ttl {
  font-size: 16px!important;      /* 好きなサイズに */
  font-weight: 600;    /* 太さ（600が上品、700でガッツリ） */
}

/* ==============★SWELL　ここまで ==============*/

.section {
  display: flex;
  justify-content: center;
  padding: 40px 0 80px 0;
}

.inner {
  width: 90%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}

h2 {
  font-size: 2.5rem;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  text-align: center;
  margin-bottom: 80px;
  margin-top: 40px;
  z-index: 1;
}

h2::after {
  content: "";
  background-color: rgba(217, 232, 184, 0.5);
  background-color: rgba(255, 255, 148, 0.8);
  height: 20px;
  width: 120%;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

h3 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;

}

/* ========== top ========== */
.top-wrap, .top-left, .top-vegas {
  height: 80vh; 
}

.top-wrap {
  width: 100%;
  position: relative; 

}

.top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 10;
  background-color: transparent;
}

/* h1 */
.company-name, .mv-lead, .mv-lead02 {
  padding-left: clamp(20px, 8vw, 150px);
}

.company-name {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 40px;
}

.company-name img {
  width: 100px;
  height: 100px;
}

/* キャッチコピー */
.mv-lead {
  line-height: 35px;
  font-size: 1.5rem;
  margin-top: 0;
  /* font-family: sans-serif; */
  font-weight: bold;
}

/* HP制作アニメーション */
.mv-lead02 {
  line-height: 70px;
  margin-bottom: 0;
}

.highlight-text {
  padding-left: 30px;
  font-size: 4rem;
  margin-bottom: 0;
  white-space: nowrap;
}

/* ===== MV用 ハイライト ===== */
.mv-lead02 .highlight-text{
  position: relative;
  display: inline-block;
  padding: 0 6px;
  z-index: 0;
}

/* ハイライト本体 */
.mv-lead02 .highlight-text::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0px;
  width:100%;
  height:1.15em;                 /* 最終形を固定（ここで調整） */
  background: rgb(250, 255, 0);
  z-index:-1;
  border-radius:4px;

  /* ここが肝：最初から存在させて、transformで伸ばす */
  transform-origin: left bottom;
  transform: scaleX(0) scaleY(0.30);  /* 初期：横0、縦薄め */
  will-change: transform;
}

/* 色だけ変更 */
.mv-lead02 .highlight-text.highlight-sub::after{
  background: rgba(242,238,231,1);
}

/* アニメーション実行 */
.mv-lead02 .highlight-text.animate::after{
  animation: mvUnderlineFill 1.5s ease-out forwards;
}

/* アニメーション遅らせる */
.mv-lead02 .highlight-text.highlight-sub{
  --highlight-start-delay: 0.9s; /* ← ここだけ触る */
}

.mv-lead02 .highlight-text.highlight-sub::after{
  animation: mvUnderlineFill 1.5s ease-out forwards;
  animation-delay: var(--highlight-start-delay);
}


@keyframes mvUnderlineFill{
  0%   { transform: scaleX(0)   scaleY(0.30); }
  60%  { transform: scaleX(1.0) scaleY(0.30); } /* 先に線っぽく伸ばす */
  100% { transform: scaleX(1.0) scaleY(1.00); } /* 最後に面で広げる */
}


/* mv 下 yellow circles */
.mv-bottom {
  background-color: rgba(217, 232, 184, 1);;
  position: relative;
}

.mv-bottom-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  position: absolute;
  top: -70px;
  left: clamp(20px, 8vw, 150px);
}

.mv-bottom-box {
  font-weight: bold;
  font-family: "Noto Sans";
  width: 140px; 
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem 1.3rem;
  background-color: #FFFF94;
  color: #333333;
  border: 1px solid #333;
  border-radius: 50%;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 6px 0 rgba(0,0,0,.12);
  }

.mv-bottom-box span {
  font-size: 1rem;
}

.mv-bottom-desc {
  margin: 0;
}

/* mv 下 Introduction */
.mv-bottom-inner {
  padding-top: 100px;
  padding-bottom: 80px;
}

.mv-bottom-lead {
  text-align: center;
  font-weight: bold;
  line-height: 2;
  }

.mv-bottom-lead-strong {
  font-size: 1.5rem;
  position: relative;
  z-index: 10;
  padding: 0 0.1em;
}

.mv-bottom-lead-strong::after {
  content: "";
  height: 0.45em;
  width: 90%;
  background-color: rgba(255,255,255,0.7);
  position: absolute;
  bottom: 0.15em;
  left: 50%;
  transform: translateX(-50%);
  z-index: -10;
  border-radius: 2px;
}

.mv-bottom-lead-br {
  display: none;
}

/* vegas */
#top-vegas {
  width: 70%;
  position: absolute;
  right: 0;
  top: 60px;
}
/* ========== works section ========== */
.works-section {
  /* background-color: #F7F7F7; */
  background-color: #F2EEE7;
}

.works-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.works-container {
  display: inline-block;
  width: calc((100% - 1rem)/ 2 );
  max-width: 600px;
  min-width: 300px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: background-color 0.3s ease;
    border-radius: 15px;
}

.img-l {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.img-l img {
  width: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.works-container img {
  transition: transform 0.4s ease;
}

.works-container:hover img {
  transform: scale(1.3);
}

.works-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.3s ease;
  pointer-events: none;
  border-radius: 15px;
}

.works-container:hover::after {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 15px;
}

/* 行政書士事務所名 */
.works-name{
  font-weight: bold;
}

/* 行政書士事務所　下キャッチコピー */
.works-desc{
  margin: 0;
}

/* 「上記以外にも…」 */
.works-sent {
  margin-top: 80px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #014d0a;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.works-sent br {
  display: none;
}

/* ========== price section ========== */
.price-section {
  padding: 40px 0;
}

.price-section h2 {
  margin: 0 0 40px 0;
}

.service-price {
  text-align: center;
  font-size: 3rem;
  line-height: 2.8rem;
  color: #557900;
  margin-top: 0;
  margin: 0px;
  font-weight: bold;
}

.service-price span {
  font-size: 1rem;
}

.service-price-server {
  font-size: 1.3rem;
  margin: 0;
  text-align: center;
  font-weight: bold;
  color: #333;
}

/* 補助金の訴求ブロック */
.grant-box {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(200, 243, 107, 0.12);
}

/* 既存の「必見」 */
.service-grants {
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.grant-lead {
  font-weight: 800;
  font-size: 1.3rem;
  position: relative;
  z-index: 0;
}

/* ハイライト（既存を改善：幅ズレ防止） */
.grant-lead::after {
  content: "";
  height: 0.55em;
  width: 100%;
  position: absolute;
  bottom: 0.05em;
  left: 0;
  background-color: #c8f36b;
  z-index: -1;
  border-radius: 6px;
}

/* 追加コピー */
.grant-sub {
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0;
}

.br-sp {
  display: none;
}

/* 「実質5万円」だけ強調 */
.grant-strong {
  display: inline-block;
  padding: 0 6px;
  font-size: 1.5rem;
  border-radius: 6px;
  background: rgba(200, 243, 107, 0.45);
}

/* スマホ調整 */
@media (max-width: 768px) {
  .br-sp { display: block;}
}

/* ========== service section ========== */
.service-section {
  background-color: #F2EEE7;
}
.service-list-container {
  width: 90%;
  max-width: 900px;
  background-color: white;
  /* background-color: #fdffe6; */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 12px;
}

/* list li 内共通 */
.list-no {
  position: absolute;
  top: 5px;
  left: 16px;
  font-size: 1.2rem;
  color: #333;
}

.list-img {
  display: block;
  width: auto;
  height: 60px;
  margin: 0 auto;
}

.service-desc {
  height: 40px;
  line-height: 20px;
}

/* 制作内容　のリスト（折れ目デザイン） */
.service-list {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  gap: 10px;
  margin-bottom: 50px;
}

.service-list li {
  position: relative;
  list-style: none;
  padding: 8px 16px;      
  text-align: center;
  color: black;           
  font-weight: bold;
  width: calc(( 100% - 30px ) / 4 );
  height: 140px;
  display: inline-flex;    /* ← flex + inline */
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,0.26);
  z-index: 0;              /* 疑似要素の基準 */
}

.service-list li::before,
.service-list li::after {
  content: "";
  position: absolute;
  z-index: -1;
}

/* liの背景色 */
.service-list li::before {
  inset: 0; /* top,right,bottom,left:0 の省略記法 */
  background-color: #cbea8a; /* ←現状カラー */
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    0 100%
  );
}

/* 制作内容　上列　「制作内容」と「トップページ」 */
.service-list-top {
  display: flex;
  justify-content: space-between;
  height: 170px;
  margin-bottom: 16px;
}

.service-list-top ul {
  width: 60%;
}

.service-list-lead {
  width: 40%;
  text-align: left;
  padding-right: 1rem;
}

.service-list-lead h3 {
  width: 130px;
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.service-list-lead p {
  font-size: 0.8rem;
}

.service-list-top li {
  /* line-height: 10px; */
  position: relative;
  list-style: none;
  white-space: nowrap;
  /* padding: 20px 16px;       */
  text-align: center;
  color: black;           
  font-weight: bold;
  width: 100%;
  height: 140px;
  display: flex;  
  flex-direction: column;
  justify-content: center;
  /* box-shadow: 0 8px 16px -6px rgba(0,0,0,0.26); */
  z-index: 0;              /* 疑似要素の基準 */
}

.service-list-top li::before {
  inset: 0; /* top,right,bottom,left:0 の省略記法 */
  background-color: #cbea8a; /* ←現状カラー */
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    0 100%
  );
}

/* サブテキスト　フォント */
.service-subtext {
  font-size: 0.79rem;
  line-height: 10px;
  
}

/* サービス内容02（スマホ対応、SNS連携など） */

.service-list02-l h3 {
  text-align: left;
  margin-bottom: 40px;
  margin-top: 0;
  font-size: 1.5rem;
}

.service-list02 {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  z-index: 0;
}

.service-list02 li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  list-style: none;
  padding: 20px 16px;      
  line-height: 20px;
  color: black;   
  background-color: transparent;        
  font-weight: bold;
  width: 270px;
  height: 80px;
  
}

.service-list02 li .bg-layer {
  position: absolute;
  inset: 0;
  background-color: #d5e8ac;
  z-index: -10;
  border-radius: 12px;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,0.26);
}

.service-list02 img {
  display: inline-block;
  width: 60px;
  height: 60px;
}

/* ===== 保守管理 ===== */

.monthly-service-container {
  width: 95%;
  max-width: 900px;
  background-color: white; 
  border-radius: 12px;      
  padding: 16px 30px;
  margin: 60px auto 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* 見出し */
.monthly-service-container h3 {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
}

/* 月額価格 */
.monthly-price {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #014d0a; /* サイトのグリーンと統一 */
  margin-bottom: 12px;
}

.monthly-price span {
  display: block;
  font-size: 0.75rem;
  font-weight: normal;
  color: #666;
  margin-top: 4px;
}

/* 説明文 */
.monthly-service-lead {
  line-height: 1.7;
  color: black;
  padding: 20px 0;
  margin-bottom: 24px;
}

/* 中のサービス一覧 */
/* サービス内容タイトル（小さめ） */
.monthly-service-container .service-list-l .monthly-price {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

/* 月額サービスリスト */
.service-list-monthly {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-list-monthly li {
  position: relative;
  font-size: 0.9rem;
  margin-bottom: 8px;
  border: 1px solid #333333;
  border-radius: 5px;
  height: 60px;
  width: calc((100% - 20px) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ========== flow section ========== */
/* セクション背景（グレー系） */
.flow-section {
  /* background: #f7f7f7; */
  padding: 40px 0;
}

/* 横並び＋折り返し */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ▶ */
.flow-arrow {
  font-size: 18px;
  color: #777;
}

.flow-arrow-sp {
  display: none;
}

/* 丸本体 */
.flow-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #c8f36b; /* 淡い黄色 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  overflow: hidden; /* ★はみ出し保険 */
}

/* 数字（大きくする） */
.flow-no {
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px); /* ★大きめ */
  letter-spacing: 0.08em;
  margin: 10px 0 0 0;
  line-height: 1;
}

/* タイトル */
.flow-title {
  font-weight: 800;
  font-size: 16px;
  margin: 10px 0 0 0;
  line-height: 1.2;
}

/* アイコン */
.flow-icon {
  font-size: 24px;
  color: #014d0a;
}

/* 説明文（はみ出し対策） */
.flow-desc {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
}

/* ========== logo story section ========== */

/* ========== logo story section ========== */

.logo-story-section {
  position: relative;
  padding: 110px 0 72px;     /* 波の分だけ上を増やす */
  background-color: #D8E7B7;
  overflow: hidden;
  z-index: 0;                /* 擬似要素の土台 */
}

/* 上部ウェーブ（前のセクション色 #F2EEE7 で“切り欠く”） */
.logo-story-section::before {
  content: "";
  position: absolute;
  top: -1px;                 /* 1pxの隙間防止 */
  left: 0;
  width: 100%;
  height: 80px;              /* 波の高さ */
  display: block;
  z-index: 0;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;

  /* ★ここが重要：fillを直前背景 #F2EEE7 にする */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F2EEE7' d='M0,40 C360,-10 720,90 1080,40 C1260,20 1350,30 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

.logo-story-section .inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;
  z-index: 1;                /* 波より前面に */
}

/* ロゴ */
.logo-story-media {
  margin: 0 0 50px;
  width: min(200px, 80%);
}

.logo-story-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文章 */
.logo-story-body {
  text-align: center;
  max-width: 720px;
}

.logo-story-lead {
  margin: 0 0 14px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.logo-story-text {
  margin: 0;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #333;
}

.sp-br { display: none; }

/* スマホ調整 */
@media (max-width: 768px) {
  .logo-story-section { padding: 95px 0 64px; }
  .logo-story-section::before { height: 60px; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23F2EEE7' d='M0,40 C180,-10 360,90 540,40 C720,-10 900,90 1080,40 C1200,30 1320,30 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}
}


/* ========== profile section ========== */
.profile-section {
  background-color: #F2EEE7;
    background-image: url(img/cta.png);
    background-repeat: no-repeat;
    background-size: 50% auto;
    position: relative;
    z-index: 0;
    background-position: 100% 0%;
}

.profile-section::before {
  content: "";
  background-color: rgba(242, 238, 231, 0.9);
  position: absolute;
  inset: 0;
  z-index: -1;
}

.profile-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

/* 画像を入れる場合の枠（今は未使用でもOK） */
.profile-media {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #d9e8b8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 本文 */
.profile-body {
  max-width: 720px;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 10px;
  line-height: 1.3;
}

.profile-name-sub {
  font-size: 0.95rem;
  font-weight: normal;
  color: #555;
}

.profile-lead {
  margin: 0 0 16px;
  line-height: 1.8;
  color: #333;
}

/* 経歴ブロック：長文を読みやすく */
.profile-story {
  margin-bottom: 20px;
}

.profile-story p {
  margin: 0 0 12px;
  line-height: 2;
}

.profile-story p:last-child {
  margin-bottom: 0;
}

/* スキル・稼働時間：2カラムカード */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
}

.profile-card-title {
  font-size: 1rem;
  margin: 0 0 10px;
  color: #333;
}

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

.profile-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.profile-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #014d0a;
  font-size: 0.9rem;
}

.profile-time {
  margin: 0 0 8px;
  font-weight: bold;
  color: #333;
}

.profile-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

/* ========== cta section ========== */
/* CTAセクション全体 */
.cta {
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 40px;
  height: 350px;
  background-image: url("img/cta_background.png");
  background-size: contain;
  background-repeat: repeat;
}

.cta::before {
  content: "";
  background-color: rgba(1,77,10, 0.85);
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 中央寄せ */
.cta-inner {
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* cta右側 */
.cta-right {
  height: 130px;
  display: flex;
  flex-direction: column;
}

/* 見出し */
.cta h2 {
  font-size: 2rem;
  color: black;
  background-color: white;
  white-space: nowrap;
  border: 2px solid black;
  padding: 35px 50px;
  margin: 0;
  letter-spacing: 0.5rem;
  font-weight: bold;
}

.cta h2::after {
  display: none;
}

.cta-desc {
  font-family: "Noto sans";
  color: white;
  text-align: left;
}

/* CTAボタン */
.cta-btn {
  white-space: nowrap;
  font-family: "Noto sans";
  display: inline-block;
  padding: 18px 48px;
  border: 3px solid rgba(255, 255, 148, 1);
  border-radius: 999px; /* しっかり丸い長方形 */
  color: #333;
  font-weight: bold;
  font-size: 1.5rem;
  text-decoration: none;
  background-color: rgba(255, 255, 148, 1);
  transition: 
    color 0.5s ease,
    background-color 0.5s ease,
    border-color 0.1s ease;
}

/* ホバー時 */
.cta-btn:hover {
  background-color: #D9E8B8;
  /* color: #014d0a; */
  border-color: rgba(1,77,10, 0.85);
}




/* ==================== sp responsive ============================= */
@media screen and (max-width: 767px) {
body {
  font-size: 14px;
}

h2 {
  font-size: 1.7rem;
}

h2::after {
  height: 10px;
}

/* ========== mv ========== */

.top-wrap, .top-left {
  height: 550px; 
}
.company-name {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.company-name img {
  width: 70px;
  height: auto;
}

.mv-lead {
  font-size: 1.1rem;
  line-height: 25px;
  margin-top: 5px;
}

.mv-lead02 {
  line-height: 30px;
}

.highlight-text {
  font-size: 2.5rem;
  line-height: 50px;
}

/* mv下  */
.mv-bottom-inner {
  padding-top: 80px;
}

.mv-bottom-container {
  width: 330px;
  top: -45px;
}

.mv-bottom-box {
  width: 110px; 
  height: 100px;
  line-height: 20px;
  padding: 1.5rem 0.5rem;
  }

.mv-bottom-desc {
  font-size: 1rem;
}

.mv-bottom-box span {
  font-size: 0.8rem;
}

.mv-bottom-lead-br {
  display: block;
}

/* vegas */
#top-vegas {
  width: 100%;
  position: absolute;
  right: 0;
  top: 250px;
  height: 280px;
}

/* ========== works section ========== */
/* 「上記以外にも…」 */
.works-sent {
  margin-top: 40px;
  font-size: 1.1rem;
  text-align: center;
}

.works-sent br {
  display: block;
}

/* ========== service section ========== */
.service-list-container {
  padding: 20px;
  width: 95%;
}

/* list li 内共通 */
.list-no {
  font-size: 1.1rem;
}

.service-desc {
  height: 40px;
  line-height: 20px;
} 

/* 制作内容　のリスト（折れ目デザイン） */
.service-list {
  gap: 15px;
}

.service-list li {
  padding: 8px 16px;      
  width: 100%;
  height: 110px;
}

/* 制作内容　上列　「制作内容」と「トップページ」 */
.service-list-top {
  display: flex;
  flex-direction: column;
  height: auto;
  gap: 0;
}

.service-list-top ul {
  width: 100%;
  margin: 0;
}

.service-list-lead {
  width: 100%;
}

.service-list-lead h3 {
  font-size: 1.3rem;
  margin: 0;
}

.service-list-top li {
  width: 100%;
  height: 130px;
}

/* サービス内容02（スマホ対応、SNS連携など） */

.service-list02-l h3 {
  font-size: 1.3rem;
}

.service-list02 li {
  gap: 16px;
  height: 70px;
  width: 100%;
}

/* ===== 保守管理 ===== */

.monthly-service-container {
  width: 95%;
  background-color: white; 
  border-radius: 12px;      
  padding: 20px;
  margin: 60px auto 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* 見出し */
.monthly-service-container h3 {
  font-weight: 500;
}

/* 説明文 */
.monthly-service-lead {
  margin-bottom: 0px;
  padding-bottom: 0;
}

/* 月額サービスリスト */
.service-list-monthly {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-list-monthly li {
  height: 50px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 500;
}


/* ========== flow section ========== */
.flow-section h2 {
  margin-bottom: 40px;
}

.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.flow-container {
  flex-direction: column;
  gap: 10px;
}

.flow-circle {
  width: 190px;
  height: 190px;
  padding: 20px;
}

/* 折り返しで▶が不自然ならON */
.flow-arrow { 
  display: none; 
}

.flow-arrow-sp {
  display: block;
}


/* ========== logo story section ========== */
  .logo-story-section {
    padding: 56px 0;
  }

  .logo-story-media {
    width: min(100px, 92%);
    margin-bottom: 16px;
  }


  .logo-story-lead {
    font-size: 1.02rem;
  }

  .sp-br {
    display: inline;
  }

/* ========== profile section ========== */
.profile-section {

  background-size: 70% auto;
  position: relative;
  z-index: -10;
  background-position: 100% 0%;
}
.profile-section h2 {
  margin-bottom: 0px;
}

.profile-wrap {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-grid {
  grid-template-columns: 1fr;
}

.profile-body {
  max-width: 100%;
}


.cta-inner {
  flex-direction: column;
  gap: 20px;
}

/* contact文字 */
.cta h2 {
  font-size: 1.5rem;
  padding: 20px 65px;
  letter-spacing: 0.3rem;
  border: 1.5px solid black;
}

/* お問い合わせボタン */
.cta-btn {
  padding: 18px 0px;  
  font-size: 1.3rem;
}

.cta-desc {
  text-align: center;
}

}

/* ==================== teblet responsive ============================= */
@media (min-width: 768px) and (max-width: 1024px) {

/* ========== mv ========== */
.top-wrap, .top-left {
  height: 650px; 
}
.company-name {
  font-size: 1rem;
  margin-top: 30px;
  margin-bottom: 20px;
}

.company-name img {
  width: 80px;
  height: 80px;
}

.mv-lead {
  font-size: 1.2rem;
  margin-top: 15px;
  line-height: 26px;
}

.mv-lead02 {
  margin: 0;
  line-height: 30px;
}

.highlight-text {
  font-size: 2.5rem;
  line-height: 50px;
}

/* mv下  */
.mv-bottom-inner {
  padding-top: 80px;
}

.mv-bottom-container {
  width: 530px;
  top: -50px;
}


  /* 黄色い●の中 */
.mv-bottom-desc {
  font-size: 1.5rem;
  line-height: 28px;
}

.mv-bottom-descbr {
  padding-bottom: 0.5rem;
}

.mv-bottom-desc span {
  font-size: 0.9rem;
  line-height: 0px;
}

/* vegas */
#top-vegas {
  top: 250px;
  height: 450px;
}

}

/* ==================== contact form ============================= */
  .contact-wrap {
    flex-direction: column;
    gap: 2rem;
    justify-items: center;
    align-items: center;
  }

  .contact-card {
    width: 70%;
  }

/* ========== お問い合わせフォーム  ========== */
  .wpcf7-text, .wpcf7-textarea {
    width: 100%;
  }
table.CF7_table{
	width:100%;
	margin :0 auto;
	border: 1px solid #797979;
}

table.CF7_table tr{
	border-top: 1px solid #797979;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9rem;
	padding: 5px;
	background: #09491a;
	color: #fff;
	border-radius: 3px;
	margin-left:1rem;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:rgba(217, 232, 184, 0.7);
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){


	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:rgba(217, 232, 184, 0.7);
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#09491a;
	border:0;
	color:#fff;
	font-size:1.2em;
	margin:0 auto;
  transition: background-color 0.5s;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color:rgba(9, 73, 26, 0.7)
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
  margin-bottom: 60px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

