@charset "utf-8";

/* ========================================
   stock banner
======================================== */

.stock-banner {
    padding: 0 40px 3rem;
    background: #ffffff;
}

.stock-banner__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
    align-items: stretch;
    width: min(100%, 1024px);
    min-height: 360px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #0474c7;
    border-radius: 10px;
    overflow: hidden;
}

.stock-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 0 44px 64px;
}

.stock-banner__text {
    position: relative;
}

.stock-banner__lead {
    margin: 0;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.stock-banner__message {
    margin: 4px 0 0;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
}

.stock-banner__message span {
    color: #0474c7;
    font-size: 22px!important;
    font-weight: 700;
}

.stock-banner__line {
    display: block;
    width: min(100%, 360px);
    height: 6px;
    margin-top: 20px;
    background: #d9ebf8;
}

/* ボタン */

.stock-banner__buttons {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: calc(100% + 430px);
    margin-top: 36px;
}

.stock-banner__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding: 18px 24px 18px 28px;
    background: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 3px 6px #0000001e;
    transition: all .5s;
}

.stock-banner__button  span{
    margin-right: .25rem;
  　 font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.stock-banner__button:hover {
    opacity: .6;
    transform: translateY(-3px);
}

.stock-banner__button--goo {
  	border: 2px solid #f20b0b;
}

.stock-banner__button--carsensor {
  border: 2px solid #f28900;
}

.stock-banner__button-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.stock-banner__button-text strong {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.stock-banner__button-text small {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.stock-banner__button:hover .stock-banner__button-text small {
    color: #ffffff;
}

.stock-banner__button-arrow {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: #ffffff;
    background: currentColor;
    border-radius: 50%;
}

.stock-banner__button-arrow::before{
  content:"";

  position:absolute;
  top:50%;
  left:48%;

  width:7px;
  height:7px;

  border-top:2px solid #fff;
  border-right:2px solid #fff;

  transform:translate(-50%,-50%) rotate(45deg);

  transition:border-color .3s ease;
}

/* Goo */

.stock-banner__button--goo .stock-banner__button-arrow{
  background:#f20b0b;
}

/* カーセンサー */

.stock-banner__button--carsensor .stock-banner__button-arrow{
  background:#f28900;
}

/* 画像 */

.stock-banner__image {
    position: relative;
    min-width: 0;
}

.stock-banner__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.88) 12%,
        rgba(255, 255, 255, 0.25) 36%,
        rgba(255, 255, 255, 0) 58%
    );
    pointer-events: none;
}

.stock-banner__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   1200px以下
======================================== */

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

    .stock-banner {
        padding: 72px 40px;
    }

    .stock-banner__inner {
        width: min(100%, 1000px);
    }

    .stock-banner__content {
        padding-left: 44px;
    }

    .stock-banner__buttons {
        width: calc(100% + 330px);
        gap: 20px;
    }

    .stock-banner__button {
        padding-right: 20px;
        padding-left: 22px;
    }

    .stock-banner__button-text strong {
        font-size: 22px;
    }

    .stock-banner__button-text small {
        font-size: 12px;
    }
}

/* ========================================
   1024px以下
======================================== */

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

    .stock-banner {
        padding: 64px 40px;
    }

    .stock-banner__inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .stock-banner__content {
        padding: 48px 48px 36px;
    }

    .stock-banner__message strong {
        font-size: 26px;
    }

    .stock-banner__buttons {
        width: 100%;
        margin-top: 30px;
    }

    .stock-banner__image {
        height: 300px;
    }

    .stock-banner__image::before {
        background: linear-gradient(
            0deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.72) 12%,
            rgba(255, 255, 255, 0) 34%
        );
    }

    .stock-banner__image img {
        min-height: 300px;
    }
}

/* ========================================
   768px以下
======================================== */

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

    .stock-banner {
        padding: 56px 24px;
    }

    .stock-banner__content {
        padding: 38px 28px 30px;
    }

    .stock-banner__lead {
        font-size: 16px;
    }

    .stock-banner__message {
        font-size: 16px;
    }

    .stock-banner__message strong {
        font-size: 24px;
    }

    .stock-banner__line {
        height: 4px;
        margin-top: 16px;
    }

    .stock-banner__buttons {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .stock-banner__button {
        min-height: 72px;
    }

    .stock-banner__button-text strong {
        font-size: 20px;
    }

    .stock-banner__button-text small {
        font-size: 12px;
    }

    .stock-banner__image {
        height: 260px;
    }

    .stock-banner__image img {
        min-height: 260px;
    }
  .stock-banner__button  span{
      font-size: 16px!important;
  }
}

/* ========================================
   414px以下
======================================== */

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

    .stock-banner {
        padding: 48px 20px;
    }

    .stock-banner__inner {
        border-radius: 8px;
    }

    .stock-banner__content {
        padding: 30px 20px 24px;
    }

    .stock-banner__lead {
        font-size: 14px;
    }

    .stock-banner__message {
        font-size: 14px;
        line-height: 1.6;
    }

    .stock-banner__message strong {
        font-size: 21px;
    }

    .stock-banner__button {
        min-height: 66px;
        padding: 14px 14px 14px 18px;
    }

    .stock-banner__button-text {
        gap: 5px;
    }

    .stock-banner__button-text strong {
        font-size: 18px;
    }

    .stock-banner__button-text small {
        font-size: 12px;
    }

    .stock-banner__button-arrow {
        width: 32px;
        height: 32px;
    }

    .stock-banner__image {
        height: 220px;
    }

    .stock-banner__image img {
        min-height: 220px;
    }
}

/* ========================================
   footer CTA
======================================== */

.footer-cta {
    position: relative;
    display: block;
    padding: 52px 24px 48px;
    background: #e9f4fd;
    color: #000000;
    text-decoration: none;
    overflow: hidden;
}

.footer-cta-inner {
    position: relative;
    z-index: 2;
    width: min(100%, 760px);
    margin: 0 auto;
}

.footer-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-cta-title {
    margin: 0;
    color: #0474c7;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.footer-cta-sub {
    margin: 14px 0 0;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.footer-cta-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.footer-cta-hours__icon {
    width:  16px;
    height: auto;
}

/* CTAボタン */

.footer-cta-button {
    position: relative;
    display: grid;
    grid-template-columns: 32px 1fr 18px;
    align-items: center;
    gap: 12px;
    width: min(100%, 320px);
    min-height: 66px;
    margin-top: 22px;
    padding: 12px 18px;
    color: #ffffff!important;
    background: #0474c7;
    border: 1px solid #0474c7;
    border-radius: 7px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-cta-button:hover {
    opacity: .6;
    transform: translateY(-3px);
}

.footer-cta-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #0474c7;
    background: #ffffff;
    border-radius: 50%;
    transition: all .5s;
}

.footer-cta-button:hover .footer-cta-button__icon {
    color: #ffffff;
    background: #0474c7;
}

.footer-cta-button__arrow {
    position: relative;
    display: block;
    width: 20px;
    height: 1px;
}

.footer-cta-button__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* ========================================
   footer
======================================== */

.footer {
    background: #ffffff;
    border-top: 1px solid #d8d8d8;
}

.footer__inner {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(600px, 1.4fr);
    gap: 80px;
    align-items: stretch;
    width: min(calc(100% - 80px), 1760px);
    min-height: 230px;
    margin: 0 auto;
    padding: 46px 0 22px;
}

/* ========================================
   左側 ロゴ・会社情報
======================================== */

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    background: #ffffff;
}

.footer-logo__link {
    display: block;
    width: min(100%, 280px);
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
}

.footer-company {
    margin-top: 16px;
}

.footer-company p {
    margin: 0;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.footer-company__hours {
    margin-top: 2px;
}

/* ========================================
   右側 メニュー
======================================== */

.footer__menu-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 8px 0 0;
    background: #ffffff;
}

.footer__menu {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: end;
    gap: 30px 42px;
}

.footer__menu a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer__menu a:hover {
    color: #0474c7;
}

.footer-menu-arrow {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #868f95;
    border-radius: 50%;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.footer-menu-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 46%;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.footer__menu a:hover .footer-menu-arrow {
    color: #ffffff;
    background: #0474c7;
    border-color: #0474c7;
    transform: scale(1.08);
}

/* コピーライト */

.footer-copy {
    margin: 50px 0 0;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: right;
}

/* ========================================
   1400px以下
======================================== */

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

    .footer__inner {
        grid-template-columns: minmax(280px, 0.7fr) minmax(620px, 1.5fr);
        gap: 50px;
        width: calc(100% - 60px);
    }

    .footer__menu {
        grid-template-columns: repeat(4, max-content);
        gap: 26px 34px;
    }
}

/* ========================================
   1200px以下
======================================== */

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

    .footer__inner {
        grid-template-columns: 280px 1fr;
        gap: 36px;
        width: calc(100% - 48px);
    }

    .footer-logo img {
        max-width: 220px;
    }

    .footer-company p {
        font-size: 16px;
    }

    .footer__menu {
        grid-template-columns: repeat(3, max-content);
        gap: 24px 30px;
    }

    .footer__menu a {
        font-size: 16px;
    }
}

/* ========================================
   1024px以下
======================================== */

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

    .footer-cta {
        padding: 48px 32px 44px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 46px;
        width: calc(100% - 80px);
        min-height: 0;
        padding: 54px 0 28px;
    }

    .footer-logo {
        align-items: center;
        text-align: center;
    }

    .footer-logo__link {
        width: 240px;
    }

    .footer-company {
        margin-top: 18px;
    }

    .footer__menu-wrap {
        padding: 0;
    }

    .footer__menu {
        grid-template-columns: repeat(4, 1fr);
        justify-content: stretch;
        gap: 0;
        border-top: 1px solid #d8d8d8;
    }

    .footer__menu a {
        position: relative;
        justify-content: space-between;
        min-height: 64px;
        padding: 14px 18px;
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
        white-space: normal;
    }

    .footer__menu a:nth-child(4n) {
        border-right: 0;
    }

    .footer-copy {
        margin-top: 30px;
        text-align: center;
    }
}

/* ========================================
   768px以下
======================================== */

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

    .footer-cta {
        padding: 44px 24px 40px;
    }

    .footer-cta-title {
        font-size: 26px;
    }

    .footer-cta-sub {
        font-size: 14px;
    }

    .footer-cta-hours {
        font-size: 14px;
    }

    .footer-cta-button {
        min-height: 60px;
        font-size: 14px;
    }

    .footer__inner {
        width: calc(100% - 48px);
        padding-top: 48px;
    }

    .footer-company p {
        font-size: 14px;
    }

    .footer__menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__menu a:nth-child(4n) {
        border-right: 1px solid #d8d8d8;
    }

    .footer__menu a:nth-child(2n) {
        border-right: 0;
    }

    .footer__menu a {
        font-size: 14px;
    }

    .footer-copy {
        font-size: 12px;
    }
}

/* ========================================
   414px以下
======================================== */

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

    .footer-cta {
        padding: 40px 20px 36px;
    }

    .footer-cta-title {
        font-size: 22px;
    }

    .footer-cta-sub {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-cta-hours {
        margin-top: 6px;
        font-size: 12px;
    }

    .footer-cta-button {
        grid-template-columns: 30px 1fr 16px;
        width: 100%;
        min-height: 58px;
        margin-top: 18px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .footer-cta-button__icon {
        width: 30px;
        height: 30px;
    }

    .footer__inner {
        gap: 40px;
        width: calc(100% - 40px);
        padding: 42px 0 22px;
    }

    .footer-logo__link {
        width: 210px;
    }

    .footer-logo img {
        max-width: 210px;
    }

    .footer-company {
        margin-top: 14px;
      text-align: left;
    }

    .footer-company p {
        font-size: 12px;
        line-height: 1.8;
    }

    .footer__menu {
        grid-template-columns: 1fr;
    }

    .footer__menu a,
    .footer__menu a:nth-child(2n),
    .footer__menu a:nth-child(4n) {
        min-height: 58px;
        padding: 12px 14px;
        border-right: 0;
        font-size: 14px;
    }

    .footer-menu-arrow {
        width: 19px;
        height: 19px;
    }

    .footer-copy {
        margin-top: 24px;
        font-size: 12px;
    }
}