@charset "utf-8";

/* フォントの読み込み */
/* @font-face {
    font-family: "basicfont";
    src: url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
} */
@font-face {
    font-family: "decofont";
    src: url("../fonts/Corporate-Logo-Rounded-Bold-ver3.ttf") format("truetype");
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

html {
    -webkit-text-size-adjust: 100%; /* iOSの自動調整を無効化 */

    /* 変数定義 */
    --basicWidth: 1000px;     /* PCの基本の幅 */
    --basicMargin: 40px;         /* コンテンツの基本の余白 */
    --basicShadow: 0 5px 0 0 rgb(0, 0, 0, 0.25); /* 基本の影 */
    --basicBackground: linear-gradient(0deg, #FFE38C 0%, #FFFCF2 100%); /* 基本の背景 */

    --colorPaleOrange: #FFFCF2;  /* より薄いオレンジ色 */
    --colorLightOrange: #FFF2CC; /* 薄いオレンジ色 */
    --colorOrange: #FFD966;      /* オレンジ色 */
	--colorDarkOrange: #FFC000;  /* 濃いオレンジ色 */
    --colorBrown: #5E4C21;       /* 茶色 */
    --colorBlack: #595959;       /* 黒色 */
    --colorLightgray: #EFF1FB;   /* 薄いグレー */
}

*, ::before, ::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    /* min-width: 0;*/
}

body {
	margin: 0;
}

body.kenko {
	margin: 0;
    position: relative;

	/* フォント指定 */
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-style: normal;
}

.kenko div > img {
    width: 100%;
    height: auto;
}

/* ---------------
    header
----------------*/
header button, header input, header select {
	-webkit-appearance: none; /* 1 */
	appearance: none;
	vertical-align: middle;
	color: inherit;
	font: inherit;
	background: transparent;
	padding: 0;
	margin: 0;
	border-radius: 0;
	text-align: inherit;
	text-transform: inherit; /* 2 */
}

header :-moz-focusring {
  outline: auto;
}

header {
    margin: auto;
    padding: 10px 0;
    background-color: #FFFCF2;
	font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-style: normal;
}
header .header-wrapper {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: var(--basicWidth);
    max-width: 100%;
    margin: auto;
}

/* title */
header .header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--colorBrown);
    font-family: "decofont", sans-serif;
    width: 100%;
}
header .header-title .logo {
    width: 30%;
}
header .header-title .logo a {
	display: block;
    width: 100%;
	text-decoration: none;
	color: inherit;
}
header .header-title .logo img {
    width: inherit;
}
header .header-title .text {
    font-size: 1.8rem;
    width: 100%;
	margin: 0;
	text-decoration: none;
	color: inherit;
}
header .header-title .text a {
	text-decoration: none;
	color: inherit;
}
header .header-title .text a:active {
	text-decoration: none;
	color: inherit;
}
header .header-title .text span {
    display: inline-block;
    font-size: 1rem;
    margin: 5px 0;
    padding: 5px 20px;
    border-radius: 50px;
    background-color: var(--colorOrange);
}

/* 検索 */
header .header-search {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 35%;
    min-width: 18rem;
    justify-self: end;
}
header .header-search form {
    width: fit-content;
	margin: 0;
    padding: 0 15px 0 0;
    border-radius: 50px;
    background-color: var(--colorLightgray);
	box-shadow: var(--basicShadow);
}
header .header-search input[type="text"] {
    width: 15rem;
    height: 40px;
    padding: 5px 20px;
    outline: none;
    border-radius: inherit;
	border: none;
	background: inherit;
}
header .header-search button {
    width: 20px;
    aspect-ratio: 1;
    background-image: url(../images/icon_search.svg);
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

/* アクセシビリティ */
header .header-accessibility {
    width: fit-content;
    font-weight: normal;
}

header .header-accessibility select {
	cursor: pointer;
}

header .header-accessibility > div {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 5px 0;
}
header .header-accessibility .icon {
    width: 1.5rem;
}

header .header-accessibility img {
	width: 100%;
}

/* 文字サイズ変更 */
header .header-accessibility .textsize-button {
    display: flex;
    align-items: center;
    gap: 5px;
}
header .header-accessibility .textsize-button button {
	width: 2rem;
	aspect-ratio: 1;
	text-align: center;
	transition: .3s;
	border-radius: 5px;
	cursor: pointer;
}
header .header-accessibility .textsize-button button:hover {
	background-color: var(--colorOrange);
}
header .header-accessibility .textsize-button button:focus,
header .header-accessibility .textsize-button button.is-active {
	background-color: var(--colorOrange);
}

/* ---------------
    nav
----------------*
/* ナビゲーション（第二階層） */
.kenko nav {
    font-family: "decofont", sans-serif;
    padding: 0 0 5px;
    background-color: var(--colorPaleOrange);
    z-index: 1000;
}

.kenko nav > .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    width: var(--basicWidth);
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 30px 0;
    text-align: center;
    color: var(--colorBlack);
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--basicShadow);
	list-style: none;
}

.kenko nav > .nav-list li {
    width: calc((100% - 160px) / 6);
}

.nav-list > li {
  position: relative;
}

.kenko nav > .nav-list a {
    display: block;
    width: 100%;
    text-decoration: none;
	color: var(--colorBlack);
}

.kenko nav > .nav-list span {
    position: relative;
    display: block;
    width: 70%;
    height: 10px;
    margin: 5px auto 0;
    background-color: var(--colorLightgray);
    border-radius: 10px;
    overflow: hidden;
}

/* サブナビゲーション（第三階層） */
.sub-nav-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    width: var(--basicWidth);
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--basicShadow);
	position: relative; /* 栗原追加 */
    color: var(--colorBlack);
}

.sub-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-wrap: wrap;
    gap: 10px 20px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--basicShadow);
    z-index: 1000;
	list-style: none;
    flex-basis:100%;
}

.sub-nav-item .sub-nav-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: .2s;
	color: var(--colorBlack);
}

.sub-nav-list a:hover {
    color: var(--colorDarkOrange);
}

.sub-nav-list > li {
    margin-top: 1em;
    padding: .8em;
}

/* ---------------
    footer
----------------*/
footer {    
    padding: 20px 0;
    background-color: #000;
    color: #fff;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
}
footer > * {
    width: var(--basicWidth);
    max-width: 100%;
    margin: auto;
}

footer > ul.footer-ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto 20px;
    padding: 0;
    list-style: none;
}
footer > .footer-ul li a {
    text-decoration: underline;
	background-color: transparent;
    color: #fff;
}
footer > ul a::before {
    content: "";
    display: inline-block;
    width: 10px;
    aspect-ratio: 1;
    rotate: 45deg;
    margin-right: 10px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
	color: #fff;
}
footer > ul a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
	footer {    
	    padding: 15px;
	}

 	footer > ul.footer-ul {
    	gap: 10px 1rem;
	}

	footer > p {
		font-size: .8rem;
	}

	footer> ul a::before {
		content: none;
	}

	footer > p:nth-child(2) {
		border-top: solid 1px var(--colorLightgray);
		padding: .3rem 0;
	}
}

/* ---------------
    ボタン（茶色枠）
----------------*/
.kenko .btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.kenko .btns-item {
    width: fit-content;
    height: 100%;
}
.kenko .btns-item a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    height: 100%;
    padding: 8px 15px;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid var(--colorBrown);
}
.kenko .btns-item.rss a::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 100%;
    aspect-ratio: 1;
    background-image: url(../images/icon_rss.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.kenko .btns-item a::after {
    content: "";
    display: inline-block;
    width: 10px;
    aspect-ratio: 1;
    rotate: 45deg;
    border-top: solid 2px var(--colorBrown);
    border-right: solid 2px var(--colorBrown);
}

/* ---------------
    splideの共通設定
----------------*/
body.kenko .splide {
    margin: 0 auto;
}
body.kenko .splide__slide a {
	display: block;
	width: 100%;
	height: 100%;
	margin: auto;
}

.kenko .splide__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---------------
    ページトップへ戻るボタン
----------------*/
.pagetop {
    position: fixed;
    bottom: 50px;
	right: 40px;
    z-index: 10;
}
.pagetop a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    aspect-ratio: 1;
    background-color: #595959;
    border-radius: 10px;
}

@media (max-width: 768px) {
	.pagetop {
		right: 15px;
	}
	.pagetop a {
		width: 50px;
	}
}

/* ---------------
    お知らせ・ピックアップの一覧
----------------*/
.kenko .info-list, 
.kenko .content-wrapper .info-list {
	margin: 0;
	list-style: none;
}

.kenko .content-wrapper .info-list ul {
	margin: 0;
}

.kenko .info-list li + li {
    margin: 10px 0 0 0;
}
.kenko .info-list li a {
	position: relative;
    display: flex;
    gap: 10px;
    width: 100%;
	color: var(--colorBlack);
	text-decoration: none;
}
.kenko .info-list li a::after {
	content: none;
}

.kenko .info-list li a p {
	margin: 0;
	padding: 5px 20px;
    background-color: var(--colorLightgray);
}

.kenko .info-list .date {
    width: fit-content;
    min-width: 10rem;
    text-align: center;
}
.kenko .info-list .text {
    position: relative;
    width: 100%;
	margin: 0;
	padding: 5px 70px 5px 20px;
	text-decoration: underline;
}

.kenko .info-list .text:hover {
	text-decoration: none;
}

/* NEWマーク */
.info-list .new {
    position: absolute;
    top: 0;
    right: 0;
	z-index: 10;
    display: inline-block;
	width: fit-content;
    padding: 4px 1rem;
    background-color: #AF3632;
    color: #fff;
    border-radius: 50px;
	align-content: center;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.info-list .text:hover .new {
   background-color: #fff;
   color: #AF3632;
   border: 1.5px solid #AF3632;
}

/*.hover-underline .date::after,
.hover-underline .text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;

  opacity: 0;
  transform: scaleX(0.85);
  transition: 0.25s;
}*/

/* 下線 */
/*.hover-underline:hover .date::after,
.hover-underline:hover .text::after {
  opacity: 1;
  transform: scaleX(1);
}

.hover-underline .date,
.hover-underline .text {
  position: relative;
}*/

/* お知らせSP版 */
@media screen and (max-width: 768px) {
	.kenko .info-list li a {
    	display: grid;
		grid-template-columns: min-content;
	}

	.info-list .new {
		position: static;
		grid-area: 1 / 2 / 2 / 3;
		padding-top: 4px;
		text-decoration: none;
	}

	.kenko .info-list li a p {
		padding: 5px 20px;
	}

	.kenko .info-list .date {
		min-width: auto;
		grid-area: 1 / 1 / 2 / 2;
	}

	.kenko .info-list .text {
		grid-area: 2 / 1 / 3 / 3;
	}
}

/* ---------------
    お知らせ・ピックアップ
----------------*/
.kenko .info-content {
    position: relative;
    display: grid;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    font-weight: normal;
}

.kenko .info-content h2 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    font-size: 1.2rem;
    place-content: center;
}

.kenko .info-content .btns {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    display: flex;
    justify-content: end;
}

.kenko .content-wrapper .info-list {
    margin: 20px 0 0;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    
}

.info-list ul {
    margin: 20px 0;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    
}
.info-list ul li + li {
    margin: 10px 0 0 0;
}
.info-list ul li a {
    display: flex;
    gap: 10px;
    width: 100%;
}
.info-list ul p {
    line-height: 1.8rem;
    background-color: var(--colorLightgray);
}
.info-list ul .date {
    width: fit-content;
    min-width: 10rem;
    padding: 0 20px;
    text-align: center;
}
.info-list ul .text {
    position: relative;
    width: 100%;
    padding: 0 5.5rem 0 20px;
}

/* お知らせ */
.kenko .info-content.news {
    margin-top: 140px;
}
.kenko .info-content.news::before {
    content: url(../images/img_illust2.png);
    position: absolute;
    top: -160px;
    right: 0;
    /* background-image: url(../images/img_illust2.png);
    background-repeat: no-repeat;
    background-size: 300px; */
    width: fit-content;
    height: auto;

}



/* ---------------
    ホバーの動き（ホバー時に左→右にバーが伸びる）
----------------*/
.kenko .btn-hover-bar span {
	position: relative;
    display: block;
    width: 70%;
    height: 10px;
    margin: 5px auto 0;
    border-radius: 10px;
	overflow: hidden;
}

.kenko .btn-hover-bar span::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-color: var(--colorOrange);
	transition: transform 0.3s ease-out;
	transform: scaleX(0);
	transform-origin: left;
}
.kenko .btn-hover-bar:hover span::before {
	content: "";
	transform: scaleX(1);
}

/* ---------------
    ページ下のビルの絵
----------------*/
.kenko div.deco-city {
	width: var(--basicWidth);
	margin: 40px auto 0;
	text-align: center;
}

.kenko div.deco-city img {
	width: 100%;
	margin: auto;
	vertical-align: bottom;
}

.dashbord_banner {
   display: flex;
   justify-content: center;
   width: 100%;
}

.dashbord_banner img {
   width: fit-content;
  }

nav>.dashbord_banner{
   display: none;
   width: 100%;
}

@media (max-width: 1001px) {
	.kenko div.deco-city {
		width: 100%;
	}
}

/* ---------------
    ハンバーガーメニュー
----------------*/
.info {
  display: none;
  width: 40px;
  height: 40px;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 2000;
  cursor: pointer;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #333;
    margin: 5px 0px;
    border-radius: 10px;
}

/* ---------------
  　外部リンクマーク
----------------*/
a[href^="https"]:not(:has(img))::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("/images/icon_blanklink.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 0.3em;
    vertical-align: -0.15em;
}

/* ===== スマホ時だけ適用 ===== */

@media (max-width: 768px) {

  .kenko .content-wrapper {
    margin: 0;
    padding: 0;
  }

  /* ヘッダー要素（検索バー・翻訳・文字サイズ） */
  header {
    margin: auto;
    padding: .1em 0px 0px 0px;
  }

  div.header-wrapper {
    position: relative;
    flex-direction: column !important;
    align-items: flex-end;
    gap: 0.3em;
  }

  header .header-title {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 0 0 0 1em;
  }

  header .header-title .text {
    font-size: 2.2em;
  }

  header .header-title .logo img {
    width: 95%;
    padding-top: .3em;
  }

  div.header-search {
	display: block;
  }

  div.header-accessibility {
      display: flex;
      gap: 1em;
      margin-right: .8em;
  }

  header .header-accessibility select{
      line-height: 1.3;
      padding: 0 1em 0 0;
  }

  /* ハンバーガーボタン・Push通知ボタン */
  .info {
    display: block;
    position: absolute;
    top: 16px;
    right: 16px;
  }

   .push {
    right: 71px;
   }

   .info-wrapper {
    width: min-content;
    height: 0;
  }

  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 50%;
    background: #fff;
    transition: 0.3s;
    padding-top: 60px;
  }

　#nav:not(.active) {
  　right: -80%;
　}

  #nav.active {
    right: 0;
  }

  .dashbord_banner {
     display: flex;
     justify-content: center;
     width: 100%;
  }

  .dashbord_banner img {
     width: fit-content;
  }

.nav-list {
    display: flex !important;
    flex-direction: column;
    position: relative;
    gap: 60px;
  }

  .nav-list li {
    border-bottom: 1px solid #ddd;
    width:100% !important;
  }

  .sub-nav-list-container,
  .sub-nav-item {
    display: none !important;
  }

  .nav-list > li {
    position: relative; /* 子要素を絶対位置で出すための基準 */
  }

  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 15px;
  }

  .btn-mobile-bar {
    display: none;
  }

}