/*共通スタイル*/
@charset "utf-8";

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-ExtraBold-subset.woff2')format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-Bold-subset.woff2')format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-SemiBold-subset.woff2')format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-Medium-subset.woff2')format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-Regular-subset.woff2')format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho VR';
    src: url('../fonts/ShipporiMincho-SemiBold-subset_vr.woff2')format('woff2');
    font-weight: 600;
    font-display: swap;
}



body {
    font-family: 'Shippori Mincho', serif;
    background: #FBFBFB;
}

h1 {
    /* Heading/black */
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 144px;
    line-height: 202px;
    /* または140% */
    letter-spacing: 0.15em;


    /* Main/Toyonaga_black */
    color: #1C1C1C;
}

h2 {
    /* Heading/huge */
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 80px;
    line-height: 128px;
    /* または160% */
    letter-spacing: 0.15em;

    /* Main/Toyonaga_black */
    color: #1C1C1C;
}

h3 {
    /* Heading/large */
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 56px;
    line-height: 90px;
    /* または160% */
    letter-spacing: 0.15em;
    /* Main/Toyonaga_black */
    color: #1C1C1C;
}

h4 {
    /* Heading/medium */
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 51px;
    /* または160% */
    align-items: center;
    letter-spacing: 0.15em;
    /* Main/Toyonaga_black */
    color: #1C1C1C;
}

h5 {
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 38px;
    /* または160% */

    letter-spacing: 0.15em;
}

p,
li {
    /* Paragraph/regular*/
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    /* または180% */
    letter-spacing: 0.15em;

    /* Main/Toyonaga_black */
    color: #1C1C1C;
}

a {
    text-decoration: none;
}

.sub_text {
    font-family: 'Shippori Mincho', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 0.15em;
    color: #1C1C1C;
}

/*ボタン*/
.button {
    background-color: #FBFBFB;
    border: 1px solid #000;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
}

.button::before {
    content: " ";
    width: 1.5625rem;
    height: 1px;
    background: black;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
}

.button .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.button .top-key {
    height: 1px;
    width: 1.5625rem;
    top: -1px;
    left: 0.625rem;
    position: absolute;
    background: #FBFBFB;
    transition: width 0.5s ease-out, left 0.3s ease-out;
}

.button .bottom-key-1 {
    height: 1px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -1px;
    position: absolute;
    background: #FBFBFB;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.button .bottom-key-2 {
    height: 1px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -1px;
    position: absolute;
    background: #FBFBFB;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.button:hover {
    color: white;
    background: black;
}

.button:hover::before {
    width: 0.9375rem;
    background: white;
}

.button:hover .text {
    color: white;
    padding-left: 1.5em;
}

.button:hover .top-key {
    left: -1px;
    width: 0px;
}

.button:hover .bottom-key-1,
.button:hover .bottom-key-2 {
    right: 0;
    width: 0;
}


#wrapper {
    width: 100%;
}

main {
    width: 100%;

    position: relative;

}

.clamp {
    margin: 0 0 0 clamp(220px, 20%, 400px);
    max-width: calc(100% - 207.203px);
}

.clpg {
    margin: 100px 0 0 clamp(220px, 20%, 400px);
    max-width: calc(100% - 207.203px);
}

.clpgl {
    margin: 100px 70px 0 clamp(220px, 20%, 400px);
    max-width: 1280px;
}



/*ヘッダー*/

#header {
    position: fixed;
    top: 0;
    height: 100vh;
    width: max-content;
    z-index: 100000;
}

.header_main {
    position: relative;
    width: 80px;
    height: 100%;
    background-color: #fff;
}

.header_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header_menu {
    position: absolute;
    top: 5%;
    left: 60px;
    height: 90%;
    width: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header_menu li {
    list-style: none;
    margin: 15px 0;
}

.header_menu p {
    display: inline;
    background: linear-gradient(transparent 0%, #FFF 0%);
    -webkit-box-decoration-break: clone;
}


/*フッター*/
footer {
    width: 100%;
    background-color: #1F2236;
}

.footer_flex {
    display: flex;
    padding: 30px 0;
    align-items: center;
}

.footer_flex p {
    color: #FBFBFB;
    margin-bottom: 40px;
}

.footer_left {
    flex-grow: 1;
}

.footer_icon {
    width: 100%;
    display: flex;
    justify-content: left;
}

.footer_icon img:nth-child(2) {
    margin: 0 40px;
}

.footer_right {
    flex-grow: 2;
}

.footer_right li {
    margin-bottom: 15px;
}

.footer_right p {
    margin: 0;
}

.footer_menu {
    display: flex;
}

.footer_menu_l {
    margin: 0 80px;
}
.footer_caution{
    margin: 0 80px;
}

.footer_caution li {
    color: #FBFBFB;
    font-size: 10px;
    margin: 1px 0;
}

/*トップページ*/
/*スライダー*/

#top_slider {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 50px;
}
/* 要ブラウザ対応 */
.fv_copy {
    height:100%;
    position: absolute;
    top: 0;
    right:50px;
    z-index: 100000;
}

.fv_copy h1 {
    font-family: 'Shippori Mincho VR', serif;
    color: #FBFBFB;
    writing-mode: vertical-rl;
    letter-spacing: -0.1em;
    font-size: 18.5vh;
    line-height: 18.5vh;
    font-weight: 600;
}

.swiper {
    width: 100%;
    height: 100vh;
}

.swiper-wrapper {
    height: auto;
}

.swiper-slide {
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*ニュース*/
#top_news {
    text-align: right;
}

.news_title {
    margin-bottom: 23px;
    position: relative;
    width: 100%;
}

/* webkit-fill-availableがsafariでうまく効かないので、jsで対応 */
/* .news_title::after {
    content: "";
    width: -webkit-fill-available;
    display: inline-block;
    height: 4px;
    border-top: 1px solid #111;
    position: absolute;
    top: 50%;
    left: 200px;
    margin-top: -2px;
} */

.news_title h4 {
    text-align: left;
}

/* .news_title h4 span::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid #111;
    border-radius: 50%;
    position: absolute;
    top: 40%;
    left: 189px;
    margin-top: -2px;
} */

.news_list {
    display: flex;
    margin-right: 70px;
    overflow: scroll;
    justify-content: left;
}

.news_item {
    min-width: 170px;
    width: calc(25% - 30px);
    height: 100%;
    margin-bottom: 50px;
    margin-right:30px;
}

.news_item_img{
    width:100%;
    height:100%;
    
}
.news_item a{
    width: 100%;
    height: 100%;
}

.news_item img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

/* .news_item:first-child {
    margin-left: 0px;
} */

.news_item .sub_text {
    margin-top: 10px;
    margin-bottom: 5px;
}

.news_item p {
    text-align: left;
}

.news_bottom {
    margin: 30px 70px 0 0;
    display: inline-block;
    text-align: right;
}

/*マーキー*/
#marquee {
    margin: 60px 0;
}

.marquee_item {
    height: 100%;
}

.marquee_item p {
    font-size: 144px;
    line-height: 144px;
    letter-spacing: 0.1rem;
}

/* 豊永酒造について */
#top_about {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.top_about_img {
    width: 70%;
}

.top_about_img img {
    width: 100%;
}

.top_about_text {
    text-align: right;
    margin-left: -250px;
}

.top_about_text>h3 {
    width: max-content;
    background-color: #FFF;
    color: #1C1C1C;
}

.top_about_text p {
    max-width: 390px;
    text-align: left;
    margin: 25px 0 80px auto;
    background-color: #FFF;
}

/* 商品情報 */
#top_product {
    padding-right: 70px;
}

.top_product_title {
    text-align: right;
}

.top_product_title h4 {
    color: #1C1C1C;
    font-size: 24px;
}

.top_product_box {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0 10px;
}

.top_product_box_item {
    border: 1px solid #FBFBFB;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top_product_box_item:nth-child(1) {
    flex-basis: 100%;
    height: 400px;
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample1.jpg);
}

.top_product_box_item:nth-child(2) {
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample1.jpg);
}

.top_product_box_item:nth-child(3) {
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample1.jpg);
}

.top_product_box_item:nth-child(4) {
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample1.jpg);
}

.top_product_box_item:nth-child(5) {
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample1.jpg);
}

.top_product_box_item:nth-child(n+2) {
    flex-basis: 50%;
    height: 300px;
}

.product_cap_bottom {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.product_cap_center {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.top_product_box_item p {
    color: #FBFBFB;
}

.top_product_box_item h4 {
    color: #FBFBFB;
}


#top_product a {
    width: 100%;
}

/* ショップバナー */
#top_shopbanner {
    width: 100%;
    margin-top: 50px;
    height: 440px;
    background-image: url(/wp-content/themes/toyonaga-shuzo/img/sample_webshop.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: right;
}

.top_shopbanner_cont {
    text-align: right;
    margin-right: 70px;
}

.top_shopbanner_cont>p,
h3 {
    color: #FBFBFB;
}

/* 特約店バナー */
#top_dealershop {
    position: relative;
    height: 500px;
}

.top_dealershop_cont {
    position: absolute;
    top: 40%;
    left: 0;
}

.top_dealershop_cont h3 {
    color: #1C1C1C;
}

.top_dealershop_cont a {
    margin-top: 45px;
}

.top_dealershop_bg {
    margin-left: 200px;
    height: 100%;
}

.top_dealershop_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ニュース一覧 */
#news_archive {
    max-width: 1440px;
    margin-right: 40px;
}

.news_archive_title {
    margin-bottom: 50px;
}

.news_archive_list {
    display: flex;
    flex-wrap: wrap;
}

.news_archive_item {

    margin: 0 30px 50px 0;
}

.news_archive_item img {
    width: 100%;
    height: 100%;
}

/* ニュース個別 */
.news_single {
    max-width: 900px;
}

.news_single h4 {
    max-width: 900px;
    margin: 10px 50px 45px 0;
}

.news_cont {
    margin: 50px auto;
}



.news_single img {

    width: 100%;
    height: 100%;
}

.news_cont_link {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.news_single_button {
    letter-spacing: 0.15em;
    width: max-content;
    padding: 20px 20px;
    border: 1px solid #1C1C1C;
}

.news_single_button span {
    margin: 0 5px;
}

.news_single_back {
    letter-spacing: 0.15em;
    width: max-content;
    margin: 0 80px;
    padding: 20px 45px;
    border: 1px solid #1C1C1C;
}



/* 商品一覧 */
.archive_header {
    height: 150px;
    max-width: 1440px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-right: 70px;
}

.archive_anchor {
    writing-mode: vertical-lr;
}

.archive_anchor a {
    font-family: 'Shippori Mincho VR', serif;
    color: #1C1C1C;
    letter-spacing: 0.3em;
    height: 100%;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    border-left: 1px solid #1C1C1C;
}

.archive_anchor a::after {
    content: "↑";
    position: absolute;
    bottom: 0;
}

.archive_anchor a:nth-last-child(1) {
    border-right: 1px solid #1C1C1C;
}

.product_block {
    max-width: 1440px;
    margin: 70px 40px 0 0;
}

.product_block h4 {
    margin-bottom: 10px;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}

.product_list_item {
    min-width: 170px;
    width: calc(25% - 30px);
    height: 100%;
    margin: 0 30px 50px 0;
    text-align: center;
}

.product_list_item img {
    width: 100%;
    height: 100%;
}

.product_list_item p {
    margin-top: 15px;
}

/* 商品個別 */
.product_single {
    display: flex;
    flex-wrap: wrap;
    max-width: 1440px;
    margin-bottom: 85px;
}

.product_single_img {
    width: calc(50% - 30px);
    height: 100%;
}

.product_single_img img {
    width: 100%;
    height: 100%;
}

.product_single_desc {
    width: calc(50% - 70px);
    margin: 0 70px 0 30px;
}

.product_single_desc h5 {
    margin-bottom: 30px;
}

.product_single_desc p {
    margin-bottom: 30px;
}

.product_single_desc a {
    margin-top: 5px;
}

.product_other h4 {
    text-align: center;
}

.product_other_slider {
    display: flex;
    flex-wrap: nowrap;
    text-align: center;
}

.product_other_slider_item {
    width: 220px;
    height: 220px;
}

/* 特約店一覧 */
.dealership_list h5 {
    margin: 55px 0 40px 0;
}

.dealership_list_item {
    display: flex;
    justify-content: space-between;
    margin-right: 70px;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.dealership_list_text {
    margin-right: 15px;
}

.dealership_list_right {
    text-align: right;
}

.dealership_list_right p {
    margin-bottom: 5px;
}

.dealership_list_right a::after {
    margin: 0 3px;
    font-family: FontAwesome;
    vertical-align: middle;
    content: '\f08e';
}

/* お問い合わせ */

.contact_section {
    width: 100%;
}

.contact_section input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #1C1C1C;
    border-radius: 10px;
    /* Paragraph/regular*/
    font-family: 'Shippori Mincho';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    /* または180% */
    letter-spacing: 0.15em;
    /* Main/Toyonaga_black */
    color: #1C1C1C;
    resize: vertical;
}

.contact_section textarea {
    min-height: 150px;
}

.contact_name {
    padding: 30px 0 15px;
    margin: 0;
}


.contact_input {
    border-radius: 10px;
}

form.sent p {
    display: none;
}

.contact_btn {
    text-align: center;
    margin: 30px 0;
}

.send_btn {
    font-family: 'Shippori Mincho', serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.15em;
    background-color: #FBFBFB;
    padding: 15px 50px;
    border: 1px solid #1C1C1C;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    /* 送信ボタン下未入力警告 */
    border: none;
    padding: 0;
    color: #dc3232;
    letter-spacing: 0.15em;
    margin: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: none;
    font-family: 'Shippori Mincho', serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 29px;
    letter-spacing: 0.15em;
}

.contact_error {
    text-align: center;
    margin: 0 0 15px 0;
}

/* 会社概要 */
.company_fv {
    width: 100%;
    height: 250px;
}

.company_fv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campany_sec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px;
}

.campany_sec h4 {
    flex-basis: 50%;
    margin-right: 20px;
}

.campany_sec p {
    margin-left: 20px;
    border-left: 1px solid #1C1C1C;
    padding-left: 50px;
}

.campany_address {
    margin: 0 auto;
    flex-basis: 50%;
}

.campany_access h5 {
    margin-bottom: 45px;
}

.campany_access p {
    margin: 0;
    border: none;
    padding: 0 60px 0 0;
}

/* 404ページ */
.pg_error h2{
    margin-bottom: 50px;
}
.pg_error p{
    margin-bottom: 50px;
}