@charset "utf-8";
/* CSS Document */

/* fukagawa-hp.or.jp
-----------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300..700&family=Noto+Serif+JP:wght@300..700&family=Kosugi+Maru&display=swap');

/* ==============================================
    universal reset
============================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ==============================================
    html,body and base
============================================== */
html,body {
	height: 100%;
}

/* general params
------------------*/
table {
	empty-cells: show;
	font-size: 100%;
	border-collapse: collapse;
}

img {
	border: none;
	height: auto;
	vertical-align: top;
    image-rendering: -webkit-optimize-contrast;
}

.photo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.photo p {
    width: calc(calc(100% - 20px)/2);
    max-width: 440px;
    margin-top: 3em;
    text-align: center;
}
.photo p img {
    width: 100%;
    margin-bottom: 0.3em;
}
@media screen and (max-width: 600px) {
    .photo {
        display: block;
        margin-top: 2em;
    }
    .photo p {
        width: 100%;
        max-width: 320px;
        margin: 1.2em auto;
        text-align: center;
    }
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}
h1,h2,h3,h4,h5,h6,strong,th {
	font-weight: 500;
}

ul {
	letter-spacing: -.40em;
}
ul li {
	letter-spacing: normal;
}
/* acronyms and abbreviations styles 
-------------------------------------*/
acronym,abbr {
	cursor: help;
}

/* ==============================================
    clear
============================================== */
.cbox {
	zoom: 100%;
}
.cbox:after {
	content: "";
	clear: both;
	height: 0;
	display: block;
}

/* ==============================================
    body
============================================== */
body {
	text-align: center;
	line-height: 1.2;
    color: #2a2c2d;
	-webkit-text-size-adjust: 100%;
    font-size: 16px;
}
@media screen and (max-width: 600px) {
	body {
        font-size: 14px;
	}
}
@media screen and (max-width: 500px) {
	body {
		min-width: 300px;
	}
}
@media print {
	body {
		min-width: 950px;
	}
}
body,
input,
select,
textarea {
	font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    /*font-feature-settings: "palt";*/
    font-weight: 500;
    font-style: normal;
}
form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
	-webkit-appearance: none;
}

/* ==============================================
    link
============================================== */
a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
}
a,
a::before,
a::after {
    transition: all .4s ease;
}
main a {
    color: #20a7ac;
    text-decoration-color: currentColor;
}
@media (hover: hover) {
    a:hover {
        color: #20a7ac;
    }
	main a:hover {
		/* opacity: 0.7; */
        text-decoration-color: transparent;
	}
    #menu a:hover,
    #breadcrumb a:hover,
    #footer_about table + p a:hover {
        text-decoration-color: currentColor;
    }
}

/* ==============================================
    
============================================== */
main {
    width: 100%;
    max-width: 1300px;
	margin: 0 auto;
	text-align: left;
}
@media screen and (max-width: 1380px) {
    main {
        width: calc(100% - 80px);
    }
}
@media screen and (max-width: 1050px) {
    main {
        width: calc(100% - 40px);
    }
}
@media screen and (max-width: 500px) {
    main {
        width: calc(100% - 20px);
    }
}

.sp {
	display: none;
}
.switch {}
.call {}

/* ==============================================
    container
============================================== */
#container {
	position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer {
    margin-top: auto;
}

/* ==============================================
    header
============================================== */
:root {
    --header-height: 96px;
}
@media screen and (max-width: 950px) {
    :root {
        --header-height: clamp(4rem, 1.778rem + 7.11vw, 6rem);
    }
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 125px;
    background: rgba(255, 255, 255, 0.80);
    z-index: 10;
}
header h1 {
    position: relative;
    z-index: 100;
}
header h1 img {
    width: auto;
    height: calc(var(--header-height)*0.73);
}

#globalNavi ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
	list-style: none;
    text-align: left;
}
#globalNavi li + li {
    margin-left: 4em;
}
#globalNavi li:not(.call) a {
    position: relative;
    padding: 0.4em 0.5em;
}
#globalNavi li a {
    display: block;
    color: #20a7ac;
}
#globalNavi li a::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #20a7ac;
    transform: translateX(-50%);
    transition: all .4s;
}
#globalNavi ul:first-of-type {
    margin-bottom: 0.4em;
    font-weight: 500;
}
#globalNavi ul:first-of-type li {
    font-size: 0.875em;
    color: #20a7ac;
}
#globalNavi ul:first-of-type li.call,
#menu p.call {
    padding-left: 1em;
    background: url("image/header_call.svg") no-repeat left center / 18px auto;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 1.5em;
    color: #20a7ac;
}
#menu p.call a {
    color: #fff;
}
#globalNavi ul:first-of-type li + li {
    margin-left: 2em;
}
@media (hover: hover) {
    #globalNavi li a:hover::after {
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    header {
        padding-right: clamp(5.625rem, 1.109rem + 11.29vw, 7.813rem);
    }
    #globalNavi ul:first-of-type li:not(.call),
    #globalNavi ul:last-of-type {
        display: none;
    }
    #globalNavi ul:first-of-type {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 640px) {
    #globalNavi li.call {
        display: none;
    }
}

/* ==============================================
    menuBtn span
============================================== */
#menuBtn {
	position: fixed;
	top: calc(var(--header-height) * 0.14);
	right: 20px;
	width: calc(var(--header-height) * 0.72);
    height: calc(var(--header-height) * 0.72);
    border-radius: 50%;
    background: #57c0c4;
	cursor: pointer;
	z-index: 12;
    overflow: hidden;
}
#menuBtn:before,
#menuBtn:after {
	content: "";
	display: block;
	position: absolute;
	width: 34%;
	height: 2px;
	background: #fff;
	top: 50%;
	left: 50%;
    margin-left: -17%;
	transition: all .4s;
	opacity: 1;
}
#menuBtn:before { transform: translate(0, -4px); }
#menuBtn:after { transform: translate(0, 4px); }
#menuBtn.active {
    background: #fff;
}
#menuBtn.active:before,
#menuBtn.active:after {
    background: #57c0c4;
}
#menuBtn.active:before { transform: rotate(45deg); }
#menuBtn.active:after { transform: rotate(-45deg); }
@media screen and (max-width: 500px) {
	#menuBtn {
	    top: calc(var(--header-height) * 0.16);
        width: calc(var(--header-height) * 0.68);
        height: calc(var(--header-height) * 0.68);
	}
    #menuBtn:before { transform: translate(0, -3px); }
    #menuBtn:after { transform: translate(0, 3px); }
}

/* ==============================================
    header / breadcrumb / footer / menuBtn
============================================== */
#breadcrumb,
footer {
    padding-left: 40px;
    padding-right: 40px;
}
@media screen and (max-width: 1050px) {
    #breadcrumb,
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (max-width: 500px) {
    header,
    #breadcrumb,
    footer {
        padding-left: 10px;
        padding-right: 10px;
    }
    #menuBtn {
        right: 10px;
    }
}

/* ==============================================
    menu
============================================== */
#menu {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100svh;
    padding-top: calc(var(--header-height) - 2em);
    transform: translateX(100%);
    opacity: 0;
    transition: opacity .35s, visibility .35s, transform .45s;
    z-index: 11;
    text-align: left;
}
#menu,
#menu a {
    color: #fff;
}
#menu_inner {
    overflow-y: auto;
    padding-bottom: 2em;
}
#menu::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: #57c0c4;
    opacity: 0.9;
    z-index: -1;
}
#menu.active {
    transform: translateX(0);
    opacity: 1;
}

#menu p {
    margin: 1.4em 0 0.3em;
    font-size: 1.875em;
    font-weight: 400;
}
#menu p:not(.call) a::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0.7em;
    height: 0.7em;
    margin-top: -0.2em;
    margin-right: 0.5em;
    background: url("image/arrow_w.svg") no-repeat left center;
}
#menu p.call {
    margin-top: 3.5em;
    padding-left: 1.2em;
    background-image: url("image/menu_call.svg")
}
#menu ul {
	list-style: none;
}
@media screen and (max-width: 840px) {
    #menu {
        font-size: 0.875em;
    }
    #menu li {
        font-weight: 400;
    }
}
@media screen and (max-width: 840px) and (min-width: 641px) {
    #menu_inner {
        grid-template-columns: 11fr 7fr;
    }
}
@media screen and (min-width: 641px) {
    #menu_inner {
        width: 96%;
        max-width: 970px;
        display: grid;
        grid-template-columns: 11fr 9fr;
    }
    #menu p.sub {
        font-size: 1.375em;
    }
    #menu p.sub:has(a[href*="download/"]) {
        margin-top: 3em;
    }
    #menu ul {
        max-width: 25em;
    }
    #menu li {
        display: inline-block;
        vertical-align: top;
        margin-top: 0.5em;
        margin-right: 1em;
    }
    #menu li.sp {
        display: none;
    }
    #menu .call {
        display: none;
    }
}
@media screen and (max-width: 640px) {
    #menu {
        padding-top: var(--header-height);
        font-size: 16px;
    }
    #menu_inner {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    #menu p {
        margin: 0;
        border-top: 1px solid #fff;
        font-size: 1em;
    }
    #menu p a {
        display: block;
        padding-top: 1.3em;
        padding-bottom: 1.3em;
    }
    #menu p.haslist a {
        pointer-events: none;
    }
    #menu p.call {
        margin-top: 2em;
        border: none;
    }
    #menu p.call a {
        padding-top: 0;
        padding-bottom: 0;
    }

    #menu p + ul {
        height: 0;
        visibility: hidden;
        opacity: 0;
        transition: opacity .25s, visibility .25s, transform .35s;
        transform: translateY(-5px);
        margin-top: -0.8em;
        margin-left: 1.3em;
    }
    #menu p.haslist.open + ul {
        height: auto;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 1em;
    }
    #menu li {
        margin-top: 0.6em;
        font-size: 0.875em;
        transition: all .4s;
    }  
    #menu li.sp {
        display: block;
    }
}
@media screen and (max-width: 500px) {
    #menu_inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (min-width: 641px) and (max-height: 800px) {
    #menu {
        font-size: 0.875em;
    }
}
@media screen and (min-width: 641px) and (max-height: 700px) {
    #menu p {
        margin-bottom: 0.1em;
        font-size: 1.625em;
    }
}

/* ==============================================
    main
============================================== */
main p {
	line-height: 1.825;
}
main dt,
main dd,
main th,
main td,
main li {
	line-height: 1.5;
}
@media screen and (max-width: 700px) {
    main p {
        line-height: 1.625;
    }
    main dt,
    main dd,
    main th,
    main td,
    main li {
        line-height: 1.25;
    }
}

th,
td {
    padding: 1.5em 1em;
    border: 1px solid #d9d9d9;
    text-align: center;
}
th {
    background: #f5f5f5;
}
@media screen and (max-width: 700px) {
    th,
    td {
        padding: 1em 0.8em;
    }
}
@media screen and (max-width: 500px) {
    th,
    td {
        padding: 1em 0.5em;
    }
}

p.memo {
    padding-left: 1em;
    text-indent: -1em;
}

.photo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.photo p {
    width: calc(calc(100% - 20px)/2);
    max-width: 440px;
    margin-top: 3em;
    text-align: center;
}
.photo p img {
    width: 100%;
    margin-bottom: 0.3em;
}
@media screen and (max-width: 600px) {
    .photo {
        display: block;
        margin-top: 2em;
    }
    .photo p {
        width: 100%;
        max-width: 320px;
        margin: 1.2em auto;
        text-align: center;
    }
}

ul.listDot li,
ol.listNum li,
#entryText li {
    list-style: none;
}
.listDot li,
ol.listNum li,
#entryText li {
	position: relative;
}

.listDot li + li,
ol.listNum li + li,
#entryText li + li {
    margin-top: 0.6em;
}

.listDot li::before,
ol.listNum li::before,
ol.listNum li::after,
#entryText li::before {
	position: absolute;
	left: 0;
	display: inline-block;
}
ul.listDot li,
#entryText li {
    padding-left: 1.6em;
}
.listDot li::before,
#entryText li::before,
ol.listNum li:after {
    content: "";
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background: #57c0c4;
	top: 0.55em;
}

ol.listDot {
    padding-left: 2.6em;
}
ol.listDot li::before {
    position: absolute;
    left: -2.4em;
    top: 0.45em;
}
@media screen and (max-width: 500px) {
    ul.listDot li,
    #entryText li {
        padding-left: 1.3em;
    }
    .listDot li::before,
    #entryText li::before,
    ol.listNum li:after {
        width: 0.6em;
        height: 0.6em;
        top: 0.4em;
    }
    ol.listDot {
        padding-left: 2.3em;
    }
    ol.listDot li::before {
        left: -2.1em;
        top: 0.45em;
    }
}

/* Youtube レスポンシブ用 */
.movie_wrap {
	position: relative;
	/*padding-top: 56.25%;
	height: 0;*/
    aspect-ratio: 16/9;
	overflow: hidden;
}
.movie_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==============================================
    footer
============================================== */
footer {
    width: 100%;
    max-width: 1600px;
    margin: 7em auto 0;
    text-align: left;
    font-size: 16px;
}
footer h1 img {
    width: 70%;
    max-width: 282px;
}
#footer_about dl,
#footer_about table,
#footer_about p,
footer nav div p,
footer nav div ul {
    font-size: 0.875em;
}
#footer_about strong {
    display: block;
    margin: 2.8em 0 2em;
    font-size: 1.125em;
}
#footer_about dl {
    display: grid;
    grid-template-columns: 130px auto;
    grid-gap: 20px 0;
    margin-bottom: 4em;
}
#footer_about dt,
#footer_about dd {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 28px;
    line-height: 1.375;
}
#footer_about dt {
    padding-left: 3.6em;
    background: no-repeat left center;
    background-size: 1.9em auto;
}
#footer_about dd {
    padding-left: 20px;
}
#footer_about dt:nth-of-type(1) { background-image: url("image/icn_map.svg"); }
#footer_about dt:nth-of-type(2) { background-image: url("image/icn_phone.svg"); }
#footer_about dt:nth-of-type(3) { background-image: url("image/icn_time.svg"); }
#footer_about dt:nth-of-type(4) { background-image: url("image/icn_close.svg"); }
#footer_about dd::before {
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    width: 1px;
    height: calc(100% - 10px);
    background: #d9d9d9;
    transform: translateY(-50%);
}
#footer_about dd a {
    color: currentColor;
}
#footer_about dd br {
    display: none;
}

#footer_about td,
#footer_about th {
    text-align: center;
}

#footer_about table,
#footer_about table + p {
    width: 100%;
    max-width: 580px;
}
#footer_about tbody th {
    width: 24%;
    white-space: nowrap;
}
#footer_about table + p {
    margin-top: 0.3em;
    text-align: right;
}
#footer_about table + p a {
    color: #57c0c4;
}

footer nav h2 {
    padding: 1.5em 0;
    border-bottom: 1px solid #d9d9d9;
    color: #747474;
    grid-column: 1 / 3;
}
footer nav p {
    margin: 2.5em 0 0.5em;
}
footer nav p a {
    color: currentColor;
}
footer nav ul {
	list-style: none;
}
footer nav li {
    display: inline-block;
    vertical-align: top;
    margin-top: 0.7em;
    margin-right: 1em;
}
footer nav li:last-child {
    margin-right: 0;
}
footer nav li a {
    color: #aeaeae;
}

@media screen and (min-width: 741px) {
    footer {
        display: grid;
        grid-template-columns: 6fr 7fr;
        align-items: start;
        grid-gap: 0 2em;
    }
}
@media screen and (max-width: 1100px) {
    footer nav p {
        margin: 2.2em 0 0.3em;
    }
}
@media screen and (max-width: 1050px) {
    #footer_about dl {
        grid-template-columns: 115px auto;
        grid-gap: 20px 0;
    }
    #footer_about dt {
        padding-left: 3em;
    }
}
@media screen and (max-width: 950px) {
    #footer_about dd br {
         display: block;
    }
    footer nav p {
        margin: 1.8em 0 0;
    }
}
@media screen and (min-width: 841px) {
    footer nav {
        display: grid;
        grid-template-columns: minmax(calc(17em*0.875), 6fr) minmax(calc(14em*0.875), 4fr);
    }
    footer nav div:first-of-type ul {
        max-width: calc(26em*0.875);
    }
    footer nav div:first-of-type {
        padding-right: 1em;
    }
}
@media screen and (max-width: 840px) {
    footer {
        grid-template-columns: 335px auto;
        grid-gap: 0 2.5em;
    }
    #footer_about dl {
        margin-bottom: 3em;
    }
    #footer_about td,
    #footer_about th {
        padding: 1.3em 1em;
    }
    footer nav p {
        margin: 1.4em 0 0;
    }
    footer nav li {
        margin-top: 0.5em;
    }
}
@media screen and (max-width: 740px) {
    footer h1 img {
        width: 58%;
    }
    #footer_about strong {
        margin: 2em 0 1.5em;
    }
    #footer_about dl {
        grid-gap: 15px 0;
        margin-bottom: 2em;
    }
    #footer_about dd br {
         display: none;
    }
    #footer_about td,
    #footer_about th {
        padding: 1em;
    }
    footer nav h2 {
        padding: 3em 0 1em;
    }
}
@media screen and (max-width: 500px) {
    footer {
        margin-top: 3em;
    }
    #footer_about table,
    #footer_about table + p,
    footer nav div ul {
        font-size: 0.75em;
    }
}
@media screen and (max-width: 440px) {
    #footer_about dd br {
         display: block;
    }
}

/* ==============================================
    copyright
============================================== */
#copyright {
    margin-top: 4em;
    padding-bottom: 2em;
	text-align: center;
    font-size: 0.875em;
    color: #747474;
}

/* ==============================================
    スクロールアニメーション
============================================== */
.scrollin {
	opacity : 0;
	visibility: hidden;
	transition: 0.5s;
}
.scrollin.active {
	opacity: 1;
	visibility: visible;
}
.scrollin.fadein { transform: translateY(50px); }
.scrollin.fadein.active { transform: translateY(0); }
.scrollin.slidein { transform: translateX(200px); }
.scrollin.slidein.active { transform: translateX(0); }

/* ==============================================
    contact
============================================== */
.contact strong {
    display: block;
    text-align: center;
}
.contact a {
    text-decoration: none;
}
.contact dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5em;
    padding: 35px 0;
    border-radius: 30px;
    font-weight: 700;
}
.contact dt {
    margin-bottom: 0.5em;
    font-size: 20px;
}
.contact .call {
    margin-bottom: 0.3em;
    padding-right: 50px;
    font-size: 44px;
	font-family: "Noto Serif JP", serif;
}
.contact .call::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0.9em;
    height: 0.9em;
    margin-right: 0.5em;
    margin-bottom: 5px;
    background: url(image/header_call.svg) no-repeat center center;
    background-size: contain;
}
@media screen and (max-width: 1000px) {
    .contact dt {
        font-size: clamp(1rem, 0.417rem + 1.33vw, 1.25rem);
    }
    .contact .call {
        padding-right: clamp(1.25rem, -3.125rem + 10vw, 3.125rem);
        font-size: clamp(1.875rem, -0.167rem + 4.67vw, 2.75rem);
    }
}
