

body{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}
* {
  font-family: inherit;
}
.container {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.left {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    flex-shrink: 0;
}

.right {
    flex-grow: 1;
    overflow-y: auto;
    background-color: #ecf0f1;
    padding: 20px;
}
/*ここまで画面全体の設定*/

/*ここからメニューのcss*/
.site-header {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* ドロップダウンメニュー */
.dropdown-menu {
  display: none;
  background-color: #34495e;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-top: 1px solid #2c3e50;
}

.dropdown-menu li a:hover {
  background-color: #3d566e;
}

/* メニュー表示時 */
.dropdown-menu.open {
  display: block;
}

/* スマホでだけ表示 */
@media screen and (min-width: 769px) {
  .site-header, .dropdown-menu {
    display: none;
  }
  
}


/*ここまでメニューのcss*/

hr{
    border: 3px solid #2c3e50;
    border-radius: 4px;
    margin: 20px 10px;
    
}

h1{
    margin-left: 2rem;
    font-weight: 900 !important;
}

h2{
    margin-left: 2rem;
    font-size: 24px;
    scroll-margin-top: 32px;
}

h3{
    margin-left: 2rem;
    font-size: 22px;
    scroll-margin-top: 32px;
}

p{
  font-size: 18px;
  line-height: 1.8;
}

.tlink{
  margin: 18px 0;
}

/*ここからleftのcontentのcss*/

/*ここまでleftのcontentのcss*/
.left ul {
  padding: 0;
}

.left ul li {
  position: relative;
  list-style-type: none!important;/*ポチ消す*/
  padding: 0.5em 0.5em 0.5em 0.5em;
  margin-bottom: 5px;
  line-height: 1.5;
  background: #dbebf8;
  vertical-align: middle;
  color: #505050;
  border-radius: 15px 0px 0px 15px;/*左側の角丸く*/
}

.left ul li:before{ 
  display:inline-block; 
  vertical-align: middle;
  /*以下白丸つくる*/
  content:'';
  width:1em;
  height: 1em;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
}

.left ul li a{
  color: #000000;
  text-decoration: none;
}




/*ここからrightのcontentのcss*/
.main_img{
    width: 70%;
    height: auto;
    margin: 0 auto;
}

.waku_ao{
    border: 2px solid #2980b9; 
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    margin: 20px auto;
    background-color: #E9F3FB;
}

.waku_ao h3{
    margin: 0;
}

.waku_orange{
    border: 2px solid #f39c12; 
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    margin: 20px auto;
    background-color:#fff7eb ;
}

.waku_orange h3{
    margin: 0;
}

.waku_orange ul{
    padding: 0;
    position: relative;
}

.waku_orange ul li{
    color: black;
    border-left: solid 8px #f39c12;/*左側の線*/
    background: #fffaf3;/*背景色*/
    margin-bottom: 5px;/*下のバーとの余白*/
    line-height: 1.5;
    border-radius: 0 15px 15px 0;/*右側の角だけ丸く*/
    padding: 0.5em;
    list-style-type: none!important;
}

.waku_tensen{
    border: 2px dotted #333;  /* 点線の太さ・色・スタイル */
    padding: 20px;            /* 内側の余白 */
    width: 90%;
    margin: 20px auto;
    background-color: #f9f9f9; 
}
.waku_tensen h3{
    margin: 0;
}

figure {
    text-align: center;
    margin: 20px auto;
}
figcaption {
    font-size: 18px;
    color: #000000;
    margin-top: 6px;
}
.narabi_senzo{
    padding: 5%;
}

.narabi_oya {
    display: flex;
    gap: 10%; /* div同士の間隔 */
    }

.narabi_ko {
    width: 45%;
    height: auto;
    padding: 8px;
    text-align: center;
    }

.pink{
    padding: 20px;            /* 内側の余白 */
    width: 90%;
    margin: 20px auto;
    background-color: mistyrose;
}

.pink h2{
    margin-top: 0;
}

/*ここからボタンデザインのcss*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.btn_orange{
    text-align: center;
}

.btn,
a.btn,
button.btn {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-radius-solid {
  background: #f1e767;
  background: -webkit-gradient(linear, left top, left bottom, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
}

a.btn-radius-solid:hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(bottom, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

/*ここまでボタンデザインのcss*/


/*ここからテーブルのcss*/
.con_tbl{
    padding: 0 auto 20px auto;
    width: 90%;
    margin: 0 auto 20px auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: sans-serif;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
  font-size: 16px;
  background-color: #ffffff;
}

.pricing-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.note {
  font-size: 14px;
  margin-top: 10px;
}

/*ここまでテーブルのcss*/

.narabi_yon {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .card {
      width: 20%;
      padding: 10px;
      background-color: #f0f8ff;
      text-align: center;
    }

    .card h3 {
      font-size: 18px;
      margin-left: 0;
      margin-bottom: 10px;
    }

    .card img {
      width: 100%;
      height: auto;
      display: block;
      margin-bottom: 10px;
    }

    .author {
      text-align: center;
      font-size: 14px;
      margin-top: 10px;
    }

    .solution-link {
      display: block;
      font-size: 14px;
      color: #007bff;
      text-decoration: underline;
      margin-top: 5px;
    }

.requirements {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 20px;
  margin: 0 20px;
}

.requirements h4 {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

.requirements ul {
  padding-left: 1.5em;
  margin-bottom: 10px;
}

.requirements li {
  list-style-type: disc;
  margin-bottom: 4px;
}

.requirements code {
  background-color: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}



/*ここまでrightのcontentのcss*/

.kihon{
  margin-left: 2rem;
}

.torikumi{
  background-color: #2c3e50;
  width: 100%;
  margin: 20px auto;
  overflow-x: auto;    /* 横スクロール対応 */
  padding: 0 3rem;           /* 左右に余白を追加 */
  box-sizing: border-box;    /* パディングを含めて幅計算 */
}

.shiro{
  color: #ffffff;
  margin-top: 1rem;
}

.torikumi-table{
  margin: 3rem auto;   /* はみ出し防止 */
}
.torikumi-table table {
  width: 100%;         /* コンテナに収める */
  border-collapse: collapse;
}




/*ここからスマホ表示*/

@media screen and (max-width: 768px) {
  /* ベースリセット */
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 16px;
    overflow-x: hidden;
  }

  /* 全体レイアウトを縦方向に変更 */
  .container {
    flex-direction: column;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    margin-top: 56px;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 18px;
    cursor: pointer;
  }

  /* 左メニュー */
  .left {
    position: fixed;
    left: -260px;
    top: 0;
    width: 250px;
    height: 100%;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .left.open {
    left: 0;
  }

  /* メインエリア調整 */
  .right {
    width: 100%;
    padding: 20px;
    flex-grow: 1;
    min-height: 100vh;
    overflow-y: auto;
  }

  /* narabi_oyaを縦並びに */
  .narabi_oya {
    flex-direction: column;
    gap: 10px;
  }

  .narabi_ko {
    width: 100% !important;
    padding: 0;
  }

  /* カードを1列に */
  .narabi_yon {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    margin-bottom: 20px;
  }

  /* メイン画像など */
  .main_img img,
  .narabi_ko img,
  .narabi_senzo img {
    width: 100% !important;
    height: auto;
  }

  /* テキスト系の調整 */
  h1, h2, h3 {
    margin-left: 0.5rem;
    font-size: 1.1rem;
  }

  .waku_ao,
  .waku_orange,
  .waku_tensen,
  .pink {
    width: 95%;
    padding: 15px;
  }

  /* テーブル文字サイズ調整 */
  .pricing-table th,
  .pricing-table td {
    font-size: 14px;
    padding: 8px;
  }

  /* ボタンも小さめに */
  .btn,
  a.btn,
  button.btn {
    font-size: 16px;
    padding: 0.8rem 1.5rem;
  }
 .torikumi {
    padding: 1rem;              /* 左右の余白を狭く */
    overflow-x: auto;           /* テーブルがはみ出すときは横スクロール */
  }

  .torikumi h2.shiro {
    font-size: 1.2rem;          /* 見出しを少し小さく */
    text-align: center;
    margin: 1rem 0;
  }

  .torikumi-table {
    width: 100%;
    margin: 1rem auto;
  }

  .torikumi-table table {
    width: 100%;
    font-size: 14px;            /* 文字サイズ縮小 */
  }

  .torikumi-table td,
  .torikumi-table th {
    padding: 6px 8px;           /* 余白を減らす */
    word-break: break-word;     /* 長文を折り返す */
  }

  /* リンクは折り返し許可 */
  .torikumi-table a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
  }

}


/*ここまでスマホ表示*/