
/* Theme Name: charmy assist
Theme URI: https://charmyassist.com
Author: charmy assist
Description: charmy assist のオリジナルテーマ
Version: 1.0 */



@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  "YuMincho"、"Yu Mincho"、"游明朝体","Hiragino Mincho ProN","ヒラギノ明朝 ProN";
    color: rgb(67, 66, 66);
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 100px 15px 100px; 
}

/* =======================
.nav-trigger
======================= */
.nav-trigger {
  display: none; /*PCの時は消しておく*/
  -webkit-appearance: none; /* Crome用　フォ-ム要素の初期化*/
  appearance: none; /*フォ-ム要素の初期化*/
  border: none;
  background: transparent; /* Firefox用 背景を透過させる設定*/
}
.nav-trigger,
.nav-trigger span {
	display: inline-block; /* ブロック要素とインライン要素の中間の状態の要素*/
	transition: all .4s;
	box-sizing: border-box;
}


/* nav */
#global-nav ul{
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

#global-nav ul a {
    color: rgb(67, 66, 66);
}

/* About */

.about {
    height: 600px;
    box-sizing: border-box;
    background-color:rgba(255,255,255,0.3);
    background-blend-mode:lighten;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    background-attachment:scroll;
    padding-top: 180px;
}

.about-inner {
    box-sizing: border-box;
    text-align: center;
    background-color:rgba(255,255,255,0.6);
    box-shadow: 0px 0px 20px 20px rgba(255,255,255,0.6);
    padding: 20px 0px 20px 0px;
}

.about h2 {
    line-height: 100px;
}

.about p {
    line-height: 30px;
    padding-bottom: 20px;
}


/* Staff */
.staff{
    padding: 100px 20px 50px;
    /* padding-top: 200px;
    padding-bottom: 50px; */
    background-color: #FFFBEE;
}

.staff-h{
    text-align: center;
}

.staff-h h3 {
    font-size: 14px;
}

.staff-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.staff-inner p{
    margin: 2em 0px;
}

.staff-nomal {
    font-size: 18px;
}

.staff-small {
    font-size: 14px;
}

.staff-imag {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.staff-imag img{
    width: 400px;
    border-radius: 50%;
}

.staff-imag p {
    padding-top: 15px;
    text-align: center;
}

.staff-imag p span {
    font-size: 14px;
}

.qualification-box {
    text-align: center;
}


.qualification-box img {
    width: 1000px;
    padding-top: 30px;
    padding-bottom: 100px;
}


/* Menu */

.menu {
    box-sizing: border-box;
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    background-attachment:scroll;
    padding: 100px 0px;
    margin: auto;
}

.menu h2 {
    padding: 100px 0px;
    text-align: center;
}

.menu-wrap {
    display: grid;
    grid-template-columns: repeat(3, auto); /* アイテム幅に合わせる */
    gap: 30px;
    justify-content: center;
}

.menu-inner {
    padding: 15px;
    background-color: #fdfbfb;
    border-radius: 40px;
    text-align: center;
    max-width: 350px;
}

.menu-inner img {
    box-shadow: 3px 3px 5px gray;
    width: 250px;
}

.menu-inner dt {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    color: rgb(67, 66, 66);
    font-size: 18px;
}

.menu-inner dt a {
    position: relative;     
    display: inline-block;
    padding-right: 30px; 
    transition: all 0.3s ease;
}

.menu-inner dt a::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	background-color: transparent;
	border: 3px solid rgb(67, 66, 66);;
	border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-inner dt a::after {
	content: '';
	position: absolute;
	top: calc(50% - 3px);
	right: 9px;
	transform: rotate(45deg);
	width: 4px;
	height: 4px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	border-color: #333 #333 transparent transparent;
    transition: all 0.3s ease;
}

.menu-inner dt a:hover {
    color: #FFAF54; 
}

.menu-inner dt a:hover::before {
    border-color: #FFAF54;
}
.menu-inner dt a:hover::after {
    border-color: #FFAF54 #FFAF54 transparent transparent;
}

.menu-inner dt span {
    vertical-align: super;
    font-size: 12px;
    color: inherit;
}

.menu-inner dt a:hover span {
    color: inherit;
}

.menu-inner dd {
    font-size: 13px;
    padding-bottom: 10px;
}

.menu p {
    font-size: 14px;
    padding: 50px 100px;
}

.menu-button {
    display: block;
    width: 250px;
    padding: 20px;
    background-color: #FFAF54;
    border-radius: 30px;
    text-align: center;
    margin: 30px auto;
    font-weight: bold;
    box-shadow: 3px 3px 5px gray;
    color: #FFF;
    transition: 0.3s;
}

.menu-button:hover {
    background-color: rgb(255, 166, 0);  /* 少し濃いオレンジに */
    transform: scale(1.05);               /* ちょっと大きくなる演出 */
}

/* Access */

.access {
    padding: 100px 50px;
}

.access h2 {
    text-align: center;
    padding-bottom: 100px;
}

.access-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.access-wrap iframe {
    width: 600px;
    height: 450px;
}

.access-inner dt {
    font-weight: bold;
}

.access-inner dd {
    padding: 10px;
}

.access-inner a {
    color: #FFAF54;
    font-weight: bold;
}


/* SNS */

.sns {
    padding: 100px;
}

.sns h2 {
    text-align: center;
    padding-bottom: 100px;
}

.sns-wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.sns-wrap img {
    border-radius: 30px;
}

.sns-inner p {
    padding: 20px;
}

.sns-inner a {
    color: #FFAF54;
    font-weight: bold;
}

.contact {
    text-align: center;
    padding: 100px;
}

.contact span {
    font-size: 12px;
}

.contact p {
    padding: 50px;
    font-size: 18px;
}

.contact-button {
    display: block;
    width: 300px;
    padding: 20px;
    background-color: #FFAF54;
    text-align: center;
    margin: 30px auto;
    font-weight: bold;
    box-shadow: 3px 3px 5px gray;
    color: #FFF;
    font-size: 18px;
    transition: 0.3s;
}

.contact-button:hover {
    background-color: rgb(255, 166, 0);  /* 少し濃いオレンジに */
    transform: scale(1.05);               /* ちょっと大きくなる演出 */
}

.bottom {
    padding: 30px 100px;
    background-color: #FBF9F9;

}

.bottom ul{
    display: flex;
    justify-content: space-around;
}

.bottom a {
    color: rgb(67, 66, 66);
}

footer {
    padding: 0 auto;
    background-color: #FBF9F9;
    text-align: center;
}

footer a{
    color: blue;
}

/* #pagetop {
  position: fixed;
  bottom: 50px;
  right: 50px;
} */


/* タブレット用スタイル */

/*
　メディアクエリの記述によるメディアの指定（どのようなメディアに対する指示か）
　新しいスクリーンのみ
　幅は最大900pxまで（900px以下）
 */
@media only screen and (max-width:900px) {
    .qualification-box img {
    width: 700px;
    padding-top: 30px;
    padding-bottom: 100px;
}
}
/*上記以外の命令はメディアクエリの外の記述が適用される*/

/* ここまでタブレット用スタイル */


/* スマホ用スタイル */

/*
　メディアクエリの記述によるメディアの指定（どのようなメディアに対する指示か）
　新しいスクリーンのみ
　幅は最大767pxまで（767px以下）
 */
@media only screen and (max-width:767px) {
    header {
    display:block;
    }

    header img {
        width: 80%;
        max-width: 250px;
    }

  /*----- スマホ ハンバーガーメニュー ----- */
  .nav-trigger {
    width: 56px;
    height: 60px;
    /*positionで画面左上に絶対配置*/
    position: absolute;
    top: 0;
    left: 0;
    /*要素の重なり、上のレイヤーと同じ考えかた*/
    z-index: 2;
    /*クリックした際のボタン周りの線を消す*/
    outline: none;
  }
  .nav-trigger span {
    position: absolute;
    left: 50%;
    width: 32px;
    height: 2px;
    background-color: #000;
    /*menu-trigger内のspan全体を中心位置に揃える設定*/
    transform: translate(-50%, -50%);
  }
  .nav-trigger span:nth-of-type(1) {
    top: 16px;
  }
  .nav-trigger span:nth-of-type(2) {
    top: 50%;
  }
  .nav-trigger span:nth-of-type(3) {
    bottom: 14px;
  }
/*.activeが付いているものは
クリックした際した後の表示を設定しています。*/
  .nav-trigger.active span:nth-of-type(1) {
    top: 49%;
    /* 変形の設定　右側の軸は変えずに左側を傾けている */
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .nav-trigger.active span:nth-of-type(2) {
    opacity: 0; /*透過の指定で消してる*/
  }
  .nav-trigger.active span:nth-of-type(3) {
    bottom: 49%;
    /* 変形の設定　右側の軸は変えずに左側を上に傾けている */
    transform: translate(-50%, -50%) rotate(45deg);
  }

  /* ulに対する指定、ナビゲーションを上下に並べる（flexの解除） */
  #global-nav {
    display: none;/* クリックする前は消えてほしい*/ 
    width: 100vw;/*画面横幅めいいっぱい広げる*/
    height: 100vh;/*画面縦幅めいいっぱい広げる*/
    background: rgba(255,255,255,.95);
    margin: 0;
    padding: 90px 5% 0;
    /*positionと組み合わせページをスクロールした場合も同じ位置に常に置く設定　transrateXと合わせてど真ん中に位置を合わせる設定*/
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;/* 何かしらの要素の背面に設置*/
  }
  #global-nav.active {
    display: block;/* クリックした時に表示*/
    z-index: 1;/* 何かしらの要素の全面に設置*/
  }

  #global-nav ul {
    /* display:flex;を解除して縦並びにしている*/
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center;    /* 中央揃え */
    gap: 20px;
  }

  #global-nav li {
    width: auto; /* スマホでは幅100%を解除 */
    text-align: center;
  }

  #global-nav li a {
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    background: none;
    padding-top: 12px;
  }

  #global-nav ul li img {
    display: block;
    margin: 0 auto; /* 中央揃え */
    width: 24px;    /* アイコン大きさ（調整可） */
    height: auto;
}

.about {
    height: 300px;
    background-size: 100%;
    background-repeat: no-repeat;
    object-fit: cover;
    background-attachment: scroll;
    padding-top: 90px;
}

.about-inner {
    padding: 10px 0px 10px 0px;
}

.about h2 {
    line-height: 50px;
    font-size: 18px;
}

.about p {
    line-height: 30px;
    padding-bottom: 15px;
}

.staff-wrap {
    display: block;
    padding: 0 auto;
}

.staff-imag img {
    width: 80%;
    max-width: 300px;
}

.staff-nomal {
    font-size: 16px;
}

.staff-small {
    font-size: 12px;
}

.staff-imag p span {
    font-size: 12px;
}

.qualification-box img {
    width: 95%;
    max-width: 500px;
    padding-top: 30px;
    padding-bottom: 100px;
}

.menu {
    padding: 30px 0px;
}

.menu-wrap {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: center;    /* 中央寄せ */
}

.menu-inner {
    margin: 15px;
    text-align: center;
}

.menu-inner img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.access {
    padding: 30px 20px;
}

.access-wrap {
    display: block;
}

.access-wrap iframe {
    width: 300px;
    height: 225px;
    text-align: center;
}

.sns {
    padding: 20px;
}

.sns-wrap {
    display: block;

}

.contact {
    padding: 20px;
}

.contact p {
    padding: 20px;
    font-size: 16px;
}

.contact-button {
    width: 200px;
    font-size: 10px;
}

.bottom {
    padding: 15px 30px;
}

}