@charset "UTF-8";

/* 基本 */
html{
    height:100%;
}

body {
    margin:0;
    background-color:#E9E9E9;
    color:#222222;
    font-family:sans-serif;
    min-height:100vh;
}

h1, h2, h3, h4, h5, h6, p ,figure{
    margin: 0;
}

p {
    line-height: 1.8;
}

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

/* ページ全体の余白設定 */
.w-container {
    width: min(100%);
    margin:auto;
}

/*文字関連 */
.img{
    background-image: url(img/hyoshi.png);
    background-position: center;
    background-size: auto;
    margin: 0;
    flex-shrink: 0;
}

.text{
    margin:0;
    background-color: #FAFAFA;
    padding:50px;
    flex-grow: 1;
    overflow: auto;
}

.imgtext {
    height: 100vh;
    background-color: #E9E9E9;
}

.imgtext-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media(min-width:768px) {
    .imgtext-container{
            flex-direction: row;
    }
.imgtext-container > .img{
    flex:1;
}
.imgtext-container > .text{
    flex:2;
}
}

.text h1 {
    font-family:"Shippori Mincho", "sans-serif";
    font-size:  clamp(1.5em,5vw,3em);
    min-height: 0vw;
    line-height: 3;
    text-align: center;
}

.text p {
    text-align: center;
    line-height: 1.6;
}

/* リンク関連設定 */
a {
    text-decoration: none;
    color: #09B2BF;
    -webkit-transition: color .3s;
    transition: color .3s;
  }
  
  a:focus, a:visited, a:active {
    color: #09B2BF;
  }
  
  a:hover {
    color: #21DCEB;
  } 

  a.btn, a.btn01, a.btn02 {
    display: inline-block;
    background: #ffffff;
    text-decoration: none;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 3px #eeeeee;
    margin: 1.2em 0;
    -webkit-transition: box-shadow .3s, -webkit-transform .3s;
    transition: box-shadow .3s, -webkit-transform .3s;
    transition: transform .3s, box-shadow .3s;
    transition: transform .3s, box-shadow .3s, -webkit-transform .3s;
    vertical-align: middle;
    align-items: center;
  }
  
  a.btn01 {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 8px 20px;
    font-size: 1.1em;
  }
  
  a.btn02 {
    font-size: 20px;
    font-weight: bold;
  }
  
  a.btn:hover, a.btn01:hover, a.btn02:hover {
    -webkit-transform: translateY(3px);
            transform: translateY(3px);
    color: inherit;
    box-shadow: 0 0 #1cb9b4;
  }

a > i{
    font-size: 1.5em;
    vertical-align: middle;
    align-items: center;
}
  