@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Sans+JP:wght@100..900&display=swap');

* {
    box-sizing: border-box;
}

.container {
    max-width: 1040px;
}

body {
    background-color: #f0f8f0;

    font-family: "Noto Sans JP", sans-serif;
}

@media(min-width:768px) {
    .show-for-small {
        display: none;
    }
}

.header-top {
    display: flex;
    align-items: center;
    max-width: 1400px;
    padding: 0px 15px;
    justify-content: space-between;
    margin: auto;
}

.header-top #logo a,
.header-top #logo {
    display: flex;
    align-items: center;
    height: 100%;
}

a.btn.btn-contact,
button.btn-submit,input[type="submit"] {
    width: 240px;
    height: 55px;
    background: linear-gradient(to right, #005c06 0%, #2e7d33 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
    padding: 10px 55px 10px 50px;
    font-size: 16px;
    position: relative;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 0.2);
    border: none;
    font-weight: 500;
}

a.btn.btn-contact span:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    width: 30px;
    height: 20px;
    background-image: url(../images/index/icon-mail.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

a.btn.btn-contact span:after,
button.btn-submit:after,input[type="submit"]:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 21px;
    height: 21px;
    background-image: url(../images/index/icon-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.page-header {
    background-image: url(../images/index/bg-header.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 90px;
}

.site-header {
    border-bottom: none;
}

.page-header {
    padding: 0 0 0 0;
}

.page-header h1 {
    font-size: 35px;
    color: #fff;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-content: stretch;
}

.title-en {
    font-size: 40px;
    letter-spacing: 0.05em;
    color: #a5eb59;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    position: absolute;
    bottom: 0;
    right: 0;
}

.page-header .container {
    position: relative;
    align-self: stretch;
    padding: 70px 15px 20px;
    min-height: 250px;
    max-width: 1400px;
}

h2 {
    font-weight: bold;
    font-size: 28px;
    color: #2d7d33;
    position: relative;
    border: none;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to left, #f0f4f8 0%, #5ccc1b 30%, #2d7d33 100%);
}

p {
    line-height: 1.875;
}

h3 {
    font-size: 20px;
    position: relative;
    padding: 10px 10px 10px 25px;
    color: var(--color-primary-c);
    /*background-color: white;*/
    margin-top: 60px;
    margin-bottom: 15px;
}

h3::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    width: 5px;
    height: calc(100% - 20px);
    background-color: var(--color-primary-c);
    border-radius: 50%;
    border-radius: 0;
}

.bordered-box {
    border: 1px solid #9fbfa1;
    border-radius: 0;
    padding: 30px 60px;
}

h4 {
    font-size: 20px;
    font-weight: bold;
    color: #2d7d33;
    position: relative;
    padding-bottom: 10px;
}

h4:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: #9fbfa1;
}

a.link-blank {
    color: #3ca600;
    text-decoration: underline;
    position: relative;
}

a.link-blank::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    width: 20px;
    height: 20px;
    background-image: url(../images/index/icon-blank-green.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

a.link-pdf {
    color: #3ca600;
    text-decoration: underline;
    position: relative;
}

a.link-pdf::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    width: 20px;
    height: 20px;
    background-image: url(../images/index/icon-pdf.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

h5 {
    font-size: 18px;
    font-weight: 500;
}

.docs-table {
    width: 100%;
}

.docs-table td {
    height: 60px;
    border: 1px solid #c1c8d1;
    /*padding: 24px 30px;*/
    padding: 1em;
    background-color: #ffffff;
}

.docs-table td:first-child {
    width: 530px;
}

.docs-table td:nth-child(2) {
    width: 120px;
}

a.btn-file {
    border: 1px solid #c1c8d1;
    border-radius: 5px;
    background-color: #faedef;
    min-height: 90px;
    align-items: flex-end;
    padding-bottom: 10px;
    min-width: 110px;
    font-size: 15px;
    width: -moz-fit-content;
    width: fit-content;
    font-weight: 500;
    letter-spacing: 0;
    color: #c43138;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 50px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

a.btn-file.excel {
    background-color: #ebf5ec;
    color: #2d7d31;
}

a.btn-file.example {
    background-color: #f5f5f5;
    color: #333333;
}

a.btn-file.excel::after {
    background-image: url(../images/index/icon-excel.svg);
}

a.btn-file.word {
    background-color: #e8ebfa;
    color: #2c4fc4;
}

a.btn-file.word::after {
    background-image: url(../images/index/icon-doc.svg);
}

a.btn-file.example::after {
    background-image: url(../images/index/icon-example.svg);
}

a.btn-file::after {
    content: "";
    position: absolute;

    width: 30px;
    height: 36px;
    transform: translateX(-50%);
    top: 10px;
    left: 50%;
    background-image: url(../images/index/icon-pdf.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.file-link-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-form-table {
    border: none;
}

.contact-form-table th {
    border: none;
    font-weight: 500;
    background-color: #daedda;
    border-bottom: 1px solid #3da663;
}

.contact-form-table td {
    border: none;
    font-weight: 500;
    border-bottom: 1px solid #9fbfa1;
}

input[type="radio"] {
    width: 25px;
    height: 25px;
    cursor: pointer;
    position: relative;
    top: 5px;
    accent-color: #333;
}

button.btn-submit, input[type="submit"] {
    width: 270px;
    height: 70px;
    font-weight: bold;
    font-size: 18px;
    margin: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.btn-submit:hover, input[type="submit"]:hover {
    opacity: 0.6;
}

.site-footer {
    background-color: #2d6733;
}

.ft-link a {
    position: relative;
    font-size: 16px;
    font-weight: 500;
}

.ft-link a::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    width: 15px;
    height: 15px;
    background-image: url(../images/index/icon-blank.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-global-nav {
    border-color: white;
    border-width: 2px;
}

footer p {
    margin-top: 0;
}

.footer-copy {
    margin-top: 40px;
    color: #fff;
    font-family: 'EB Garamond', serif;
    font-size: 13px;
}

.contact-form-table span.sign {
    font-size: 15px;
    color: white;
    background-color: #ec2028;
    margin-left: 20px;
    padding: 5px 9px;
    border-radius: 5px;

}

.contact-form-table span.sign.any {
    background-color: #3d3d3d;
}
.header-top #logo img {
    width: 300px;
    height: auto;
}