@charset "utf-8";
/* CSS Document */

/* SampleSite
-----------------------------------------------------*/
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&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;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	font-size: 100%;
}

h1 img,h2 img,h3 img,h4 img,h5 img,h6 img {
}

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: #000;
    font-size: 16px;
	-webkit-text-size-adjust: 100%;
}
@media screen and (max-width: 700px) {
	body {
		min-width: 300px;
	}
}
@media screen and (max-width: 500px) {
	body {
        font-size: 14px;
	}
}
@media print {
	body {
		min-width: 950px;
	}
}
body,
input,
select,
textarea {
	font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
input,
select,
textarea {
    font-size: 100%;
}
form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
	-webkit-appearance: none;
}

/* ==============================================
    link
============================================== */
a {
	transition: all .4s;
    color: currentColor;
}
@media (hover: hover) {
	a:hover {
        text-decoration: none;
		/*opacity: 0.7;*/
	}
	a img.rollover:hover {
		opacity: 1;
	}
}

/* ==============================================
    
============================================== */
.inner  {
    width: 100%;
    max-width: 1080px;
	margin: 0 auto;
}
.sp {
	display: none;
}
.call {}

/* ==============================================
    container
============================================== */
#container {
	position: relative;
    overflow: hidden;
}
#container > video {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: -1;
    min-width: 100%;
    min-height: 100vh;
    transform: translate(-50%, -50%);
}
#visual {
    height: 100dvh;
}
#inner {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 100dvh;
}
footer {
    margin-top: auto;
}
@media screen and (max-width: 700px) {
    #container > video {
        min-height: 145vw;
    }
    #visual {
        height: 145vw;
    }
    #inner {
        padding-top: 145vw;
    }
}

/* ==============================================
    header
============================================== */
header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    padding-left: calc(var(--padding-lr) + 5px);
    padding-right: var(--padding-lr);
    font-weight: 700;
    z-index: 100;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header h1 img {
    width: 310px;
}

header nav li {
	list-style: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2em;
}
header nav li a {
    color: #251e1c;
    text-decoration: none;
}
header nav p a {
    display: block;
    width: 150px;
    margin-left: 3.3em;
    padding: 1.3em 0;
    background: #f00;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}
@media (hover: hover) {
    header nav li a:hover,
	header nav p a:hover {
        opacity: 0.7;
	}
}
@media screen and (max-width: 1000px) {
    header {
        padding-top: 20px;
    }
    header nav {
        font-size: 14px;
    }
    header nav li {
        margin-left: 1.5em;
    }
    header nav p a {
        width: 110px;        
        margin-left: 2em;
        padding: 1em 0;
    }
}
@media screen and (max-width: 900px) {
    header {
        padding-left: 15px;
    }
    header h1 img {
        width: 34vw;
    }
}
@media screen and (max-width: 740px) {
    header h1 img {
        width: 250px;
    }
}
@media screen and (max-width: 700px) {
    header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    header nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        background: #3f3c3c;
        width: 100vw;
        height: 100vh;
        padding-top: 80px;
        font-size: 16px;
    }
    header nav ul {
        border-top: 1px solid #fff;
    }
    header nav li {
        display: block;
        text-align: center;
        margin-left: 0;
    }
    header nav li a {
        display: block;
        padding: 1.5em;
        border-bottom: 1px solid #fff;
        color: #fff;        
    }
    header nav .pc {
        display: none;
    }
    header nav .sp {
        display: block;
    }
}

/* ==============================================
    menuBtn span
============================================== */
#menuBtn {
	display: none;
	position: fixed;
	top: 7px;
	right: 0;
	width: 60px;
	height: 60px;
	overflow: hidden;
	cursor: pointer;
	z-index: 101;
}
#menuBtn span,
#menuBtn:before,
#menuBtn:after {
	display: block;
	position: absolute;
	width: 20px;
	height: 2px;
	background: #3f3c3c;
	top: 30px;
	left: 20px;
	transition: all .4s;
	opacity: 1;
}
#menuBtn span {
	margin-top: -1px;
	transition: opacity 150ms 50ms;
}

#menuBtn:before,
#menuBtn:after {
	content: "";
}
#menuBtn:before { transform: translate(0, -10px); }
#menuBtn:after { transform: translate(0, 9px); }
#menuBtn.active span,
#menuBtn.active:before,
#menuBtn.active:after {
    background: #fff;
}
#menuBtn.active span { opacity: 0; }
#menuBtn.active:before { transform: rotate(45deg); }
#menuBtn.active:after { transform: rotate(-45deg); }
@media screen and (max-width: 700px) {
    #menuBtn {
        display: block;
    }
}

/* ==============================================
    visual
============================================== */
#visual {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#container.show #visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
header,
video,
#visual strong,
#visual h1 {
    transition: opacity .35s, visibility .35s, transform .45s;
}

@keyframes videofade {
  from { opacity : 0; }
  to { opacity : 0.65; }
}
@keyframes fadein {
  from { opacity : 0; }
  to { opacity : 1; }
}
@keyframes logo {
  from { opacity : 0; transform: scale(1.5); }
  to { opacity : 1; transform: none; }
}
@keyframes date {
  from { opacity : 0; transform: translateY(15px); }
  to { opacity : 1; transform: translateY(0); }
}

/* 動きの長さ調整 */
video {
    animation: videofade 1s ease-out both;
}
header {
    animation: fadein 1s ease-out both;
    animation-delay: 2s;
}
#visual strong {
    animation: fadein 2s ease-out both;
    animation-delay: 2.2s;
}
#visual h1 {
    animation: logo .8s ease-out both;
    animation-delay: 3.4s;
}

#visual img {
    width: auto;
}
#visual strong {
    margin-top: 8dvh;
}
#visual strong img {
    height: 6.82dvh;
}
#visual h1 {
    margin: 5.5dvh 0 13dvh;
}
#visual h1 img {
    height: 30dvh;
}
@media screen and (max-width: 1100px) {
    #visual strong img {
        width: 49vw;
        height: auto;
    }
    #visual h1 {
        margin: 4vw 0 9.7vw;
    }
    #visual h1 img {
        width: 76vw;
        height: auto;
    }
}
@media screen and (max-width: 700px) {
    #visual strong img {
        width: 79vw;
        max-width: 500px;
    }
    #visual h1 img {
        width: 60vw;
        max-width: 380px;
    }
    #visual h1 {
        margin: 6vw 0 10vw;
    }
}

/* ==============================================
    main
============================================== */
main,
footer {
    background: #fff;
}

.center {
    text-align: center;
}
.right {
    text-align: right;
}

.movie_wrap {
	position: relative;
	padding-top: 56.25%;
	height: 0;
	overflow: hidden;
}
.movie_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

main p {
	line-height: 1.875;
}
main dt,
main dd,
main th,
main td,
main li {
	line-height: 1.5;
}
@media screen and (max-width: 600px) {
    main p {
        line-height: 1.5;
    }
    main dt,
    main dd,
    main th,
    main td,
    main li {
        line-height: 1.375;
    }
}

/* ==============================================
    
============================================== */
:root {
    --padding-lr: 20px;
}
@media screen and (max-width: 400px) {
    :root {
        --padding-lr: 15px;
    }
}

#template,
#share,
#contact div {
    margin: auto;
    border-radius: 45px;
    background: #fff;
}
@media screen and (max-width: 600px) {
    #template,
    #share,
    #contact div {
        border-radius: clamp(1.875rem, 0.793rem + 4.62vw, 2.813rem);
    }
}


#intro,
#features,
#advantage,
#detail,
#template {
    margin-bottom: 50px;
}
#intro {
    padding: 75px var(--padding-lr) 100px;
    background: #f7f8f8;
}
#features,
#advantage {
    padding: 30px var(--padding-lr);
}
#detail {
    padding: 95px var(--padding-lr);
    background: #f7f8f8;
}
#template {
    padding: 60px var(--padding-lr);
}
#example {
    padding: 30px 0 100px;
}
#plan {
    padding: 30px var(--padding-lr) 70px;
}
@media screen and (max-width: 900px) {
    #detail {
        padding-top: clamp(2.5rem, 0.045rem + 10.48vw, 5.938rem);
        padding-bottom: clamp(2.5rem, 0.045rem + 10.48vw, 5.938rem);
    }
}
@media screen and (max-width: 600px) {
    #intro,
    #features,
    #advantage,
    #detail,
    #template {
        margin-bottom: clamp(0.625rem, -1.161rem + 7.62vw, 3.125rem);
    }
    #intro {
        padding-top: clamp(3.125rem, 0.521rem + 11.11vw, 4.688rem);
        padding-bottom: clamp(3.125rem, -2.083rem + 22.22vw, 6.25rem);
    }
    #template {
        padding-top: clamp(1.875rem, -1.25rem + 13.33vw, 3.75rem);
        padding-bottom: clamp(2.188rem, -0.417rem + 11.11vw, 3.75rem);
    }
    #example {
        padding-bottom: clamp(3.125rem, -2.083rem + 22.22vw, 6.25rem);
    }
}

#intro strong,
main .catch,
main h2 {
    font-weight: 700;
}
#intro strong,
#features .catch,
#template .catch,
#advantage h2,
#plan h2 {
    font-size: 40px;
    color: #f00;
}
#features .catch,
#template .catch {
    display: block;
    margin-bottom: 0.6em;
}
#advantage h2,
#plan h2 {
    margin-bottom: 1.5em;
}
main h2,
#features h2,
#template h2,
#share h3 {
    margin-bottom: 0.7em;
    font-size: 36px;
    color: #3f3c3c
}
@media screen and (max-width: 900px) {
    #intro strong,
    #features .catch,
    #template .catch,
    #advantage h2,
    #plan h2 {
        font-size: clamp(1.375rem, 0.571rem + 2.57vw, 2.5rem);
    }
    main h2,
    #features h2,
    #template h2,
    #share h3 {
        font-size: clamp(1.125rem, 0.321rem + 2.57vw, 2.25rem);
    }
}

/* ==============================================
    intro
============================================== */
#intro strong {
    display: block;
    margin: 0.5em auto;
}
#intro img {
    width: 100%;
    max-width: 895px;
}
@media screen and (max-width: 460px) {
    #intro p {
        text-align: left;
    }
    #intro p .pc {
        display: none;
    }
}

/* ==============================================
    features
============================================== */
#features div {
    position: relative;
    display: grid;
    grid-template-columns: 44% 43%;
    grid-gap: 0 12.5%;
    width: 100%;
    max-width: 1120px;
    margin: 75px auto 0;
}
#features div::after {
    position: absolute;
    top: 110px;
    left: 500px;
    content: "";
    width: 95px;
    height: 95px;
    background: url("image/features_icn.svg") no-repeat center center / 100% auto;
}
#features div strong,
#features span,
#features em {
    display: block;
}
#features span,
#features em {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}
#features div strong {
    margin-top: 1em;
    text-align: center;
    font-size: 24px;
    line-height: 1.25;
    color: #3f3c3c;
}
#features span {
    display: block;
    margin-top: 1em;
    padding-left: 1em;
    text-indent: -1em;
}
#features em {
    margin-right: -2em;
    font-style: normal;    
}
#features p:last-of-type span {
    margin-right: 2em;
}
@media screen and (min-width: 541px) {
    #features .catch br {
        display: none;
    }
}
@media screen and (max-width: 1160px) {
    #features div p img {
        width: 100%;
    }
    #features div::after {
        top: 110px;
        left: 45%;
        width: 8vw;
        height: 8vw;
    }
    #features div strong {
        font-size: clamp(1.125rem, -0.173rem + 2.31vw, 1.5rem);
    }
}
@media screen and (max-width: 940px) {
    #features > p {
        text-align: left;
    }
}
@media screen and (max-width: 860px) {
    #features div {
        display: block;
        max-width: 540px;
    }
    #features div::after {
        content: none;
    }
    #features div strong {
        font-size: 24px;
    }
    #features div p:first-of-type {
        position: relative;
        margin-bottom: 20px;
        padding-bottom: 110px
    }
    #features div p:first-of-type::after {
        position: absolute;
        bottom: 0;
        left: 50%;
        content: "";
        width: 80px;
        height: 80px;
        margin-left: -30px;
        background: url("image/features_icn.svg") no-repeat center center / 100% auto;
    }
    #features em {
        margin-right: 0;
        padding-left: 1em;
    }
    #features p:last-of-type span {
        margin-right: 0;
    }
}
@media screen and (max-width: 540px) {
    #features div strong {
        font-size: clamp(1.063rem, 0.068rem + 4.24vw, 1.5rem);
    }
}

/* ==============================================
    advantage / example
============================================== */
#advantage dl,
#example li {
	opacity : 0;
	visibility: hidden;
    transform: translateY(20px);
    transition: all .5s;
}
#advantage dl.ready,
#example li.ready {
	opacity: 1;
	visibility: visible;
    transform: translateY(0);
}

/* ==============================================
    advantage
============================================== */
#advantage div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 3vw, 50px);
    max-width: 1080px;
    margin: 0 auto;
}
#advantage dl {
    padding: 2em 1.5em 1.5em;
    border-radius: 55px 0 0 0;
    background: #c40018;
    background: rgba(196, 0, 24, 12%);
}
#advantage dt {
    margin-bottom: 0.3em;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 500;
}
#advantage dd {
    text-align: left;
}
@media screen and (max-width: 1000px) {
    #advantage dt {
        font-size: clamp(1.375rem, -0.625rem + 4vw, 1.875rem);
    }
}
@media screen and (max-width: 560px) {
    #advantage dl {
        width: 70%;
        min-width: 300px;
        margin: 0 auto;
    }
}

/* ==============================================
    template
============================================== */
#template div {
    display: grid;
    grid-template-columns: auto 340px;
    margin: 55px auto 0;
    width: 98%;
    max-width: 951px;
}
#template div img {
    width: 100%;
}
#template div dt,
#template div dd {
    padding-top: 1em;
    padding-left: 2.5em;
    text-align: left;
}
#template div dt {
    padding-bottom: 0.4em;
    border-bottom: 1px solid #3e3a3a;
}
#template div dd p {
    padding-right: 1em;
}
@media screen and (min-width: 1051px) {
    #template .catch br {
        display: none;
    }
}
@media screen and (max-width: 940px) {
    #template div {
        display: block;
        max-width: 500px;
        padding: 0 10px;
    }
    #template div dl {
        margin-top: 1em;
    }
}
@media screen and (max-width: 620px) {
    #template > p {
        text-align: left;
    }
}
@media screen and (max-width: 600px) {
    #template div {
        margin-top: clamp(1.25rem, -2.396rem + 15.56vw, 3.438rem);
    }
}

/* ==============================================
    example
============================================== */
#example ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px clamp(25px, 4vw, 50px);
    max-width: 1080px;
    margin: 0 auto;
}
#example li {
    position: relative;
    z-index: 0;
    min-height: 180px;
    white-space: nowrap;
    font-weight: 500;
}
#example li::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    z-index: -1;
}
#example li img {
    width: 110px;
    margin: 15px auto 5px;
}
@media screen and (max-width: 600px) {
    #example ul {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    #example li {
        min-height: clamp(8.125rem, -7.5rem + 50vw, 11.25rem);
    }
    #example li::before {
        width: clamp(8.125rem, -7.5rem + 50vw, 11.25rem);
        height: clamp(8.125rem, -7.5rem + 50vw, 11.25rem);
    }
    #example li img {
        width: clamp(5rem, -4.375rem + 30vw, 6.875rem);
    }
}
@media screen and (max-width: 500px) {
    #example ul {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        font-size: 12px;
    }
}

/* ==============================================
    share
============================================== */
#share {
    padding: 50px 40px 60px;
}
#share h3 {
    margin-bottom: 1.2em;
}
#share div {
    display: grid;
    grid-template-columns: 350px auto;
    grid-gap: 0 8%;
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
}
#share div img {
    width: 100%;
}
@media screen and (min-width: 501px) {
    #share h3 br {
        display: none;
    }
}
@media screen and (max-width: 900px) {
    #share div {
        grid-template-columns: 45% auto;
        grid-gap: 0 5%;
    }
}
@media screen and (max-width: 800px) {
    #share div {
        display: block;
    }
    #share .image {
        margin-bottom: 1.5em;
        text-align: center;
    }
    #share .image img {
        max-width: 400px;
    }
}
@media screen and (max-width: 600px) {
    #share {
        padding: 30px 25px 40px;
    }
    #share h3 {
        margin: 0 -15px 1em;
    }
}
@media screen and (max-width: 480px) {
    #share h3 {
        font-size: clamp(1.125rem, 0.009rem + 4.76vw, 1.438rem);
    }
}
@media screen and (max-width: 430px) {
    #share {
        padding: 30px 20px 40px;
    }
    #share .image {
        margin-bottom: 1em;
    }
}

/* ==============================================
    plan
============================================== */
#plan {
    max-width: 1190px;
    margin: 0 auto;
}
#plan table {
    width: 100%;
}
#plan th,
#plan td {
    padding: 0.7em;
    text-align: center;
    border: 1px solid #fff;
    font-weight: 500;
}
#plan tr.line th,
#plan tr.line td {
    border-bottom: 2px solid #3e3a3a;
}
#plan th sup,
#plan td span {
    font-size: 13px;
    font-weight: 400;
}
#plan th sup {
    vertical-align: middle;
}
#plan td span {
    display: block;
}
#plan thead th {
    padding: 0.4em 1em;
    background: #ccc;
    font-size: 22px;
}
#plan thead th:nth-child(2) {
    color: #cf2c25;
}
#plan thead th:nth-child(3) {
    color: #8f2e2d;
}
#plan thead th:nth-child(3) sup {
    color: #000;
}
#plan thead th:nth-child(4) {
    color: #3e3a3a;
}
#plan tbody .left th,
#plan tbody .left td {
    vertical-align: top;
}
#plan tbody th,
#plan tbody .left td {
    text-align: left;
}
#plan tbody td {
    white-space: nowrap;
}
#plan tbody .left td {
    font-weight: 400;
    font-size: 14px;
}
#plan tbody tr:nth-child(even) th,
#plan tbody tr:nth-child(even) td {
    background: #f5f5f5;
}
#plan tbody tr:nth-child(odd) th,
#plan tbody tr:nth-child(odd) td {
    background: #faeae9;
}
#plan p.indent {
    padding-left: 6em;
}

#plan td dl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#plan td dt {
    padding-right: 1em;
    background: url("image/plan_kakko.svg") no-repeat center right / auto 96%;
}
#plan td dd {
    padding-left: 0.2em;
}

#plan ul {
    list-style: none;
}
#plan > ul {
    margin-top: 1em;
    margin-left: 0.2em;
    text-align: left;
}
#plan li {
    padding-left: 1em;
    text-indent: -1em;
}
#plan li.num {
    padding-left: 2em;
    text-indent: -2em;
}
#plan li li::before {
    content: "・";
}
@media screen and (max-width: 900px) {
    #plan .pc {
        display: none;
    }
    #plan .sp {
        display: block;
    }
    #plan .sp table {
        max-width: 540px;
        margin: 0 auto 1em;
    }
    #plan thead th {
        font-size: 18px;
    }
}
@media screen and (max-width: 500px) {
    #plan th,
    #plan td {
        padding: 0.7em 0.5em;
        font-size: 13px;
    }
    #plan th sup,
    #plan td span {
        font-size: 12px;
    }
    #plan tbody .left td {
        font-size: 12px;
    }
}

/* ==============================================
    set
============================================== */
#set {
    padding-top: 30px;
}
#set div {
    margin-bottom: 1em;
    padding: 40px 20px;
    background: #eeeeef;
}
#set h3 {
    margin: 0 -10px 0.5em;
    font-size: 40px;
    color: #0071bc;
}
#set h3 br {
    display: none;
}
#plan #set table {
    width: 100%;
    max-width: 960px;
    margin: 2em auto 0;
}
#plan #set th,
#plan #set td {
    border: 1px solid #211815;
    text-align: center;
    font-size: 23px;
    white-space: nowrap;
    font-weight: normal;
}
#plan #set th {
    padding: 0.5em 0;
    background: #0071bc;
    color: #fff;
}
#plan #set td {
    padding: 0.5em;
    background: #fff;
}
#plan #set td span {
    display: inline-block;
    font-size: 18px;
}
#set a {
    padding-right: 2em;
    background: url("image/icn_blank.svg") no-repeat center right;
    color: #0071bc;
    text-decoration: none;
    font-weight: 700;
}
@media (hover: hover) {
	#set a:hover {
        opacity: 0.7;
	}
}
@media screen and (max-width: 1100px) {
    #set h3 {
        font-size: clamp(1.875rem, 0.208rem + 3.33vw, 2.5rem);
    }
}
@media screen and (max-width: 1080px) {
    #set div p {
        text-align: left;
    }
    #plan #set th,
    #plan #set td {
        font-size: clamp(1rem, 0.623rem + 1.21vw, 1.438rem);
    }
    #plan #set td span {
        font-size: clamp(0.875rem, 0.659rem + 0.69vw, 1.125rem);
    }
}
@media screen and (max-width: 900px) {
    #plan #set th,
    #plan #set td {
        display: block;
        margin-bottom: -1px;
    }
}
@media screen and (max-width: 800px) {
    #set h3 br {
            display: block;
    }
}
@media screen and (max-width: 600px) {
    #set h3 {
        font-size: clamp(1.125rem, -0.125rem + 5.33vw, 1.875rem);
    }
    #set div {
        padding: 25px 20px 30px;
    }
}
@media screen and (max-width: 450px) {
    #plan #set td span {
        display: block;
    }
}


/* ==============================================
    contact
============================================== */
#contact {
    padding: 50px var(--padding-lr) 70px;
    background: rgba(63, 60, 60, 33%);
}
#contact div {
    padding: 80px var(--padding-lr);
}
#contact .btn {
    margin: 35px 0;
}
#contact .btn a {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 350px;
    margin: 0 auto;
    padding: 0.6em;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}
#contact .btn a::before,
#contact .btn a::after {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    transition: all .4s;
}
#contact .btn a::before {
    background: linear-gradient(90deg,rgba(175, 44, 39, 1) 0%, rgba(229, 0, 18, 1) 100%);
}
#contact .btn a::after {
    background: linear-gradient(90deg,rgba(229, 0, 18, 1) 0%, rgba(175, 44, 39, 1) 100%);
}
@media (hover: hover) {
    #contact .btn a:hover::after {
        opacity: 0;
    }
}

@media screen and (max-width: 600px) {
    #contact {
        padding: clamp(1.25rem, -0.913rem + 9.23vw, 3.125rem) var(--padding-lr) clamp(1.25rem, -2.356rem + 15.38vw, 4.375rem);
    }
    #contact div {
        padding: clamp(1.375rem, -2.808rem + 17.85vw, 5rem) var(--padding-lr);
    }
    #contact .btn {
        margin: clamp(0.625rem, -1.178rem + 7.69vw, 2.188rem) 0 clamp(1.125rem, -0.101rem + 5.23vw, 2.188rem);
    }
}
@media screen and (max-width: 400px) {
    #contact {
        font-size: 12px;
    }
    #contact .btn {
        font-size: 14px;
    }
}

/* ==============================================
    footer
============================================== */
footer {
    --padding-lr: 45px;
    --padding-bottom: 35px;
    
    position: relative;
    padding: 100px var(--padding-lr) var(--padding-bottom);
    font-size: 14px;
    text-align: center;
}
footer nav ul,
#copyright {
    position: absolute;
    bottom: var(--padding-bottom);
    height: 24px;
}
footer address {
    text-align: center;
}
footer address img {
    width: 60%;
    max-width: 250px;
}
footer nav ul {
	list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 15.5em;
    right: var(--padding-lr);
}
#copyright {
    left: var(--padding-lr);
}

@media screen and (max-width: 1000px) {
    footer {
        --padding-lr: 20px;
        --padding-bottom: 20px;
    }
}
@media screen and (max-width: 900px) {
    footer address {
        margin-bottom: 4em;
    }
}
@media screen and (max-width: 500px) {
    footer {
        --padding-bottom: 0;
        padding-top: 1.5em;
    }
    footer address {
        margin-bottom: 1.2em;
    }
    footer nav ul,
    #copyright {
        position: static;
        margin: 0.5em auto;
    }
    footer nav ul {
        width: 14.5em;
    }
}
@media screen and (max-width: 400px) {
    footer {
        font-size: 12px;
    }
}

/* ==============================================
    pagetop
============================================== */
#pagetop {
    display: none;
    position: fixed;
    bottom: 10px;
    right: var(--padding-lr);
    width: 4em;
    height: 4em;
    padding-top: 1.5em;
    font-size: 23px;
    border-radius: 50%;
    background: #3f3c3c;
    color: #fff;
    text-align: center;
	cursor: pointer;
    transition: all .4s;
}
@media (hover: hover) {
	#pagetop:hover {
        transform: translateY(-2px);
	}
}

@media screen and (max-width: 900px) {
    #pagetop {
        font-size: clamp(1rem, -0.531rem + 3.5vw, 1.438rem);
    }
}
@media screen and (max-width: 600px) {
    #pagetop {
        display: none !important;
    }
}

/* ==============================================
    スクロールアニメーション
============================================== */
.scrollin {}
.fadein {}
.slidein {}

.scrollin {
	opacity : 0;
	visibility: hidden;
    transition: opacity .35s, visibility .35s, transform .45s;
}
.scrollin.active {
	opacity: 1;
	visibility: visible;
}
.scrollin.fadein { transform: translateY(70px); }
.scrollin.fadein.active { transform: translateY(0); }
.scrollin.slidein { transform: translateX(200px); }
.scrollin.slidein.active { transform: translateX(0); }

