@charset "UTF-8";
/* =========================
   Base
========================= */
html {
    font-size: 100%;
}
body {
    margin: 0;
    font-size: 0.8rem;
    color: #32678E;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    font-family:
        "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.wrapper {
    max-width: 800px;
    padding: 1rem;
    margin: auto
}
p {
    text-align: justify;
}
/*==================nav=========================*/
/* ハンバーガー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 15px;
    right: 13px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8eee2;
    z-index: 9999;
}
.bar {
    width: 20px;
    height: 2px;
    background: #869cc0;
    margin: 3px auto;
    transition: transform .5s ease, opacity .5s ease;
    transform-origin: center;
}
/* メニュー */
.menu {
    list-style: none;
    position: fixed;
    top: 0;
    right: -110%;
    width: 100%;
    height: 30vh;
    background: #869cc0;
    opacity: .9;
    transition: .5s ease;
    padding-top: 15px;
    margin: 0;
    z-index: 9997;
}
.menu.active {
    right: 0;
}
.menu li {
    text-align: left;
    margin: 6px 0;
}
.menu a {
    color: #f8eee2;
    text-decoration: none;
    display: inline-block;
    padding: 5px 20px;
}
/* クリック後：×印 */
.hamburger.active {
    background: #fff;
}
.hamburger.active .bar:first-child {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    background: #f8eee2;
}
.hamburger.active .bar:last-child {
    transform: translateY(-8px) rotate(-45deg);
}
/*==================main=========================*/
main {
    display: flex;
    flex-direction: row-reverse;
    gap: 0;
    background-image: url("../img/flower.png");
    background-size: 150px;
    background-position: left top;
}
.right {
    writing-mode: vertical-rl;
    width: 5rem;
    background-color: #869cc0;
}
h1 {
    margin: auto;
    padding-top: 5rem;
    padding-right: 0.5rem;
    font-size: 2.5rem;
    color: #f8eee2;
    z-index: 9998;
}
.little {
    font-size: 1.5rem;
    margin: 1rem;
}
h3 {
    margin-top: 5rem;
    text-align: center;
    font-size: 1.3rem;
    position: relative;
    color: #e05d48;
    text-shadow: 2px 2px 3px #fff
}
h4 {
    font-size: 1rem;
    background-color: #869cc0;
    text-align: center;
    color: #f8eee2;
    margin: 4rem 0 2rem;
    font-weight: normal
}
h4 a {
    text-decoration: none;
    color: #f8eee2;
}
h5 {
    font-size: 1rem;
    padding-left: 1rem;
    color: #e05d48;
    border-left: 10px solid #e05d48;
    border-bottom: 2px solid #e05d48;
}
h6 {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: #32678E;
    text-align: right;
}
.flower {
    width: 150px
}
.flower_one {
    margin: 3rem auto 0;
    width: 30px;
}
/*==================section=========================*/
.box {
    padding: 1rem;
    margin: 0 0 3rem;
    border: 2px solid #869cc0;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 1rem;
    box-shadow: 5px 5px 5px #efcac9;
    height: 15rem;
}

 .box_photo {
  width: 40%;
  height: 10rem;
  overflow: hidden;
  flex-shrink: 0;
}

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

.box_text {
    width: 55%
}
.btn {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    list-style: none;
    margin: 1rem auto 0;
}
.btn a {
    width: 100%;
    font-size: 0.5rem;
    white-space: nowrap;
    text-decoration: none;
    color: #f8eee2;
    padding: 0.5rem;
    margin: 0 auto;
    background-color: #869cc0;
}
a.sample {
    padding: 0.5rem 1rem;
}
/*--------------message--------------------*/
.message {
    margin-bottom: 3rem;
}
/*==================デスクトップ用========================*/
@media(min-width:600px) {
	 .group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem
    }
    section {
        height: 20rem;
	}}
	@media(min-width:1200px) {
    /*--------------ハンバーガ打ち消し--------------------*/
    .hamburger {
        display: none;
    }
    .bar {
        display: none;
    }
    /*--------------メニュー右固定--------------------*/
    .right {
        position: fixed;
        height: 100vh;
        width: 10%;
    }
    .left {
        margin-right: 15%;
        width: 80%;
    }
    .menu {
        list-style: none;
        position: fixed;
        top: 0px;
        right: 10%;
        width: 15%;
        height: 100vh;
        opacity: 1;
        transition: none;
        padding-top: 10rem;
        padding-bottom: 1rem;
        z-index: 9997;
    }
    .menu li {
        text-align: left;
    }
    /*--------------main--------------------*/
    h3 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    /*--------------背景--------------------*/
    main {
        background-size: 300px;
    }
    /*--------------セクション--------------------*/
   
}