html {
  scroll-behavior: smooth;
}

img {
    display: block;
    max-width: 100%;
    width: auto;
}

.pageHeader {
    background: #fff;
}

.story_head {
    font-family: 'FuturaLTPro-LightOblique';
    color: #991899;
    font-size: 1.1em;
}

.contents h1 {
    font-size: 2em;
    margin-block-start: 0.5em;
    font-weight: 500;
    }

.contents .pt_imgWrapper, .pt_us {
    margin: 0 auto;
    width: 750px;
    line-height: 1.8;
    font-size: 1.2rem;
    text-align: justify;
}

.p_imgs {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 750px;
    margin: auto;
}

.pimg1, .pimg2 {
    width: 100%;
}

.pimg1 img, .pimg2 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.p_cmenu {
    flex: 1;
    background-color: #E2E4ED;
    padding: 0;
    height: 300px;
    margin-top: 60px;
}

.cmenu_title {
    font-family: 'FuturaLTPro-LightOblique';
    color: #006B8A;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 40px 20px 0;
    margin: 0 auto;
    width: 750px;
    text-align: right;
}

.p_cmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.p_cmenu li {
    border-bottom: 1px solid #006B8A;
    transition: background-color 0.2s ease;
}

.p_cmenu li:last-child {
    border-bottom: none;
}

.p_cmenu a {
    display: block;
    padding: 20px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.4;
    max-width: 750px;
    margin: auto;
    font-weight: 500;
}

.p_cmenu li:hover {
    background-color: #d8d8e0;
    color: #000;
}

.pimg1 img {
    width: 320px;
    margin-top: 60px;
}

.pimg2 img {
    width: 220px;
}

.cb {
    max-width: 1025px;
    margin: auto;
}

.story_content {
    margin: 100px auto;
    padding-top: 100px;
}

.ctitle {
  margin-bottom: 30px;
  position: relative;
}

.ctext {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.ctitle h2 {
  font-size: 25px;
  font-weight: normal;
  color: #333;
  margin: 0;
  padding: 0 0 15px 0;
  line-height: 1.6;
  position: relative;
}

.ctitle h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  width: 40px;
  height: 3px;
  background-color: #006B8A;
}

.story_content .contents {
    width: 750px;
    margin: auto;
    padding: 0;
}

img#img3 {
    margin: auto;
}

.cimgtxt {
    font-size: 12px;
    color: #777777;
    padding: 5px 20px;
}

.cimg {
}

#fagica .cimg {
    width: 100%;
}

.ctext.blue {
    background: #E2F2ED;
    padding: 65px 40px 10px 40px;
}

.ctext ul{
  list-style: none;
  padding-left: 0;
}

.ctext li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 2em;
}

.ctext li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 12px;
  height: 12px;
  background-color: #006B8A;
  border-radius: 50%;
  transform: translateY(-50%);
}

.web_c {
    width: 750px;
    margin: 5px auto;
    display: block;
    overflow: hidden;
    padding-bottom: 80px;
}

.webtitle h5 {
    margin: 1em auto 0;
    font-size: 1em;
}

.webtitle p {
    margin: 0;
}


/* Responsive design */
@media (max-width: 768px) {
    .story_head {
        font-size: 1.1em;
    }
    .contents h1 {
        font-size: 1.5em;
    }
    .contents .pt_imgWrapper {
        width: 100vw;
        margin-left: -5%;
        margin-right: -5%;
    }
    .pt_us {
        width: 100%;
        font-size: 4vw;
    }
    .p_content {
        flex-direction: column;
    }

    .p_imgs {
        width: 100vw;
        margin-bottom: 20px;
        margin-left: -5%;
        margin-right: -5%;
        gap: 2em;
    }
    .pimg1 {
        width: 130%;
    }
    .pimg1 img {
        width: 100%;
    }
    .pimg2 img {
        width: 100%;
        text-align: right;
    }

    .cmenu_title {
        font-size: 13px;
        padding: 3em 0 1em;
        width: 100%;
        /* margin-right: 5%; */
    }
    .cmenu_title span {
        display: inline-block;
        margin-right: 5%;
    }
    .p_cmenu {
        height: 345px;
        text-align: justify;
    }
    .p_cmenu a {
        padding: 1em;
        font-size: 1.3em;
    }
    .story_content {
        margin: auto;
    }
    .ctext {
        font-size: 4vw;
    }
    .ctitle h2 {
        font-size: 1.5em;
        font-weight: 500;
    }
    .story_content .contents {
        max-width: 90%;
        padding: 0 5%;
        margin: auto;
    }
    .cimg {
        width: 100vw;
        margin-left: -5%;
        margin-right: -5%;
    }
    .ctext.blue {
        padding: 1em;
    }
    .web_c {
        width: 100%;
    }
}
