.grey {
    background: #f5f5f5;
}
.ttl {
    border-top: 2px solid #80C8EF;
    display: grid;
    padding: 20px;
    line-height: 1.5;
    position: relative;
}
.ttl::before {
    content: "";
    display: block;
    width: 9px;
    background: #80C8EF;
    border-radius: .5em;
    height: 50px;
    position: absolute;
    left: 0;
    top: 27%;
}
.ttl::after {
    content: "";
    display: block;
    width: 9px;
    background: #BBEEEE;
    border-radius: .5em;
    height: 50px;
    position: absolute;
    left: 6px;
    top: 27%;
}
.ja {
    font-size: 24px;
    font-weight: 600;
}
.en {
    color: #777777;
}

/* ========= HEADER ========== */
.header {
    background: #80C8EF;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.header__inner {
    padding: 10px 35px;
    justify-content: space-between;
    position: relative;
}
.header__logo img {
    width: 207px;
}

/* ========= HAMBURGER MENU ========== */
.header__main {
    position: relative;
}
.header__nav {
    position: relative;
}
/* ハンバーガーメニューアイコン（2本の白い水平線） */
.hamburger {
    display: block;
    width: 50px;
    height: 20px;
    position: relative;
    cursor: pointer; /* マウスカーソルをポインタに変更 */
    z-index: 1001;
}
.hamburger::before,
.hamburger::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease; /* アニメーションの設定 */
}
.hamburger::before {
    top: 0;
}
.hamburger::after {
    bottom: 0;
}
/* ハンバーガーアイコンのホバー効果 */
.hamburger:hover::before,
.hamburger:hover::after {
    background: rgba(255, 255, 255, 0.8);
}
/* ナビゲーションメニュー */
.header__nav--list {
    position: fixed;
    top: 0;
    right: -100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 400px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 20px 50px;
    z-index: 1000;
    gap: 0;
    transition: right 0.3s ease;
    display: flex;
}
.header__nav--list li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #80C8EF;
    padding: 20px 0;
}
.header__nav--list li a {
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}
.header__nav--list li a:hover {
    color: #80C8EF;
}
/* メニューが開いている時の状態 */
#menu-toggle:checked ~ .header__nav--list {
    right: 0;
}
/* ハンバーガー → + に変形 */
#menu-toggle:checked + .hamburger::before {
    transform: rotate(90deg);
    top: 50%;
    background: #80C8EF;
    width: 20px;
    left: 40px;
}
#menu-toggle:checked + .hamburger::after {
    bottom: auto;
    top: 50%;
    background: #80C8EF;
    width: 20px;
    left: 40px;
}
#container {
    padding-top: 80px;
}
main#content {
    padding: 50px 0 0;
}

/* ========= MV ========== */
.mv {
    margin-top: 20px;
}
.mv__slider {
    width: 220%;
    margin-left: calc(-60% - 1em);
    opacity: 0;
    padding-bottom: 20px;
    margin-bottom: 50px !important;
}
.mv__slider.slick-slider .mv__slider--item {
    margin: 0 0.5em;
}
.mv__slider--item {
    position: relative;
}
/* スライダータグ */
.mv__slider--tag {
    background-color: #80C8EF;
    color: #fff;
    width: fit-content;
    border-radius: .5em 0 0;
    position: absolute;
    z-index: 1;
    padding: 0 1em;
}
.mv__tag--icon {
    width: 35px;
}
.mv__tag--text {
    font-size: 22px;
    margin-left: 0.3em;
}
/* スライダー画像 */
.mv__slider--img {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: fit-content;
    border-radius: .5em;
}
.mv__slider--img:before {
    content: "";
    display: block;
    padding-top: 50%;
}
/* スライダー画像の下3分の1を暗くするオーバーレイ */
.mv__slider--img:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33.33%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
    z-index: 1;
    pointer-events: none;
}
.mv__slider--img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    max-width: none;
    min-height: 100%;
    object-fit: cover;
}
.slick-slider div {
    transition: none;
}
/* スライダー説明 タイトル */
.mv__slider--description {
    position: absolute; /* item(画像)の中に配置 */
    bottom: 1em;
    left: 1em;
    color: #fff;
    font-size: 35px;
    line-height: 1.5;
    text-shadow: 0 0 5px #0e0e0e;
    z-index: 1;
}

/* ========= POPULAR ========== */
.popular.tp_popular {
    padding-bottom: 80px;
}
.post__archive {
    padding: 40px 0;
}
.no-results {
    border: solid 1px #c3c3c3;
    padding: 5em 0;
    text-align: center;
    margin-bottom: 50px;
    font-size: 14px;
}
.post__archive--item {
    background-color: #fff;
    padding: 20px;
    border-radius: .5em;
    margin-bottom: 35px;
}
.post__archive--description {
    width: 70%;
    padding-right: 12%;
}
.post__archive--ttl {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3%;
}
.post__archive--txt {
    margin-bottom: 7%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.post__archive--tag {
    display: flex;
    gap: 20px;
    color: #80C8EF;
    font-weight: 400;
}
.post__archive--img {
    width: 30%;
    border-radius: .5em;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.post__archive--img:before {
	content: "";
    display: block;
    padding-top: 100%;
}
.post__archive--img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
a:hover .post__archive--img img {
    transform: translate(-50%, -50%) scale(1.1);
}
.popular__banner img {
    width: 100%;
}
.category_page {
    padding-bottom: 50px;
}
.category__banner img {
    width: 100%;
}

/* ========= CATEGORY ========== */
.category.tp_category {
    padding-bottom: 80px;
}
.category__list {
    margin-top: 30px;
}
.category__list ul li {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 2%;
}
.category__list ul li:nth-child(3n) {
    margin-right: 0%;
}
.category__list a {
    display: block;
    text-align: center;
    width: 230px;
    justify-self: center;
    padding: 20px;
    background-color: #80C8EF;
    color: #fff;
    font-size: 20px;
    border-radius: .3em;
}

/* ========= SERVICE ========== */
.service.tp_service {
    padding-bottom: 80px;
}
.service__list {
    background: linear-gradient(135deg, #6997E3, #00B5FF);
    margin: 20px 0;
}
.service__list--inner {
    padding: 50px 20px;
}
.service__list--inner img {
    width: 100%;
}
.service__list--inner a {
    margin: 20px 0;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px hsl(0deg 0% 0% / 10%);
}
.service__list--img {
    display: block;
    margin-bottom: 2%;
}
.service__list--img img {
    width: 100%;
    border-radius: .5em;
}
.service__banner {
    margin: 50px auto 0;
}
.service__banner img {
    width: 100%;
}

/* ========= NEWS ========== */
.news.tp_news {
    padding-bottom: 80px;
}
.news__archive {
    margin-top: 40px;
}
.news__archive--content {
    display: block;
    border-top: 1px solid #cecece;
    padding: 1.3em 0 1.5em;
}
.news__archive--content:last-child {
    border-bottom: 1px solid #cecece;
}
.news__archive--date {
    color: #777777;
}
.news__archive--ttl {
    font-size: 20px;
}

/* ========= FOOTER ========== */
.footer {
    background-color: #80C8EF;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}
.footer__main {
    padding-top: 20px;
}
.footer__nav--list ul {
    gap: 20px;
    justify-content: center;
}
.footer__nav--list ul a {
    color: #fff;
}
.footer__copyright {
    text-align: center;
    padding-bottom: 1em;
    font-size: 11px;
    margin-top: 1em;
}

/* ========= AREA SEARCH ========== */
.area_search {
    background-image: url('../img/004.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}
.area_search__inner {
    max-width: 1140px;
}
.area_search__ttl {
    font-size: 33px;
    position: relative;
    padding-left: .6em;
}
.area_search__ttl::before {
    content: "";
    display: block;
    width: 9px;
    background: #80C8EF;
    border-radius: .5em;
    height: 50px;
    position: absolute;
    left: 0;
    top: 8%;
}
.area_search__ttl::after {
    content: "";
    display: block;
    width: 9px;
    background: #BBEEEE;
    border-radius: .5em;
    height: 50px;
    position: absolute;
    left: 6px;
    top: 8%;
}
.area_search__archive {
    margin: 50px 0;
}
.area_search__archive ul li {
    width: 23.5%;
    margin-right: 2%;
    padding: 0;
}
.area_search__archive ul li:nth-child(4n) {
    margin-right: 0;
}
.area_search__archive ul li a {
    display: block;
    text-align: center;
    width: 265px;
    max-width: 100%;
    justify-self: center;
    padding: 20px;
    background-color: #fff;
    color: #80C8EF;
    font-size: 24px;
    border-radius: .3em;
    margin-bottom: 7%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ========= SEARCH SECTION ========== */
.search-section {
    margin-top: 40px;
    text-align: center;
}
.search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.search-form {
    width: 100%;
}
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #87CEEB;
    border-radius: .5em;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
}
.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    border-color: #5F9EA0;
    box-shadow: 0 6px 25px rgba(135, 206, 235, 0.3);
    transform: translateY(-2px);
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 23px;
    font-weight: 400;
    color: #333;
    font-family: inherit;
    padding: 0;
    margin-right: 15px;
}
.search-input::placeholder { 
    color: #999;
    font-weight: 400;
}
.search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #87CEEB;
}
.search-button:hover {
    background: rgba(135, 206, 235, 0.1);
    color: #5F9EA0;
    transform: scale(1.1);
}
.search-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}
.ranking {
    margin-bottom: 80px;
}
.post__archive--ranking {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    gap: 5px;
    font-size: 20px;
}

/* ========= FLEXIBLE BUILDER ========== */
.post_content__bilder {
    margin-bottom: 80px;
}
.search-form-section {
    margin: 50px 0;
}
.search-form-section:first-child {
    margin-top: -50px;
}
.header-image {
    width: 100%;
    margin: 20px 0 30px;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.header-image:first-child {
    margin-top: -50px;
}
.header-image:before {
	content: "";
    display: block;
    padding-top: 20%;
}
.header-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
.title-section {
    margin-bottom: 40px;
}
.title-section time {
    color: #80C8EF;
    font-size: 13px;
}
.post-title {
    font-size: 24px;
    letter-spacing: 2px;
    margin: 0em 0 0.5em;
    font-weight: 600;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    align-items: center;
    gap: 10px;
}
.post-meta span.ad-tag {
    color: #80C8EF;
    display: block;
    padding: 0 1em;
    border: solid 1px #80C8EF;
    line-height: 1.3;
    border-radius: 4px;
}
.post-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
span.area-tag {
    color: #80C8EF;
    display: block;
    line-height: 1.3;
}
.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
span.category-tag {
    color: #80C8EF;
    display: block;
    line-height: 1.3;
}
.full-width-image {
    margin: 30px 0;
}
.full-width-image img {
    width: 100%;
}
.paragraph {
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    margin: 30px 0;
}
.person-card {
    box-shadow: 0 0 10px hsl(0deg 0% 0% / 20%);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    margin: 30px 0;
}
.person-header {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.person-image {
    width: 20%;
    position: relative;
    overflow: hidden;
	height: fit-content;
}
.person-image:before {
	content: "";
    display: block;
    padding-top: 100%;
}
.person-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
	max-width: none;
	min-height: 100%;
    object-fit: cover;
}
.person-info {
    width: 80%;
    padding: 0 1.5em;
}
.position {
    color: #7c7c7c;
    font-size: 14px;
    line-height: 1;
}
.post_content__bilder .person-info h3 {
    font-size: 21px;
    margin-bottom: 0.7em;
    padding-bottom: 0.5em;
    border-bottom: solid 1px #80c8ef;
}
.career {
    font-size: 14px;
}
.person-detail {
    font-size: 14px;
    margin-top: 15px;
}
.toggle-icon {
    font-size: 25px;
    font-weight: 600;
    position: absolute;
    right: 20px;
    top: 10px;
    color: #a0a0a0;
}
.post_content .ttl {
    border: none;
    padding: 20px 30px;
    position: relative;
    font-size: 23px;
    font-weight: 600;
    margin: 30px 0 15px;
}
.post_content .ttl::before {
    top: 12px;
}
.post_content .ttl::after {
    top: 12px;
}
div#table-of-contents {
    border: solid 1px #80C8EF;
    padding: 30px 30px 40px;
    font-size: 17px;
    box-shadow: 0 0 10px hsl(0deg 0% 0% / 20%);
    border-radius: 15px;
    margin: 40px 0;
}
div#table-of-contents h3.ttl {
    margin: 0 0 0.5em;
    font-size: 18px;
}
div#table-of-contents h3.ttl::before,
div#table-of-contents h3.ttl::after {
    height: 40px;
    top: 15px;
}
ul#toc-list a {
    display: block;
    width: 100%;
    color: #80C8EF;
}
.toc-h2 {
    border-top: solid 1px #80C8EF;
    padding: 1em 0;
    line-height: 2;
}
.toc-h2:last-child {
    border-bottom: solid 1px #80C8EF;
}
.toc-h2 > ul {
    margin-left: 1.5em;
}
.toc-h3 a {
    font-weight: 400;
    font-size: 16px;
}
.toc-h3 > ul {
    margin-left: 1.5em;
}
.post_content__bilder h3 {
    font-size: 20px;
    font-weight: 600;
    border-bottom: solid 1px #80C8EF;
    padding-bottom: 0.5em;
    margin-bottom: 30px;
}
.post_content__bilder h4 {
    font-size: 17px;
    font-weight: 600;
    border-bottom: solid 1px #80C8EF;
    padding-bottom: 0.5em;
    margin-bottom: 30px;
}
.custom-list {
    margin: 30px 0;
    font-weight: 400;
}
.custom-list li {
    position: relative;
    padding-left: 1.5em;
}
.custom-list li:before {
    content: "";
    width: 0.6em;
    height: 0.6em;
    position: absolute;
    display: block;
    background: #80c8ef;
    left: 0;
    top: 0.55em;
}
/* ===========================================
   Table Styles
   =========================================== */
.table-type1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin: 30px 0;
}
.table-type1 thead th {
    background: #80C8EF;
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    text-align: center;
    border: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    border-left: 1px solid #E0E0E0;
}
.table-type1 tbody td {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #E0E0E0;
    border-left: 1px solid #E0E0E0;
    border-top: none;
    text-align: center;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}
.table-type1 tbody td:last-child {
    border-right: 1px solid #E0E0E0;
}
.table-type1 tbody tr:hover td {
    background-color: #F8F9FA;
}

/* Table Type 2 - 詳細情報テーブル */
.table-type2 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin: 30px 0;
}
.table-type2 tbody tr {
    border-bottom: 1px solid #ADD8E6;
}
.table-type2 tbody tr:last-child {
    border-bottom: none;
}
.table-type2 tbody td:first-child {
    background: linear-gradient(135deg, #87CEEB, #ADD8E6);
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    text-align: center;
    width: 30%;
    border-right: 1px solid #ADD8E6;
    vertical-align: middle;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.table-type2 tbody td:last-child {
    background: white;
    padding: 15px 20px;
    border: none;
    vertical-align: middle;
    width: 70%;
    border-bottom: solid 1px #80c8ef;
    border-right: solid 1px #80c8ef;
}
.table-type2 tbody th {
    background: #80C8EF;
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: solid 1px #fff;
}
.table-type2 tbody tr:last-child th {
    border-bottom: unset;
}
.table-type2 tbody tr:first-child td {
    border-top: solid 1px #80c8ef;
}
@media (max-width: 768px) {
    .table-type1,
    .table-type2 {
        font-size: 14px;
    }
    .table-type1 thead th,
    .table-type1 tbody td,
    .table-type2 tbody td {
        padding: 10px 15px;
    }
    .table-type2 tbody td:first-child {
        width: 35%;
    }
    .table-type2 tbody td:last-child {
        width: 65%;
    }
}
@media (max-width: 480px) {
    .table-type1,
    .table-type2 {
        font-size: 12px;
    }
    .table-type1 thead th,
    .table-type1 tbody td,
    .table-type2 tbody td {
        padding: 8px 10px;
    } 
    .table-type2 tbody td:first-child {
        width: 40%;
    }
    .table-type2 tbody td:last-child {
        width: 60%;
    }
}
.cta-section {
    margin: 50px auto;
    width: 80%;
}
.cta-section a {
    background: linear-gradient(135deg, #6997E3, #00B5FF);
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding: 0.3em;
    font-size: 22px;
    letter-spacing: 2px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cta-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(105, 151, 227, 0.3);
}
.cta-section a::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}
.cta-section a:hover::after {
    right: 15px;
}