@charset "utf-8";
/*==========
comon 
==========*/
* {
    box-sizing: border-box;
}

:root {
  /* color */
  --waterblue: #F5F8FA;
  --blue: #437591;
  --blueLow: #809EAE;
  --black: #563126;
  --yellow: #FFAE00;
  --green: #345C1E;
  --white: #FFFFFF;
/* style */
  --main-color: var(--waterblue);
  --sub-color: var(--blue);
  --tertiary-color: var(--blueLow);
  --text-color: var(--black);
  --accent-color-1: var(--yellow);
  --accent-color-2: var(--green);
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans JP',Arial,sans-serif;
    font-style: normal;
    color: var(--text-color);
    background-color: var(--main-color);
    display: none;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}



/* section */
.section {
    padding: 80px 6.6%;
}
.section-topics {
    text-align: center;
    padding-bottom: 70px;
}

.topics-tag {
    color: var(--accent-color-1);
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    font-weight: 500;
}

.topics-title {
    color: var(--sub-color);
font-family: "Zen Old Mincho";
font-size: 2.2rem;
font-weight: 500;
}

/* section pc */
@media screen and (min-width: 769px) {
    .section {
        padding: 80px 6.6%;
    }
}


/* viewmore btn */
.view-more{
    text-align: right;
    margin-top: 30px;
}

.view-more-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.7rem;
    font-weight: 400;
    gap: 5px;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
}
  
/* 丸囲み */
.circle-arrow {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
border: 1px solid var(--text-color);
border-radius: 50%;
position: relative;
gap: 1px;
padding-left: 1px; /* 微調整で中央寄せ */
}

.dli-arrow-right {
display: inline-block;
vertical-align: middle;
line-height: 1;
position: relative;
width: 7px;
height: 1px;
background: currentColor;
}

.dli-arrow-right::before {
content: '';
width: 5px;
height: 5px;
border: 1px solid currentColor;
border-left: 0;
border-bottom: 0;
transform: rotate(45deg);
transform-origin: top right;
position: absolute;
top: 50%;
right: -0.05em;
box-sizing: border-box;
}

/* ホバー時の色変化 */
.view-more-link:hover {
color: var(--sub-color);
border-color: var(--sub-color);
}

.view-more-link:hover .circle-arrow {
border-color: var(--sub-color);
}

/* second title */
.secondary-title {
    font-family: "Zen Kaku Gothic New";
    font-size: 2.0rem;
    font-style: normal;
    font-weight: 400;
    position: relative;
    text-align: center; 
    margin-bottom: 40px;
}

.secondary-title::before {
    background-color: var(--accent-color-1); /* 線の色 */
    bottom: -5px; /* 線の位置 */
    content: "";
    height: 3px; /* 線の高さ */
    left: 50%; /* 線の中央寄せ */
    position: absolute;
    transform: translateX(-50%); /* 線の中央寄せ */ 
    width: 50px; /* 線の長さ */
}

/* btn */
.btn {
	display: block;;
	text-align: center;
	text-decoration: none;
	width: 100%;
	margin: auto;
	padding: 9px 0;
	border: 2px solid var(--sub-color);
	background: var(--sub-color);
    color: var(--white);
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-weight: 400;
	border-radius: 100vh;
	transition: 0.5s;
}
.btn:hover {
	color: var(--sub-color);
	background: #fff;
}

.nav-contact {
    width: 190px;
}

/* ==========
header
========== */

.header {
    padding: 4px 6.6%;
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.header.is-scroll {
    background: var(--white); /* スクロール時の色 */
  }

.header-topic a, .nav-topic a{
    color: var(--accent-color-2);
}
.topic, .nav-topic{
    text-align: center;
    font-family: Lato;
    font-size: 1.6rem;
    font-weight: 300;
}
    

.header-topicName, .nav-topicName, .footer-topicName {
    font-family: Optima;
    font-size: 2.2rem;
    font-weight: 400;
}

.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    top: 12px;
}
  
.hamburger span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--sub-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}
  
.hamburger span:nth-child(1) { 
    top: 0; 
}
.hamburger span:nth-child(2) { 
    top: 9px;
    right: 0;
    width: 23px;
}
.hamburger span:nth-child(3) {
    top: 18px;
    right: 0;
    width: 18px;
}

/* nav 初期表示 */
.nav {
    background-color: var(--main-color);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    opacity: 0;
    transition: transform 1.0s ease-in-out, opacity 1.0s ease-in-out,visibility 1.0s ease;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
}

.nav.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.nav-header {
    padding: 6px 6.6%;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-closeBtn {
    background: none;
    border: none;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    position: relative;
}


.closeBtn {
    display: inline-block;
    vertical-align: middle;
    color: var(--sub-color);
    line-height: 1;
    width: 3rem;
    height: 0.1em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;
    transform: rotate(45deg);
}

.closeBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

.nav-list {
    padding-left: 6.6%;
    padding-top: 60px;
    list-style: none;
}

.nav-item {
    text-decoration: none;
    font-family: "Zen Kaku Gothic New";
    font-size: 2.0rem;
    font-weight: 400;
    margin-top: 40px;
}

.nav-btn {
    display: none;
}

/* header pc */
@media screen and (min-width: 769px) {
    .header {
        padding: 14px 4.8%;
    }

    .nav-header {
        padding: 14px 4.8%;
    }
}
@media screen and (min-width: 1050px) {
    .hamburger {
        display: none;
    }

    .nav {
        background: var(--main-color);
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav.is-scroll {
        background-color: var(--white); /* スクロール時の背景色 */
    }

    .nav-header {
        display: none;
    }

    .nav-list {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 2.2vw;
        padding: 0;
    }

    .nav-item {
        font-size: 1.6rem;
        margin-top: 0;
    }

    .nav-btn {
        display: block ;
    }
}

/* pc */
/*==========
 contact 
 ==========*/
.contact-txt {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.50; 
    text-align: center;
}

.contact-txt:last-of-type {
    margin-top: 15px;
}

.contactIcon {
    text-align: center;
    margin-top: 40px;
}

.lineIcon {
    margin-right: 120px;
}

.contactIcon-txt {
    display: flex;
    gap: 138px;
    justify-content: center;
}

.icon-txt {
    color: var(--sub-color);
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
}
/*footer bar*/
.article-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    border-bottom: 3px solid #ccc;
    z-index: 1;
    background-color: var(--white);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;                         /* ← 初期は非表示 */
    transform: translateY(100%);        /* ← 下に隠す */
    pointer-events: none;
}

/* 表示時 */
.article-footer.fixed.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* contactセクションに来たら非表示のまま */
.article-footer.fixed.none {
    opacity: 0;
    transform: translateY(100%);
    z-index: -1;
    pointer-events: none;
}

.fotter-btn {
    display: inline-flex; /* 横並び */
    align-items: center;  /* 縦中央揃え */
    font-family: "Zen Kaku Gothic New";
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--sub-color);
    padding: 10px;
    position: relative;
}


/* アイコンのスタイル */
.fotter-btn::before {
    position: absolute;
    top: 16px;
    left: -5px;
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid var(--sub-color);
    border-radius: 0.2em;
    transform: rotate(90deg);
}  

@media screen and (min-width: 769px) {
    .article-footer {
        display: none;
    }
}
/* ==========
footer
========== */
.footer {
    padding: 17px 6.6% 15px;
    background-color: var(--sub-color);
}

.footer-topic {
    color: var(--white);
}

.footer-menu {
    padding-top: 30px ;
}

.menu-list {
    list-style: none;
}

.menu-item {
    color: var(--white);
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    margin-top: 30px;
}

.copy {
    color: var(--white);
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    margin-top: 40px;
}

@media screen and (min-width: 769px) {
    .footer {
        padding: 70px 4.8% 20px;
    }

    .menu-list {
        display: flex;
        justify-content: center;
        gap: 4.2vw;
    }

    .menu-item {
        margin-top: 0;
    }
    
    .footer-menu {
        padding-top: 50px ;
    }
}

/* topに戻るボタン */
.topBtn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 100;
}

.topcircle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--tertiary-color);
    border-radius: 50%;
    position: relative;
    gap: 1px;
    padding-left: 1px; /* 微調整で中央寄せ */
}
    
.dli-arrow-top {
    display: inline-block;
    vertical-align: middle;
    color: var(--tertiary-color);
    line-height: 1;
    position: relative;
    width: 0.1em;
    height: 1em;
    background: currentColor;
}
  
.dli-arrow-top::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    top: -0.05em;
    right: 50%;
    box-sizing: border-box;
}

/* ホバー時の色変化 */
.topBtn:hover {
    color: var(--sub-color);
    border-color: var(--sub-color);
    }
    
.topBtn:hover .topcircle-arrow {
    border-color: var(--sub-color);
}

.topBtn:hover .dli-arrow-top::before{
    border-color: var(--sub-color);
}

.topBtn:hover .dli-arrow-top {
    color: var(--sub-color);
    border-color: var(--sub-color);
}

@media screen and (min-width: 769px) {
    .topcircle-arrow {
        width: 35px;
        height: 35px;
    }
}


  