header{
    display: flex;
    justify-content: space-between;
    align-items: start;
    background-color: #fff;
    box-shadow: 0 3px 5px  #ccc;
}

header .flex a{
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0 20px 0;
    text-decoration: none;
}

header .flex .img{
    margin: 0 5px 0 20px;
    width: 90px;
    overflow: hidden;
    position: relative;
}

header .flex .right{
    padding: relative;
}

header .flex .sub{
    font-family: "BIZ UDPMincho", serif;
    font-weight: 200;
    font-style: normal;
    font-size: 50%;
    color: #064173;
}

header .flex .title{
    font-family: "BIZ UDPMincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 100%;
    color: #064173;
    margin-top: 3px;
}
 
header .flex .text{
    margin: 3px 0 0 3px;
    font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 35%;
    color: #064173;
}

.breadcrumb-001 {
    display: flex;
    gap: 0 22px;
    list-style: none;
    margin: 30px;
    font-size: 12px;
}

.breadcrumb-001 li {
    display: flex;
    align-items: center;
}

.breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .4em;
    height: .4em;
    margin-left: 10px;
    border-top: 1px solid #6e6767;
    border-right: 1px solid #6e6767;
    content: '';
}

.breadcrumb-001 a {
    color: #000;
    text-decoration: none;
}

.breadcrumb-001 .text{
    color: #6e6767;
}

.breadcrumb-001 .text:hover{
    color: #2589d0;
}

main{
    font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
    font-style: normal;
}

h2{
    font-family: "Playfair Display", serif;
    position: absolute;
    top: 330px;
    left: 1200px;
    font-size: 100px;
    font-weight: 600;
    z-index: 8;
    text-align: end;
    line-height: 105px;
    writing-mode: vertical-lr;
    color: #064173;
    
}

.container{
    width: 100%;
    height: 800px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
  
.image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;
    z-index: 2;
    animation: image-switch-animation 15s infinite;
}
  
.src1 {
    background-image: url(../img/saiyou1.jpg);
}

.src2 {
    background-image: url(../img/saiyou2.jpg);
}

.src3 {
    background-image: url(../img/saiyou3.jpg);
}
  
.image:nth-of-type(1) {
    animation-delay: 0s;
}

.image:nth-of-type(2) {
    animation-delay: 5s;
}

.image:nth-of-type(3) {
    animation-delay: 10s;
}
  
 @keyframes image-switch-animation {
    0%{ opacity: 0;}
    20%{ opacity: 1;}
    33%{ opacity: 1;}
    63%{ opacity: 0;
          transform: scale(1.1);
                     z-index:1;
    }
    100%{ opacity: 0;}
}

.botan .dr a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    border: 1px solid #4d9bc1;
    border-radius: 5px;
    background-color: #fff;
    color: #4d9bc1;
    font-size: 1em;
    text-decoration: none;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.botan .dr a::after {
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-top: 2px solid #4d9bc1;
    border-right: 2px solid #4d9bc1;
    content: '';
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.botan .dr a:hover{
    background-color: #4d9bc1;
    color: #fff;
}

.botan .dr a:hover::after{
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.botan{
    display: flex;
    justify-content: center;
    gap: 200px;
    margin: 200px 0;
}

.botan .nr a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    border: 1px solid #c77974;
    border-radius: 5px;
    background-color: #fff;
    color: #c77974;
    font-size: 1em;
    text-decoration: none;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.botan .nr a::after {
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-top: 2px solid #c77974;
    border-right: 2px solid #c77974;
    content: '';
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.botan .nr a:hover{
    background-color: #c77974;
    color: #fff;
}

.botan .nr a:hover::after{
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

main .pr{
    margin-top: 200px;
    padding: 100px 0;
    background-color: #064173;
}

main .pr h5{
    align-items: center;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #fff;
}

main .movie{
    display: flex;
    justify-content: center;
}