@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の自動調整を無効化 */

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

    /* 変数定義 */
    --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: #FFE38C; /* 薄いオレンジ色 */
    --colorOrange: #FFD966;      /* オレンジ色 */
    --colorBrown: #665224;       /* 茶色 */
    --colorBlack: #595959;       /* 黒色 */
    --colorLightgray: #EFF1FB;   /* 薄いグレー */
}

body.kenko {
    position: relative;
}

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

/* ---------------
    header
----------------*/
header {
    margin: auto;
    padding: 10px 0;
    background-color: #FFFCF2;
}
header .header-wrapper {
    display: flex;
    flex-wrap: wrap;
    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;
}
header .header-title .logo {
    width: 150px;
}
header .header-title .text {
    font-size: 1.8rem;
}
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;
    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;
}
header .header-search button {
    width: 20px;
    aspect-ratio: 1;
    background-image: url(../images/icon_search.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

/* アクセシビリティ */
header .header-accessibility {
    font-weight: normal;
}
header .header-accessibility > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}
header .header-accessibility .icon {
    width: 1.5rem;
}

/* 文字サイズ変更 */
header .header-accessibility .textsize-button {
    display: flex;
    align-items: center;
    gap: 5px;
}
header .header-accessibility .textsize-button button {
    padding: 2px;
}

/* ---------------
    nav
----------------*/
.kenko nav {
    font-family: "decofont", sans-serif;
	padding: 0 0 20px;
	background-color: var(--colorPaleOrange);
}
.kenko nav > .nav-list {
    display: flex;
    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);
}
.kenko nav > .nav-list li {
    width: calc((100% - 160px) / 6);
}

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

/* ---------------
    footer
----------------*/
footer {    
    padding: 20px 0 10px;
    background-color: #000;
    color: #fff;
    font-weight: 400;
}
footer > * {
    width: var(--basicWidth);
    max-width: 100%;
    margin: auto;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto 20px;
}
footer ul a {
    text-decoration: underline;
}
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;
}
footer ul a:hover {
    text-decoration: none;
}

/* ---------------
    ボタン（茶色枠）
----------------*/
.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;
}

/* ---------------
    ページトップへ戻るボタン
----------------*/
.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;
    padding: 20px;
    background-color: #595959;
    border-radius: 10px;
}

/* ---------------
    お知らせ・ピックアップの一覧
----------------*/
.kenko .info-list li + li {
    margin: 10px 0 0 0;
}
.kenko .info-list li a {
    display: flex;
    gap: 10px;
    width: 100%;
}
.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%;
}

/* NEWマーク */
.kenko .info-list .text .new {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    height: 100%;
    padding: 0 1rem;
    background-color: #AF3632;
    color: #fff;
    border-radius: 50px;
	align-content: center;
}


