
@charset "UTF-8";
/* line 7, ../sass/style.scss */
html {
  min-height: 100%;
  position: relative;
}

/* line 11, ../sass/style.scss */
body {
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  width: 100%;
  margin-bottom: 80px;
  line-height: 1.6;
}

/* line 20, ../sass/style.scss */
header {
  background-color: #ffa500;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
}

/* line 25, ../sass/style.scss */
header .h-inner {
  height: auto;
  margin: 0 auto;
}

/* line 29, ../sass/style.scss */
header .h-inner a {
  color: inherit;
}

/* line 32, ../sass/style.scss */
header .h-inner .h-logo {
  margin: 10px auto;
  padding-left: 10px;
  width: 350px;
  float: left;
  box-sizing: border-box;
}

/* line 38, ../sass/style.scss */
header .h-inner .h-logo .sub-logo {
  font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
  color: #AF1E42;
}

/* line 45, ../sass/style.scss */
header .h-inner .h-logo .logo {
  font-size: 28px;
  font-weight: bold;
  padding: 8px 0;
  text-shadow: 1px 1px 3px #fff;
}

/* line 51, ../sass/style.scss */
header .h-inner .h-logo .logo-en {
  font-size: 12px;
}

/* line 55, ../sass/style.scss */
header .h-inner .h-img {
  display: flex;
  justify-content: flex-end;
}

/* line 59, ../sass/style.scss */
header .h-inner .h-img img {
  width: 205px;
  height: 160px;
  padding: 10px;
  object-fit: cover;
}

/* line 68, ../sass/style.scss */
.main {
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 40px;
}

/* line 72, ../sass/style.scss */
.main .info {
  width: 100%;
  margin: 40px 0;
}

/* line 75, ../sass/style.scss */
.main .info h3 {
  font-size: 18px;
  padding-bottom: 15px;
}

/* line 79, ../sass/style.scss */
.main .info li {
  padding: 15px 0;
  list-style-type: none;
}

/* line 82, ../sass/style.scss */
.main .info li a {
  text-decoration: none;
  border-bottom: 1px dotted #000;
}

/* line 85, ../sass/style.scss */
.main .info li a time {
  font-size: 12px;
  margin-right: 20px;
  color: #333;
}

/* line 90, ../sass/style.scss */
.main .info li a i {
  color: #333;
  padding-right: 10px;
}

/* line 97, ../sass/style.scss */
.main .content {
  width: 100%;
}

/* line 99, ../sass/style.scss */
.main .content td {
  background-color: #ddd;
  padding: 10px;
  border-collapse: collapse;
  border: 4px solid #fff;
}

/* line 105, ../sass/style.scss */
.main .content .message {
  width: 40%;
}

/* line 107, ../sass/style.scss */
.main .content .message h4 {
  font-size: 18px;
  padding-bottom: 30px;
}

/* line 111, ../sass/style.scss */
.main .content .message p {
  line-height: 1.8;
}

/* line 115, ../sass/style.scss */
.main .content .info-box {
  width: 20%;
  height: 100px;
  text-align: center;
  line-height: 1.2;
}

/* line 120, ../sass/style.scss */
.main .content .info-box a {
  text-decoration: none;
}

/* line 126, ../sass/style.scss */
#page-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
}

/* line 131, ../sass/style.scss */
.top-btn {
  color: #fff;
  background-color: #333;
  border: 1px solid #333;
  border-radius: 3px;
  display: block;
  text-decoration: none;
  text-align: center;
  width: 100px;
  padding: 10px;
  float: right;
}

/* line 143, ../sass/style.scss */
.top-btn:hover {
  color: #333;
  background-color: #fff;
  border: 1px solid #333;
}

/* line 148, ../sass/style.scss */
footer {
  background-color: #ffa500;
  position: absolute;
  bottom: 0;
  height: 80px;
  width: 100%;
}

/* line 154, ../sass/style.scss */
footer .footer-inner {
  overflow: hidden;
  margin: auto;
}

/* line 159, ../sass/style.scss */
footer a {
  display: block;
  float: left;
}

/* line 163, ../sass/style.scss */
footer small {
  font-size: 12px;
  float: right;
}

/* line 167, ../sass/style.scss */
footer a, footer small {
  padding-top: 50px;
}

/*! 共通下層ページ　header */
/* line 173, ../sass/style.scss */
header {
  overflow: hidden;
}

/* line 175, ../sass/style.scss */
header .h-btn {
  width: 40%;
  float: right;
}

/* line 178, ../sass/style.scss */
header .h-btn ul {
  display: block;
  margin: 0 auto;
  overflow: hidden;
  width: 80%;
}

/* line 183, ../sass/style.scss */
header .h-btn ul li {
  list-style-type: none;
}

/* line 185, ../sass/style.scss */
header .h-btn ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #625E1B;
  border-radius: 3px;
  text-align: center;
  border: 1px solid #625E1B;
}

/* line 196, ../sass/style.scss */
header .h-btn ul li a:hover {
  background-color: #ffffff;
  border: 1px solid #625E1B;
  color: #333;
}

/* line 202, ../sass/style.scss */
header .h-btn ul .h-btn-first {
  margin-top: 10px;
  width: 100%;
}

/* line 206, ../sass/style.scss */
header .h-btn ul .h-btn-center {
  float: left;
  width: 49%;
  min-width: 106px;
}

/* line 211, ../sass/style.scss */
header .h-btn ul .h-btn-end {
  float: right;
  width: 49%;
  min-width: 106px;
}

/*! グローバルメニュー */
/* line 221, ../sass/style.scss */
nav {
  background-color: #625E1B;
  width: 100%;
  overflow: hidden;
}

/* line 225, ../sass/style.scss */
nav #gnav {
  display: block;
  height: 44px;
  margin: 0 auto;
}

/* line 230, ../sass/style.scss */
nav #gnav li {
  width: 25%;
  float: left;
  background-color: #625E1B;
  text-align: center;
  list-style-type: none;
}

/* line 236, ../sass/style.scss */
nav #gnav li a {
  display: block;
  line-height: 44px;
  vertical-align: baseline;
  text-decoration: none;
  color: #fff;
}

/* line 244, ../sass/style.scss */
nav #gnav li a:hover {
  background-color: #ffffff;
  color: #333;
}

/*! メインコンテンツ */
/*! CMCコンソーシアムについて（about.html）*/
/* line 5, ../sass/_pages.scss */
main {
  margin: 0 auto;
  width: 100%;
  padding-bottom: 40px;
}

/* line 9, ../sass/_pages.scss */
main .h-line {
  width: 80px;
  height: 30px;
  border-top: 1px solid #333;
  margin: 0 auto;
}

/* line 15, ../sass/_pages.scss */
main .content-wrap {
  margin: 0 auto;
}

/* line 18, ../sass/_pages.scss */
main .content-wrap td {
  padding: 10px;
  border: 1px solid #333;
}

/* line 22, ../sass/style.scss */
main .content-wrap .h-td {
  background-color: #eee;
  width: 100px;
  text-align: center;
}

/* line 27, ../sass/style.scss */
main .content-wrap .h3-wrap {
  text-align: center;
}

/* line 29, ../sass/style.scss */
main .content-wrap .h3-wrap h3 {
  font-size: 20px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: 80px;
  border-bottom: 1px solid #333;
  display: inline-block;
  margin-bottom: 10px;
}

/* line 39, ../sass/style.scss */
main .content-wrap h4 {
  font-size: 18px;
  padding-bottom: 15px;
  margin-top: 20px;
}

/* line 44, ../sass/style.scss */
main .content-wrap .about {
  font-size: 30px;
  margin: 60px 0 0 0;
  text-align: center;
}

/* line 49, ../sass/style.scss */
main .content-wrap .about-establish {
  overflow: hidden;
}

/* line 52, ../sass/style.scss */
main .content-wrap .about-establish .greeting p {
  float: left;
  width: 48%;
}

/* line 56, ../sass/style.scss */
main .content-wrap .about-establish .greeting img {
  display: block;
  object-fit: cover;
  margin: 0 auto;
  width: 250px;
  height: auto;
}

/* line 66, ../sass/style.scss */
main .content-wrap .about-enter p {
  padding-bottom: 15px;
  margin-top: 30px;
}

/* line 70, ../sass/style.scss */
main .content-wrap .about-enter h4 {
  padding-top: 15px;
}

/* line 75, ../sass/style.scss */
main .content-wrap .about-info p {
  margin-top: 30px;
}

/* line 80, ../sass/style.scss */
main .content-wrap .about-contact p {
  padding-bottom: 15px;
  margin-top: 30px;
}

/* line 89, ../sass/style.scss */
.c-wapper {
  overflow: hidden;
  margin-top: 60px;
}

/* line 94, ../sass/style.scss */
.c-wapper a:hover {
  opacity: 0.6;
}

/* line 99, ../sass/style.scss */
.c-wapper .link-list p {
  font-weight: bold;
  font-size: 18px;
}

/* line 103, ../sass/style.scss */
.c-wapper .link-list .list {
  list-style-type: none;
}

/* line 105, ../sass/style.scss */
.c-wapper .link-list .list li {
  text-indent: 15px;
}

/* line 111, ../sass/style.scss */
.c-wapper .hd-text:not(:first-child) {
  margin-top: 40px;
}

/* line 116, ../sass/style.scss */
.c-hr-text {
  margin-bottom: 40px;
  font-size: 16px;
}

/* line 120, ../sass/style.scss */
.sec-block {
  margin-bottom: 40px;
}

/* line 122, ../sass/style.scss */
.sec-block dt {
  font-size: 18px;
}

/* line 124, ../sass/style.scss */
.sec-block dt:first-child {
  font-weight: bold;
}

/* line 127, ../sass/style.scss */
.sec-block dt:not(:first-child) {
  text-indent: 15px;
  font-size: 16px;
}

/* line 131, ../sass/style.scss */
.sec-block dt:nth-of-type(3) {
  margin-top: 15px;
}

/* line 135, ../sass/style.scss */
.sec-block dd {
  text-indent: 30px;
}

/* line 140, ../sass/style.scss */
.list-link {
  list-style-type: none;
}

/* line 142, ../sass/style.scss */
.list-link li {
  margin-bottom: 10px;
  text-indent: 30px;
}

/* グリッドレイアウトの定義 */
.content-grid {
  display: grid;
  grid-template-columns: 1fr; /* スマホでは1列表示 */
  gap: 15px;
  width: 100%;
}

.message-block {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-block p img {
  margin-right: 15px; /* テキストとの間に余白を追加 */
  margin-bottom: 15px;
}

.info-block {
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.info-block p {
  margin-bottom: 5px;
}

/* PC表示（画面幅768px以上）のレイアウト調整 */
@media (min-width: 768px) {
  body {
    padding: 20px;
  }
  
  header .h-inner,
  .main,
  footer .footer-inner,
  nav #gnav,
  main .content-wrap {
    width: 100%;
    max-width: 970px; /* ここでPC表示の最大幅を制御 */
    min-width: unset;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .content-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr; /* PCでは4列表示 */
    gap: 15px;
    width: 100%;
  }

  .message-block {
    grid-column: 1 / 2;
    grid-row: 1 / 5;
  }

  /* PC表示時のみ、画像サイズを調整 */
  .message-block p img {
    float: left; /* PC表示ではfloatを使用 */
    margin-bottom: 10px;
    max-width: 200px; /* 写真の最大幅 */
  }

  .menu-button {
    display: none;
  }
  .nav-menu {
    display: block;
    position: static;
    background-color: transparent;
    color: inherit;
    padding: 0;
  }
  .nav-menu a {
    display: inline;
    padding: 0;
    color: inherit;
    text-decoration: none;
  }
}

/* スマホ表示（画面幅767px以下）のレイアウト調整 */
@media (max-width: 767px) {
  /* ヘッダー全体を非表示にする */
  header {
    display: none;
  }

    .sp-logo {
    display: block;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 0;
    background-color: #ffa500;
    color: #fff;
    margin: 0;
  }
  
  /* コンテンツの幅を画面いっぱいに広げる */
  .main,
  .container,
  .content-wrap {
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
    padding: 0 10px;
  }

  /* 画像が画面からはみ出さないようにする */
  img {
    max-width: 100%;
    height: auto;
  }

   .message-block p img {
    max-width: 150px;
  }


  /* PC表示で使われているfloatレイアウトを解除する */
  .h-inner .h-logo,
  header .h-btn,
  nav #gnav li,
  footer a,
  footer small {
    float: none;
    width: 100%;
    text-align: center;
  }

  /* main要素内のテーブル要素の幅を調整 */
  .main .content .message,
  .main .content .info-box {
    width: 100%;
    display: block;
  }
}