/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  overflow-x: hidden;
  position: relative;
  font-size: clamp(14px, 1vw + 12px, 18px);
  background-color: #f5f5f5;
  font-feature-settings: "palt";
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}
p {text-align: justify;}
.register {
  font-size: clamp(3px, 5vw, 8px);
  vertical-align: super;
}
.register-m {/*中位*/
  font-size: clamp(4px, 5vw, 10px);
  vertical-align: super;
  position: relative;
  top: -3px; /* 数値を増やすとさらに上がる */
}

.register-hero {/*大きめ*/
  font-size: clamp(6px, 5vw, 12px);
  vertical-align: top;
}

.margin_auto {
	margin: 15px auto 15px;
	text-align: center;
}
.margin_auto img{
	text-align: center;
	margin: 15px auto 15px;
	padding: 10px;
}


.keikoupen {
  background: linear-gradient(transparent 60%, #e3f455 60%);
}

.no_flex {
  margin: 40px auto 0;
  text-align: center;
  padding: 0 20px;
}


ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* sp-nav (1001) より高い値にして、常に最前面に表示 */
  transition: all 0.3s ease;
  border-radius: 15px;
}

.header.scrolled {
  top: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 0 0 15px 15px;
}



.header.scrolled .logo-text{/*スクロールしたら*/
  font-size: 0.9rem;
}

.header.scrolled .logo img{/*スクロールしたら*/
  width:170px;
}



.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  margin: 0;
  padding: 0;
  line-height: 0.5;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-top: 4px;
}

.logo img {
  width: 200px;
  height: auto;
  max-width: 250px;
  transition: all 0.3s ease;
}

.logo-text {
  font-size: 1.0rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
	.logo-text {
		font-size: 0.75rem;}
	.header.scrolled .logo-text{/*スクロールしたら*/
  font-size: 0.6rem;
}
}



.pc-nav {
  flex: 1 1 auto;
  text-align: right;
}

.pc-nav ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.pc-nav li {
  margin-left: 20px;
}

.pc-nav a {
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
  color: #333;
  font-size: 1.0rem;
}

.pc-nav a:hover,
.pc-nav a.active {
  color: #5684ed;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #5684ed;
  transition: width 0.3s ease;
}

.pc-nav a:hover::after,
.pc-nav a.active::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 11px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(45deg);
}

.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
  padding-top: 80px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.sp-nav.active {
  transform: translateX(0);
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1002;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}

.close-btn:hover::before,
.close-btn:hover::after {
  background-color: #5684ed;
}

.sp-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-nav li {
  margin: 0px 0;
  width: 80%;
  text-align: center;
}

.sp-nav a {
  font-size: 16px;
  font-weight: bold;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* sp-navのスタイルを更新 */
.sp-nav a:hover,
.sp-nav a.active {
  color: #5684ed;
  background-color: rgba(86, 132, 237, 0.1);
}

/* ========================================================== */
/* スマートフォンナビゲーション (sp-nav) のデザイン改善 */
/* ========================================================== */


    /* sp-nav ul li a にタップ領域とデザインを追加 (前回設定したものを修正) */
.sp-nav ul li a {
    display: block; 
    padding: 15px 20px; 
    color: #333; 
    text-decoration: none;
    position: relative; 
    /* 【★重要】幅を親要素 (li) の100%に設定 */
    width: 100%; 
    /* 【★重要】テキストを左揃えにする */
    text-align: left;
}


/* 各リスト項目に区切り線を追加 */
.sp-nav ul li {
    border-bottom: 1px solid #eee; /* 薄いグレーの線 */
    list-style: none; /* リストの黒点を削除 */
	/* 各 li に余分な margin や padding がないことを確認 */
    margin: 0;
    padding: 0;
}

/* アイコンのデザイン */
.sp-nav ul li a i {
    margin-right: 12px; /* アイコンと文字の間にスペース */
    color: #007bff; /* アイコンの色をブランドカラーに */
    width: 18px; /* アイコンの幅を揃えてテキスト位置を統一 */
    text-align: center;
}














/* ヒーローセクション */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoverlay {/*動画の上に被せるグレー*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-container {/*ヒーロー右側テキスト*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}



.hero-left {
  flex: 1;
  padding-right: 30px;
}

.hero-right {/*ヒーロー右側テキスト*/
  flex: 1;
  padding-left: 30px;
  border-left: 1px solid rgba(0, 147, 159, 1.0);
}

.logo_big img{/*ヒーロー左大タイトル画像*/
	max-width: 600px;
	width: 100%;
	height: auto;
}

.hero-title {/*ヒーロー左大タイトル*/
  font-size: clamp(1rem, 5vw, 3rem);
  line-height: 1.2;
  margin-top: 20px;
  font-weight: bold;
  color:#000;
}


/* hero-left全体を対象としたフェードインアニメーション */
.hero-left {
    opacity: 0; /* 初期状態では非表示 */
    animation: fadeInHeroLeft 2s ease-out 0.3s forwards; /* 0.3秒遅延させて、2秒かけてフェードイン */
}

@keyframes fadeInHeroLeft {
    from {
        opacity: 0;
        transform: translateY(30px); /* 下から上に移動するような効果を強調 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スマートフォンなどの小さな画面（例: 767px以下）での調整 */
@media (max-width: 767px) {
    .hero-left {
        animation: fadeInHeroLeftSp 1.5s ease-out 0.2s forwards; /* SP向けにアニメーションを調整 */
    }

    @keyframes fadeInHeroLeftSp {
        from {
            opacity: 0;
            transform: translateY(15px); /* SP向けに移動距離を短縮 */
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}





.hero-right p {
  margin-bottom: 20px;
  zfont-size: clamp(0.9rem, 1.5vw, 1.7rem);
}

.highlight {
  color: #00939f;/*#d1f807*/
  font-weight: bold;
}


.font_bold {
	font-weight: bold;
}



/* セクション共通スタイル */
.section-bg {
  background-color: #f5f5f5;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* 斜めセクション共通スタイル */
.section-bg-naname,
.section-bg-naname-reverse {
  position: relative;
  padding: 80px 0;
  z-index: 1;
  margin: 0;
}

/* 右上がりの斜めセクション */
.section-bg-naname {
  position: relative;
  background-color: #bccd58;/*#ccde37*/
  color: #fff;
  margin-top: -1px; /* 上部の隙間を埋める */
  margin-bottom: -1px; /* 下部の隙間を埋める */
}

/* 上部の斜め三角形 */
.section-bg-naname::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 51px; /* 1px大きくして重なりを作る */
  background-color: #bccd58;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 0;
}

/* 下部の斜め三角形 */
.section-bg-naname::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 51px; /* 1px大きくして重なりを作る */
  background-color: #333;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 0;
}

/* 左上がりの斜めセクション */
.section-bg-naname-reverse {
  position: relative;
  background-color: #f5f5f5;
  margin-top: -1px; /* 上部の隙間を埋める */
  margin-bottom: -1px; /* 下部の隙間を埋める */
}

/* 上部の斜め三角形 */
.section-bg-naname-reverse::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 51px; /* 1px大きくして重なりを作る */
  background-color: #f5f5f5;
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 0;
}

/* 下部の斜め三角形 */
.section-bg-naname-reverse::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 51px; /* 1px大きくして重なりを作る */
  background-color: #f5f5f5;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 0;
}

.blue-bg {
  color: #333;
}

.c-container {
  margin: 0 auto;
  padding: 50px 0;
  max-width: 1200px;
  position: relative;
  z-index: 5;
}

.c-container h2 {/*見出し*/
  text-align: center;
  font-size: clamp(18px, 5vw, 35px);
  margin-bottom: 40px;
  position: relative;
}

.section-bg h2::after {/*見出し下の緑線*/
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background-color: #b2c34d;
}

.section-bg-naname-reverse h2::after {/*みどりの飾り棒*/
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background-color: #b2c34d;
}

.section-bg-naname h2::after {/*しろの飾り棒*/
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background-color: #fff;
}




h3.small_midashi {
    color: #b2c34d;
    font-size: clamp(12px, 4vw, 25px);
    line-height: 1.5;
    padding: 0 10px;
}


.section-bg-naname h3.small_midashi {/*緑時に白文字*/
	color: #fff;
	text-align: center;
}




.section-bg-naname-reverse h3.small_midashi {/*グレー地に緑文字*/
	color: #b2c34d;
	text-align: center;
}



@media (max-width: 576px) {
  .section-bg-naname h3.small_midashi,
  .section-bg-naname-reverse h3.small_midashi {
   text-align: left;
	}
}
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 20px;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.text-content p {
  margin-bottom: 20px;
}

.image-content {
  flex: 1;
  text-align: center;
}

.section-image {
  border-radius: 10px;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.section-image_non {/*画像、シャドウいらない場合*/
  max-width: 100%;
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  padding: 0 20px;
}

/* 特長セクション古いバージョン */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.feature-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}




.card-container {/*カードデザインここから*/
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
      margin-top: 40px;
    }
    
    .card {
      position: relative;
      width: calc(33.333% - 20px);
      background-color: white;
      border-radius: 20px;
      padding: 30px 20px 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      margin-top: 50px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 20px;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    
    .card-image {
      position: absolute;
      top: -50px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
      border: 5px solid white;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

.card h3 {
      margin-top: 30px;
      margin-bottom: 0px;
      font-size: 1.5rem;
      color: #333;
    }
 .card h4 {
      margin-top: 10px;
      margin-bottom: 15px;
      font-size: 2.0rem;
      color: #9FC007;
    }   
    .card p {
      font-size: 1rem;
      line-height: 1.6;
      color: #666;
      margin-bottom: 15px;
    }
    
    @media (max-width: 992px) {
      .card {
        width: calc(50% - 20px);
      }
    }
    
    @media (max-width: 768px) {
      .card {
        width: 100%;
        max-width: 400px;
      }
    }
/*カードデザインここまで*/




/*新デザインここから*/
/* #features セクションの調整 */
#features .section-intro {
    text-align: center; /* 説明文を中央寄せ */
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 特徴グリッドコンテナ */
.features-grid {
    display: grid; /* グリッドレイアウトを使用 */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* PCでは4列、要素に合わせて調整 */
    gap: 20px; /* カード間のスペース */
	max-width: 1150px; /* カード3枚が並ぶのに適した最大幅を仮に設定 (調整可能) */
    margin: 30px auto 0; /* 左右マージンをautoにして中央寄せ */
}

/* 各特徴カードのスタイル */
.feature-card {
    background-color: #fff; /* カードの背景色 */
    border-radius: 8px; /* 角を丸くする */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影 */
    padding: 20px;
    text-align: center;
    display: flex; /* flexboxを使って内部要素を縦に並べる */
    flex-direction: column;
    justify-content: space-between; /* 上下均等配置 */
}

.feature-card h3 {
    font-size: 1.2em;
    color: #fff; /* 白色（画像から推測） */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
    background-color: #4facb4; /* 背景色を追加（画像から推測） */
    padding: 8px 5px;
    border-radius: 4px;
}

.feature-card p {
    font-size: 0.95em;
    color: #333;
	text-align: left;
    margin-bottom: 15px;
    flex-grow: 1; /* 段落が伸びて、画像との位置を調整 */
}

.feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: auto; /* 画像を下部に配置 */
    object-fit: contain; /* 画像全体を表示 */
    max-height: 150px; /* 画像の最大高さを設定（必要に応じて調整） */
}

/* 用途例のスタイル */
.applications-example-title {
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-top: 60px; /* 特徴セクションとの間隔 */
    margin-bottom: 20px;
}

.applications-example-text {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
}


/* レスポンシブ対応：スマートフォン（幅768px未満）の場合 */
@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* スマホでは2列 */
        gap: 15px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-card h3 {
        font-size: 1.5em;
        padding: 6px 3px;
    }

    .feature-card p {
        zfont-size: 1.2em;
        margin-bottom: 10px;
    }

    .feature-card img {
        max-height: 120px; /* スマホでの画像高さを調整 */
    }

    .applications-example-title {
        font-size: 1.5em;
        margin-top: 40px;
    }

    .applications-example-text {
        font-size: 1em;
    }
}

/* タブレット向け（幅768px以上1024px未満）の調整（任意） */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットでは2列表示も可 */
    }
}
/*新ここまで*/






.feature-item h4 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0e88cb;
}

.feature-image {
  display: block;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}



/*樹脂フィラー適用例セクション*/

/* #tekiyou セクション全体の調整 */
#tekiyou {
    padding-bottom: 80px; /* セクション下の余白を確保 */
}
#tekiyou .section-description {
    text-align: center;
    font-size: 1.1em;
    margin-top: -20px; /* h2との間隔を調整 */
    margin-bottom: 40px;
}

/* グラフグリッドコンテナの共通スタイル */
.graph-grid {
    display: grid;
    gap: 20px; /* カード間のスペース */
    margin: 40px auto; /* 上下左右中央寄せ */
    justify-content: center; /* グリッドアイテムを中央寄せ */
    max-width: 1100px; /* PCでの表示幅を調整 */
}

/* グラフカードのスタイル */
.graph-card {
    background-color: #fff; /* デフォルトの背景色 */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* 中央揃え */
}

.graph-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px; /* 画像とタイトルの間隔 */
    object-fit: contain;
}

/* グラフカード内のタイトル（h3）のスタイル */
.graph-card h3 {
    font-size: 1.1em;
    color: #fff; /* テキスト色を白に変更 */
    margin-bottom: 5px;
    font-weight: bold;
    background-color: #4facb4; /* ご指定の色に変更 */
    padding: 8px 5px;
    border-radius: 4px;
    width: 100%; /* カード幅いっぱいに広げる */
    box-sizing: border-box; /* paddingを含めて幅を計算 */
    line-height: 1.4;
}


.graph-card .note {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
}

/* 下のグラフグループ全体に適用されるタイトル（h3） */
.bottom-graphs-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px; /* 上のグラフとの間隔を確保 */
    width: 100%;
    /* 背景色領域の内部にあるため、必要であればpaddingを調整 */
}

/* スマートフォンでの調整 */
@media (max-width: 767px) {
    .bottom-graphs-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
}



/* 背景色の設定 */
.graph-grid.top-graphs {
    padding: 10px; /* 背景色領域の内側の余白 */
    grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
}

.graph-grid.bottom-graphs {
    padding: 10px;
    grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
    margin-top: 20px; /* 上のグループとの間隔 */
}

/* レスポンシブ対応：スマートフォン（幅768px未満）の場合 */
@media (max-width: 767px) {
    .graph-grid {
        grid-template-columns: 1fr; /* スマホでは1列 */
        gap: 15px;
        padding: 20px; /* 背景色の内側余白を調整 */
        max-width: 90%; /* 全体の幅を調整 */
    }

    .graph-card {
        padding: 15px;
    }

    .graph-card img {
        margin-bottom: 10px;
    }

    .graph-card h3 {
        font-size: 1em;
    }

    .graph-card .note {
        font-size: 0.75em;
    }
    
    .graph-grid.bottom-graphs {
        margin-top: 40px; /* スマホでの上のグループとの間隔 */
    }
}

/*下二つのデザイン*/


/* グラフ全体を横並びにするコンテナ */
.summary-grid {
    display: flex; /* Flexboxで横並び */
    gap: 30px; /* カード間のスペース */
    justify-content: center; /* 中央寄せ */
    align-items: flex-start; /* 上端揃え */
    padding: 30px 0;
    margin: 0 auto;
    max-width: 900px; /* 2つのグラフが並ぶのに適切な最大幅 */
}

/* 各グラフグループ（白いカードと下のタイトル）のラッパー */
.summary-card-wrapper {
    display: flex;
    flex-direction: column; /* グラフとタイトルを縦に並べる */
    width: 50%; /* 2つで横幅を均等に分ける */
    max-width: 420px; /* PCでの最大幅を制限 */
}

/* 白い背景のグラフカード */
.summary-graph-card {
    background-color: #fff;
    border: 1px solid #ddd; /* 枠線 */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0; /* タイトルとの間隔はタイトルのマージンで調整 */
}

.summary-graph-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 緑っぽい背景の共通タイトル（下部） */
.summary-card-wrapper h3 {
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background-color: #4facb4; /* ご指定の緑っぽい色 */
    padding: 10px 15px;
    border-radius: 0 0 8px 8px; /* 下の角だけ丸くする */
    margin-top: -1px; /* 上の白いカードとのわずかな隙間を埋める */
}

/* 新規追加：グラフエリアのラッパー */
.graph-area {
    padding-top: 20px; /* セクション内の上下余白 */
    padding-bottom: 20px;
    margin-bottom: 20px; /* エリア間のマージンは不要 */
}

/* 薄青エリア */
.light-blue-area {
    background-color: #e6f2ff; /* 上の4つのグラフの背景色（薄い青） */
}

/* 薄緑エリア */
.light-green-area {
    background-color: #f0f8e9; /* 下の2つのグラフの背景色（薄い緑） */
}

/* グラフグリッドコンテナの共通スタイル (ここで背景色やpaddingを削除) */
.graph-grid {
    display: grid;
    gap: 20px;
    margin: 0 auto; /* 親要素でpaddingを持つためマージンをリセット */
    justify-content: center;
    max-width: 1100px;
}
.graph-grid.top-graphs {
    /* ここから背景色とpaddingを削除 */
    grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
}

/* summary-grid の修正 */
.summary-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    padding: 0; /* 親要素でpaddingを持つためリセット */
    margin: 0 auto;
    max-width: 900px;
}
/* レスポンシブ対応：スマートフォン（幅768px未満）の場合 */
@media (max-width: 767px) {
    /* graph-area の余白を調整 */
    .graph-area {
        padding-top: 0px;
        padding-bottom: 0px;
		margin-bottom: 0;
    }

    /* graph-grid の修正 */
    .graph-grid {
		display: flex;
		flex-direction: column; /* 縦積み */
        grid-template-columns: 1fr; /* スマホでは1列 */
        gap: 15px;
        max-width: 90%; /* c-containerの幅に依存 */
    }
    
   
}
/* 大きな白いカード (薄緑エリアの中核) ここから利用*/
.combined-dielectric-card {
    background-color: #fff;
    border: 1px solid #c9dfad; /* 薄い緑色の枠線 */
    border-radius: 15px; /* 大きく丸い角 */
    padding: 30px; /* 内部の余白 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 900px; /* 全体幅を制限 */
    margin: 0 auto; /* 中央寄せ */
    display: flex; /* 内部要素（グラフコンテナとタイトルバー）を縦に並べるため */
    flex-direction: column;
}

/* 2つのグラフを横並びにするコンテナ */
.dielectric-graphs-container {
    display: flex;
    justify-content: space-around; /* グラフ間にスペース */
    gap: 20px;
    margin-bottom: 20px; /* グラフと下のタイトルバーの間隔 */
}

/* 個別グラフのスタイル */
.single-graph-item {
    text-align: center;
    width: 50%; /* 2つで均等に分割 */
}

.single-graph-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.graph-caption {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

/* 共通タイトルバー（一番下の緑っぽい棒） */
.common-title-bar {
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background-color: #4facb4; /* ご指定の緑っぽい色 */
    padding: 12px 15px;
    border-radius: 4px; /* 角を少し丸める */
    width: 100%;
    margin-top: auto; /* 一番下に押し下げる（flex-direction: column のため） */
    box-sizing: border-box;
	margin-bottom: 20px;
}
/* レスポンシブ対応：スマートフォン（幅767px未満）の場合 */
@media (max-width: 767px) {
    
    /* グラフ全体を囲む白いカード */
    .combined-dielectric-card {
        padding: 20px 15px;
        border-radius: 10px;
		width: 90%;
    }

    /* グラフを縦並びにする */
    .dielectric-graphs-container {
        flex-direction: column; /* 縦積み */
        gap: 30px; /* グラフ間の間隔を広く */
        margin-bottom: 20px;
    }

    /* 個別グラフのスタイル */
    .single-graph-item {
        width: 90%; /* 幅いっぱい */
    }

    /* 共通タイトルバー */
    .common-title-bar {
        font-size: 1.5em;
        padding: 10px;
    }
}



/*適用例ここまで*/








/* ダウンロードセクション */
.download-container {
  padding: 0 20px;
  margin: 0 auto;
width: 60%;
}
@media (max-width: 576px) {
	.download-container {
		width: 90%;
	}
}
.download-image {
	margin: 10px auto 20px;
}

.download-buttons {
}

.btn {
  display: inline-block;
  padding: 18px 30px;
  background-color: #5684ed;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(86, 132, 237, 0.3);
}

.btn:hover {
  background-color: #4a75d8;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(86, 132, 237, 0.4);
}

.download-btn {
  width: 100%;
  font-size: 1.1rem;
}

/* お問い合わせセクション */
.contact-text {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
  font-size: 1.1rem;
}

.contact-button {
  text-align: center;
  padding: 0 20px;
}

.contact-btn {
  font-size: 1.1rem;
  background-color: #F88909;
  padding: 18px 40px;
}

.contact-btn:hover {
  background-color: #b87816;
  box-shadow: 0 6px 15px rgba(207, 137, 26, 0.4);
}

/* フッター */
footer {
  background-color: rgba(105, 105, 105, 0.9);
  color: #fff;
  padding: 50px 0 20px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  margin-top: -1px; /* 上部の隙間を埋める */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo-text {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}


.tyuuigaki {
	color: red;
	padding: 10px;
	margin: 20px auto 20px;
	border: double red 4px;
	border-radius: 6px;
	text-align: center;
	font-weight: bold;
	background-color: #fff;
	max-width: 45rem;
	width: 90%;
    font-size: clamp(14px, 4vw, 18px);
}

@media (max-width: 768px) {
	.footer-logo-text  {
		font-size: 0.8rem;}
}



.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-nav li {
  margin: 5px;
}

.footer-nav a {
  color: #fff;
  font-size: 1rem;
  padding: 5px 10px;
}

.footer-nav a:hover {
  color: #5684ed;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .hero-text-container {
    flex-direction: column;
  }

  .hero-left {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .hero-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 30px;
  }

  .sp-nav a {
    font-size: 14px;
    padding: 15px 15px;
  }
}

@media (max-width: 768px) {
 .header{
top:10px;
width:100%;
left:0;
transform:none;
}

  .header-container {
    padding: 5px;
  }

  .pc-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .sp-nav {
    display: block;
  }

  .logo img {
    width: 150px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .content-wrapper.reverse {
    flex-direction: column;
  }

  .download-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .c-container {
    padding: 40px 0;
  }

  .section-bg,
  .section-bg-naname,
  .section-bg-naname-reverse {
    padding: 50px 0;
  }

  .feature-item {
    padding: 25px 20px;
  }

  .feature-item h4 {
    font-size: 1.4rem;
  }
	

}

@media (max-width: 576px) {
  .section-bg,
  .section-bg-naname,
  .section-bg-naname-reverse {
    padding: 20px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

 .c-container {
    padding: 15px 0 35px;
  }

  .hero-section {
    min-height: 500px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .download-buttons {
    gap: 20px;
  }

  .btn {
    padding: 15px 25px;
  }




}
@media (max-width: 768px){

.hero-left{
  padding-right:0;
}

.hero-right{
  padding-left:0;
}
.hero-section .container{
width:100%;
padding:0 20px;
}	
}