/* 変数定義 */
:root {
    --accent-color: #A51016; /* 広島空港のアクセントカラー */
    --accent-color_B: #3071b9;
    --primary-text-color: #333;
    --secondary-text-color: #666;
    --background-light: #f6f6f6;
    --background-white: #fff;
    --border-color: #eee;
    --font-family-jp: 'Noto Sans JP', sans-serif;
}

/* 基本スタイル */
body {
    font-family: var(--font-family-jp);
    line-height: 1.7;
    color: var(--primary-text-color);
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.25em;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color_B);
    border-radius: 100px;
}
.section-sub-title {
    text-align: center;
    font-weight: 700;
}

/* ボタン共通スタイル */
.btn {
    display: inline-block;
    padding: 10px 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #555;
    color: var(--background-white);
    transition: 0.3s ease-in-out;
}

.btn-primary:hover {
    background: #999;
}

.btn-secondary {
    background-color: var(--background-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-white);
}

.button {
  position: relative;
  display: inline-block;
  font-weight: 700; 
  line-height: 1.5;
  padding: 20px 60px 20px 100px;
  transition: 0.3s;
  text-decoration: none;
  color: #fff;
  border-radius: 0.5rem;
  background: #A51016;
  box-shadow: 0 5px 0 #8C0E14;
  margin-left: 10px;
  letter-spacing: 0.01em;
  font-size: 1.25rem;
}
.button p {
  margin: 0;
}
.button .btn_balloon {
  position: absolute;
  display: inline-block;
  bottom: 0.8em;
  left: -10px;
  width: 5em;
  height: 5em;
  line-height: 5em;
  text-align: center;
  letter-spacing: 0;
  color: #A51016;
  font-size: 80%;
  font-weight: 700;
  background: #fff;
  border: 3px solid #A51016;
  border-radius: 50%;
  box-sizing: border-box;
  transform: rotate(-10deg);
}

.button .btn_balloon::before {
  position: absolute;
  content: "";
  bottom: -5px;
  right: -10px;
  border: 9px solid transparent;
  border-left: 15px solid #FFF;
  z-index: 0;
  transform: rotate(45deg);
}

.button:hover {
  transform: translate(0, 3px);
  background: #b63d42;
  box-shadow: 0 2px 0 #A51016;
}

.text-c {
    text-align: center;
}

img {
    width: 100%;
    height: auto;
}

.color-b {
    color: var(--accent-color_B);
}

/* トップセクション */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
}
.hero-image-wrapper {
    background-image: url(../img/main_mv_bg.jpg);
    background-size: cover;
    position: relative;
}
.hero-mv_Txt {
    width: 40%;
    position: absolute;
    top: 15%;
    right: 5%;
}



/* アニメーション */
.hero-fadein {
  animation: hero-fadein 1.5s cubic-bezier(0.33, 1, 0.68, 1) .5s forwards;
  opacity: 0;
}
.hero-fadeup {
  animation: hero-fadeup 1.5s cubic-bezier(0.33, 1, 0.68, 1) 1.5s forwards;
  opacity: 0;
}

@keyframes hero-fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes hero-fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 申し込みセクション */
.apply-section {
    background-color: var(--accent-color_B);
}

.f-box2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.apply-section .f-box2 > .f-item:first-child {
    width: 55%;
}
.apply-section .f-box2 > .f-item:last-child {
    width: 40%;
}

.apply-section .apply-date {
    background-color: #fff;
    padding: 1.5rem 3rem;
    margin-top: 3rem;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}
.apply-section .apply-date::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 5px;
    left: 5px;
    border: 1px solid #fff;
    border-radius: 10px;
}

.apply-section .apply-btn {
    text-align: center;
    margin-top: 2.5rem;
}



/* 概要セクション */
.about-table_Wrap {
margin: 3rem auto 0;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
border-radius: 10px;
padding: 1.5rem;
width: 100%;
max-width: 900px;
}
.about-table {
border-collapse: collapse;
width: 100%;
}
.about-table th, .about-table td {
padding: 1.5rem 1rem;
}
.about-table td {
    padding-left: 3rem;
}
.about-table td p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.about-table td p:last-child {
    margin-bottom: 0;
}
.about-table th {
color: var(--accent-color_B);
font-weight: 700;
text-align: center;
width: 20%;
min-width: 4rem;
position: relative;
font-size: 1.1em;
}
.about-table th::after {
content: "";
background-color: #c1c7c6;
position: absolute;
top: 50%;
left: 100%;
transform: translateY(-50%);
width: 1px;
height: 80%;
}



/* サービスイベントセクション */
.event-section {
    background-color: #fff;
    padding-bottom: 0;
}
.event-section .event-header_Txt {
    margin-top: 3rem;
    text-align: center;
}

.event-section .f-box3 {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.event-section .f-item {
    width: calc((100% - 7.5rem) / 6);
}
.event-section .f-box3 .point-box {
    background-color: #fefefe;
    color: var(--accent-color_B);
    border: 2px solid var(--accent-color_B);
    box-shadow: 5px 5px var(--accent-color_B);
    text-align: center;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 4px;
    min-height: 120px;
    justify-content: center;
    align-items: center;
}

.point_ttl {
    position: relative;
    text-align: center;
    display: block;
    width: fit-content;
    line-height: 1.2;
    margin: 4rem auto 3rem;
    padding: 0 2rem;
}
.point_ttl_main {
    color: var(--accent-color_B);
    font-size: 1.75rem;
}
.point_ttl::before, .point_ttl::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 2rem;
    background: rgba(48, 113, 185, 0.4);
}
.point_ttl::before {
    transform: rotate(-30deg);
    left: 0;
}
.point_ttl::after {
    transform: rotate(30deg);
    right: 0;
}

h3.heading {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    padding: .5em .7em;
    overflow: hidden;
    border: 2px solid #3071b9;
    border-radius: 5px;
    color: #333333;
    margin-top: 6rem;
}
h3.heading:before {
    position: absolute;
    top: -50%;
    left: -30px;
    z-index: -1;
    transform: rotate(25deg);
    width: 100px;
    height: 200%;
    background-color: #3071b9;
    content: '';
}
h3.heading span {
    margin-right: 3em;
    color: #fff;
    font-size: 1.1em
}

.event-section .yellow-box {
    background-color: #fffbc7;
    padding: 1.75rem 2.5rem;
}
.event-section .f-box2 {
    align-items: flex-start;
    margin-bottom: 1rem;
}
.event-section .f-box2 > .f-item {
    width: 47.5%;
    
}
.event-section .yellow-box h4 {
    background-color: var(--accent-color_B);
    color: #fff56b;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
    border-radius: 4px 4px 0 0;
}
.event-section .yellow-box .img {
    margin: 0;
}
.event-section .yellow-box .img img {
    display: block;
}
.event-section .yellow-box .text {
    padding: 1rem;
    margin: 0;
    background-color: #fff;
}
.event-section .yellow-box .hosoku {
    font-size: 85%;
    margin-top: 0;
    margin-bottom: 0;
        padding-left: 1em;
        text-indent: -1em;
}

.qa-8 dt {
    margin-bottom: 1em;
    color: #333333;
    font-weight: 600;
}
.qa-8 dt::before,
.qa-8 dd::before {
    margin-right: .4em;
}
.qa-8 dt::before {
    content: "Q.";
}
.qa-8 dd {
    margin: 0 0 2.5em;
    padding: 1em 1.5em;
    background-color: #f2f2f2;
    color: #333333;
}
.qa-8 dd::before {
    content: "A.";
}


.carousel {
    margin-top: 6rem;
}
.carousel .slick-slide{
  min-width: var(--WIDTH);
  max-width: var(--WIDTH);
}
@media screen and (min-width: 768px){
  .carousel .slick-slide{
    --WIDTH: 300px;
  }
}
@media screen and (max-width: 767px){
  .carousel .slick-slide{
    --WIDTH: 150px;
  }
}




/* 注意事項セクション */
.caution-section .caution-list {
    position: relative;
    padding-left: 25px;
    padding: 1.5em;
    border: 2px solid var(--accent-color_B);
    margin-top: 3rem;
    background-color: #fff;
    box-shadow: 5px 5px var(--accent-color_B);
    list-style: none;
}
.caution-section .caution-list li{
    position: relative;
    padding: 0.5rem 0 0.5rem 25px;
}
.caution-section .caution-list li:before {
    content: "";
    position: absolute;
    top: 1.05em;
    left: 6px;
    -webkit-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    transform: rotate(50deg);
    width: 3px;
    height: 7px;
    border-right: 2px solid var(--accent-color_B);
    border-bottom: 2px solid var(--accent-color_B);
}
.caution-section .caution-list li:after {
    content: "";
    position: absolute;
    top: .85em;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid var(--accent-color_B);
    border-radius: 2px;
}




.contact-section {
    text-align: center;
    background-color: #fff;
}
.contact-section h3 {
    margin-top: 3rem;
}
.contact-section h3 span {
    display: inline-block;
    background-color: var(--accent-color_B);
    color: #fff;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    min-width: 400px;
    font-size: 1.25rem;
}
.contact-section .tel {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color_B);
    margin-bottom: 0;
}
.contact-section .contact-time {
    margin-top: 0;
}
.contact-section .tel span {
    font-size: 2.5rem;
}


/* フッター */
.footer {
    background-color: var(--primary-text-color);
    color: var(--background-white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}
.footer .copyright {
    font-size: 12px;
    font-weight: 400;
}


    .hero-image-sp {
        display: none;
    }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }

    body {
        font-size: 14px;
    }

    .section {
        padding: 25px 0;
    }

    .section-title {
        margin-top: 0;
    }

    .section-title {
        font-size: 1.8em;
    }


    .hero-image-wrapper {
        background-image: url(../img/main_mv_bg_sp.jpg);
        min-height: 80vh;
        background-position: center bottom;
    }
    .hero-mv_Txt {
        width: 80%;
        position: relative;
        top: auto;
        right: auto;
        margin: 1rem auto 0;
    }
    .apply-section {
        padding-top: 0;
    }
    .apply-section .f-box2 {
        flex-wrap: wrap;
    }
    .apply-section .f-box2 > .f-item:first-child, .apply-section .f-box2 > .f-item:last-child {
        width: 100%;
    }
    .apply-section .f-box2 > .f-item:last-child {
        margin-top: 1rem;
    }
    .apply-section .apply-date {
        padding: 0.5rem 1.5rem 1.5rem;
        margin-top: 1.5rem;
        border-radius: 5px;
    }
    .apply-section .apply-date::before {
        border-radius: 5px;
    }
    .apply-section .apply-btn {
        margin-top: 1.5rem;
    }
    .apply-section .apply-btn .button {
        font-size: 1.1rem;
        padding: 10px 30px 10px 50px;
    }
    .apply-section .apply-btn .button .btn_balloon {
        left: -20px;
        width: 4em;
        height: 4em;
        line-height: 3.5em;
    }

    .event-section {
        padding-bottom: 0;
    }
    .event-section .f-box3 {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    .event-section .f-item {
        width: calc((100% - 1.5rem) / 3);
    }
    .event-section .f-box3 .point-box {
        font-size: 1.25rem;
        padding: 0.5rem 0;
        min-height: 100px;
    }

    h3.heading {
        margin-top: 3rem;
    }
    h3.heading:before {
        top: -70%;
        left: -40px;
    }
    h3.heading span {
        margin-right: 2.5em;
    }

    .event-section .yellow-box {
        padding: 1.25rem 1rem;
    }
    .event-section .f-box2 {
        flex-wrap: wrap;
    }
    .event-section .f-box2 > .f-item {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .carousel {
        margin-top: 1rem;
    }


    .about-table_Wrap {
        margin: 1.5rem auto 0;
        border-radius: 4px;
        padding: 0.5rem 1rem;
    }
    .about-table th, .about-table td {
        display: block;
        width: 100%;
        padding: 0.5rem;
    }
    .about-table th {
        min-width: 100%;
    }
    .about-table th::after {
        content: none;
    }
    .about-table td {
        padding-left: 0.5rem;
        border-bottom: 1px solid #c1c7c6;
        margin-bottom: 1rem;
    }
    .about-table tr:last-child td {
        border: none;
    }

    .caution-section .caution-list {
        padding: 1em;
        margin-top: 1.5rem;
    }



    .contact-section h3 span {
        min-width: 100%;
    }

}


br.pc {
    display: inline;
}
br.sp {
    display: none;
}

.dispPC {
    display: block;
}
.dispSP {
    display: none;
}

@media (max-width: 480px) {
    .hero-catchphrase {
        font-size: 1.5em;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
        width: 80%;
        text-align: center;
    }

    br.pc {
        display: none;
    }
    br.sp {
        display: inline;
    }

    .dispPC {
        display: none;
    }
    .dispSP {
        display: block;
    }
}