
:target {
    scroll-margin-top: 78px;
}
html {
    scroll-behavior: smooth;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #231521;
    letter-spacing: 1.25px;
}
/*フェードインさせたい要素を消します*/
.sFade {
    opacity: 0;
}

/*アニメーションを設定*/
.fadeIn {
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}
.ly_header {
    padding: 0 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d6d6d6;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 78px;
}
.ly_header a {
    height: 78px;
}
.el_headerLogo {
    height: 100%;
}
.bl_nav_list {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}
.bl_navResponsive {
    display: none;
}
.hamburger {
    display: none;
}
.ly_menu {
    display: none;
}
.line {
    display: block;
    width: 23px;
    height: 2px;
    background: black;
    margin: 10px auto;
    transition: all 0.3s ease;
}
.el_navItem {
    margin-left: 30px;
    font-weight: bold;
    letter-spacing: 1.25px;
    font-size: 14px;
}
.el_navLink {
    text-decoration: none;
    color: black;
}
.el_navLink:hover {
    opacity: 0.5;
    transition: 0.2s;
}
.ly_hero {
    position: relative;
    height: calc(100vh - 78px);
    background-image: url('https://3wood-firewood.com/wp-content/themes/3wood_0_2_1/images/top.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 50px;
}
.ly_hero::before, .slideshow-container::before, .ly_rearcar::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
}
.el_heroText {
    color: white;
    font-size: 38px;
    font-weight: 700;
    line-height: 49.4px;
    letter-spacing: 0;
    margin-right: 90px;
    position: relative;
    z-index: 1;
}
.bl_contactButton {
    position: fixed;
    right: 0;
    width: 68px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #D5DB00;
    padding: 16px 20px;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: background-color 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    height: auto;
    gap: 8px;
}
.bl_contactButton:hover {
    background-color: #EAEC9D;
    color: #76774F;
}
.bl_contactButton a {
    text-decoration: none;
}
.el_contactButtonEnglishText {
    font-size: 20px;
}
.el_contactButtonJapaneseText {
    font-size: 12px;
    height: max-content;
}
.bl_contactButtonResponsive {
    display: none;
}
.instagram-icon {
    width: 32px;
    height: 32px;
    transition: opacity 0.3s;
}
.instagram-icon:hover {
    opacity: 0.7;
}
.ly_history, .ly_vision, .ly_lineup, .ly_purchase .ly_partners {
    padding: 50px 68px 0px 68px;
    margin: 0 auto;
    position: relative;
}
.el_historyTitle, .el_visionTitle, .el_lineupTitle {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 80px;
    width: 100%;
}
.el_purchaseTitle, .el_partnersTitle {
    font-size: 40px;
    font-weight: 700;
    width: 50%;
    padding: 80px 68px 80px 68px;
}
.bl_historyContent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 180px;
}
.bl_lineupContent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    height: auto;
    margin-bottom: 50px;
}

.bl_historyText, .bl_visionText, .bl_lineupText {
    margin-bottom: 0px;
    line-height: 1.6;
    width: 50%;
}
.bl_historyImages, .bl_visionImages {
    display: flex;
    justify-content: center;
    margin: 0 -68px;
}
.el_historyImage, .el_visionImage {
    width: calc(100% / 3);
    height: auto;
    object-fit: cover;
}
p {
    line-height: 3;
    letter-spacing: 1.25px;
}
.ly_vision, .ly_purchase, .ly_partners {
    background-color: #d9d9d9;
}
.bl_visionContent {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 180px;
}
.ly_lineupItems, .ly_purchaseItems, .ly_partnersItems {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}
.ly_lineupItems, .bl_purchaseItems {
    width: calc(100% + 136px);
    margin: 0 -68px;
}
.bl_lineupItem, .bl_purchaseItem, .bl_partnerItem {
    width: 50%;
    box-sizing: border-box;
}
.bl_lineupItem {
    border: 1px solid;
}
.bl_purchaseItem {
    border: 0px;
}
.bl_lineupItem img {
    width: 100%;
    height: auto;
}
.bl_lineupDescription, .bl_purchaseDescription {
    margin: 30px 68px;
}
.bl_purchaseDescription h3 {
    line-height: 1.6;
}
.bl_lineupDescription p {
    line-height: 2;
    margin: 20px 0;
}
.bl_purchaseDescription p {
    line-height: 2;
}
.bl_lineupItem h3 {
    font-weight: bold;
    font-size: 20px;
}
.bl_purchaseItem h3 {
    font-weight: bold;
    font-size: 20px;
}
.el_lineupAttribute {
    border: 1px solid;
    width: max-content;
    padding: 4px 6px;
    line-height: 1.5 !important;
}
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    height: calc(100vw * 840 / 1280);
}
.slides {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.active {
    opacity: 1;
}
.prev, .next {
    position: absolute;
    top: 50%;
    width: 90px;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev { left: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.4); }

.bl_partnerItem {
    width: calc(50% - 136px);
    background-color: white;
    padding: 68px;
    margin: 68px;
    position: relative;
    height: 1000px;
}

.el_partnerLogo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.bl_partnerNameWrapper {
    height: 100px;
}

.el_partnerName, .el_partnersTitleSub {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 4px;
    line-height: 1.6;
    white-space: nowrap;
}

.el_partnerDescription {
    line-height: 2.2;
    height: 260px;
}

.el_partnerInfo {
    line-height: 2.2;
    position: absolute;
    bottom: 20px;
}

.el_partnerInfo a {
    color: black;
    text-decoration: none;
}

.el_partnerInstagram {
    display: block;
    width: 32px;
    margin: 0 auto;
    position: absolute;
    bottom: 30px;
    right: 80px;
}
.ly_rearcar {
    position: relative;
    height: calc(100vh - 78px);
    background-image: url('https://3wood-firewood.com/wp-content/themes/3wood_0_2_1/images/rearcar.jpg');
    background-size: cover;
    background-position: center;
}
.ly_footer {
    background-color: #D5DB00;
    padding: 20px 40px;
    color: #000000;
}

.bl_footer_content {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
}

.el_footer_logo img {
    height: 100px;
}

.el_footer_text {
    flex: 1;
    margin: 0 20px;
}

.el_footer_text p {
    margin: 5px 0;
    font-size: 14px;
}

.ly_footerMenuResponsive {
    display: none;
}

.el_footer_social {
    display: flex;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
}

.el_footer_social p {
    margin-right: 10px;
    font-size: 14px;
}

.el_footer_copyright {
    width: 100%;
    text-align: right;
    margin-top: 20px;
    font-size: 12px;
}
.el_brResponsive{
    display: none;
}

.ly_footerContactResponsive {
    display: none;
}

.el_privacyResponsive {
    display: none;
}


.ly_contactWrapper {
    background-color: #d9d9d9;
    width: 100%
}
.ly_contact {
    width: 800px
}

@media screen and (max-width: 1024px) {
    .bl_partnerItem {
        width: 60%;
    }
    .el_navItem {
        font-size: 12px;
    }
}

@media screen and (max-width: 860px) {
    .el_navItem {
        font-size: 11px;
    }
}

@media screen and (max-width: 820px) {
    .el_navItem {
        font-size: 10px;
    }
}
@media screen and (max-width: 800px) {
    .el_navItem {
        font-size: 9px;
    }
}

@media screen and (max-width: 768px) {
    .instagram-icon {
        width: 26px;
        height: 26px;
        transition: opacity 0.3s;
    }
    .instagram-icon:hover {
        opacity: 0.7;
    }
    p {
        line-height: 1.6;
        letter-spacing: 1.25px;
    }
    .ly_menu a {
        height: 22px;
        width: 100%;
    }
    .bl_nav {
        display: none;
    }
    .bl_navResponsive {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .bl_navResponsive a {
        height: 26px;
    }
    .ly_menu ul {
        list-style: none;
        text-align: center;
    }

    .ly_menu ul li {
        margin-bottom: 20px;
    }

    .ly_menu ul li a {
        text-decoration: none;
        color: #333;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .ly_menu.show {
        right: 0;
    }
    .ly_menu {
        background: white;
        transition: all 0.3s ease;
        top: 0;
        right: -300px; /* Initially off-screen */
        position: fixed;
        align-items: flex-start;
        display: inline-flex;
        flex-direction: column;
        gap: 15px;
        justify-content: flex-start;
        width: 100%;
        transform: translateX(100%);
        z-index: 10000;
        padding: 70px 15px 60px 15px;
        align-items: center;
        height: 100vh;
    }

    .ly_menu p {
        font-size: 14px;
        font-weight: bold;
    }

    .ly_menu .el_menu {
        padding: 10px;
        width: auto;
    }

    .ly_menu hr {
        width: 100%;

    }
    .bl_menuRow {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    /* Show menu when hamburger is clicked */
    .ly_menu.show {
        transform: translateX(0);
    }
    .hamburger.show .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .hamburger.show .line:nth-child(2) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 100000;
    }
    .ly_menuFooter {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
        position: absolute;
        bottom: 40px;
        padding: 15px;
    }
    .el_menuFooterSocial {
        display: flex;
        gap: 10px;
        align-items: flex-end;
    }
    .el_menuFooterSocial p {
        font-size: 10px;
        color: #231521;
        font-weight: normal;
        width: 128px;
    }
    .el_menuFooterSocial i {
        font-size: 24px;
        color: #231521;
        font-weight: normal;
    }
    .el_menuFooterPrivacy p {
        font-size: 13px;
        font-weight: normal;
    }
    .ly_hero {
        width: 100%;
        height: calc(100vw / 3 * 1.7);
        justify-content: center;
    }
    .ly_hero::before, .slideshow-container::before, .ly_rearcar::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.2);
    }
    .el_heroText {
        display: none;
    }

    .ly_history, .ly_vision, .ly_purchase, .ly_partners {
        padding: 50px 40px;
        margin: 0 auto;
        position: relative;
    }
    .ly_lineup {
        padding-top: 50px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .el_lineupTitle, .bl_lineupContent {
        padding-left: 34px;
        padding-right: 34px;
        width: auto;
    }
    .ly_lineupItems {
        margin: 0;
        width: auto;
    }
    .ly_hero, .ly_history, .ly_vision {
        padding-bottom: 0px;
    }
    .ly_contactResponsive {
        position: fixed;
        display: flex;
        width: 100%;
        justify-content: center;
        z-index: 1;
        bottom: 20px;
        padding: 0 52px 0 52px;
    }
    .bl_historyImages, .bl_visionImages {
        margin: 0 -40px;
    }
    .el_historyImage, .el_visionImage {
        width: calc(100% / 2);
        height: auto;
        object-fit: cover;
    }
    .el_historyImageResponsiveHidden, .el_visionImageResponsiveHidden {
        display: none;
    }
    .prev, .next {
        width: 40px;
        margin-top: -20px;
        padding: 8px;
    }
    .el_historyTitle, .el_visionTitle, .el_lineupTitle, .el_purchaseTitle, .el_partnersTitle {
        font-size: 18px;
        margin-bottom: 30px;
        width: 100%;
        padding: 0;
    }
    .el_lineupTitle {
        padding-left: 34px;
    }
    .bl_historyText, .bl_visionText, .bl_lineupText {
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.6;
        width: 100%;
    }
    .bl_lineupItem {
        width: 100%;
        border: none;
    }
    .bl_lineupItem img {
        border: black solid 2px;
    }
    .bl_lineupDescription {
        margin: 30px 40px;
    }
    .bl_lineupDescription h3 {
        font-size: 18px;
    }
    .bl_lineupDescription p {
        font-size: 14px;
        line-height: 1.6;
        margin: 10px 0;
    }
    .el_lineupAttribute {
        font-size: 12px !important;
    }
    .ly_purchaseItems {
        gap: 80px;
    }
    .bl_purchaseItem {
        width: 100%;
    }
    .bl_purchaseItem h3 {
        font-size: 18px;
        line-height: 1.8;
    }
    .bl_purchaseItem p {
        font-size: 14px;
        line-height: 1.6;
    }
    .bl_purchaseDescription{
        margin: 0;
    }
    .ly_partnersItems {
        justify-content: space-around;
        gap: 34px;
    }
    .bl_partnerItem {
        height: auto;
        width: 100%;
        margin: 0;
        padding: 34px;
    }

    .bl_partnerNameWrapper {
        height: 50px;
    }

    .el_partnerLogo {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 50px;
    }

    .el_partnersTitle {
        font-size: 18px;
    }

    .el_partnersTitleSub {
        font-size: 12px;
    }

    .el_partnerName {
        font-size: 16px;
        font-weight: bold;
        text-align: left;
        margin-bottom: 8px;
    }

    .el_partnerDescription {
        font-size: 14px;
        line-height: 1.6;
        margin: 30px 0;
    }

    .el_partnerInfo {
        font-size: 12px;
        position: static;
        bottom: 20px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .el_partnerInfo a {
        font-size: 12px;
    }

    .el_partnerInstagram {
        text-align: left;
        display: block;
        width: 100%;
        //width: 32px;
        margin: 0 auto;
        position: static;
    }
    .el_partnerInstagram img {
        width: 23px;
    }
    .ly_rearcar {
        position: relative;
        background-image: url('https://3wood-firewood.com/wp-content/themes/3wood_0_2_1/images/rearcar.jpg');
        background-position: center;
        height: 295px;
    }
    .bl_contactButton {
        display: none;
    }

    .bl_contactButtonResponsive {
        align-content: center;
        display: block;
        background-color: #D5DB00;
        color: black;
        text-align: center;
        z-index: 1;
        text-decoration: none;
        font-size: 12px;
        padding: 10px 16px;
        font-weight: bold;
        margin-bottom: 10px;
        width: 100%;
        border: black solid 1px;
        height: 48px;
    }
    .bl_contactButtonResponsiveWrapper {
        margin-top: 40px;
    }
    .bl_contactButtonResponsive i {
        font-size: 16px;
        margin-right: 6px;
    }
    .ly_footer {
        padding: 0 0;
        z-index: 100;
        position: relative;
    }

    .bl_footer_content {
        background-color: #d9d9d9;
        width: 100%;
    }

    .bl_footer_content p {
        margin: 2px;
        font-size: 12px;
    }

    .el_footer_text {
        margin: 20px 0;
        padding: 0 34px;
    }

    .el_brResponsive {
        display: block;
    }

    .ly_footerMenuResponsive {
        display: block;
        margin-top: 20px;
        padding: 0px 34px;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    .ly_footerMenuResponsive a {
        text-decoration: none;
        color: black;
    }
    .ly_footerContactResponsive {
        display: block;
        background-color: white;
        margin: 60px 50px;
        padding: 8px 12px;
        text-align: center;
        border: 1px solid black;
        height: 48px;
        align-content: center;
    }

    .ly_footerContactResponsive a {
        font-size: 12px;
        color: black;
        text-decoration: none;
    }

    .ly_footerContactResponsive i {
        margin-right: 6px;
        font-size: 16px;
    }

    .ly_footerMenuResponsive hr {
        border: 1px solid black;
        padding: 0 40px;
    }

    .ly_footerMenuResponsive p {
        font-size: 14px;
        font-weight: bold;
        line-height: 1.6;
    }
    .el_footer_logo {
        padding-left: 18px;
    }
    .el_footer_social {
        padding-right: 38px;
    }

    .el_privacyResponsive {
        display: block;
        text-align: right;
        padding-right: 38px;
    }

    .el_footer_copyright {
        text-align: center;
        background-color: #D5DB00;
        padding: 10px;
    }
}

.entry-header {
    display: none;
}

.el_contactTitle {
    font-size: 40px;
    background-color: #d9d9d9;
    padding: 40px;
    font-weight: bold;
}

.el_contactTitle {
    font-size: 40px;
    background-color: #d9d9d9;
    padding: 40px 10vw;
    font-weight: bold;
}

.el_contactExplanation {
    font-size: 24px;
    background-color: #d9d9d9;
    line-height: 1.6;
    letter-spacing: 2px;
    padding: 40px 10vw;
}

.wpcf7-form {
    width: 80%;
}

.wpcf7-form p {
    width: 100%;
    margin-bottom: 40px;
}


/* フォーム全体の背景色とボーダーを設定 */
.wpcf7 {
    background-color: #d9d9d9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 入力フィールドのスタイル */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    color: black; 
    background-color: white;
    width: 100%;
    padding: 10px;
}

/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"], .wpcf7 input[type="button"] {
    background-color: black;
    color: white;
    width: 200px;
    text-align: center;
    text-transform: uppercase;
}

.entry-content {
    margin: 68px;
}

.entry-content h2 {
    font-size: 40px;
    font-weight: bold;
    padding-bottom: 40px;
}

@media screen and (max-width: 768px) {

    .el_contactTitle {
        font-size: 24px;
    }

    .el_contactExplanation {
        font-size: 16px;
    }

    .wpcf7 input[type="submit"], .wpcf7 input[type="button"] {
        width: 100px;
    }

    .entry-content {
        margin: 34px;
    }

    .entry-content h2 {
        font-size: 24px;
    }
}
