@charset "utf-8";

/*-------------------------------------------------------------
///////////////////////////////////////////////////////////////
layout
///////////////////////////////////////////////////////////////
--------------------------------------------------------------*/

.wrapper {
  width: 100%;
}

.header {
  width: 100%;
  background-color: #FFFDDC;

  & > .header_container {
    width: 1110px;
    margin-inline: auto;
  }
}

.main {
  width: 100%;

  & > .main_container {
    width: 1110px;
    margin-inline: auto;

    & > .main_contents {
      display: flex;
      flex-direction: row-reverse;

      & > .contents {
        width: 860px;
      }

      & > .side {
        width: 250px;
      }
    }
  }
}

.footer {
  width: 100%;

  & > .footer_container {
    width: 1110px;
    margin-inline: auto;
  }
}

/*-------------------------------------------------------------
///////////////////////////////////////////////////////////////
style
///////////////////////////////////////////////////////////////
--------------------------------------------------------------*/

/* カラー設定 */
:root {
  --color-primary: #EE5A24;
  --color-secondary: #F5AA00;
  --color-tertiary: #F9EB21;
}

/* ページトップへもどる */
.page_top {
  width: 40px;
  height: 40px;
  right: 20px;
  bottom: 20px;
  position: fixed;
  border: 1px solid var(--color-tertiary);
  background: var(--color-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;

  &::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 1px solid #000000;
    border-right: 1px solid #000000;
    transform: rotate(-45deg);
  }
} /* .page_top 終わり */

/* @group ヘッダーエリア
------------------------------------------------------*/

.header {
  border-top: 5px solid #E84D23;

  & > .header_container {
    position: relative;
    height: 200px;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 1110px;
      height: 200px;
      background-image: url(../images/header.svg);
      background-position: center bottom;
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }

    /* ヘッダー内のテキストを非表示 */
    & > * {
      position: absolute;
      left: -9999em;
    }
  }
} /* .header 終わり */

/* @group メインエリア
------------------------------------------------------*/

.main {
  position: relative;
  min-height: 1000px;
  background-color: #FFFDDC;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(100, 100, 100, 1) 0%, rgba(100, 100, 100, 0) 100%), linear-gradient(#FFFFFF, #FFFFFF);
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-size: 100% 7px, 100% 600px;
    z-index: 0;
  }

} /* .main 終わり */

/* @group コンテンツ
------------------------------------------------------*/

.society_theme_wrapper {
  position: relative;
  height: 600px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 860px;
    height: 600px;
    background-image: url(../images/theme.svg);
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
  }

  & > * {
    position: absolute;
    left: -9999em;
  }
}

.news {
  width: 860px;
  position: absolute;
  margin-top: 60px;
  margin-bottom: 20px;
  margin-right: 0;
  margin-left: 250px;

  & > h2 {
    width: 860px;
    height: 100px;
    display: grid;
    place-items: center;

    & > span {
      position: relative;
      top: 20px;
      font-size: 15px;
      font-weight: bold;
      color: var(--color-primary);
      text-align: center;

      &::before {
        content: "";
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 70px;
        background-image: url(../images/ico_news.svg);
        background-position: center top;
        background-size: 70px 70px;
        background-repeat: no-repeat;
      }
    }
  }

  & > .news-list {
    width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 174px;
    overflow-y: auto;
    line-height: 1.7;

    & > li {
      display: flex;
      align-items: baseline;

      & > .date {
        width: 90px;
        font-size: 13px;
        font-weight: bold;
        color: var(--color-primary);
      }

      & > .excerpt {
        width: calc(100% - 115px);
        font-size: 12px;
        color: #666666;
      }
    }
  }
} /* .news 終わり */

/* @group サイド
------------------------------------------------------*/

.menu {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 4px;
  padding-top: 30px;
  padding-bottom: 10px;
  list-style: none;

  & > li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    min-height: 45px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(to bottom, #F5AA00 0%, #F5AA00 100%), linear-gradient(to top, #F5AA00 0%, #F5AA00 100%);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 40px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: #FFFFFF;
    text-decoration: none;
    transition: color .5s;

    & > span {
      text-align: center;
    }

    &:hover {
      background-image: linear-gradient(to top, #EA1C24 0%, #F4901E 100%), linear-gradient(to bottom, #EA1C24 0%, #F4901E 100%);
      color: #F9EB21;
      text-decoration: none;
    }
  }

  & > li.active a {
    background-image: linear-gradient(to top, #EA1C24 0%, #F4901E 100%), linear-gradient(to bottom, #EA1C24 0%, #F4901E 100%);
    color: #F9EB21;

    &:hover {
      cursor: default;
    }
  }

} /* .menu 終わり */

/* ポスター */
.poster_download {
  width: 100%;
  height: 100px;
  margin-top: 30px;
  position: absolute;
  z-index: 0;

    & a {
      display: block;
      width: 250px;
      height: auto;

        & img {
            display: block;
            width: 250px;
            height: auto;
            margin: 5px auto;
        }
    }
    & p {
        width: 250px;
        font-size: 14px;
        text-align: center;
    }
}
/* ポスターここまで */

/* @group フッターエリア
------------------------------------------------------*/


.footer {
  position: relative;
  background-color: var(--color-primary);
  background-image: linear-gradient(#FFFFFF, #FFFFFF);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 40px;

  & > .footer_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    & > .secretariat_wrapper {
      height: 170px;
      display: flex;
      justify-content: center;

      & > .secretariat {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #FFFFFF;
        gap: 15px;

        & h2 {
          width: 100px;
          height: 35px;
          display: flex;
          align-items: center;
          justify-content: center;
          border: 1px solid #FFFFFF;

          & span {
            font-size: 15px;
            font-weight: bold;
            line-height: 1;
            color: #FFFFFF;
          }
        }

        & dl {
          line-height: 1.4;
          text-align: center;

          & dt {
            margin-bottom: 5px;
            font-size: 14px;
            font-weight: bold;

            & + dd {
              margin-bottom: 7px;
            }
          }

          & dd {
            font-size: 12px;

            & a {
              color: #00FFFF;
              text-decoration: none;

              &:hover {
                text-decoration: underline;
              }
            }
          }

        }
      }

    }

    & > .footer-copyright {
      height: 40px;

      & > small {
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        color: var(--color-primary);
        line-height: 1;
        text-align: center;
      }
    }
  }
} /* .footer 終わり */


/* @group 下層ページ共通
------------------------------------------------------*/

.page-contents {
  position: relative;
  background-color: #FFFFFF;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  border-radius: 30px 30px 0 0;
  min-height: 970px;
}

.page-title {
  min-height: 50px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to top, #EA1C24 0%, #F4901E 100%), linear-gradient(to bottom, #EA1C24 0%, #F4901E 100%);
  border-radius: 10px;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);

  & > span {
    margin-left: 20px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 30px;
    font-weight: bold;
    font-feature-settings: "palt";
    color: #fff;
    line-height: 1;
  }
}

.page-body {
  padding: 30px 20px;
}

/* 既存の垂直マージンを削除 */
.page-body > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* 連続する要素だけに上方向のマージンを適用 */
.page-body > * + * {
  margin-block-start: var(--space, 1.5em);
}

/* 見出し */
.heading_h3 {
	position: relative;
	padding: 10px 5px;
	margin-bottom: 25px;
}

.heading_h3::after {
	position: absolute;
	top: 5px;
	left: 0;
	content: "";
	width: 6px;
	height: calc(100% - 10px);
	background-color: var(--color-secondary);
	border-radius: 4px;
}

.heading_h3 > span {
	margin-left: 15px;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
	color: var(--color-primary);
}

.heading_h3 > span span {
	display: block;
	font-size: 12px;
	margin-left: 7.5px;
}

.heading_h4 {
	border-bottom: 1px solid #cccccc;
	margin-bottom: 20px;
}

.heading_h4 span {
	display: inline-block;
	position: relative;
	padding: 0 0.4em 0.2em 0;
	font-size: 18px;
	font-weight: bold;
	color: #333333;
	font-feature-settings: "palt";
}

.heading_h4 span::before {
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--color-primary);
	content: "";
}

/* ページ準備中
--------------------------*/

.under_construction {
  text-align: center;
  font-size: 1.1em;
  padding-top: 50px;
}

/* アイコン
--------------------------*/

.exlink:after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-size: .8em;
  font-weight: 900;
  margin-left: 0.5em;
  margin-right: 0.5em;
  position: relative;
  bottom: 1px;
}

.download:before {
  content: "\f019";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

.pdf:after {
  content: "\f1c1";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
}

.word:after {
  content: "\f1c2";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
}

.ppt:after {
  content: "\f1c4";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
}

.excel:after {
  content: "\f1c3";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.5em;
}

.cipher a:before {
  content: "\f023";
  /* 暗号通信の前（fa-lock） */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5em;
}

/* 囲み
--------------------------*/

.enclosure01 {
  border: 1px;
  border-style: solid;
  padding: 10px 20px;
  border-radius: 6px;
}

.enclosure02 {
  border: 1px;
  border-style: solid;
  padding: 10px 20px;
}

.enclosure03 {
  border: 3px;
  border-style: solid;
  padding: 10px 20px;
}

.enclosure-color01 {
  border-color: #dddddd;
  background: #ffffff;
}

.enclosure-color02 {
  border-color: #eee;
  background: #ffffff;
}

/*表組み*/
.tbl-width100 {
  width: 100%;
}

.tbl-width50 {
  width: 50%;
}

.tbl-style01 thead th {
  background-color: #ddd;
  border: 1px #cccccc;
  border-style: solid;
  padding: 0.5em;
  font-weight: bold;
}

.tbl-style01 tbody th,
.tbl-style01 tbody td {
  border: 1px #cccccc;
  border-style: solid;
}

.tbl-style01 tbody th {
  background-color: #eeeeee;
  padding: 0.5em;
  font-weight: bold;
}

.tbl-style01 tbody td {
  background-color: #ffffff;
  padding: 0.5em;
}

.tbl-style02 tbody th,
.tbl-style02 tbody td {
  border: 1px #ffffff;
  border-style: solid;
}

.tbl-style02 tbody th {
  background-color: #ffffff;
  padding: 0.5em;
}

.tbl-style02 tbody td {
  background-color: #ffffff;
  padding: 0.5em;
}

.th-c-m th {
  text-align: center;
  vertical-align: middle;
}

.th-l-m th {
  text-align: left;
  vertical-align: middle;
}

.th-l-t th {
  text-align: left;
  vertical-align: top;
}

.th-l-b th {
  text-align: left;
  vertical-align: bottom;
}

.td-c-m td {
  text-align: center;
  vertical-align: middle;
}

.td-l-m td {
  text-align: left;
  vertical-align: middle;
}

.td-l-t td {
  text-align: left;
  vertical-align: top;
}

.td-l-b td {
  text-align: left;
  vertical-align: bottom;
}

/*リストスタイル*/
.list-style01 {
  margin-left: 2em;
  margin-right: 2em;
  font-size: clamp(0.875rem, 0.818rem + 0.242vw, 1rem);
}

.list-style01 li {
  margin-bottom: .3em;
}

.list-style {
  list-style-position: outside;
  padding-left: 1.8em;
}

.list-style > * + * {
  margin-top: 0.25em;
}

.list-disc {
  list-style-type: disc;
}

.list-num {
  list-style-type: decimal;
}

.list-num2 {
  list-style-type: decimal-leading-zero;
}

/*※入り*/
.asterisk {
  padding-left: 1.2em;
  text-indent: -0.9em;
}

.asterisk > li::before {
  content: "※";
  margin-right: 0.3em;
  position: relative;
  bottom: 1px;
}

/* ぶら下げインデント */
/* 日本語　※ */
.kome_ja > * {
	display:table;
	width: 100%;

	&:before {
		display: table-cell;
		content: "※";
		width: 1em;
    position: relative;
    bottom: 1px;
	}
}
/* 英語　* */
.kome_en > * {
	display:table;
	width: 100%;

	&:before {
		display: table-cell;
		content: "*";
		width: 1em;
    position: relative;
    bottom: 1px;
	}
}

/* ご挨拶 */
.message_wrapper {
	position: relative;
}
.chair {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	align-items: flex-end;
	text-align: right;
	gap: 1em;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
.chair img {
	width: 180px;
	height: 210px;
	object-fit: cover;
	border: 1px solid #ddd;
}
.chair_caption {
	font-feature-settings: "palt";

	& .chair_caption_title {
		font-size: 1.1em;
	}
}
.greeting_text {
	text-autospace: normal;
	line-height: 1.7;
	line-break: strict;
	overflow-wrap: anywhere;
	word-break: normal;

	/* 親要素の回り込み解除（必要に応じて） */
	&::after {
		content: "";
		display: block;
		clear: both;
	}
}

/* --- ここから画像とテキストの回り込み用CSS --- */
.greeting_text > img {
	float: right;
	width: 41%;
	max-width: 350px;
	height: auto;
	margin-left: 20px;
	margin-bottom: 15px;
	border-radius: 20px;
}

.greeting_text > div {
	margin-top: 1em;
}

/* 交通アクセス */
.access {
	line-height: 1.8;
	color: #333333;
}

.access__time {
	font-size: 1.05em;
	font-weight: bold;
}

.access__note {
	font-size: 0.95em;
}

.access__link {
	margin-top: 1em;
}

.access__link a {
	color: var(--color-primary);
	font-weight: bold;
}

.access__link a:hover {
	text-decoration: underline;
}

.access-map {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin-top: 1.5em;
	padding: 20px 16px 16px;
	background-color: #f3f5f8;
}

.access-map__balloon {
	position: relative;
	z-index: 2;
	width: 380px;
	max-width: 100%;
	/* 三角の先端だけが下のマップに重なる */
	margin-bottom: 12px;
	padding: 6px;
	background-color: var(--color-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

	& img {
		display: block;
		width: 100%;
		height: auto;
		background-color: #ffffff;
	}

	/* 吹き出しの三角（医師会館の位置へ） */
	&::after {
		content: "";
		position: absolute;
		left: 68%;
		bottom: -24px;
		border-style: solid;
		border-width: 24px 14px 0 14px;
		border-color: var(--color-primary) transparent transparent transparent;
	}
}

.access-map__area {
	width: 100%;

	& img {
		display: block;
		width: 100%;
		height: auto;
	}
}
/* overview
--------------------------*/
.overview-body {
	position: relative;
	isolation: isolate;
	min-height: 600px;

	/* 背景イラスト */
	&::before {
		content: "";
		position: absolute;
		top: 20px;
		right: 20px;
		width: 640px;
		height: 487px;
		background-image: url(../images/overview_jr.png);
		background-position: right top;
		background-size: contain;
		background-repeat: no-repeat;
		opacity: 0.15;
		z-index: -1;
		pointer-events: none;
	}
}

.tbl-overview {
	border-collapse: collapse;
	line-height: 1.6;

	& tbody th,
	& tbody td {
		border: none;
		border-bottom: 1px dotted #999999;
		background-color: transparent;
		padding: 10px 0.5em;
	}

	& tbody th {
		width: 8em;
		white-space: nowrap;
		color: var(--color-primary);
		font-weight: bold;
	}

	& a {
		color: var(--color-primary);
		font-weight: bold;
	}

	& a:hover {
		text-decoration: none;
	}
}
